diff options
author | Juergen Haug | 2014-05-05 10:59:13 +0000 |
---|---|---|
committer | Juergen Haug | 2014-05-05 11:26:58 +0000 |
commit | 18b6ca627c5a4c0c67059ab163496396e017ba20 (patch) | |
tree | 666cf0cd1f85a9977f2f0706688d67303fffe4e0 /plugins/org.eclipse.etrice.core.etphys | |
parent | 93325713b0ab8b5ef5f6fc767d56db087f43266d (diff) | |
download | org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.tar.gz org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.tar.xz org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.zip |
[core.*] move Import rule and ImportedFQN rule to core.common
Change-Id: I24f81e40cad8a3946ae3adb6aecfec9c71834336
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys')
23 files changed, 1529 insertions, 2246 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore index b67ef7aa8..d2ca15c92 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore @@ -12,7 +12,8 @@ </eAnnotations> </eStructuralFeatures> <eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1" - eType="#//Import" containment="true"> + eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore#//Import" + containment="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>A list of all imported models.
"/> </eAnnotations> @@ -187,19 +188,4 @@ <eLiterals name="SINGLE_THREADED" literal="singleThreaded"/> <eLiterals name="MULTI_THREADED" value="1" literal="multiThreaded"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Import"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>The import declares an imported model (given as a URI) and
an optional imported namespace.
"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>The imported name space has to be a dot separated qualified name followed by .*.
Example: my.namespace.*
"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>The import URI can be a relative or absolute file system path.
It may contain environment variables in ${} which will be expanded.
<p>
Examples:
<ul>
 <li>import model "AnotherModel.room"</li>
 <li>import my.namespace.* from "AnotherModel.room"</li>
 <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
 <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
</ul>
</p>
"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> </ecore:EPackage> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel index e260e85d2..f909b5049 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel @@ -56,9 +56,5 @@ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//RuntimeClass/docu"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//RuntimeClass/threadModel"/> </genClasses> - <genClasses ecoreClass="ETPhys.ecore#//Import"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importedNamespace"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Import/importURI"/> - </genClasses> </genPackages> </genmodel:GenModel> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.xtextbin b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.xtextbin Binary files differindex 463438909..359facb68 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.xtextbin +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.xtextbin diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java index 96f375385..3a41b2bca 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysFactory.java @@ -77,15 +77,6 @@ public interface ETPhysFactory extends EFactory RuntimeClass createRuntimeClass(); /** - * Returns a new object of class '<em>Import</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Import</em>'. - * @generated - */ - Import createImport(); - - /** * Returns the package supported by this factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java index ed8cea465..08c74a66f 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ETPhysPackage.java @@ -424,43 +424,6 @@ public interface ETPhysPackage extends EPackage int RUNTIME_CLASS_FEATURE_COUNT = 3; /** - * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport() - * @generated - */ - int IMPORT = 6; - - /** - * The feature id for the '<em><b>Imported Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPORT__IMPORTED_NAMESPACE = 0; - - /** - * The feature id for the '<em><b>Import URI</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPORT__IMPORT_URI = 1; - - /** - * The number of structural features of the '<em>Import</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int IMPORT_FEATURE_COUNT = 2; - - /** * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -468,7 +431,7 @@ public interface ETPhysPackage extends EPackage * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode() * @generated */ - int EXEC_MODE = 7; + int EXEC_MODE = 6; /** * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum. @@ -478,7 +441,7 @@ public interface ETPhysPackage extends EPackage * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel() * @generated */ - int THREAD_MODEL = 8; + int THREAD_MODEL = 7; /** @@ -850,38 +813,6 @@ public interface ETPhysPackage extends EPackage EAttribute getRuntimeClass_ThreadModel(); /** - * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Import</em>'. - * @see org.eclipse.etrice.core.etphys.eTPhys.Import - * @generated - */ - EClass getImport(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Imported Namespace</em>'. - * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace() - * @see #getImport() - * @generated - */ - EAttribute getImport_ImportedNamespace(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Import URI</em>'. - * @see org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI() - * @see #getImport() - * @generated - */ - EAttribute getImport_ImportURI(); - - /** * Returns the meta object for enum '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1209,32 +1140,6 @@ public interface ETPhysPackage extends EPackage EAttribute RUNTIME_CLASS__THREAD_MODEL = eINSTANCE.getRuntimeClass_ThreadModel(); /** - * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl <em>Import</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport() - * @generated - */ - EClass IMPORT = eINSTANCE.getImport(); - - /** - * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace(); - - /** - * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI(); - - /** * The meta object literal for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ExecMode <em>Exec Mode</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java deleted file mode 100644 index f7ecf02eb..000000000 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Import.java +++ /dev/null @@ -1,95 +0,0 @@ -/** - */ -package org.eclipse.etrice.core.etphys.eTPhys; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Import</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * <br>The import declares an imported model (given as a URI) and - * an optional imported namespace. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}</li> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport() - * @model - * @generated - */ -public interface Import extends EObject -{ - /** - * Returns the value of the '<em><b>Imported Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * <br>The imported name space has to be a dot separated qualified name followed by .*. - * Example: my.namespace.* - * - * <!-- end-model-doc --> - * @return the value of the '<em>Imported Namespace</em>' attribute. - * @see #setImportedNamespace(String) - * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportedNamespace() - * @model - * @generated - */ - String getImportedNamespace(); - - /** - * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportedNamespace <em>Imported Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Imported Namespace</em>' attribute. - * @see #getImportedNamespace() - * @generated - */ - void setImportedNamespace(String value); - - /** - * Returns the value of the '<em><b>Import URI</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * <br>The import URI can be a relative or absolute file system path. - * It may contain environment variables in ${} which will be expanded. - * <p> - * Examples: - * <ul> - * <li>import model "AnotherModel.room"</li> - * <li>import my.namespace.* from "AnotherModel.room"</li> - * <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li> - * <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li> - * </ul> - * </p> - * - * <!-- end-model-doc --> - * @return the value of the '<em>Import URI</em>' attribute. - * @see #setImportURI(String) - * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getImport_ImportURI() - * @model - * @generated - */ - String getImportURI(); - - /** - * Sets the value of the '{@link org.eclipse.etrice.core.etphys.eTPhys.Import#getImportURI <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Import URI</em>' attribute. - * @see #getImportURI() - * @generated - */ - void setImportURI(String value); - -} // Import diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java index 2ef99ec1c..eb5d5da81 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java @@ -6,6 +6,8 @@ import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; +import org.eclipse.etrice.core.common.base.Import; + /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Physical Model</b></em>'. @@ -63,7 +65,7 @@ public interface PhysicalModel extends EObject /** * Returns the value of the '<em><b>Imports</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.etrice.core.etphys.eTPhys.Import}. + * The list contents are of type {@link org.eclipse.etrice.core.common.base.Import}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * <!-- begin-model-doc --> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java index d026cb7d7..78bce3fd4 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysFactoryImpl.java @@ -71,7 +71,6 @@ public class ETPhysFactoryImpl extends EFactoryImpl implements ETPhysFactory case ETPhysPackage.NODE_CLASS: return createNodeClass(); case ETPhysPackage.PHYSICAL_THREAD: return createPhysicalThread(); case ETPhysPackage.RUNTIME_CLASS: return createRuntimeClass(); - case ETPhysPackage.IMPORT: return createImport(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -186,17 +185,6 @@ public class ETPhysFactoryImpl extends EFactoryImpl implements ETPhysFactory * <!-- end-user-doc --> * @generated */ - public Import createImport() - { - ImportImpl import_ = new ImportImpl(); - return import_; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public ExecMode createExecModeFromString(EDataType eDataType, String initialValue) { ExecMode result = ExecMode.get(initialValue); diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java index f87396b87..8f0d9d2d3 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ETPhysPackageImpl.java @@ -15,7 +15,6 @@ import org.eclipse.etrice.core.common.base.BasePackage; import org.eclipse.etrice.core.etphys.eTPhys.ETPhysFactory; import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; import org.eclipse.etrice.core.etphys.eTPhys.ExecMode; -import org.eclipse.etrice.core.etphys.eTPhys.Import; import org.eclipse.etrice.core.etphys.eTPhys.NodeClass; import org.eclipse.etrice.core.etphys.eTPhys.NodeRef; import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel; @@ -79,13 +78,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage * <!-- end-user-doc --> * @generated */ - private EClass importEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ private EEnum execModeEEnum = null; /** @@ -506,36 +498,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage * <!-- end-user-doc --> * @generated */ - public EClass getImport() - { - return importEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImport_ImportedNamespace() - { - return (EAttribute)importEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getImport_ImportURI() - { - return (EAttribute)importEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public EEnum getExecMode() { return execModeEEnum; @@ -621,10 +583,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage createEReference(runtimeClassEClass, RUNTIME_CLASS__DOCU); createEAttribute(runtimeClassEClass, RUNTIME_CLASS__THREAD_MODEL); - importEClass = createEClass(IMPORT); - createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE); - createEAttribute(importEClass, IMPORT__IMPORT_URI); - // Create enums execModeEEnum = createEEnum(EXEC_MODE); threadModelEEnum = createEEnum(THREAD_MODEL); @@ -666,7 +624,7 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage // Initialize classes and features; add operations and parameters initEClass(physicalModelEClass, PhysicalModel.class, "PhysicalModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPhysicalModel_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getPhysicalModel_Imports(), this.getImport(), null, "imports", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPhysicalModel_Imports(), theBasePackage.getImport(), null, "imports", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getPhysicalModel_Systems(), this.getPhysicalSystem(), null, "systems", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getPhysicalModel_NodeClasses(), this.getNodeClass(), null, "nodeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getPhysicalModel_RuntimeClasses(), this.getRuntimeClass(), null, "runtimeClasses", null, 0, -1, PhysicalModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -704,10 +662,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage initEReference(getRuntimeClass_Docu(), theBasePackage.getDocumentation(), null, "docu", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getRuntimeClass_ThreadModel(), this.getThreadModel(), "threadModel", null, 0, 1, RuntimeClass.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_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - // Initialize enums and add enum literals initEEnum(execModeEEnum, ExecMode.class, "ExecMode"); addEEnumLiteral(execModeEEnum, ExecMode.POLLED); diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java deleted file mode 100644 index 007235343..000000000 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/ImportImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - */ -package org.eclipse.etrice.core.etphys.eTPhys.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.etrice.core.etphys.eTPhys.ETPhysPackage; -import org.eclipse.etrice.core.etphys.eTPhys.Import; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Import</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportedNamespace <em>Imported Namespace</em>}</li> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ImportImpl extends MinimalEObjectImpl.Container implements Import -{ - /** - * The default value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportedNamespace() - * @generated - * @ordered - */ - protected static final String IMPORTED_NAMESPACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportedNamespace() - * @generated - * @ordered - */ - protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT; - - /** - * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportURI() - * @generated - * @ordered - */ - protected static final String IMPORT_URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getImportURI() - * @generated - * @ordered - */ - protected String importURI = IMPORT_URI_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ImportImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ETPhysPackage.Literals.IMPORT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getImportedNamespace() - { - return importedNamespace; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setImportedNamespace(String newImportedNamespace) - { - String oldImportedNamespace = importedNamespace; - importedNamespace = newImportedNamespace; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getImportURI() - { - return importURI; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setImportURI(String newImportURI) - { - String oldImportURI = importURI; - importURI = newImportURI; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ETPhysPackage.IMPORT__IMPORT_URI, oldImportURI, importURI)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE: - return getImportedNamespace(); - case ETPhysPackage.IMPORT__IMPORT_URI: - return getImportURI(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE: - setImportedNamespace((String)newValue); - return; - case ETPhysPackage.IMPORT__IMPORT_URI: - setImportURI((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE: - setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT); - return; - case ETPhysPackage.IMPORT__IMPORT_URI: - setImportURI(IMPORT_URI_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ETPhysPackage.IMPORT__IMPORTED_NAMESPACE: - return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace); - case ETPhysPackage.IMPORT__IMPORT_URI: - return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (importedNamespace: "); - result.append(importedNamespace); - result.append(", importURI: "); - result.append(importURI); - result.append(')'); - return result.toString(); - } - -} //ImportImpl diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java index 29d2d91da..92f0e16e0 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java @@ -18,8 +18,9 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EObjectContainmentEList; import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.etrice.core.common.base.Import; + import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; -import org.eclipse.etrice.core.etphys.eTPhys.Import; import org.eclipse.etrice.core.etphys.eTPhys.NodeClass; import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel; import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem; diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java index e257852b3..7dc451e69 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysAdapterFactory.java @@ -105,11 +105,6 @@ public class ETPhysAdapterFactory extends AdapterFactoryImpl return createRuntimeClassAdapter(); } @Override - public Adapter caseImport(Import object) - { - return createImportAdapter(); - } - @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -222,21 +217,6 @@ public class ETPhysAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.etrice.core.etphys.eTPhys.Import - * @generated - */ - public Adapter createImportAdapter() - { - return null; - } - - /** * Creates a new adapter for the default case. * <!-- begin-user-doc --> * This default implementation returns null. diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java index 15b2ee794..68d0da4b6 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java @@ -114,13 +114,6 @@ public class ETPhysSwitch<T> extends Switch<T> if (result == null) result = defaultCase(theEObject); return result; } - case ETPhysPackage.IMPORT: - { - Import import_ = (Import)theEObject; - T result = caseImport(import_); - if (result == null) result = defaultCase(theEObject); - return result; - } default: return defaultCase(theEObject); } } @@ -222,22 +215,6 @@ public class ETPhysSwitch<T> extends Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>Import</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Import</em>'. - * @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 '<em>EObject</em>'. * <!-- begin-user-doc --> * This implementation returns null; diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g index 7ddecb15d..f61095626 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g @@ -1029,155 +1029,6 @@ finally { -// 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(); }: -( otherlv_0='import' - { - newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - } -((( -( - { - newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); - } - lv_importedNamespace_1_0=ruleImportedFQN { - if ($current==null) { - $current = createModelElementForParent(grammarAccess.getImportRule()); - } - set( - $current, - "importedNamespace", - lv_importedNamespace_1_0, - "ImportedFQN"); - afterParserOrEnumRuleCall(); - } - -) -) otherlv_2='from' - { - newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); - } -) - | otherlv_3='model' - { - newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); - } -)( -( - lv_importURI_4_0=RULE_STRING - { - newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getImportRule()); - } - setWithLastConsumed( - $current, - "importURI", - lv_importURI_4_0, - "STRING"); - } - -) -)) -; - - - - - -// Entry rule entryRuleImportedFQN -entryRuleImportedFQN returns [String current=null] - : - { newCompositeNode(grammarAccess.getImportedFQNRule()); } - iv_ruleImportedFQN=ruleImportedFQN - { $current=$iv_ruleImportedFQN.current.getText(); } - EOF -; - -// Rule ImportedFQN -ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); - } - this_FQN_0=ruleFQN { - $current.merge(this_FQN_0); - } - - { - afterParserOrEnumRuleCall(); - } -( - kw='.*' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); - } -)?) - ; - - - - - -// Entry rule entryRuleFQN -entryRuleFQN returns [String current=null] - : - { newCompositeNode(grammarAccess.getFQNRule()); } - iv_ruleFQN=ruleFQN - { $current=$iv_ruleFQN.current.getText(); } - EOF -; - -// Rule FQN -ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { enterRule(); - } - @after { leaveRule(); }: -( this_ID_0=RULE_ID { - $current.merge(this_ID_0); - } - - { - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - } -( - kw='.' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - } - this_ID_2=RULE_ID { - $current.merge(this_ID_2); - } - - { - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - } -)*) - ; - - - - - // Entry rule entryRuleKeyValue @@ -1511,6 +1362,114 @@ ruleEnumAnnotationAttribute returns [EObject current=null] +// 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(); }: +( otherlv_0='import' + { + newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); + } +((( +( + { + newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); + } + lv_importedNamespace_1_0=ruleImportedFQN { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getImportRule()); + } + set( + $current, + "importedNamespace", + lv_importedNamespace_1_0, + "ImportedFQN"); + afterParserOrEnumRuleCall(); + } + +) +) otherlv_2='from' + { + newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); + } +) + | otherlv_3='model' + { + newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); + } +)( +( + lv_importURI_4_0=RULE_STRING + { + newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getImportRule()); + } + setWithLastConsumed( + $current, + "importURI", + lv_importURI_4_0, + "STRING"); + } + +) +)) +; + + + + + +// Entry rule entryRuleImportedFQN +entryRuleImportedFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getImportedFQNRule()); } + iv_ruleImportedFQN=ruleImportedFQN + { $current=$iv_ruleImportedFQN.current.getText(); } + EOF +; + +// Rule ImportedFQN +ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + } + this_FQN_0=ruleFQN { + $current.merge(this_FQN_0); + } + + { + afterParserOrEnumRuleCall(); + } +( + kw='.*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + } +)?) + ; + + + + + // Entry rule entryRuleDocumentation entryRuleDocumentation returns [EObject current=null] : @@ -2364,6 +2323,47 @@ finally { +// Entry rule entryRuleFQN +entryRuleFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getFQNRule()); } + iv_ruleFQN=ruleFQN + { $current=$iv_ruleFQN.current.getText(); } + EOF +; + +// Rule FQN +ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + } +( + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + } + this_ID_2=RULE_ID { + $current.merge(this_ID_2); + } + + { + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + } +)*) + ; + + + + + // Rule ExecMode ruleExecMode returns [Enumerator current=null] @init { enterRule(); } diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens index 586821970..44ddb9d55 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens @@ -56,50 +56,50 @@ T__38=38 T__39=39 RULE_WS=11 'singleThreaded'=55 -'ns'=49 +'ns'=48 'NodeRef'=17 'PhysicalModel'=13 'prio'=28 -'ms'=47 +'ms'=46 'model'=33 'multiThreaded'=56 'priomax'=23 -'.*'=38 +'.*'=42 'msgpoolsize'=31 '='=21 'execmode'=26 'interval'=27 'mixed'=54 '+'=34 -'.'=39 +'.'=51 'msgblocksize'=30 'Thread'=25 -'import'=36 -'true'=51 +'import'=40 +'true'=50 '}'=15 'priomin'=22 'blocked'=53 -'us'=48 +'us'=47 'runtime'=20 'DefaultThread'=24 'stacksize'=29 '{'=14 -'optional'=40 +'optional'=36 'ptCharacter'=60 'NodeClass'=19 -'false'=50 +'false'=49 'PhysicalSystem'=16 'polled'=52 -'s'=46 +'s'=45 'RuntimeClass'=32 ':'=18 -'['=44 -'attribute'=42 +'['=43 +'attribute'=38 '-'=35 'ptReal'=59 -','=43 +','=39 'ptBoolean'=57 'ptInteger'=58 -']'=45 -'mandatory'=41 -'from'=37 +']'=44 +'mandatory'=37 +'from'=41 diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java index a3dbd3605..3ead001ec 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java @@ -566,10 +566,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:7: ( 'import' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: 'import' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:7: ( 'optional' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: 'optional' { - match("import"); + match("optional"); } @@ -587,10 +587,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:7: ( 'from' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: 'from' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:7: ( 'mandatory' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: 'mandatory' { - match("from"); + match("mandatory"); } @@ -608,10 +608,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:7: ( '.*' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: '.*' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:7: ( 'attribute' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: 'attribute' { - match(".*"); + match("attribute"); } @@ -629,10 +629,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:7: ( '.' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: '.' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:7: ( ',' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: ',' { - match('.'); + match(','); } @@ -649,10 +649,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:7: ( 'optional' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: 'optional' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:7: ( 'import' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: 'import' { - match("optional"); + match("import"); } @@ -670,10 +670,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:7: ( 'mandatory' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:9: 'mandatory' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:7: ( 'from' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:9: 'from' { - match("mandatory"); + match("from"); } @@ -691,10 +691,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:7: ( 'attribute' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: 'attribute' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:7: ( '.*' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: '.*' { - match("attribute"); + match(".*"); } @@ -712,10 +712,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:7: ( ',' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: ',' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:7: ( '[' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: '[' { - match(','); + match('['); } @@ -732,10 +732,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:7: ( '[' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: '[' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:7: ( ']' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: ']' { - match('['); + match(']'); } @@ -752,10 +752,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:7: ( ']' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: ']' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:7: ( 's' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: 's' { - match(']'); + match('s'); } @@ -772,10 +772,11 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:7: ( 's' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 's' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:7: ( 'ms' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 'ms' { - match('s'); + match("ms"); + } @@ -792,10 +793,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:7: ( 'ms' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'ms' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:7: ( 'us' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'us' { - match("ms"); + match("us"); } @@ -813,10 +814,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:7: ( 'us' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'us' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:7: ( 'ns' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'ns' { - match("us"); + match("ns"); } @@ -834,10 +835,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:7: ( 'ns' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: 'ns' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:7: ( 'false' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: 'false' { - match("ns"); + match("false"); } @@ -855,10 +856,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:7: ( 'false' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: 'false' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:7: ( 'true' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: 'true' { - match("false"); + match("true"); } @@ -876,11 +877,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:7: ( 'true' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:9: 'true' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:7: ( '.' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:9: '.' { - match("true"); - + match('.'); } @@ -2195,99 +2195,98 @@ public class InternalETPhysLexer extends Lexer { protected DFA16 dfa16 = new DFA16(this); static final String DFA16_eotS = "\1\uffff\1\50\2\uffff\1\50\1\uffff\1\50\1\uffff\5\50\1\73\2\50"+ - "\2\uffff\1\50\1\107\2\50\3\uffff\5\50\1\122\1\46\2\uffff\3\46\2"+ - "\uffff\1\50\3\uffff\1\50\1\uffff\1\50\1\uffff\6\50\1\66\1\uffff"+ - "\4\50\1\uffff\1\150\5\50\2\uffff\2\50\2\uffff\2\50\3\uffff\1\162"+ - "\1\163\2\50\6\uffff\21\50\1\uffff\11\50\2\uffff\5\50\1\u0098\23"+ - "\50\1\u00ac\3\50\1\u00b0\6\50\1\uffff\16\50\1\u00c6\1\50\1\u00c8"+ - "\2\50\1\uffff\1\u00cb\2\50\1\uffff\7\50\1\u00d5\2\50\1\u00d8\2\50"+ - "\1\u00db\2\50\1\u00de\4\50\1\uffff\1\50\1\uffff\2\50\1\uffff\4\50"+ - "\1\u00ea\1\50\1\u00ec\1\u00ed\1\u00ee\1\uffff\2\50\1\uffff\2\50"+ - "\1\uffff\2\50\1\uffff\11\50\1\u00fe\1\50\1\uffff\1\50\3\uffff\4"+ - "\50\1\u0106\1\u0107\7\50\1\u010f\1\50\1\uffff\2\50\1\u0113\1\u0114"+ - "\1\u0115\2\50\2\uffff\1\u0118\3\50\1\u011c\2\50\1\uffff\1\u011f"+ - "\2\50\3\uffff\2\50\1\uffff\3\50\1\uffff\2\50\1\uffff\2\50\1\u012b"+ - "\3\50\1\u012f\4\50\1\uffff\2\50\1\u0136\1\uffff\1\50\1\u0138\1\u0139"+ - "\1\50\1\u013b\1\50\1\uffff\1\u013d\2\uffff\1\u013e\1\uffff\1\u013f"+ - "\3\uffff"; + "\2\uffff\2\50\1\uffff\1\50\1\112\2\uffff\5\50\1\122\1\46\2\uffff"+ + "\3\46\2\uffff\1\50\3\uffff\1\50\1\uffff\1\50\1\uffff\6\50\1\66\1"+ + "\uffff\4\50\1\uffff\1\150\5\50\2\uffff\2\50\1\uffff\2\50\4\uffff"+ + "\1\162\1\163\2\50\6\uffff\21\50\1\uffff\11\50\2\uffff\5\50\1\u0098"+ + "\25\50\1\u00ae\1\50\1\u00b0\6\50\1\uffff\16\50\1\u00c6\1\50\1\u00c8"+ + "\4\50\1\uffff\1\u00cd\1\uffff\7\50\1\u00d5\2\50\1\u00d8\2\50\1\u00db"+ + "\2\50\1\u00de\4\50\1\uffff\1\50\1\uffff\4\50\1\uffff\2\50\1\u00ea"+ + "\1\50\1\u00ec\1\u00ed\1\u00ee\1\uffff\2\50\1\uffff\2\50\1\uffff"+ + "\2\50\1\uffff\11\50\1\u00fe\1\50\1\uffff\1\50\3\uffff\4\50\1\u0106"+ + "\1\u0107\7\50\1\u010f\1\50\1\uffff\2\50\1\u0113\1\u0114\1\u0115"+ + "\2\50\2\uffff\1\u0118\3\50\1\u011c\2\50\1\uffff\1\u011f\2\50\3\uffff"+ + "\2\50\1\uffff\3\50\1\uffff\2\50\1\uffff\2\50\1\u012b\3\50\1\u012f"+ + "\4\50\1\uffff\2\50\1\u0136\1\uffff\1\50\1\u0138\1\u0139\1\50\1\u013b"+ + "\1\50\1\uffff\1\u013d\2\uffff\1\u013e\1\uffff\1\u013f\3\uffff"; static final String DFA16_eofS = "\u0140\uffff"; static final String DFA16_minS = "\1\0\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\157\1\145\1\150"+ - "\1\53\1\155\1\60\1\141\1\165\2\uffff\1\141\1\52\1\160\1\164\3\uffff"+ - "\2\163\1\162\1\154\1\53\1\130\1\101\2\uffff\2\0\1\52\2\uffff\1\171"+ - "\3\uffff\1\144\1\uffff\1\156\1\uffff\1\151\1\154\1\102\1\146\1\162"+ - "\1\145\1\60\1\uffff\1\164\1\160\1\141\1\156\1\uffff\1\60\1\144\1"+ - "\156\1\170\1\154\1\156\2\uffff\1\157\1\154\2\uffff\2\164\3\uffff"+ - "\2\60\1\165\1\157\6\uffff\1\163\1\145\1\164\1\157\1\154\1\157\1"+ - "\156\1\145\1\150\1\141\1\145\1\143\1\145\1\157\1\143\1\147\1\142"+ - "\1\uffff\1\145\1\144\1\145\2\164\1\155\1\163\1\151\1\162\2\uffff"+ - "\1\145\1\143\1\151\1\103\1\151\1\60\1\145\1\157\1\164\2\141\1\165"+ - "\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144\2\151\1\60"+ - "\1\145\1\157\1\151\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff"+ - "\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1\166\1\164\1\163"+ - "\1\145\2\157\1\60\1\164\1\60\1\124\1\155\1\uffff\1\60\1\156\1\142"+ - "\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1\145\1"+ - "\147\1\60\1\141\1\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1"+ - "\154\1\uffff\1\157\1\uffff\1\150\1\145\1\uffff\1\141\1\165\1\144"+ - "\1\154\1\60\1\163\3\60\1\uffff\1\141\1\145\1\uffff\1\143\1\124\1"+ - "\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\2\162\1\103\1"+ - "\154\1\164\1\60\1\115\1\uffff\1\163\3\uffff\1\156\1\162\1\164\1"+ - "\150\2\60\1\145\1\162\1\163\1\151\1\171\1\145\1\154\1\60\1\145\1"+ - "\uffff\1\157\1\171\3\60\1\145\1\162\2\uffff\1\60\1\145\1\151\1\172"+ - "\1\60\2\141\1\uffff\1\60\1\144\1\163\3\uffff\1\162\1\145\1\uffff"+ - "\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff\1\145\1\164\1\60"+ - "\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\uffff\1\144\1"+ - "\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1\60\2\uffff"+ - "\1\60\1\uffff\1\60\3\uffff"; - static final String DFA16_maxS = - "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\164\1\145"+ - "\1\150\1\170\1\156\1\172\2\165\2\uffff\1\162\1\52\1\160\1\164\3"+ - "\uffff\2\163\1\162\1\154\1\71\1\170\1\172\2\uffff\2\uffff\1\57\2"+ - "\uffff\1\171\3\uffff\1\144\1\uffff\1\156\1\uffff\1\151\1\154\1\122"+ - "\1\146\1\162\1\145\1\172\1\uffff\1\164\1\160\1\141\1\156\1\uffff"+ - "\1\172\1\144\1\156\1\170\1\154\1\156\2\uffff\1\157\1\154\2\uffff"+ - "\2\164\3\uffff\2\172\1\165\1\157\6\uffff\1\163\1\145\1\164\1\157"+ + "\1\53\1\155\1\60\1\141\1\165\2\uffff\1\160\1\164\1\uffff\1\141\1"+ + "\52\2\uffff\2\163\1\162\1\154\1\53\1\130\1\101\2\uffff\2\0\1\52"+ + "\2\uffff\1\171\3\uffff\1\144\1\uffff\1\156\1\uffff\1\151\1\154\1"+ + "\102\1\146\1\162\1\145\1\60\1\uffff\1\164\1\160\1\141\1\156\1\uffff"+ + "\1\60\1\144\1\156\1\170\1\154\1\156\2\uffff\2\164\1\uffff\1\157"+ + "\1\154\4\uffff\2\60\1\165\1\157\6\uffff\1\163\1\145\1\164\1\157"+ "\1\154\1\157\1\156\1\145\1\150\1\141\1\145\1\143\1\145\1\157\1\143"+ - "\1\147\1\160\1\uffff\1\145\1\144\1\145\2\164\1\155\1\163\1\151\1"+ - "\162\2\uffff\1\145\1\143\1\151\1\122\1\151\1\172\1\145\1\157\1\164"+ + "\1\147\1\142\1\uffff\1\145\1\144\1\145\2\164\1\151\1\162\1\155\1"+ + "\163\2\uffff\1\145\1\143\1\151\1\103\1\151\1\60\1\145\1\157\1\164"+ "\2\141\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144"+ - "\2\151\1\172\1\145\1\157\1\151\1\172\1\153\1\143\1\145\1\154\1\155"+ - "\1\151\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1"+ - "\166\1\164\1\163\1\145\2\157\1\172\1\164\1\172\1\124\1\155\1\uffff"+ - "\1\172\1\156\1\142\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1"+ - "\170\1\172\1\145\1\147\1\172\1\141\1\164\1\172\1\144\1\141\1\172"+ - "\1\151\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145\1\uffff"+ - "\1\141\1\165\1\144\1\154\1\172\1\163\3\172\1\uffff\1\141\1\145\1"+ - "\uffff\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153"+ - "\1\163\2\162\1\103\1\154\1\164\1\172\1\123\1\uffff\1\163\3\uffff"+ - "\1\156\1\162\1\164\1\150\2\172\1\145\1\162\1\163\1\151\1\171\1\145"+ - "\1\154\1\172\1\145\1\uffff\1\157\1\171\3\172\1\145\1\162\2\uffff"+ - "\1\172\1\145\1\151\2\172\2\141\1\uffff\1\172\1\144\1\163\3\uffff"+ - "\1\162\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff"+ - "\1\145\1\164\1\172\1\141\1\144\1\145\1\172\1\145\1\163\1\154\1\145"+ - "\1\uffff\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1\172\1\144"+ - "\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff"; + "\2\151\1\157\1\151\1\60\1\145\1\60\1\153\1\143\1\145\1\154\1\155"+ + "\1\141\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1"+ + "\166\1\164\1\163\1\145\2\157\1\60\1\164\1\60\1\124\1\155\1\156\1"+ + "\142\1\uffff\1\60\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1"+ + "\170\1\60\1\145\1\147\1\60\1\141\1\164\1\60\1\144\1\141\1\60\1\151"+ + "\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145\1\141\1\165"+ + "\1\uffff\1\144\1\154\1\60\1\163\3\60\1\uffff\1\141\1\145\1\uffff"+ + "\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163"+ + "\2\162\1\103\1\154\1\164\1\60\1\115\1\uffff\1\163\3\uffff\1\156"+ + "\1\162\1\164\1\150\2\60\1\145\1\162\1\163\1\151\1\171\1\145\1\154"+ + "\1\60\1\145\1\uffff\1\157\1\171\3\60\1\145\1\162\2\uffff\1\60\1"+ + "\145\1\151\1\172\1\60\2\141\1\uffff\1\60\1\144\1\163\3\uffff\1\162"+ + "\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff\1\145"+ + "\1\164\1\60\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\uffff"+ + "\1\144\1\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1"+ + "\60\2\uffff\1\60\1\uffff\1\60\3\uffff"; + static final String DFA16_maxS = + "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\164\1\145"+ + "\1\150\1\170\1\156\1\172\2\165\2\uffff\1\160\1\164\1\uffff\1\162"+ + "\1\52\2\uffff\2\163\1\162\1\154\1\71\1\170\1\172\2\uffff\2\uffff"+ + "\1\57\2\uffff\1\171\3\uffff\1\144\1\uffff\1\156\1\uffff\1\151\1"+ + "\154\1\122\1\146\1\162\1\145\1\172\1\uffff\1\164\1\160\1\141\1\156"+ + "\1\uffff\1\172\1\144\1\156\1\170\1\154\1\156\2\uffff\2\164\1\uffff"+ + "\1\157\1\154\4\uffff\2\172\1\165\1\157\6\uffff\1\163\1\145\1\164"+ + "\1\157\1\154\1\157\1\156\1\145\1\150\1\141\1\145\1\143\1\145\1\157"+ + "\1\143\1\147\1\160\1\uffff\1\145\1\144\1\145\2\164\1\151\1\162\1"+ + "\155\1\163\2\uffff\1\145\1\143\1\151\1\122\1\151\1\172\1\145\1\157"+ + "\1\164\2\141\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141"+ + "\1\144\2\151\1\157\1\151\1\172\1\145\1\172\1\153\1\143\1\145\1\154"+ + "\1\155\1\151\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1"+ + "\157\1\166\1\164\1\163\1\145\2\157\1\172\1\164\1\172\1\124\1\155"+ + "\1\156\1\142\1\uffff\1\172\1\uffff\1\145\1\141\1\146\1\141\1\145"+ + "\1\156\1\170\1\172\1\145\1\147\1\172\1\141\1\164\1\172\1\144\1\141"+ + "\1\172\1\151\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145"+ + "\1\141\1\165\1\uffff\1\144\1\154\1\172\1\163\3\172\1\uffff\1\141"+ + "\1\145\1\uffff\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150"+ + "\1\153\1\163\2\162\1\103\1\154\1\164\1\172\1\123\1\uffff\1\163\3"+ + "\uffff\1\156\1\162\1\164\1\150\2\172\1\145\1\162\1\163\1\151\1\171"+ + "\1\145\1\154\1\172\1\145\1\uffff\1\157\1\171\3\172\1\145\1\162\2"+ + "\uffff\1\172\1\145\1\151\2\172\2\141\1\uffff\1\172\1\144\1\163\3"+ + "\uffff\1\162\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163"+ + "\1\uffff\1\145\1\164\1\172\1\141\1\144\1\145\1\172\1\145\1\163\1"+ + "\154\1\145\1\uffff\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1"+ + "\172\1\144\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff"; static final String DFA16_acceptS = - "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\10\uffff\1\26\1\27\4"+ - "\uffff\1\37\1\40\1\41\7\uffff\1\63\1\64\3\uffff\1\70\1\71\1\uffff"+ - "\1\63\1\2\1\3\1\uffff\1\6\1\uffff\1\11\7\uffff\1\61\4\uffff\1\42"+ - "\6\uffff\1\26\1\27\2\uffff\1\32\1\33\2\uffff\1\37\1\40\1\41\4\uffff"+ - "\1\62\1\64\1\65\1\66\1\67\1\70\21\uffff\1\43\11\uffff\1\44\1\45"+ - "\44\uffff\1\20\23\uffff\1\31\3\uffff\1\47\25\uffff\1\25\1\uffff"+ - "\1\52\2\uffff\1\46\11\uffff\1\50\2\uffff\1\57\2\uffff\1\15\2\uffff"+ - "\1\30\13\uffff\1\5\1\uffff\1\10\1\12\1\13\17\uffff\1\51\7\uffff"+ - "\1\16\1\17\7\uffff\1\34\3\uffff\1\7\1\55\1\56\2\uffff\1\21\3\uffff"+ - "\1\35\2\uffff\1\36\13\uffff\1\60\3\uffff\1\23\6\uffff\1\22\1\uffff"+ - "\1\24\1\1\1\uffff\1\14\1\uffff\1\54\1\4\1\53"; + "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\10\uffff\1\26\1\27\2"+ + "\uffff\1\33\2\uffff\1\37\1\40\7\uffff\1\63\1\64\3\uffff\1\70\1\71"+ + "\1\uffff\1\63\1\2\1\3\1\uffff\1\6\1\uffff\1\11\7\uffff\1\61\4\uffff"+ + "\1\41\6\uffff\1\26\1\27\2\uffff\1\33\2\uffff\1\36\1\47\1\37\1\40"+ + "\4\uffff\1\62\1\64\1\65\1\66\1\67\1\70\21\uffff\1\42\11\uffff\1"+ + "\43\1\44\44\uffff\1\20\25\uffff\1\35\1\uffff\1\46\25\uffff\1\25"+ + "\1\uffff\1\52\4\uffff\1\45\7\uffff\1\50\2\uffff\1\57\2\uffff\1\15"+ + "\2\uffff\1\34\13\uffff\1\5\1\uffff\1\10\1\12\1\13\17\uffff\1\51"+ + "\7\uffff\1\16\1\17\7\uffff\1\30\3\uffff\1\7\1\55\1\56\2\uffff\1"+ + "\21\3\uffff\1\31\2\uffff\1\32\13\uffff\1\60\3\uffff\1\23\6\uffff"+ + "\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1\uffff\1\54\1\4\1\53"; static final String DFA16_specialS = "\1\1\41\uffff\1\0\1\2\u011c\uffff}>"; static final String[] DFA16_transitionS = { "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\4\46\1\43\3\46\1"+ - "\20\1\26\1\21\1\23\1\44\1\36\11\41\1\5\2\46\1\7\3\46\3\40\1"+ + "\20\1\24\1\21\1\26\1\44\1\36\11\41\1\5\2\46\1\7\3\46\3\40\1"+ "\11\1\35\10\40\1\4\1\40\1\1\1\40\1\17\1\40\1\12\6\40\1\27\1"+ - "\46\1\30\1\37\1\40\1\46\1\25\1\34\2\40\1\13\1\22\2\40\1\14\3"+ - "\40\1\16\1\32\1\24\1\10\1\40\1\6\1\15\1\33\1\31\5\40\1\2\1\46"+ + "\46\1\30\1\37\1\40\1\46\1\23\1\34\2\40\1\13\1\25\2\40\1\14\3"+ + "\40\1\16\1\32\1\22\1\10\1\40\1\6\1\15\1\33\1\31\5\40\1\2\1\46"+ "\1\3\uff82\46", "\1\47", "", @@ -2307,11 +2306,11 @@ public class InternalETPhysLexer extends Lexer { "\1\101", "", "", - "\1\105\20\uffff\1\104", - "\1\106", - "\1\110", - "\1\111", + "\1\104", + "\1\105", "", + "\1\110\20\uffff\1\107", + "\1\111", "", "", "\1\115", @@ -2360,12 +2359,12 @@ public class InternalETPhysLexer extends Lexer { "\1\156", "\1\157", "", - "", "\1\160", "\1\161", "", "", "", + "", "\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\164", @@ -2431,9 +2430,9 @@ public class InternalETPhysLexer extends Lexer { "\1\u00a9", "\1\u00aa", "\1\u00ab", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00ac", "\1\u00ad", - "\1\u00ae", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00af", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00b1", @@ -2462,10 +2461,10 @@ public class InternalETPhysLexer extends Lexer { "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00c9", "\1\u00ca", + "\1\u00cb", + "\1\u00cc", "", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\u00cc", - "\1\u00cd", "", "\1\u00ce", "\1\u00cf", @@ -2493,9 +2492,9 @@ public class InternalETPhysLexer extends Lexer { "", "\1\u00e4", "\1\u00e5", - "", "\1\u00e6", "\1\u00e7", + "", "\1\u00e8", "\1\u00e9", "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", @@ -2696,15 +2695,15 @@ public class InternalETPhysLexer extends Lexer { else if ( (LA16_0=='-') ) {s = 17;} - else if ( (LA16_0=='f') ) {s = 18;} + else if ( (LA16_0=='o') ) {s = 18;} - else if ( (LA16_0=='.') ) {s = 19;} + else if ( (LA16_0=='a') ) {s = 19;} - else if ( (LA16_0=='o') ) {s = 20;} + else if ( (LA16_0==',') ) {s = 20;} - else if ( (LA16_0=='a') ) {s = 21;} + else if ( (LA16_0=='f') ) {s = 21;} - else if ( (LA16_0==',') ) {s = 22;} + else if ( (LA16_0=='.') ) {s = 22;} else if ( (LA16_0=='[') ) {s = 23;} diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java index 9c7eaa43b..c058c4913 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'+'", "'-'", "'import'", "'from'", "'.*'", "'.'", "'optional'", "'mandatory'", "'attribute'", "','", "'['", "']'", "'s'", "'ms'", "'us'", "'ns'", "'false'", "'true'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INT", "RULE_STRING", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'PhysicalModel'", "'{'", "'}'", "'PhysicalSystem'", "'NodeRef'", "':'", "'NodeClass'", "'runtime'", "'='", "'priomin'", "'priomax'", "'DefaultThread'", "'Thread'", "'execmode'", "'interval'", "'prio'", "'stacksize'", "'msgblocksize'", "'msgpoolsize'", "'RuntimeClass'", "'model'", "'+'", "'-'", "'optional'", "'mandatory'", "'attribute'", "','", "'import'", "'from'", "'.*'", "'['", "']'", "'s'", "'ms'", "'us'", "'ns'", "'false'", "'true'", "'.'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" }; public static final int RULE_EXP=8; public static final int RULE_ID=4; @@ -230,7 +230,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==36) ) { + if ( (LA1_0==40) ) { alt1=1; } @@ -531,7 +531,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==44) ) { + if ( (LA3_0==43) ) { alt3=1; } switch (alt3) { @@ -768,7 +768,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==44) ) { + if ( (LA5_0==43) ) { alt5=1; } switch (alt5) { @@ -929,7 +929,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt6=2; int LA6_0 = input.LA(1); - if ( (LA6_0==44) ) { + if ( (LA6_0==43) ) { alt6=1; } switch (alt6) { @@ -2160,7 +2160,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt11=2; int LA11_0 = input.LA(1); - if ( (LA11_0==44) ) { + if ( (LA11_0==43) ) { alt11=1; } switch (alt11) { @@ -2391,419 +2391,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR end "rulePRIO" - // $ANTLR start "entryRuleImport" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1033:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; - public final EObject entryRuleImport() throws RecognitionException { - EObject current = null; - - EObject iv_ruleImport = null; - - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1034:2: (iv_ruleImport= ruleImport EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1035:2: iv_ruleImport= ruleImport EOF - { - newCompositeNode(grammarAccess.getImportRule()); - pushFollow(FOLLOW_ruleImport_in_entryRuleImport2309); - iv_ruleImport=ruleImport(); - - state._fsp--; - - current =iv_ruleImport; - match(input,EOF,FOLLOW_EOF_in_entryRuleImport2319); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImport" - - - // $ANTLR start "ruleImport" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1042:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ; - public final EObject ruleImport() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token lv_importURI_4_0=null; - AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1045:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1046:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1046:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1046:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) - { - otherlv_0=(Token)match(input,36,FOLLOW_36_in_ruleImport2356); - - newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==RULE_ID) ) { - alt13=1; - } - else if ( (LA13_0==33) ) { - alt13=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); - - throw nvae; - } - switch (alt13) { - case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1051:1: (lv_importedNamespace_1_0= ruleImportedFQN ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1051:1: (lv_importedNamespace_1_0= ruleImportedFQN ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1052:3: lv_importedNamespace_1_0= ruleImportedFQN - { - - newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); - - pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2379); - lv_importedNamespace_1_0=ruleImportedFQN(); - - state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getImportRule()); - } - set( - current, - "importedNamespace", - lv_importedNamespace_1_0, - "ImportedFQN"); - afterParserOrEnumRuleCall(); - - - } - - - } - - otherlv_2=(Token)match(input,37,FOLLOW_37_in_ruleImport2391); - - newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); - - - } - - - } - break; - case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1073:7: otherlv_3= 'model' - { - otherlv_3=(Token)match(input,33,FOLLOW_33_in_ruleImport2410); - - newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); - - - } - break; - - } - - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1077:2: ( (lv_importURI_4_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1078:1: (lv_importURI_4_0= RULE_STRING ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1078:1: (lv_importURI_4_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1079:3: lv_importURI_4_0= RULE_STRING - { - lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2428); - - newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getImportRule()); - } - setWithLastConsumed( - current, - "importURI", - lv_importURI_4_0, - "STRING"); - - - } - - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImport" - - - // $ANTLR start "entryRuleImportedFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1103:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; - public final String entryRuleImportedFQN() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleImportedFQN = null; - - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1104:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1105:2: iv_ruleImportedFQN= ruleImportedFQN EOF - { - newCompositeNode(grammarAccess.getImportedFQNRule()); - pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2470); - iv_ruleImportedFQN=ruleImportedFQN(); - - state._fsp--; - - current =iv_ruleImportedFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2481); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleImportedFQN" - - - // $ANTLR start "ruleImportedFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1112:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; - public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - AntlrDatatypeRuleToken this_FQN_0 = null; - - - enterRule(); - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1115:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1116:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1116:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1117:5: this_FQN_0= ruleFQN (kw= '.*' )? - { - - newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); - - pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2528); - this_FQN_0=ruleFQN(); - - state._fsp--; - - - current.merge(this_FQN_0); - - - afterParserOrEnumRuleCall(); - - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1127:1: (kw= '.*' )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==38) ) { - alt14=1; - } - switch (alt14) { - case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:2: kw= '.*' - { - kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN2547); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); - - - } - break; - - } - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleImportedFQN" - - - // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1141:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; - public final String entryRuleFQN() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleFQN = null; - - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1142:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1143:2: iv_ruleFQN= ruleFQN EOF - { - newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2590); - iv_ruleFQN=ruleFQN(); - - state._fsp--; - - current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2601); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleFQN" - - - // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1150:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; - public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token this_ID_0=null; - Token kw=null; - Token this_ID_2=null; - - enterRule(); - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1153:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1154:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1154:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1154:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* - { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2641); - - current.merge(this_ID_0); - - - newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1161:1: (kw= '.' this_ID_2= RULE_ID )* - loop15: - do { - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0==39) ) { - alt15=1; - } - - - switch (alt15) { - case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1162:2: kw= '.' this_ID_2= RULE_ID - { - kw=(Token)match(input,39,FOLLOW_39_in_ruleFQN2660); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2675); - - current.merge(this_ID_2); - - - newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); - - - } - break; - - default : - break loop15; - } - } while (true); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleFQN" - - // $ANTLR start "entryRuleKeyValue" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1184:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1035:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; public final EObject entryRuleKeyValue() throws RecognitionException { EObject current = null; @@ -2811,17 +2400,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1185:2: (iv_ruleKeyValue= ruleKeyValue EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1186:2: iv_ruleKeyValue= ruleKeyValue EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1036:2: (iv_ruleKeyValue= ruleKeyValue EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1037:2: iv_ruleKeyValue= ruleKeyValue EOF { newCompositeNode(grammarAccess.getKeyValueRule()); - pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue2724); + pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue2311); iv_ruleKeyValue=ruleKeyValue(); state._fsp--; current =iv_ruleKeyValue; - match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue2734); + match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue2321); } @@ -2839,7 +2428,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleKeyValue" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1193:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1044:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ; public final EObject ruleKeyValue() throws RecognitionException { EObject current = null; @@ -2851,19 +2440,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1196:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1047:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:2: ( (lv_key_0_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1198:1: (lv_key_0_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:2: ( (lv_key_0_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1049:1: (lv_key_0_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1198:1: (lv_key_0_0= RULE_ID ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1199:3: lv_key_0_0= RULE_ID + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1049:1: (lv_key_0_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:3: lv_key_0_0= RULE_ID { - lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue2776); + lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue2363); newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); @@ -2883,20 +2472,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleKeyValue2793); + otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleKeyValue2380); newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1219:1: ( (lv_value_2_0= ruleLiteral ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1220:1: (lv_value_2_0= ruleLiteral ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1070:1: ( (lv_value_2_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1071:1: (lv_value_2_0= ruleLiteral ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1220:1: (lv_value_2_0= ruleLiteral ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1221:3: lv_value_2_0= ruleLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1071:1: (lv_value_2_0= ruleLiteral ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1072:3: lv_value_2_0= ruleLiteral { newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); - pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue2814); + pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue2401); lv_value_2_0=ruleLiteral(); state._fsp--; @@ -2939,7 +2528,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationTargetType" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1247:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1098:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; public final String entryRuleAnnotationTargetType() throws RecognitionException { String current = null; @@ -2947,17 +2536,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1248:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1249:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1099:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1100:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF { newCompositeNode(grammarAccess.getAnnotationTargetTypeRule()); - pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2853); + pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2440); iv_ruleAnnotationTargetType=ruleAnnotationTargetType(); state._fsp--; current =iv_ruleAnnotationTargetType.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType2864); + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType2451); } @@ -2975,7 +2564,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationTargetType" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1256:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1107:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; public final AntlrDatatypeRuleToken ruleAnnotationTargetType() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2984,10 +2573,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1259:28: (this_ID_0= RULE_ID ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1260:5: this_ID_0= RULE_ID + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1110:28: (this_ID_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1111:5: this_ID_0= RULE_ID { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType2903); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType2490); current.merge(this_ID_0); @@ -3012,7 +2601,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1275:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1126:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; public final EObject entryRuleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3020,17 +2609,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1276:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1277:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1127:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2947); + pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2534); iv_ruleAnnotationAttribute=ruleAnnotationAttribute(); state._fsp--; current =iv_ruleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute2957); + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute2544); } @@ -3048,7 +2637,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1284:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1135:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; public final EObject ruleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3060,119 +2649,119 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1287:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1288:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1138:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1139:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1288:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) - int alt16=2; - int LA16_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1139:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + int alt13=2; + int LA13_0 = input.LA(1); - if ( (LA16_0==40) ) { - int LA16_1 = input.LA(2); + if ( (LA13_0==36) ) { + int LA13_1 = input.LA(2); - if ( (LA16_1==42) ) { - int LA16_3 = input.LA(3); + if ( (LA13_1==38) ) { + int LA13_3 = input.LA(3); - if ( (LA16_3==RULE_ID) ) { - int LA16_4 = input.LA(4); + if ( (LA13_3==RULE_ID) ) { + int LA13_4 = input.LA(4); - if ( (LA16_4==18) ) { - int LA16_5 = input.LA(5); + if ( (LA13_4==18) ) { + int LA13_5 = input.LA(5); - if ( ((LA16_5>=57 && LA16_5<=60)) ) { - alt16=1; + if ( ((LA13_5>=57 && LA13_5<=60)) ) { + alt13=1; } - else if ( (LA16_5==14) ) { - alt16=2; + else if ( (LA13_5==14) ) { + alt13=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 5, input); + new NoViableAltException("", 13, 5, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 4, input); + new NoViableAltException("", 13, 4, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 3, input); + new NoViableAltException("", 13, 3, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 1, input); + new NoViableAltException("", 13, 1, input); throw nvae; } } - else if ( (LA16_0==41) ) { - int LA16_2 = input.LA(2); + else if ( (LA13_0==37) ) { + int LA13_2 = input.LA(2); - if ( (LA16_2==42) ) { - int LA16_3 = input.LA(3); + if ( (LA13_2==38) ) { + int LA13_3 = input.LA(3); - if ( (LA16_3==RULE_ID) ) { - int LA16_4 = input.LA(4); + if ( (LA13_3==RULE_ID) ) { + int LA13_4 = input.LA(4); - if ( (LA16_4==18) ) { - int LA16_5 = input.LA(5); + if ( (LA13_4==18) ) { + int LA13_5 = input.LA(5); - if ( ((LA16_5>=57 && LA16_5<=60)) ) { - alt16=1; + if ( ((LA13_5>=57 && LA13_5<=60)) ) { + alt13=1; } - else if ( (LA16_5==14) ) { - alt16=2; + else if ( (LA13_5==14) ) { + alt13=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 5, input); + new NoViableAltException("", 13, 5, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 4, input); + new NoViableAltException("", 13, 4, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 3, input); + new NoViableAltException("", 13, 3, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 2, input); + new NoViableAltException("", 13, 2, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 13, 0, input); throw nvae; } - switch (alt16) { + switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1289:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1140:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute3004); + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute2591); this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute(); state._fsp--; @@ -3185,12 +2774,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1299:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1150:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute3031); + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute2618); this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute(); state._fsp--; @@ -3223,7 +2812,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1315:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1166:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; public final EObject entryRuleSimpleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3231,17 +2820,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1316:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1317:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1167:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1168:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute3066); + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute2653); iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute(); state._fsp--; current =iv_ruleSimpleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute3076); + match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute2663); } @@ -3259,7 +2848,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1324:1: ruleSimpleAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1175:1: ruleSimpleAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ; public final EObject ruleSimpleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3274,39 +2863,39 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1327:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1178:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) - int alt17=2; - int LA17_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA17_0==40) ) { - alt17=1; + if ( (LA14_0==36) ) { + alt14=1; } - else if ( (LA17_0==41) ) { - alt17=2; + else if ( (LA14_0==37) ) { + alt14=2; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 14, 0, input); throw nvae; } - switch (alt17) { + switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1328:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1329:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1179:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1180:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1329:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1330:3: lv_optional_0_0= 'optional' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1180:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1181:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,40,FOLLOW_40_in_ruleSimpleAnnotationAttribute3120); + lv_optional_0_0=(Token)match(input,36,FOLLOW_36_in_ruleSimpleAnnotationAttribute2707); newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -3326,9 +2915,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1344:7: otherlv_1= 'mandatory' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1195:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleSimpleAnnotationAttribute3151); + otherlv_1=(Token)match(input,37,FOLLOW_37_in_ruleSimpleAnnotationAttribute2738); newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -3338,17 +2927,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleSimpleAnnotationAttribute3164); + otherlv_2=(Token)match(input,38,FOLLOW_38_in_ruleSimpleAnnotationAttribute2751); newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1353:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1203:1: ( (lv_name_3_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1204:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1353:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1354:3: lv_name_3_0= RULE_ID + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1204:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1205:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute3181); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute2768); newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -3368,20 +2957,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleSimpleAnnotationAttribute3198); + otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleSimpleAnnotationAttribute2785); newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1374:1: ( (lv_type_5_0= ruleLiteralType ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1375:1: (lv_type_5_0= ruleLiteralType ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1225:1: ( (lv_type_5_0= ruleLiteralType ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1226:1: (lv_type_5_0= ruleLiteralType ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1375:1: (lv_type_5_0= ruleLiteralType ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1376:3: lv_type_5_0= ruleLiteralType + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1226:1: (lv_type_5_0= ruleLiteralType ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1227:3: lv_type_5_0= ruleLiteralType { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); - pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute3219); + pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute2806); lv_type_5_0=ruleLiteralType(); state._fsp--; @@ -3424,7 +3013,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1400:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1251:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; public final EObject entryRuleEnumAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3432,17 +3021,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1401:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1402:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1252:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1253:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF { newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute3255); + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute2842); iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute(); state._fsp--; current =iv_ruleEnumAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute3265); + match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute2852); } @@ -3460,7 +3049,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1409:1: ruleEnumAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1260:1: ruleEnumAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ; public final EObject ruleEnumAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -3478,39 +3067,39 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1412:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1263:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) - int alt18=2; - int LA18_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt15=2; + int LA15_0 = input.LA(1); - if ( (LA18_0==40) ) { - alt18=1; + if ( (LA15_0==36) ) { + alt15=1; } - else if ( (LA18_0==41) ) { - alt18=2; + else if ( (LA15_0==37) ) { + alt15=2; } else { NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 15, 0, input); throw nvae; } - switch (alt18) { + switch (alt15) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1413:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1414:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1265:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1414:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1415:3: lv_optional_0_0= 'optional' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1265:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1266:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,40,FOLLOW_40_in_ruleEnumAnnotationAttribute3309); + lv_optional_0_0=(Token)match(input,36,FOLLOW_36_in_ruleEnumAnnotationAttribute2896); newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -3530,9 +3119,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1429:7: otherlv_1= 'mandatory' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1280:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleEnumAnnotationAttribute3340); + otherlv_1=(Token)match(input,37,FOLLOW_37_in_ruleEnumAnnotationAttribute2927); newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -3542,17 +3131,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleEnumAnnotationAttribute3353); + otherlv_2=(Token)match(input,38,FOLLOW_38_in_ruleEnumAnnotationAttribute2940); newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1437:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1438:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1288:1: ( (lv_name_3_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1289:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1438:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1439:3: lv_name_3_0= RULE_ID + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1289:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1290:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute3370); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute2957); newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -3572,21 +3161,21 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleEnumAnnotationAttribute3387); + otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleEnumAnnotationAttribute2974); newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); - otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleEnumAnnotationAttribute3399); + otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleEnumAnnotationAttribute2986); newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1463:1: ( (lv_values_6_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1464:1: (lv_values_6_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1314:1: ( (lv_values_6_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1315:1: (lv_values_6_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1464:1: (lv_values_6_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1465:3: lv_values_6_0= RULE_STRING + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1315:1: (lv_values_6_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1316:3: lv_values_6_0= RULE_STRING { - lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3416); + lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3003); newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); @@ -3606,32 +3195,32 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1481:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* - loop19: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1332:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* + loop16: do { - int alt19=2; - int LA19_0 = input.LA(1); + int alt16=2; + int LA16_0 = input.LA(1); - if ( (LA19_0==43) ) { - alt19=1; + if ( (LA16_0==39) ) { + alt16=1; } - switch (alt19) { + switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1481:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1332:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) { - otherlv_7=(Token)match(input,43,FOLLOW_43_in_ruleEnumAnnotationAttribute3434); + otherlv_7=(Token)match(input,39,FOLLOW_39_in_ruleEnumAnnotationAttribute3021); newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1485:1: ( (lv_values_8_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1486:1: (lv_values_8_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1336:1: ( (lv_values_8_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1337:1: (lv_values_8_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1486:1: (lv_values_8_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1487:3: lv_values_8_0= RULE_STRING + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1337:1: (lv_values_8_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1338:3: lv_values_8_0= RULE_STRING { - lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3451); + lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3038); newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); @@ -3656,11 +3245,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; default : - break loop19; + break loop16; } } while (true); - otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleEnumAnnotationAttribute3470); + otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleEnumAnnotationAttribute3057); newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); @@ -3684,8 +3273,302 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleEnumAnnotationAttribute" + // $ANTLR start "entryRuleImport" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1366:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + public final EObject entryRuleImport() throws RecognitionException { + EObject current = null; + + EObject iv_ruleImport = null; + + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1367:2: (iv_ruleImport= ruleImport EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1368:2: iv_ruleImport= ruleImport EOF + { + newCompositeNode(grammarAccess.getImportRule()); + pushFollow(FOLLOW_ruleImport_in_entryRuleImport3093); + iv_ruleImport=ruleImport(); + + state._fsp--; + + current =iv_ruleImport; + match(input,EOF,FOLLOW_EOF_in_entryRuleImport3103); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImport" + + + // $ANTLR start "ruleImport" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1375:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ; + public final EObject ruleImport() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token lv_importURI_4_0=null; + AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1378:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1379:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1379:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1379:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) + { + otherlv_0=(Token)match(input,40,FOLLOW_40_in_ruleImport3140); + + newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1383:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==RULE_ID) ) { + alt17=1; + } + else if ( (LA17_0==33) ) { + alt17=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 17, 0, input); + + throw nvae; + } + switch (alt17) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1383:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1383:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1383:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1383:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1384:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1384:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1385:3: lv_importedNamespace_1_0= ruleImportedFQN + { + + newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); + + pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport3163); + lv_importedNamespace_1_0=ruleImportedFQN(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getImportRule()); + } + set( + current, + "importedNamespace", + lv_importedNamespace_1_0, + "ImportedFQN"); + afterParserOrEnumRuleCall(); + + + } + + + } + + otherlv_2=(Token)match(input,41,FOLLOW_41_in_ruleImport3175); + + newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); + + + } + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1406:7: otherlv_3= 'model' + { + otherlv_3=(Token)match(input,33,FOLLOW_33_in_ruleImport3194); + + newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); + + + } + break; + + } + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1410:2: ( (lv_importURI_4_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1411:1: (lv_importURI_4_0= RULE_STRING ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1411:1: (lv_importURI_4_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1412:3: lv_importURI_4_0= RULE_STRING + { + lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport3212); + + newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getImportRule()); + } + setWithLastConsumed( + current, + "importURI", + lv_importURI_4_0, + "STRING"); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImport" + + + // $ANTLR start "entryRuleImportedFQN" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1436:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + public final String entryRuleImportedFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleImportedFQN = null; + + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1437:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1438:2: iv_ruleImportedFQN= ruleImportedFQN EOF + { + newCompositeNode(grammarAccess.getImportedFQNRule()); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3254); + iv_ruleImportedFQN=ruleImportedFQN(); + + state._fsp--; + + current =iv_ruleImportedFQN.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN3265); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImportedFQN" + + + // $ANTLR start "ruleImportedFQN" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1445:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + AntlrDatatypeRuleToken this_FQN_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1448:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1449:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1449:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1450:5: this_FQN_0= ruleFQN (kw= '.*' )? + { + + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN3312); + this_FQN_0=ruleFQN(); + + state._fsp--; + + + current.merge(this_FQN_0); + + + afterParserOrEnumRuleCall(); + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1460:1: (kw= '.*' )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==42) ) { + alt18=1; + } + switch (alt18) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1461:2: kw= '.*' + { + kw=(Token)match(input,42,FOLLOW_42_in_ruleImportedFQN3331); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImportedFQN" + + // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1515:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1474:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; public final EObject entryRuleDocumentation() throws RecognitionException { EObject current = null; @@ -3693,17 +3576,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1516:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1517:2: iv_ruleDocumentation= ruleDocumentation EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1475:2: (iv_ruleDocumentation= ruleDocumentation EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1476:2: iv_ruleDocumentation= ruleDocumentation EOF { newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation3506); + pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation3373); iv_ruleDocumentation=ruleDocumentation(); state._fsp--; current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation3516); + match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation3383); } @@ -3721,7 +3604,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1524:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1483:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; public final EObject ruleDocumentation() throws RecognitionException { EObject current = null; @@ -3732,14 +3615,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1527:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1528:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1486:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1487:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1528:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1528:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1487:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1487:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1528:2: () - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1529:5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1487:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1488:5: { current = forceCreateModelElement( @@ -3749,29 +3632,29 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,44,FOLLOW_44_in_ruleDocumentation3562); + otherlv_1=(Token)match(input,43,FOLLOW_43_in_ruleDocumentation3429); newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1538:1: ( (lv_lines_2_0= RULE_STRING ) )* - loop20: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1497:1: ( (lv_lines_2_0= RULE_STRING ) )* + loop19: do { - int alt20=2; - int LA20_0 = input.LA(1); + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA20_0==RULE_STRING) ) { - alt20=1; + if ( (LA19_0==RULE_STRING) ) { + alt19=1; } - switch (alt20) { + switch (alt19) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1539:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1498:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1539:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:3: lv_lines_2_0= RULE_STRING + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1498:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1499:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation3579); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation3446); newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -3793,11 +3676,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; default : - break loop20; + break loop19; } } while (true); - otherlv_3=(Token)match(input,45,FOLLOW_45_in_ruleDocumentation3597); + otherlv_3=(Token)match(input,44,FOLLOW_44_in_ruleDocumentation3464); newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); @@ -3822,7 +3705,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTIME" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1568:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1527:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ; public final String entryRuleTIME() throws RecognitionException { String current = null; @@ -3830,17 +3713,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1569:2: (iv_ruleTIME= ruleTIME EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1570:2: iv_ruleTIME= ruleTIME EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1528:2: (iv_ruleTIME= ruleTIME EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1529:2: iv_ruleTIME= ruleTIME EOF { newCompositeNode(grammarAccess.getTIMERule()); - pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME3634); + pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME3501); iv_ruleTIME=ruleTIME(); state._fsp--; current =iv_ruleTIME.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleTIME3645); + match(input,EOF,FOLLOW_EOF_in_entryRuleTIME3512); } @@ -3858,7 +3741,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTIME" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1577:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1536:1: ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ; public final AntlrDatatypeRuleToken ruleTIME() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3871,38 +3754,38 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1580:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1581:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1539:28: ( ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1581:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) - int alt21=4; - int LA21_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:1: ( (this_INT_0= RULE_INT kw= 's' ) | (this_INT_2= RULE_INT kw= 'ms' ) | (this_INT_4= RULE_INT kw= 'us' ) | (this_INT_6= RULE_INT kw= 'ns' ) ) + int alt20=4; + int LA20_0 = input.LA(1); - if ( (LA21_0==RULE_INT) ) { + if ( (LA20_0==RULE_INT) ) { switch ( input.LA(2) ) { case 48: { - alt21=3; + alt20=4; } break; - case 46: + case 45: { - alt21=1; + alt20=1; } break; - case 47: + case 46: { - alt21=2; + alt20=2; } break; - case 49: + case 47: { - alt21=4; + alt20=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 21, 1, input); + new NoViableAltException("", 20, 1, input); throw nvae; } @@ -3910,25 +3793,25 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } else { NoViableAltException nvae = - new NoViableAltException("", 21, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt21) { + switch (alt20) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1581:2: (this_INT_0= RULE_INT kw= 's' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:2: (this_INT_0= RULE_INT kw= 's' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1581:2: (this_INT_0= RULE_INT kw= 's' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1581:7: this_INT_0= RULE_INT kw= 's' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:2: (this_INT_0= RULE_INT kw= 's' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1540:7: this_INT_0= RULE_INT kw= 's' { - this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3686); + this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3553); current.merge(this_INT_0); newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0()); - kw=(Token)match(input,46,FOLLOW_46_in_ruleTIME3704); + kw=(Token)match(input,45,FOLLOW_45_in_ruleTIME3571); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1()); @@ -3940,19 +3823,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1595:6: (this_INT_2= RULE_INT kw= 'ms' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1554:6: (this_INT_2= RULE_INT kw= 'ms' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1595:6: (this_INT_2= RULE_INT kw= 'ms' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1595:11: this_INT_2= RULE_INT kw= 'ms' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1554:6: (this_INT_2= RULE_INT kw= 'ms' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1554:11: this_INT_2= RULE_INT kw= 'ms' { - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3727); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3594); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0()); - kw=(Token)match(input,47,FOLLOW_47_in_ruleTIME3745); + kw=(Token)match(input,46,FOLLOW_46_in_ruleTIME3612); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1()); @@ -3964,19 +3847,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1609:6: (this_INT_4= RULE_INT kw= 'us' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1568:6: (this_INT_4= RULE_INT kw= 'us' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1609:6: (this_INT_4= RULE_INT kw= 'us' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1609:11: this_INT_4= RULE_INT kw= 'us' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1568:6: (this_INT_4= RULE_INT kw= 'us' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1568:11: this_INT_4= RULE_INT kw= 'us' { - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3768); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3635); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0()); - kw=(Token)match(input,48,FOLLOW_48_in_ruleTIME3786); + kw=(Token)match(input,47,FOLLOW_47_in_ruleTIME3653); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1()); @@ -3988,19 +3871,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1623:6: (this_INT_6= RULE_INT kw= 'ns' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1582:6: (this_INT_6= RULE_INT kw= 'ns' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1623:6: (this_INT_6= RULE_INT kw= 'ns' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1623:11: this_INT_6= RULE_INT kw= 'ns' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1582:6: (this_INT_6= RULE_INT kw= 'ns' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1582:11: this_INT_6= RULE_INT kw= 'ns' { - this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3809); + this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3676); current.merge(this_INT_6); newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0()); - kw=(Token)match(input,49,FOLLOW_49_in_ruleTIME3827); + kw=(Token)match(input,48,FOLLOW_48_in_ruleTIME3694); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1()); @@ -4032,7 +3915,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1646:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1605:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -4040,17 +3923,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1647:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1648:2: iv_ruleLiteral= ruleLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1606:2: (iv_ruleLiteral= ruleLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1607:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3870); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3737); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3880); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3747); } @@ -4068,7 +3951,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1655:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1614:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; public final EObject ruleLiteral() throws RecognitionException { EObject current = null; @@ -4082,47 +3965,47 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1658:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1659:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1617:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1618:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1659:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) - int alt22=3; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1618:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + int alt21=3; switch ( input.LA(1) ) { + case 49: case 50: - case 51: { - alt22=1; + alt21=1; } break; case RULE_INT: case RULE_HEX: case 34: case 35: - case 39: + case 51: { - alt22=2; + alt21=2; } break; case RULE_STRING: { - alt22=3; + alt21=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 22, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt22) { + switch (alt21) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1660:5: this_BooleanLiteral_0= ruleBooleanLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1619:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3927); + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3794); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -4135,12 +4018,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1670:5: this_NumberLiteral_1= ruleNumberLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1629:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3954); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3821); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -4153,12 +4036,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1680:5: this_StringLiteral_2= ruleStringLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1639:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3981); + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3848); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -4191,7 +4074,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBooleanLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1696:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1655:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -4199,17 +4082,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1697:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1698:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1656:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1657:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral4016); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3883); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral4026); + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3893); } @@ -4227,7 +4110,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBooleanLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1705:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1664:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -4237,14 +4120,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1708:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1709:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1667:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1668:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1709:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1709:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1668:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1668:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1709:2: () - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1710:5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1668:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1669:5: { current = forceCreateModelElement( @@ -4254,27 +4137,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1715:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) - int alt23=2; - int LA23_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1674:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + int alt22=2; + int LA22_0 = input.LA(1); - if ( (LA23_0==50) ) { - alt23=1; + if ( (LA22_0==49) ) { + alt22=1; } - else if ( (LA23_0==51) ) { - alt23=2; + else if ( (LA22_0==50) ) { + alt22=2; } else { NoViableAltException nvae = - new NoViableAltException("", 23, 0, input); + new NoViableAltException("", 22, 0, input); throw nvae; } - switch (alt23) { + switch (alt22) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1715:4: otherlv_1= 'false' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1674:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,50,FOLLOW_50_in_ruleBooleanLiteral4073); + otherlv_1=(Token)match(input,49,FOLLOW_49_in_ruleBooleanLiteral3940); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -4282,15 +4165,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1720:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1679:6: ( (lv_isTrue_2_0= 'true' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1720:6: ( (lv_isTrue_2_0= 'true' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1721:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1679:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1680:1: (lv_isTrue_2_0= 'true' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1721:1: (lv_isTrue_2_0= 'true' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1722:3: lv_isTrue_2_0= 'true' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1680:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1681:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,51,FOLLOW_51_in_ruleBooleanLiteral4097); + lv_isTrue_2_0=(Token)match(input,50,FOLLOW_50_in_ruleBooleanLiteral3964); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -4333,7 +4216,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumberLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1743:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1702:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -4341,17 +4224,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1744:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1745:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1703:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1704:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral4147); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral4014); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral4157); + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral4024); } @@ -4369,7 +4252,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumberLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1752:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1711:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -4381,38 +4264,38 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1756:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1714:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1715:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1756:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) - int alt24=2; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1715:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + int alt23=2; switch ( input.LA(1) ) { case 34: { - int LA24_1 = input.LA(2); + int LA23_1 = input.LA(2); - if ( (LA24_1==39) ) { - alt24=2; - } - else if ( (LA24_1==RULE_INT) ) { - int LA24_3 = input.LA(3); + if ( (LA23_1==RULE_INT) ) { + int LA23_3 = input.LA(3); - if ( (LA24_3==39) ) { - alt24=2; + if ( (LA23_3==51) ) { + alt23=2; } - else if ( (LA24_3==EOF) ) { - alt24=1; + else if ( (LA23_3==EOF) ) { + alt23=1; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 3, input); + new NoViableAltException("", 23, 3, input); throw nvae; } } + else if ( (LA23_1==51) ) { + alt23=2; + } else { NoViableAltException nvae = - new NoViableAltException("", 24, 1, input); + new NoViableAltException("", 23, 1, input); throw nvae; } @@ -4420,30 +4303,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; case 35: { - int LA24_2 = input.LA(2); + int LA23_2 = input.LA(2); - if ( (LA24_2==RULE_INT) ) { - int LA24_3 = input.LA(3); + if ( (LA23_2==RULE_INT) ) { + int LA23_3 = input.LA(3); - if ( (LA24_3==39) ) { - alt24=2; + if ( (LA23_3==51) ) { + alt23=2; } - else if ( (LA24_3==EOF) ) { - alt24=1; + else if ( (LA23_3==EOF) ) { + alt23=1; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 3, input); + new NoViableAltException("", 23, 3, input); throw nvae; } } - else if ( (LA24_2==39) ) { - alt24=2; + else if ( (LA23_2==51) ) { + alt23=2; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 2, input); + new NoViableAltException("", 23, 2, input); throw nvae; } @@ -4451,17 +4334,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; case RULE_INT: { - int LA24_3 = input.LA(2); + int LA23_3 = input.LA(2); - if ( (LA24_3==39) ) { - alt24=2; + if ( (LA23_3==51) ) { + alt23=2; } - else if ( (LA24_3==EOF) ) { - alt24=1; + else if ( (LA23_3==EOF) ) { + alt23=1; } else { NoViableAltException nvae = - new NoViableAltException("", 24, 3, input); + new NoViableAltException("", 23, 3, input); throw nvae; } @@ -4469,29 +4352,29 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; case RULE_HEX: { - alt24=1; + alt23=1; } break; - case 39: + case 51: { - alt24=2; + alt23=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 24, 0, input); + new NoViableAltException("", 23, 0, input); throw nvae; } - switch (alt24) { + switch (alt23) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1757:5: this_IntLiteral_0= ruleIntLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1716:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral4204); + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral4071); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -4504,12 +4387,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1767:5: this_RealLiteral_1= ruleRealLiteral + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1726:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral4231); + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral4098); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -4542,7 +4425,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRealLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1783:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1742:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -4550,17 +4433,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1784:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1785:2: iv_ruleRealLiteral= ruleRealLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1743:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1744:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral4266); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral4133); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral4276); + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral4143); } @@ -4578,7 +4461,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRealLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1792:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1751:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -4588,14 +4471,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1795:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1796:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1754:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:1: ( () ( (lv_value_1_0= ruleReal ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1796:1: ( () ( (lv_value_1_0= ruleReal ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1796:2: () ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1796:2: () - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1797:5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1756:5: { current = forceCreateModelElement( @@ -4605,16 +4488,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1802:2: ( (lv_value_1_0= ruleReal ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1803:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1761:2: ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1762:1: (lv_value_1_0= ruleReal ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1803:1: (lv_value_1_0= ruleReal ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1804:3: lv_value_1_0= ruleReal + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1762:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1763:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral4331); + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral4198); lv_value_1_0=ruleReal(); state._fsp--; @@ -4657,7 +4540,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleIntLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1828:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1787:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -4665,17 +4548,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1829:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1830:2: iv_ruleIntLiteral= ruleIntLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1788:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1789:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4367); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4234); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4377); + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4244); } @@ -4693,7 +4576,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIntLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1837:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1796:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -4703,14 +4586,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1840:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1841:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1799:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1800:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1841:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1841:2: () ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1800:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1800:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1841:2: () - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1842:5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1800:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1801:5: { current = forceCreateModelElement( @@ -4720,16 +4603,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1847:2: ( (lv_value_1_0= ruleInteger ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1848:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1806:2: ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1807:1: (lv_value_1_0= ruleInteger ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1848:1: (lv_value_1_0= ruleInteger ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1849:3: lv_value_1_0= ruleInteger + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1807:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1808:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4432); + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4299); lv_value_1_0=ruleInteger(); state._fsp--; @@ -4772,7 +4655,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1873:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1832:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -4780,17 +4663,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1874:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1875:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1833:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1834:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4468); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4335); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4478); + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4345); } @@ -4808,7 +4691,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1882:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1841:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -4817,14 +4700,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1885:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1886:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1844:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1845:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1886:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1886:2: () ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1845:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1845:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1886:2: () - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1887:5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1845:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1846:5: { current = forceCreateModelElement( @@ -4834,13 +4717,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1892:2: ( (lv_value_1_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1893:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1851:2: ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1852:1: (lv_value_1_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1893:1: (lv_value_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1894:3: lv_value_1_0= RULE_STRING + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1852:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1853:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4529); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4396); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -4881,7 +4764,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1918:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1877:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -4889,17 +4772,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1919:2: (iv_ruleInteger= ruleInteger EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1920:2: iv_ruleInteger= ruleInteger EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1878:2: (iv_ruleInteger= ruleInteger EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1879:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4571); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4438); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4582); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4449); } @@ -4917,7 +4800,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1927:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1886:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4929,33 +4812,33 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1930:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1931:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1889:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1890:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1931:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) - int alt25=2; - int LA25_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1890:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + int alt24=2; + int LA24_0 = input.LA(1); - if ( (LA25_0==RULE_INT||(LA25_0>=34 && LA25_0<=35)) ) { - alt25=1; + if ( (LA24_0==RULE_INT||(LA24_0>=34 && LA24_0<=35)) ) { + alt24=1; } - else if ( (LA25_0==RULE_HEX) ) { - alt25=2; + else if ( (LA24_0==RULE_HEX) ) { + alt24=2; } else { NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + new NoViableAltException("", 24, 0, input); throw nvae; } - switch (alt25) { + switch (alt24) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1932:5: this_SignedInteger_0= ruleSignedInteger + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1891:5: this_SignedInteger_0= ruleSignedInteger { newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); - pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4629); + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4496); this_SignedInteger_0=ruleSignedInteger(); state._fsp--; @@ -4970,12 +4853,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1944:5: this_Hexadecimal_1= ruleHexadecimal + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1903:5: this_Hexadecimal_1= ruleHexadecimal { newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4662); + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4529); this_Hexadecimal_1=ruleHexadecimal(); state._fsp--; @@ -5010,7 +4893,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSignedInteger" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1962:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1921:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; public final String entryRuleSignedInteger() throws RecognitionException { String current = null; @@ -5021,17 +4904,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1966:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1967:2: iv_ruleSignedInteger= ruleSignedInteger EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1925:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1926:2: iv_ruleSignedInteger= ruleSignedInteger EOF { newCompositeNode(grammarAccess.getSignedIntegerRule()); - pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4714); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4581); iv_ruleSignedInteger=ruleSignedInteger(); state._fsp--; current =iv_ruleSignedInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4725); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4592); } @@ -5052,7 +4935,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSignedInteger" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1977:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1936:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5063,27 +4946,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1981:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1982:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1940:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1941:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1982:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1982:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1941:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1941:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1982:2: (kw= '+' | kw= '-' )? - int alt26=3; - int LA26_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1941:2: (kw= '+' | kw= '-' )? + int alt25=3; + int LA25_0 = input.LA(1); - if ( (LA26_0==34) ) { - alt26=1; + if ( (LA25_0==34) ) { + alt25=1; } - else if ( (LA26_0==35) ) { - alt26=2; + else if ( (LA25_0==35) ) { + alt25=2; } - switch (alt26) { + switch (alt25) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1983:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1942:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger4768); + kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger4635); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); @@ -5092,9 +4975,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1990:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1949:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger4787); + kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger4654); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); @@ -5105,7 +4988,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4804); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4671); current.merge(this_INT_2); @@ -5136,7 +5019,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleHexadecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2013:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1972:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; public final String entryRuleHexadecimal() throws RecognitionException { String current = null; @@ -5147,17 +5030,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2017:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2018:2: iv_ruleHexadecimal= ruleHexadecimal EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1976:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1977:2: iv_ruleHexadecimal= ruleHexadecimal EOF { newCompositeNode(grammarAccess.getHexadecimalRule()); - pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4860); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4727); iv_ruleHexadecimal=ruleHexadecimal(); state._fsp--; current =iv_ruleHexadecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4871); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4738); } @@ -5178,7 +5061,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleHexadecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2028:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1987:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5188,10 +5071,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2032:28: (this_HEX_0= RULE_HEX ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2033:5: this_HEX_0= RULE_HEX + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1991:28: (this_HEX_0= RULE_HEX ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1992:5: this_HEX_0= RULE_HEX { - this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4914); + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4781); current.merge(this_HEX_0); @@ -5219,7 +5102,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2051:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2010:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -5227,17 +5110,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2052:2: (iv_ruleReal= ruleReal EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2053:2: iv_ruleReal= ruleReal EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2011:2: (iv_ruleReal= ruleReal EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2012:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal4963); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal4830); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal4974); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal4841); } @@ -5255,7 +5138,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2060:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2019:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5271,20 +5154,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2063:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2064:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2022:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2023:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2064:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) - int alt27=4; - alt27 = dfa27.predict(input); - switch (alt27) { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2023:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + int alt26=4; + alt26 = dfa26.predict(input); + switch (alt26) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2065:5: this_Decimal_0= ruleDecimal + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2024:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal5021); + pushFollow(FOLLOW_ruleDecimal_in_ruleReal4888); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -5299,12 +5182,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2077:5: this_DotDecimal_1= ruleDotDecimal + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2036:5: this_DotDecimal_1= ruleDotDecimal { newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal5054); + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal4921); this_DotDecimal_1=ruleDotDecimal(); state._fsp--; @@ -5319,12 +5202,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2089:5: this_DecimalDot_2= ruleDecimalDot + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2048:5: this_DecimalDot_2= ruleDecimalDot { newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); - pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal5087); + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal4954); this_DecimalDot_2=ruleDecimalDot(); state._fsp--; @@ -5339,12 +5222,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2101:5: this_DecimalExp_3= ruleDecimalExp + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2060:5: this_DecimalExp_3= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal5120); + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4987); this_DecimalExp_3=ruleDecimalExp(); state._fsp--; @@ -5379,7 +5262,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2119:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2078:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -5390,17 +5273,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2123:2: (iv_ruleDecimal= ruleDecimal EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2124:2: iv_ruleDecimal= ruleDecimal EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2082:2: (iv_ruleDecimal= ruleDecimal EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2083:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal5172); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal5039); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal5183); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal5050); } @@ -5421,7 +5304,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2134:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2093:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5433,27 +5316,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2138:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2139:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2097:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2098:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2139:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2139:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2098:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2098:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2139:2: (kw= '+' | kw= '-' )? - int alt28=3; - int LA28_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2098:2: (kw= '+' | kw= '-' )? + int alt27=3; + int LA27_0 = input.LA(1); - if ( (LA28_0==34) ) { - alt28=1; + if ( (LA27_0==34) ) { + alt27=1; } - else if ( (LA28_0==35) ) { - alt28=2; + else if ( (LA27_0==35) ) { + alt27=2; } - switch (alt28) { + switch (alt27) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2140:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2099:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal5226); + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal5093); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -5462,9 +5345,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2147:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2106:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal5245); + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal5112); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -5475,19 +5358,19 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5262); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5129); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimal5280); + kw=(Token)match(input,51,FOLLOW_51_in_ruleDecimal5147); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5295); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5162); current.merge(this_INT_4); @@ -5518,7 +5401,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDotDecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2183:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2142:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; public final String entryRuleDotDecimal() throws RecognitionException { String current = null; @@ -5529,17 +5412,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2187:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2188:2: iv_ruleDotDecimal= ruleDotDecimal EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2146:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2147:2: iv_ruleDotDecimal= ruleDotDecimal EOF { newCompositeNode(grammarAccess.getDotDecimalRule()); - pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal5351); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal5218); iv_ruleDotDecimal=ruleDotDecimal(); state._fsp--; current =iv_ruleDotDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal5362); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal5229); } @@ -5560,7 +5443,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDotDecimal" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2198:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2157:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5571,27 +5454,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2202:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2161:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2162:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2162:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2162:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:2: (kw= '+' | kw= '-' )? - int alt29=3; - int LA29_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2162:2: (kw= '+' | kw= '-' )? + int alt28=3; + int LA28_0 = input.LA(1); - if ( (LA29_0==34) ) { - alt29=1; + if ( (LA28_0==34) ) { + alt28=1; } - else if ( (LA29_0==35) ) { - alt29=2; + else if ( (LA28_0==35) ) { + alt28=2; } - switch (alt29) { + switch (alt28) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2204:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2163:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal5405); + kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal5272); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); @@ -5600,9 +5483,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2211:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2170:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal5424); + kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal5291); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -5613,12 +5496,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - kw=(Token)match(input,39,FOLLOW_39_in_ruleDotDecimal5439); + kw=(Token)match(input,51,FOLLOW_51_in_ruleDotDecimal5306); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5454); + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5321); current.merge(this_INT_3); @@ -5649,7 +5532,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalDot" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2240:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2199:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; public final String entryRuleDecimalDot() throws RecognitionException { String current = null; @@ -5660,17 +5543,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2244:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2245:2: iv_ruleDecimalDot= ruleDecimalDot EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2204:2: iv_ruleDecimalDot= ruleDecimalDot EOF { newCompositeNode(grammarAccess.getDecimalDotRule()); - pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5510); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5377); iv_ruleDecimalDot=ruleDecimalDot(); state._fsp--; current =iv_ruleDecimalDot.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5521); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5388); } @@ -5691,7 +5574,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalDot" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2255:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2214:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5702,27 +5585,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2259:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2260:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2218:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2219:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2260:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2260:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2219:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2219:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2260:2: (kw= '+' | kw= '-' )? - int alt30=3; - int LA30_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2219:2: (kw= '+' | kw= '-' )? + int alt29=3; + int LA29_0 = input.LA(1); - if ( (LA30_0==34) ) { - alt30=1; + if ( (LA29_0==34) ) { + alt29=1; } - else if ( (LA30_0==35) ) { - alt30=2; + else if ( (LA29_0==35) ) { + alt29=2; } - switch (alt30) { + switch (alt29) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2261:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2220:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot5564); + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot5431); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); @@ -5731,9 +5614,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2268:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2227:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot5583); + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot5450); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); @@ -5744,14 +5627,14 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5600); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5467); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalDot5618); + kw=(Token)match(input,51,FOLLOW_51_in_ruleDecimalDot5485); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); @@ -5780,7 +5663,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalExp" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2297:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2256:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -5791,17 +5674,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2301:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2302:2: iv_ruleDecimalExp= ruleDecimalExp EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2260:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2261:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5669); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5536); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5680); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5547); } @@ -5822,7 +5705,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2312:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2271:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -5835,27 +5718,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2316:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2317:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2275:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2276:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2317:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2317:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2276:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2276:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2317:2: (kw= '+' | kw= '-' )? - int alt31=3; - int LA31_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2276:2: (kw= '+' | kw= '-' )? + int alt30=3; + int LA30_0 = input.LA(1); - if ( (LA31_0==34) ) { - alt31=1; + if ( (LA30_0==34) ) { + alt30=1; } - else if ( (LA31_0==35) ) { - alt31=2; + else if ( (LA30_0==35) ) { + alt30=2; } - switch (alt31) { + switch (alt30) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2318:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2277:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp5723); + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp5590); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -5864,9 +5747,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2325:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2284:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp5742); + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp5609); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -5877,26 +5760,26 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5759); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5626); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalExp5777); + kw=(Token)match(input,51,FOLLOW_51_in_ruleDecimalExp5644); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5792); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5659); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); - this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp5812); + this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp5679); current.merge(this_EXP_5); @@ -5926,6 +5809,123 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleDecimalExp" + // $ANTLR start "entryRuleFQN" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2327:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + public final String entryRuleFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleFQN = null; + + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2328:2: (iv_ruleFQN= ruleFQN EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2329:2: iv_ruleFQN= ruleFQN EOF + { + newCompositeNode(grammarAccess.getFQNRule()); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN5729); + iv_ruleFQN=ruleFQN(); + + state._fsp--; + + current =iv_ruleFQN.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN5740); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFQN" + + + // $ANTLR start "ruleFQN" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2336:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; + + enterRule(); + + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2339:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2340:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2340:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2340:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN5780); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2347:1: (kw= '.' this_ID_2= RULE_ID )* + loop31: + do { + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==51) ) { + alt31=1; + } + + + switch (alt31) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2348:2: kw= '.' this_ID_2= RULE_ID + { + kw=(Token)match(input,51,FOLLOW_51_in_ruleFQN5799); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN5814); + + current.merge(this_ID_2); + + + newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1()); + + + } + break; + + default : + break loop31; + } + } while (true); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFQN" + + // $ANTLR start "ruleExecMode" // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2368:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ; public final Enumerator ruleExecMode() throws RecognitionException { @@ -6257,23 +6257,23 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // Delegated rules - protected DFA27 dfa27 = new DFA27(this); - static final String DFA27_eotS = + protected DFA26 dfa26 = new DFA26(this); + static final String DFA26_eotS = "\12\uffff"; - static final String DFA27_eofS = + static final String DFA26_eofS = "\5\uffff\1\7\1\11\3\uffff"; - static final String DFA27_minS = - "\3\5\1\47\1\uffff\1\5\1\10\3\uffff"; - static final String DFA27_maxS = - "\4\47\1\uffff\1\5\1\10\3\uffff"; - static final String DFA27_acceptS = + static final String DFA26_minS = + "\3\5\1\63\1\uffff\1\5\1\10\3\uffff"; + static final String DFA26_maxS = + "\4\63\1\uffff\1\5\1\10\3\uffff"; + static final String DFA26_acceptS = "\4\uffff\1\2\2\uffff\1\3\1\4\1\1"; - static final String DFA27_specialS = + static final String DFA26_specialS = "\12\uffff}>"; - static final String[] DFA27_transitionS = { - "\1\3\34\uffff\1\1\1\2\3\uffff\1\4", - "\1\3\41\uffff\1\4", - "\1\3\41\uffff\1\4", + static final String[] DFA26_transitionS = { + "\1\3\34\uffff\1\1\1\2\17\uffff\1\4", + "\1\3\55\uffff\1\4", + "\1\3\55\uffff\1\4", "\1\5", "", "\1\6", @@ -6283,37 +6283,37 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { "" }; - static final short[] DFA27_eot = DFA.unpackEncodedString(DFA27_eotS); - static final short[] DFA27_eof = DFA.unpackEncodedString(DFA27_eofS); - static final char[] DFA27_min = DFA.unpackEncodedStringToUnsignedChars(DFA27_minS); - static final char[] DFA27_max = DFA.unpackEncodedStringToUnsignedChars(DFA27_maxS); - static final short[] DFA27_accept = DFA.unpackEncodedString(DFA27_acceptS); - static final short[] DFA27_special = DFA.unpackEncodedString(DFA27_specialS); - static final short[][] DFA27_transition; + static final short[] DFA26_eot = DFA.unpackEncodedString(DFA26_eotS); + static final short[] DFA26_eof = DFA.unpackEncodedString(DFA26_eofS); + static final char[] DFA26_min = DFA.unpackEncodedStringToUnsignedChars(DFA26_minS); + static final char[] DFA26_max = DFA.unpackEncodedStringToUnsignedChars(DFA26_maxS); + static final short[] DFA26_accept = DFA.unpackEncodedString(DFA26_acceptS); + static final short[] DFA26_special = DFA.unpackEncodedString(DFA26_specialS); + static final short[][] DFA26_transition; static { - int numStates = DFA27_transitionS.length; - DFA27_transition = new short[numStates][]; + int numStates = DFA26_transitionS.length; + DFA26_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA27_transition[i] = DFA.unpackEncodedString(DFA27_transitionS[i]); + DFA26_transition[i] = DFA.unpackEncodedString(DFA26_transitionS[i]); } } - class DFA27 extends DFA { + class DFA26 extends DFA { - public DFA27(BaseRecognizer recognizer) { + public DFA26(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 27; - this.eot = DFA27_eot; - this.eof = DFA27_eof; - this.min = DFA27_min; - this.max = DFA27_max; - this.accept = DFA27_accept; - this.special = DFA27_special; - this.transition = DFA27_transition; + this.decisionNumber = 26; + this.eot = DFA26_eot; + this.eof = DFA26_eof; + this.min = DFA26_min; + this.max = DFA26_max; + this.accept = DFA26_accept; + this.special = DFA26_special; + this.transition = DFA26_transition; } public String getDescription() { - return "2064:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + return "2023:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; } } @@ -6322,8 +6322,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_EOF_in_entryRulePhysicalModel85 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_13_in_rulePhysicalModel122 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_ruleFQN_in_rulePhysicalModel143 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_14_in_rulePhysicalModel155 = new BitSet(new long[]{0x0000001100098000L}); - public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x0000001100098000L}); + public static final BitSet FOLLOW_14_in_rulePhysicalModel155 = new BitSet(new long[]{0x0000010100098000L}); + public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x0000010100098000L}); public static final BitSet FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199 = new BitSet(new long[]{0x0000000100098000L}); public static final BitSet FOLLOW_ruleNodeClass_in_rulePhysicalModel226 = new BitSet(new long[]{0x0000000100098000L}); public static final BitSet FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253 = new BitSet(new long[]{0x0000000100098000L}); @@ -6331,7 +6331,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePhysicalSystem313 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_16_in_rulePhysicalSystem350 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000100000004000L}); + public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000080000004000L}); public static final BitSet FOLLOW_ruleDocumentation_in_rulePhysicalSystem393 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_14_in_rulePhysicalSystem406 = new BitSet(new long[]{0x0000000000028000L}); public static final BitSet FOLLOW_ruleNodeRef_in_rulePhysicalSystem427 = new BitSet(new long[]{0x0000000000028000L}); @@ -6341,12 +6341,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_17_in_ruleNodeRef523 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_RULE_ID_in_ruleNodeRef540 = new BitSet(new long[]{0x0000000000040000L}); public static final BitSet FOLLOW_18_in_ruleNodeRef557 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000100000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000080000000002L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeRef601 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNodeClass_in_entryRuleNodeClass638 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNodeClass648 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_19_in_ruleNodeClass685 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000100000004000L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000080000004000L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeClass728 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_14_in_ruleNodeClass741 = new BitSet(new long[]{0x0000000000D00000L}); public static final BitSet FOLLOW_20_in_ruleNodeClass799 = new BitSet(new long[]{0x0000000000200000L}); @@ -6388,7 +6388,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1967 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleRuntimeClass1977 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_32_in_ruleRuntimeClass2014 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass2031 = new BitSet(new long[]{0x0000100000004000L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass2031 = new BitSet(new long[]{0x0000080000004000L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleRuntimeClass2057 = new BitSet(new long[]{0x0000000000004000L}); public static final BitSet FOLLOW_14_in_ruleRuntimeClass2070 = new BitSet(new long[]{0x0000000200000000L}); public static final BitSet FOLLOW_33_in_ruleRuntimeClass2082 = new BitSet(new long[]{0x0000000000200000L}); @@ -6400,136 +6400,136 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_34_in_rulePRIO2224 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_35_in_rulePRIO2243 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_INT_in_rulePRIO2260 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2309 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImport2319 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_36_in_ruleImport2356 = new BitSet(new long[]{0x0000000200000010L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2379 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_37_in_ruleImport2391 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_33_in_ruleImport2410 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2428 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2470 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2481 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2528 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_38_in_ruleImportedFQN2547 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2590 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN2601 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2641 = new BitSet(new long[]{0x0000008000000002L}); - public static final BitSet FOLLOW_39_in_ruleFQN2660 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2675 = new BitSet(new long[]{0x0000008000000002L}); - public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue2724 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue2734 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue2776 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21_in_ruleKeyValue2793 = new BitSet(new long[]{0x000C008C000000E0L}); - public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue2814 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2853 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType2864 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType2903 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2947 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute2957 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute3004 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute3031 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute3066 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute3076 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleSimpleAnnotationAttribute3120 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_41_in_ruleSimpleAnnotationAttribute3151 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_42_in_ruleSimpleAnnotationAttribute3164 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute3181 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleSimpleAnnotationAttribute3198 = new BitSet(new long[]{0x1E00000000000000L}); - public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute3219 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute3255 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute3265 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleEnumAnnotationAttribute3309 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_41_in_ruleEnumAnnotationAttribute3340 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_42_in_ruleEnumAnnotationAttribute3353 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute3370 = new BitSet(new long[]{0x0000000000040000L}); - public static final BitSet FOLLOW_18_in_ruleEnumAnnotationAttribute3387 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_14_in_ruleEnumAnnotationAttribute3399 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3416 = new BitSet(new long[]{0x0000080000008000L}); - public static final BitSet FOLLOW_43_in_ruleEnumAnnotationAttribute3434 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3451 = new BitSet(new long[]{0x0000080000008000L}); - public static final BitSet FOLLOW_15_in_ruleEnumAnnotationAttribute3470 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation3506 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation3516 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleDocumentation3562 = new BitSet(new long[]{0x0000200000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation3579 = new BitSet(new long[]{0x0000200000000040L}); - public static final BitSet FOLLOW_45_in_ruleDocumentation3597 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME3634 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTIME3645 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3686 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_46_in_ruleTIME3704 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3727 = new BitSet(new long[]{0x0000800000000000L}); - public static final BitSet FOLLOW_47_in_ruleTIME3745 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3768 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_48_in_ruleTIME3786 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3809 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_49_in_ruleTIME3827 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3870 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3880 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3927 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3954 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3981 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral4016 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral4026 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_50_in_ruleBooleanLiteral4073 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_51_in_ruleBooleanLiteral4097 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral4147 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral4157 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral4204 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral4231 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral4266 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral4276 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral4331 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4367 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral4377 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral4432 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4468 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral4478 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral4529 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger4571 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInteger4582 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger4629 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger4662 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4714 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger4725 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleSignedInteger4768 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_35_in_ruleSignedInteger4787 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger4804 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4860 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal4871 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal4914 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4963 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleReal4974 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_ruleReal5021 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal5054 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal5087 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal5120 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal5172 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimal5183 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleDecimal5226 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_35_in_ruleDecimal5245 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal5262 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDecimal5280 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal5295 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal5351 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal5362 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleDotDecimal5405 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_35_in_ruleDotDecimal5424 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDotDecimal5439 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal5454 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5510 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot5521 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleDecimalDot5564 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_35_in_ruleDecimalDot5583 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot5600 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDecimalDot5618 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5669 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp5680 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleDecimalExp5723 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_35_in_ruleDecimalExp5742 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5759 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleDecimalExp5777 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5792 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp5812 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue2311 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue2321 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue2363 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_ruleKeyValue2380 = new BitSet(new long[]{0x000E000C000000E0L}); + public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue2401 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2440 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType2451 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType2490 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2534 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute2544 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute2591 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute2618 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute2653 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute2663 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_36_in_ruleSimpleAnnotationAttribute2707 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_37_in_ruleSimpleAnnotationAttribute2738 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_38_in_ruleSimpleAnnotationAttribute2751 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute2768 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleSimpleAnnotationAttribute2785 = new BitSet(new long[]{0x1E00000000000000L}); + public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute2806 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute2842 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute2852 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_36_in_ruleEnumAnnotationAttribute2896 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_37_in_ruleEnumAnnotationAttribute2927 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_38_in_ruleEnumAnnotationAttribute2940 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute2957 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_18_in_ruleEnumAnnotationAttribute2974 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleEnumAnnotationAttribute2986 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3003 = new BitSet(new long[]{0x0000008000008000L}); + public static final BitSet FOLLOW_39_in_ruleEnumAnnotationAttribute3021 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3038 = new BitSet(new long[]{0x0000008000008000L}); + public static final BitSet FOLLOW_15_in_ruleEnumAnnotationAttribute3057 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImport_in_entryRuleImport3093 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImport3103 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_40_in_ruleImport3140 = new BitSet(new long[]{0x0000000200000010L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport3163 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_41_in_ruleImport3175 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_33_in_ruleImport3194 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleImport3212 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3254 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN3265 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN3312 = new BitSet(new long[]{0x0000040000000002L}); + public static final BitSet FOLLOW_42_in_ruleImportedFQN3331 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation3373 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation3383 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleDocumentation3429 = new BitSet(new long[]{0x0000100000000040L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation3446 = new BitSet(new long[]{0x0000100000000040L}); + public static final BitSet FOLLOW_44_in_ruleDocumentation3464 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME3501 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTIME3512 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3553 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_45_in_ruleTIME3571 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3594 = new BitSet(new long[]{0x0000400000000000L}); + public static final BitSet FOLLOW_46_in_ruleTIME3612 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3635 = new BitSet(new long[]{0x0000800000000000L}); + public static final BitSet FOLLOW_47_in_ruleTIME3653 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3676 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_48_in_ruleTIME3694 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3737 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3747 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3794 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3821 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3848 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3883 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral3893 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_49_in_ruleBooleanLiteral3940 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_50_in_ruleBooleanLiteral3964 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral4014 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral4024 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral4071 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral4098 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral4133 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral4143 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral4198 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4234 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral4244 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral4299 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4335 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral4345 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral4396 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger4438 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInteger4449 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger4496 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger4529 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4581 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger4592 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleSignedInteger4635 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_35_in_ruleSignedInteger4654 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger4671 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4727 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal4738 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal4781 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4830 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleReal4841 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_ruleReal4888 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal4921 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal4954 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal4987 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal5039 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimal5050 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleDecimal5093 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_35_in_ruleDecimal5112 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal5129 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_51_in_ruleDecimal5147 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal5162 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal5218 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal5229 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleDotDecimal5272 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_35_in_ruleDotDecimal5291 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_51_in_ruleDotDecimal5306 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal5321 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5377 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot5388 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleDecimalDot5431 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_35_in_ruleDecimalDot5450 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot5467 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_51_in_ruleDecimalDot5485 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5536 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp5547 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleDecimalExp5590 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_35_in_ruleDecimalExp5609 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5626 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_51_in_ruleDecimalExp5644 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5659 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp5679 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN5729 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleFQN5740 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN5780 = new BitSet(new long[]{0x0008000000000002L}); + public static final BitSet FOLLOW_51_in_ruleFQN5799 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN5814 = new BitSet(new long[]{0x0008000000000002L}); public static final BitSet FOLLOW_52_in_ruleExecMode5875 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_53_in_ruleExecMode5892 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_54_in_ruleExecMode5909 = new BitSet(new long[]{0x0000000000000002L}); diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java index cfd133359..8cb19a70c 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java @@ -9,6 +9,7 @@ import org.eclipse.etrice.core.common.base.BasePackage; import org.eclipse.etrice.core.common.base.BooleanLiteral; import org.eclipse.etrice.core.common.base.Documentation; import org.eclipse.etrice.core.common.base.EnumAnnotationAttribute; +import org.eclipse.etrice.core.common.base.Import; import org.eclipse.etrice.core.common.base.IntLiteral; import org.eclipse.etrice.core.common.base.KeyValue; import org.eclipse.etrice.core.common.base.LiteralArray; @@ -17,7 +18,6 @@ import org.eclipse.etrice.core.common.base.SimpleAnnotationAttribute; import org.eclipse.etrice.core.common.base.StringLiteral; import org.eclipse.etrice.core.common.serializer.BaseSemanticSequencer; import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; -import org.eclipse.etrice.core.etphys.eTPhys.Import; import org.eclipse.etrice.core.etphys.eTPhys.NodeClass; import org.eclipse.etrice.core.etphys.eTPhys.NodeRef; import org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel; @@ -72,6 +72,12 @@ public class ETPhysSemanticSequencer extends BaseSemanticSequencer { return; } else break; + case BasePackage.IMPORT: + if(context == grammarAccess.getImportRule()) { + sequence_Import(context, (Import) semanticObject); + return; + } + else break; case BasePackage.INT_LITERAL: if(context == grammarAccess.getIntLiteralRule() || context == grammarAccess.getLiteralRule() || @@ -116,12 +122,6 @@ public class ETPhysSemanticSequencer extends BaseSemanticSequencer { else break; } else if(semanticObject.eClass().getEPackage() == ETPhysPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { - case ETPhysPackage.IMPORT: - if(context == grammarAccess.getImportRule()) { - sequence_Import(context, (Import) semanticObject); - return; - } - else break; case ETPhysPackage.NODE_CLASS: if(context == grammarAccess.getNodeClassRule()) { sequence_NodeClass(context, (NodeClass) semanticObject); @@ -164,15 +164,6 @@ public class ETPhysSemanticSequencer extends BaseSemanticSequencer { /** * Constraint: - * (importedNamespace=ImportedFQN? importURI=STRING) - */ - protected void sequence_Import(EObject context, Import semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: * ( * name=ID * docu=Documentation? diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/services/ETPhysGrammarAccess.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/services/ETPhysGrammarAccess.java index 0d7ec3ebf..696240015 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/services/ETPhysGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/services/ETPhysGrammarAccess.java @@ -558,102 +558,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; } } - - public class ImportElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cImportKeyword_0 = (Keyword)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 Assignment cImportedNamespaceAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0); - private final RuleCall cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0 = (RuleCall)cImportedNamespaceAssignment_1_0_0.eContents().get(0); - private final Keyword cFromKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); - private final Keyword cModelKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1); - private final Assignment cImportURIAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cImportURISTRINGTerminalRuleCall_2_0 = (RuleCall)cImportURIAssignment_2.eContents().get(0); - - //Import: - // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING; - public ParserRule getRule() { return rule; } - - //"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING - public Group getGroup() { return cGroup; } - - //"import" - public Keyword getImportKeyword_0() { return cImportKeyword_0; } - - //importedNamespace=ImportedFQN "from" | "model" - public Alternatives getAlternatives_1() { return cAlternatives_1; } - - //importedNamespace=ImportedFQN "from" - public Group getGroup_1_0() { return cGroup_1_0; } - - //importedNamespace=ImportedFQN - public Assignment getImportedNamespaceAssignment_1_0_0() { return cImportedNamespaceAssignment_1_0_0; } - - //ImportedFQN - public RuleCall getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0() { return cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0; } - - //"from" - public Keyword getFromKeyword_1_0_1() { return cFromKeyword_1_0_1; } - - //"model" - public Keyword getModelKeyword_1_1() { return cModelKeyword_1_1; } - - //importURI=STRING - public Assignment getImportURIAssignment_2() { return cImportURIAssignment_2; } - - //STRING - public RuleCall getImportURISTRINGTerminalRuleCall_2_0() { return cImportURISTRINGTerminalRuleCall_2_0; } - } - - public class ImportedFQNElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportedFQN"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final RuleCall cFQNParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); - private final Keyword cFullStopAsteriskKeyword_1 = (Keyword)cGroup.eContents().get(1); - - //ImportedFQN: - // FQN ".*"?; - public ParserRule getRule() { return rule; } - - //FQN ".*"? - public Group getGroup() { return cGroup; } - - //FQN - public RuleCall getFQNParserRuleCall_0() { return cFQNParserRuleCall_0; } - - //".*"? - public Keyword getFullStopAsteriskKeyword_1() { return cFullStopAsteriskKeyword_1; } - } - - public class FQNElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FQN"); - 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); - - //FQN: - // ID ("." ID)*; - 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 ExecModeElements extends AbstractEnumRuleElementFinder { @@ -729,9 +633,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { private RuntimeClassElements pRuntimeClass; private ThreadModelElements unknownRuleThreadModel; private PRIOElements pPRIO; - private ImportElements pImport; - private ImportedFQNElements pImportedFQN; - private FQNElements pFQN; private final Grammar grammar; @@ -865,36 +766,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { return getPRIOAccess().getRule(); } - //Import: - // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING; - public ImportElements getImportAccess() { - return (pImport != null) ? pImport : (pImport = new ImportElements()); - } - - public ParserRule getImportRule() { - return getImportAccess().getRule(); - } - - //ImportedFQN: - // FQN ".*"?; - public ImportedFQNElements getImportedFQNAccess() { - return (pImportedFQN != null) ? pImportedFQN : (pImportedFQN = new ImportedFQNElements()); - } - - public ParserRule getImportedFQNRule() { - return getImportedFQNAccess().getRule(); - } - - //FQN: - // ID ("." ID)*; - public FQNElements getFQNAccess() { - return (pFQN != null) ? pFQN : (pFQN = new FQNElements()); - } - - public ParserRule getFQNRule() { - return getFQNAccess().getRule(); - } - //// ************************************************************** //// AnnotationType and Annotation Rules //Annotation: @@ -977,6 +848,46 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { } //// ************************************************************** + //// Import rules + //// HOWTO: use a combination of URI global scopes and namespace aware local scope provider + //// this is configured in the work flow by + //// fragment = scoping.ImportURIScopingFragment {} + //// and by overriding configureIScopeProviderDelegate in the runtime module with + //// ImportedNamespaceAwareLocalScopeProvider + //// also configure in the RuntimeModule + //// public Class<? extends ImportUriResolver> bindImportUriResolver() { + //// return PlatformRelativeUriResolver.class; + //// } + //// and in the UiRuntimeModule + //// public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { + //// return GlobalNonPlatformURIEditorOpener.class; + //// } + //// public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { + //// return ImportAwareHyperlinkHelper.class; + //// } + //// the attribute 'importedNamespace' is picked up by the ImportedNamespaceAwareLocalScopeProvider + //// the attribute 'importURI' is picked up by the ImportUriGlobalScopeProvider + //Import: + // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING; + public BaseGrammarAccess.ImportElements getImportAccess() { + return gaBase.getImportAccess(); + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //ImportedFQN: + // FQN ".*"?; + public BaseGrammarAccess.ImportedFQNElements getImportedFQNAccess() { + return gaBase.getImportedFQNAccess(); + } + + public ParserRule getImportedFQNRule() { + return getImportedFQNAccess().getRule(); + } + + //// ************************************************************** //// Documentation Rule //Documentation: // {Documentation} "[" lines+=STRING* "]"; @@ -1175,6 +1086,16 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { return gaBase.getHEXRule(); } + //FQN: + // ID ("." ID)*; + public BaseGrammarAccess.FQNElements getFQNAccess() { + return gaBase.getFQNAccess(); + } + + public ParserRule getFQNRule() { + return getFQNAccess().getRule(); + } + //terminal ID: // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; public TerminalRule getIDRule() { diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext index 056c54678..6dc9c8f19 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext +++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhys.xtext @@ -76,12 +76,3 @@ enum ThreadModel: ; PRIO returns ecore::EInt hidden(): ('+'|'-')? INT; - -Import : - 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING; - -ImportedFQN: - FQN ('.*')?; - -FQN: - ID ('.' ID)*; diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysRuntimeModule.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysRuntimeModule.java index d41805d88..c93a8ecee 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysRuntimeModule.java +++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/ETPhysRuntimeModule.java @@ -12,8 +12,8 @@ package org.eclipse.etrice.core.etphys; +import org.eclipse.etrice.core.common.scoping.ModelLocatorUriResolver; import org.eclipse.etrice.core.etphys.converters.ETPhysConverter; -import org.eclipse.etrice.core.scoping.ModelLocatorUriResolver; import org.eclipse.xtext.conversion.IValueConverterService; import org.eclipse.xtext.scoping.impl.ImportUriResolver; diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend index 73dd438d2..bda5f2919 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend +++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.xtend @@ -200,33 +200,6 @@ class DocuPostprocessor { This distinguishes single and multi threaded. ''') - //------------------------------------------------------------------ - cls = pckg.getClass("Import") - cls.setDocumentation(''' - The import declares an imported model (given as a URI) and - an optional imported namespace. - ''') - - cls.getAttribute("importedNamespace").setDocumentation( - ''' - The imported name space has to be a dot separated qualified name followed by .*. - Example: my.namespace.* - ''') - - cls.getAttribute("importURI").setDocumentation( - ''' - The import URI can be a relative or absolute file system path. - It may contain environment variables in ${} which will be expanded. - <p> - Examples: - <ul> - <li>import model "AnotherModel.room"</li> - <li>import my.namespace.* from "AnotherModel.room"</li> - <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li> - <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li> - </ul> - </p> - ''') } }
\ No newline at end of file diff --git a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java index 2440c2c92..0efefbd53 100644 --- a/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java +++ b/plugins/org.eclipse.etrice.core.etphys/xtend-gen/org/eclipse/etrice/core/etphys/postprocessing/DocuPostprocessor.java @@ -196,49 +196,5 @@ public class DocuPostprocessor { _builder_32.append("This distinguishes single and multi threaded."); _builder_32.newLine(); PostprocessingHelpers.setDocumentation(_attribute_14, _builder_32.toString()); - EClass _class_5 = PostprocessingHelpers.getClass(pckg, "Import"); - cls = _class_5; - StringConcatenation _builder_33 = new StringConcatenation(); - _builder_33.append("The import declares an imported model (given as a URI) and"); - _builder_33.newLine(); - _builder_33.append("an optional imported namespace."); - _builder_33.newLine(); - PostprocessingHelpers.setDocumentation(cls, _builder_33.toString()); - EAttribute _attribute_15 = PostprocessingHelpers.getAttribute(cls, "importedNamespace"); - StringConcatenation _builder_34 = new StringConcatenation(); - _builder_34.append("The imported name space has to be a dot separated qualified name followed by .*."); - _builder_34.newLine(); - _builder_34.append("Example: my.namespace.*"); - _builder_34.newLine(); - PostprocessingHelpers.setDocumentation(_attribute_15, _builder_34.toString()); - EAttribute _attribute_16 = PostprocessingHelpers.getAttribute(cls, "importURI"); - StringConcatenation _builder_35 = new StringConcatenation(); - _builder_35.append("The import URI can be a relative or absolute file system path."); - _builder_35.newLine(); - _builder_35.append("It may contain environment variables in ${} which will be expanded."); - _builder_35.newLine(); - _builder_35.append("<p>"); - _builder_35.newLine(); - _builder_35.append("Examples:"); - _builder_35.newLine(); - _builder_35.append("<ul>"); - _builder_35.newLine(); - _builder_35.append(" "); - _builder_35.append("<li>import model \"AnotherModel.room\"</li>"); - _builder_35.newLine(); - _builder_35.append(" "); - _builder_35.append("<li>import my.namespace.* from \"AnotherModel.room\"</li>"); - _builder_35.newLine(); - _builder_35.append(" "); - _builder_35.append("<li>import my.namespace.* from \"../../AnotherProject/models/AnotherModel.room\"</li>"); - _builder_35.newLine(); - _builder_35.append(" "); - _builder_35.append("<li>import my.namespace.* from \"/${ROOM_MODELS}/SomeModel.room\"</li>"); - _builder_35.newLine(); - _builder_35.append("</ul>"); - _builder_35.newLine(); - _builder_35.append("</p>"); - _builder_35.newLine(); - PostprocessingHelpers.setDocumentation(_attribute_16, _builder_35.toString()); } } |