diff options
author | Juergen Haug | 2014-04-30 11:35:09 +0000 |
---|---|---|
committer | Juergen Haug | 2014-04-30 13:27:45 +0000 |
commit | 548f144a306f6c6452f1b22711530c078a5723ce (patch) | |
tree | 4bfd4bbe306c2345bac33c9e0f7d313ba2fcc873 /plugins/org.eclipse.etrice.core.etphys | |
parent | ed3f80fd62751f9082c17c04ab6170aa46787613 (diff) | |
download | org.eclipse.etrice-548f144a306f6c6452f1b22711530c078a5723ce.tar.gz org.eclipse.etrice-548f144a306f6c6452f1b22711530c078a5723ce.tar.xz org.eclipse.etrice-548f144a306f6c6452f1b22711530c078a5723ce.zip |
[core.config] use time unit similar to etphys
Change-Id: Id00da43c000366663e5781ae71f4a01aad721415
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys')
33 files changed, 6457 insertions, 1934 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 d1004c94f..b67ef7aa8 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 @@ -45,7 +45,7 @@ <details key="documentation" value="<br>The name of the physical system by which it is referred to in the model.
"/> </eAnnotations> </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation" + <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore#//Documentation" containment="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>This is an optional documentation.
"/> @@ -72,7 +72,7 @@ <details key="documentation" value="<br>The node class of this reference.
"/> </eAnnotations> </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation" + <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore#//Documentation" containment="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>This is an optional documentation.
"/> @@ -88,7 +88,7 @@ <details key="documentation" value="<br>The name of the node class by which it is referred to in the model.
"/> </eAnnotations> </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation" + <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore#//Documentation" containment="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>This is an optional documentation.
"/> @@ -171,7 +171,7 @@ <details key="documentation" value="<br>The name of the runtime class by which it is referred to in the model.
"/> </eAnnotations> </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="#//Documentation" + <eStructuralFeatures xsi:type="ecore:EReference" name="docu" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore#//Documentation" containment="true"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>This is an optional documentation.
"/> @@ -187,17 +187,6 @@ <eLiterals name="SINGLE_THREADED" literal="singleThreaded"/> <eLiterals name="MULTI_THREADED" value="1" literal="multiThreaded"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Documentation"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>A piece of documentation that can be optionally attached at
certain places in the model.
"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" unique="false" upperBound="-1" - 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>This is the documentation's contents.
"/> - </eAnnotations> - </eStructuralFeatures> - </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.
"/> 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 1980d169e..e260e85d2 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 @@ -4,7 +4,7 @@ editorDirectory="/org.eclipse.etrice.core.etphys.editor/src" modelPluginID="org.eclipse.etrice.core.etphys" forceOverwrite="true" modelName="ETPhys" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etphys.edit" - editorPluginID="org.eclipse.etrice.core.etphys.editor" runtimeVersion="2.9"> + editorPluginID="org.eclipse.etrice.core.etphys.editor" runtimeVersion="2.9" usedGenPackages="../../../../../../../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel#//base"> <genPackages prefix="ETPhys" basePackage="org.eclipse.etrice.core.etphys" disposableProviderFactory="true" ecorePackage="ETPhys.ecore#/"> <genEnums typeSafeEnumCompatible="false" ecoreEnum="ETPhys.ecore#//ExecMode"> @@ -56,9 +56,6 @@ <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#//Documentation"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//Documentation/text"/> - </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"/> 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 10b1c33e2..463438909 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/ETPhysStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhysStandaloneSetupGenerated.java index bf339ff42..7fb4915c2 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhysStandaloneSetupGenerated.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhysStandaloneSetupGenerated.java @@ -17,7 +17,7 @@ import com.google.inject.Injector; public class ETPhysStandaloneSetupGenerated implements ISetup { public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); + org.eclipse.etrice.core.common.BaseStandaloneSetup.doSetup(); Injector injector = createInjector(); register(injector); diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java deleted file mode 100644 index c410ed495..000000000 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/Documentation.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - */ -package org.eclipse.etrice.core.etphys.eTPhys; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Documentation</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * <br>A piece of documentation that can be optionally attached at - * certain places in the model. - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation() - * @model - * @generated - */ -public interface Documentation extends EObject -{ - /** - * Returns the value of the '<em><b>Text</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * <br>This is the documentation's contents. - * - * <!-- end-model-doc --> - * @return the value of the '<em>Text</em>' attribute list. - * @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getDocumentation_Text() - * @model unique="false" - * @generated - */ - EList<String> getText(); - -} // Documentation 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 65cf1c33a..96f375385 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>Documentation</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Documentation</em>'. - * @generated - */ - Documentation createDocumentation(); - - /** * Returns a new object of class '<em>Import</em>'. * <!-- 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 1b6ef20f5..ed8cea465 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,34 +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.DocumentationImpl <em>Documentation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation() - * @generated - */ - int DOCUMENTATION = 6; - - /** - * The feature id for the '<em><b>Text</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENTATION__TEXT = 0; - - /** - * The number of structural features of the '<em>Documentation</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int DOCUMENTATION_FEATURE_COUNT = 1; - - /** * 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 --> @@ -459,7 +431,7 @@ public interface ETPhysPackage extends EPackage * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getImport() * @generated */ - int IMPORT = 7; + int IMPORT = 6; /** * The feature id for the '<em><b>Imported Namespace</b></em>' attribute. @@ -496,7 +468,7 @@ public interface ETPhysPackage extends EPackage * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getExecMode() * @generated */ - int EXEC_MODE = 8; + int EXEC_MODE = 7; /** * The meta object id for the '{@link org.eclipse.etrice.core.etphys.eTPhys.ThreadModel <em>Thread Model</em>}' enum. @@ -506,7 +478,7 @@ public interface ETPhysPackage extends EPackage * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getThreadModel() * @generated */ - int THREAD_MODEL = 9; + int THREAD_MODEL = 8; /** @@ -878,27 +850,6 @@ public interface ETPhysPackage extends EPackage EAttribute getRuntimeClass_ThreadModel(); /** - * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Documentation</em>'. - * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation - * @generated - */ - EClass getDocumentation(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText <em>Text</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Text</em>'. - * @see org.eclipse.etrice.core.etphys.eTPhys.Documentation#getText() - * @see #getDocumentation() - * @generated - */ - EAttribute getDocumentation_Text(); - - /** * Returns the meta object for class '{@link org.eclipse.etrice.core.etphys.eTPhys.Import <em>Import</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1258,24 +1209,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.DocumentationImpl <em>Documentation</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl - * @see org.eclipse.etrice.core.etphys.eTPhys.impl.ETPhysPackageImpl#getDocumentation() - * @generated - */ - EClass DOCUMENTATION = eINSTANCE.getDocumentation(); - - /** - * The meta object literal for the '<em><b>Text</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute DOCUMENTATION__TEXT = eINSTANCE.getDocumentation_Text(); - - /** * 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 --> diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java index 333b9a200..0bea8de27 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.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.Documentation; + /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Node Class</b></em>'. diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java index cac45bf46..8cabc4146 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java @@ -4,6 +4,8 @@ package org.eclipse.etrice.core.etphys.eTPhys; import org.eclipse.emf.ecore.EObject; +import org.eclipse.etrice.core.common.base.Documentation; + /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Node Ref</b></em>'. diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java index 9b648f2d8..517487891 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.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.Documentation; + /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Physical System</b></em>'. diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java index f7f2c0a8c..2a788d922 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java @@ -4,6 +4,8 @@ package org.eclipse.etrice.core.etphys.eTPhys; import org.eclipse.emf.ecore.EObject; +import org.eclipse.etrice.core.common.base.Documentation; + /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Runtime Class</b></em>'. diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java deleted file mode 100644 index 9a340391d..000000000 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/DocumentationImpl.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - */ -package org.eclipse.etrice.core.etphys.eTPhys.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeEList; - -import org.eclipse.etrice.core.etphys.eTPhys.Documentation; -import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Documentation</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.DocumentationImpl#getText <em>Text</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DocumentationImpl extends MinimalEObjectImpl.Container implements Documentation -{ - /** - * The cached value of the '{@link #getText() <em>Text</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getText() - * @generated - * @ordered - */ - protected EList<String> text; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DocumentationImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() - { - return ETPhysPackage.Literals.DOCUMENTATION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList<String> getText() - { - if (text == null) - { - text = new EDataTypeEList<String>(String.class, this, ETPhysPackage.DOCUMENTATION__TEXT); - } - return text; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) - { - switch (featureID) - { - case ETPhysPackage.DOCUMENTATION__TEXT: - return getText(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) - { - switch (featureID) - { - case ETPhysPackage.DOCUMENTATION__TEXT: - getText().clear(); - getText().addAll((Collection<? extends String>)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) - { - switch (featureID) - { - case ETPhysPackage.DOCUMENTATION__TEXT: - getText().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) - { - switch (featureID) - { - case ETPhysPackage.DOCUMENTATION__TEXT: - return text != null && !text.isEmpty(); - } - 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(" (text: "); - result.append(text); - result.append(')'); - return result.toString(); - } - -} //DocumentationImpl 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 1ee02b4e3..d026cb7d7 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.DOCUMENTATION: return createDocumentation(); case ETPhysPackage.IMPORT: return createImport(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); @@ -187,17 +186,6 @@ public class ETPhysFactoryImpl extends EFactoryImpl implements ETPhysFactory * <!-- end-user-doc --> * @generated */ - public Documentation createDocumentation() - { - DocumentationImpl documentation = new DocumentationImpl(); - return documentation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public Import createImport() { ImportImpl import_ = new ImportImpl(); 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 7b272bf64..f87396b87 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 @@ -10,7 +10,8 @@ import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.etrice.core.etphys.eTPhys.Documentation; +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; @@ -78,13 +79,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage * <!-- end-user-doc --> * @generated */ - private EClass documentationEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ private EClass importEClass = null; /** @@ -149,6 +143,9 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage isInited = true; + // Initialize simple dependencies + BasePackage.eINSTANCE.eClass(); + // Create package meta-data objects theETPhysPackage.createPackageContents(); @@ -509,26 +506,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage * <!-- end-user-doc --> * @generated */ - public EClass getDocumentation() - { - return documentationEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDocumentation_Text() - { - return (EAttribute)documentationEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ public EClass getImport() { return importEClass; @@ -644,9 +621,6 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage createEReference(runtimeClassEClass, RUNTIME_CLASS__DOCU); createEAttribute(runtimeClassEClass, RUNTIME_CLASS__THREAD_MODEL); - documentationEClass = createEClass(DOCUMENTATION); - createEAttribute(documentationEClass, DOCUMENTATION__TEXT); - importEClass = createEClass(IMPORT); createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE); createEAttribute(importEClass, IMPORT__IMPORT_URI); @@ -680,6 +654,9 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage setNsPrefix(eNS_PREFIX); setNsURI(eNS_URI); + // Obtain other dependent packages + BasePackage theBasePackage = (BasePackage)EPackage.Registry.INSTANCE.getEPackage(BasePackage.eNS_URI); + // Create type parameters // Set bounds for type parameters @@ -696,17 +673,17 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage initEClass(physicalSystemEClass, PhysicalSystem.class, "PhysicalSystem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getPhysicalSystem_Name(), ecorePackage.getEString(), "name", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getPhysicalSystem_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPhysicalSystem_Docu(), theBasePackage.getDocumentation(), null, "docu", null, 0, 1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getPhysicalSystem_NodeRefs(), this.getNodeRef(), null, "nodeRefs", null, 0, -1, PhysicalSystem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nodeRefEClass, NodeRef.class, "NodeRef", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getNodeRef_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getNodeRef_Type(), this.getNodeClass(), null, "type", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getNodeRef_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNodeRef_Docu(), theBasePackage.getDocumentation(), null, "docu", null, 0, 1, NodeRef.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(nodeClassEClass, NodeClass.class, "NodeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getNodeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getNodeClass_Docu(), this.getDocumentation(), null, "docu", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNodeClass_Docu(), theBasePackage.getDocumentation(), null, "docu", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getNodeClass_Runtime(), this.getRuntimeClass(), null, "runtime", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getNodeClass_Priomin(), ecorePackage.getEInt(), "priomin", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getNodeClass_Priomax(), ecorePackage.getEInt(), "priomax", null, 0, 1, NodeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -724,12 +701,9 @@ public class ETPhysPackageImpl extends EPackageImpl implements ETPhysPackage initEClass(runtimeClassEClass, RuntimeClass.class, "RuntimeClass", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getRuntimeClass_Name(), ecorePackage.getEString(), "name", null, 0, 1, RuntimeClass.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRuntimeClass_Docu(), this.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); + 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(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDocumentation_Text(), ecorePackage.getEString(), "text", null, 0, -1, Documentation.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); diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java index 6181e7ae2..ea6ee3c7a 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java @@ -18,7 +18,8 @@ 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.etphys.eTPhys.Documentation; +import org.eclipse.etrice.core.common.base.Documentation; + import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; import org.eclipse.etrice.core.etphys.eTPhys.NodeClass; import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread; diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java index a79601f99..f782df979 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java @@ -11,7 +11,8 @@ import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.etrice.core.etphys.eTPhys.Documentation; +import org.eclipse.etrice.core.common.base.Documentation; + import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; import org.eclipse.etrice.core.etphys.eTPhys.NodeClass; import org.eclipse.etrice.core.etphys.eTPhys.NodeRef; diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java index ae425cb7e..ed0fceb03 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java @@ -18,7 +18,8 @@ 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.etphys.eTPhys.Documentation; +import org.eclipse.etrice.core.common.base.Documentation; + import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; import org.eclipse.etrice.core.etphys.eTPhys.NodeRef; 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/impl/RuntimeClassImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java index 3d43fc8b5..e21fead65 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java @@ -11,7 +11,8 @@ import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; -import org.eclipse.etrice.core.etphys.eTPhys.Documentation; +import org.eclipse.etrice.core.common.base.Documentation; + import org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage; import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass; import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel; 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 a7a8c9a94..e257852b3 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 caseDocumentation(Documentation object) - { - return createDocumentationAdapter(); - } - @Override public Adapter caseImport(Import object) { return createImportAdapter(); @@ -227,21 +222,6 @@ public class ETPhysAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.etphys.eTPhys.Documentation <em>Documentation</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.Documentation - * @generated - */ - public Adapter createDocumentationAdapter() - { - return null; - } - - /** * 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; 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 a0bf3b0f3..15b2ee794 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.DOCUMENTATION: - { - Documentation documentation = (Documentation)theEObject; - T result = caseDocumentation(documentation); - if (result == null) result = defaultCase(theEObject); - return result; - } case ETPhysPackage.IMPORT: { Import import_ = (Import)theEObject; @@ -229,22 +222,6 @@ public class ETPhysSwitch<T> extends Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>Documentation</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>Documentation</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseDocumentation(Documentation object) - { - return null; - } - - /** * Returns the result of interpreting the object as an instance of '<em>Import</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 df080c011..7ddecb15d 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 @@ -978,53 +978,6 @@ ruleRuntimeClass returns [EObject current=null] -// Entry rule entryRuleDocumentation -entryRuleDocumentation returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getDocumentationRule()); } - iv_ruleDocumentation=ruleDocumentation - { $current=$iv_ruleDocumentation.current; } - EOF -; - -// Rule Documentation -ruleDocumentation returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( otherlv_0='[' - { - newLeafNode(otherlv_0, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_0()); - } -( -( - lv_text_1_0=RULE_STRING - { - newLeafNode(lv_text_1_0, grammarAccess.getDocumentationAccess().getTextSTRINGTerminalRuleCall_1_0()); - } - { - if ($current==null) { - $current = createModelElement(grammarAccess.getDocumentationRule()); - } - addWithLastConsumed( - $current, - "text", - lv_text_1_0, - "STRING"); - } - -) -)+ otherlv_2=']' - { - newLeafNode(otherlv_2, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_2()); - } -) -; - - - - - // Entry rule entryRulePRIO entryRulePRIO returns [String current=null] @init { @@ -1225,6 +1178,392 @@ ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + + +// Entry rule entryRuleKeyValue +entryRuleKeyValue returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getKeyValueRule()); } + iv_ruleKeyValue=ruleKeyValue + { $current=$iv_ruleKeyValue.current; } + EOF +; + +// Rule KeyValue +ruleKeyValue returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( +( + lv_key_0_0=RULE_ID + { + newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getKeyValueRule()); + } + setWithLastConsumed( + $current, + "key", + lv_key_0_0, + "ID"); + } + +) +) otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); + } +( +( + { + newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); + } + lv_value_2_0=ruleLiteral { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getKeyValueRule()); + } + set( + $current, + "value", + lv_value_2_0, + "Literal"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + + + +// Entry rule entryRuleAnnotationTargetType +entryRuleAnnotationTargetType returns [String current=null] + : + { newCompositeNode(grammarAccess.getAnnotationTargetTypeRule()); } + iv_ruleAnnotationTargetType=ruleAnnotationTargetType + { $current=$iv_ruleAnnotationTargetType.current.getText(); } + EOF +; + +// Rule AnnotationTargetType +ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: + this_ID_0=RULE_ID { + $current.merge(this_ID_0); + } + + { + newLeafNode(this_ID_0, grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall()); + } + + ; + + + + + +// Entry rule entryRuleAnnotationAttribute +entryRuleAnnotationAttribute returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getAnnotationAttributeRule()); } + iv_ruleAnnotationAttribute=ruleAnnotationAttribute + { $current=$iv_ruleAnnotationAttribute.current; } + EOF +; + +// Rule AnnotationAttribute +ruleAnnotationAttribute returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); + } + this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute + { + $current = $this_SimpleAnnotationAttribute_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); + } + this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute + { + $current = $this_EnumAnnotationAttribute_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleSimpleAnnotationAttribute +entryRuleSimpleAnnotationAttribute returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule()); } + iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute + { $current=$iv_ruleSimpleAnnotationAttribute.current; } + EOF +; + +// Rule SimpleAnnotationAttribute +ruleSimpleAnnotationAttribute returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((( +( + lv_optional_0_0= 'optional' + { + newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule()); + } + setWithLastConsumed($current, "optional", true, "optional"); + } + +) +) + | otherlv_1='mandatory' + { + newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); + } +) otherlv_2='attribute' + { + newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); + } +( +( + lv_name_3_0=RULE_ID + { + newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_3_0, + "ID"); + } + +) +) otherlv_4=':' + { + newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); + } +( +( + { + newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); + } + lv_type_5_0=ruleLiteralType { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getSimpleAnnotationAttributeRule()); + } + set( + $current, + "type", + lv_type_5_0, + "LiteralType"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleEnumAnnotationAttribute +entryRuleEnumAnnotationAttribute returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule()); } + iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute + { $current=$iv_ruleEnumAnnotationAttribute.current; } + EOF +; + +// Rule EnumAnnotationAttribute +ruleEnumAnnotationAttribute returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +((( +( + lv_optional_0_0= 'optional' + { + newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + setWithLastConsumed($current, "optional", true, "optional"); + } + +) +) + | otherlv_1='mandatory' + { + newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); + } +) otherlv_2='attribute' + { + newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); + } +( +( + lv_name_3_0=RULE_ID + { + newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_3_0, + "ID"); + } + +) +) otherlv_4=':' + { + newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); + } + otherlv_5='{' + { + newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); + } +( +( + lv_values_6_0=RULE_STRING + { + newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + addWithLastConsumed( + $current, + "values", + lv_values_6_0, + "STRING"); + } + +) +)( otherlv_7=',' + { + newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); + } +( +( + lv_values_8_0=RULE_STRING + { + newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + addWithLastConsumed( + $current, + "values", + lv_values_8_0, + "STRING"); + } + +) +))* otherlv_9='}' + { + newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); + } +) +; + + + + + +// Entry rule entryRuleDocumentation +entryRuleDocumentation returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getDocumentationRule()); } + iv_ruleDocumentation=ruleDocumentation + { $current=$iv_ruleDocumentation.current; } + EOF +; + +// Rule Documentation +ruleDocumentation returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getDocumentationAccess().getDocumentationAction_0(), + $current); + } +) otherlv_1='[' + { + newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); + } +( +( + lv_lines_2_0=RULE_STRING + { + newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDocumentationRule()); + } + addWithLastConsumed( + $current, + "lines", + lv_lines_2_0, + "STRING"); + } + +) +)* otherlv_3=']' + { + newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); + } +) +; + + + + + // Entry rule entryRuleTIME entryRuleTIME returns [String current=null] : @@ -1301,6 +1640,730 @@ ruleTIME returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + + +// Entry rule entryRuleLiteral +entryRuleLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getLiteralRule()); } + iv_ruleLiteral=ruleLiteral + { $current=$iv_ruleLiteral.current; } + EOF +; + +// Rule Literal +ruleLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); + } + this_BooleanLiteral_0=ruleBooleanLiteral + { + $current = $this_BooleanLiteral_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); + } + this_NumberLiteral_1=ruleNumberLiteral + { + $current = $this_NumberLiteral_1.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); + } + this_StringLiteral_2=ruleStringLiteral + { + $current = $this_StringLiteral_2.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleBooleanLiteral +entryRuleBooleanLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getBooleanLiteralRule()); } + iv_ruleBooleanLiteral=ruleBooleanLiteral + { $current=$iv_ruleBooleanLiteral.current; } + EOF +; + +// Rule BooleanLiteral +ruleBooleanLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(), + $current); + } +)( otherlv_1='false' + { + newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); + } + + |( +( + lv_isTrue_2_0= 'true' + { + newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); + } + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getBooleanLiteralRule()); + } + setWithLastConsumed($current, "isTrue", true, "true"); + } + +) +))) +; + + + + + +// Entry rule entryRuleNumberLiteral +entryRuleNumberLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getNumberLiteralRule()); } + iv_ruleNumberLiteral=ruleNumberLiteral + { $current=$iv_ruleNumberLiteral.current; } + EOF +; + +// Rule NumberLiteral +ruleNumberLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); + } + this_IntLiteral_0=ruleIntLiteral + { + $current = $this_IntLiteral_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); + } + this_RealLiteral_1=ruleRealLiteral + { + $current = $this_RealLiteral_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleRealLiteral +entryRuleRealLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getRealLiteralRule()); } + iv_ruleRealLiteral=ruleRealLiteral + { $current=$iv_ruleRealLiteral.current; } + EOF +; + +// Rule RealLiteral +ruleRealLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getRealLiteralAccess().getRealLiteralAction_0(), + $current); + } +)( +( + { + newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); + } + lv_value_1_0=ruleReal { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getRealLiteralRule()); + } + set( + $current, + "value", + lv_value_1_0, + "Real"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleIntLiteral +entryRuleIntLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getIntLiteralRule()); } + iv_ruleIntLiteral=ruleIntLiteral + { $current=$iv_ruleIntLiteral.current; } + EOF +; + +// Rule IntLiteral +ruleIntLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getIntLiteralAccess().getIntLiteralAction_0(), + $current); + } +)( +( + { + newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); + } + lv_value_1_0=ruleInteger { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getIntLiteralRule()); + } + set( + $current, + "value", + lv_value_1_0, + "Integer"); + afterParserOrEnumRuleCall(); + } + +) +)) +; + + + + + +// Entry rule entryRuleStringLiteral +entryRuleStringLiteral returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getStringLiteralRule()); } + iv_ruleStringLiteral=ruleStringLiteral + { $current=$iv_ruleStringLiteral.current; } + EOF +; + +// Rule StringLiteral +ruleStringLiteral returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +(( + { + $current = forceCreateModelElement( + grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(), + $current); + } +)( +( + lv_value_1_0=RULE_STRING + { + newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getStringLiteralRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_1_0, + "STRING"); + } + +) +)) +; + + + + + +// Entry rule entryRuleInteger +entryRuleInteger returns [String current=null] + : + { newCompositeNode(grammarAccess.getIntegerRule()); } + iv_ruleInteger=ruleInteger + { $current=$iv_ruleInteger.current.getText(); } + EOF +; + +// Rule Integer +ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); + } + this_SignedInteger_0=ruleSignedInteger { + $current.merge(this_SignedInteger_0); + } + + { + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); + } + this_Hexadecimal_1=ruleHexadecimal { + $current.merge(this_Hexadecimal_1); + } + + { + afterParserOrEnumRuleCall(); + } +) + ; + + + + + +// Entry rule entryRuleSignedInteger +entryRuleSignedInteger returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getSignedIntegerRule()); } + iv_ruleSignedInteger=ruleSignedInteger + { $current=$iv_ruleSignedInteger.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule SignedInteger +ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +(( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); + } +)? this_INT_2=RULE_INT { + $current.merge(this_INT_2); + } + + { + newLeafNode(this_INT_2, grammarAccess.getSignedIntegerAccess().getINTTerminalRuleCall_1()); + } +) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleHexadecimal +entryRuleHexadecimal returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getHexadecimalRule()); } + iv_ruleHexadecimal=ruleHexadecimal + { $current=$iv_ruleHexadecimal.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule Hexadecimal +ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: + this_HEX_0=RULE_HEX { + $current.merge(this_HEX_0); + } + + { + newLeafNode(this_HEX_0, grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); + } + + ; +finally { + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleReal +entryRuleReal returns [String current=null] + : + { newCompositeNode(grammarAccess.getRealRule()); } + iv_ruleReal=ruleReal + { $current=$iv_ruleReal.current.getText(); } + EOF +; + +// Rule Real +ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); + } + this_Decimal_0=ruleDecimal { + $current.merge(this_Decimal_0); + } + + { + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); + } + this_DotDecimal_1=ruleDotDecimal { + $current.merge(this_DotDecimal_1); + } + + { + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); + } + this_DecimalDot_2=ruleDecimalDot { + $current.merge(this_DecimalDot_2); + } + + { + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); + } + this_DecimalExp_3=ruleDecimalExp { + $current.merge(this_DecimalExp_3); + } + + { + afterParserOrEnumRuleCall(); + } +) + ; + + + + + +// Entry rule entryRuleDecimal +entryRuleDecimal returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getDecimalRule()); } + iv_ruleDecimal=ruleDecimal + { $current=$iv_ruleDecimal.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule Decimal +ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +(( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); + } +)? this_INT_2=RULE_INT { + $current.merge(this_INT_2); + } + + { + newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); + } + + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); + } + this_INT_4=RULE_INT { + $current.merge(this_INT_4); + } + + { + newLeafNode(this_INT_4, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3()); + } +) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleDotDecimal +entryRuleDotDecimal returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getDotDecimalRule()); } + iv_ruleDotDecimal=ruleDotDecimal + { $current=$iv_ruleDotDecimal.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule DotDecimal +ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +(( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); + } +)? + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); + } + this_INT_3=RULE_INT { + $current.merge(this_INT_3); + } + + { + newLeafNode(this_INT_3, grammarAccess.getDotDecimalAccess().getINTTerminalRuleCall_2()); + } +) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleDecimalDot +entryRuleDecimalDot returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getDecimalDotRule()); } + iv_ruleDecimalDot=ruleDecimalDot + { $current=$iv_ruleDecimalDot.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule DecimalDot +ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +(( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); + } +)? this_INT_2=RULE_INT { + $current.merge(this_INT_2); + } + + { + newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); + } + + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); + } +) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + +// Entry rule entryRuleDecimalExp +entryRuleDecimalExp returns [String current=null] + @init { + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + : + { newCompositeNode(grammarAccess.getDecimalExpRule()); } + iv_ruleDecimalExp=ruleDecimalExp + { $current=$iv_ruleDecimalExp.current.getText(); } + EOF +; +finally { + myHiddenTokenState.restore(); +} + +// Rule DecimalExp +ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); + } + @after { leaveRule(); }: +(( + kw='+' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); + } + + | + kw='-' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); + } +)? this_INT_2=RULE_INT { + $current.merge(this_INT_2); + } + + { + newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); + } + + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); + } + this_INT_4=RULE_INT { + $current.merge(this_INT_4); + } + + { + newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); + } + this_EXP_5=RULE_EXP { + $current.merge(this_EXP_5); + } + + { + newLeafNode(this_EXP_5, grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); + } +) + ; +finally { + myHiddenTokenState.restore(); +} + + + + + // Rule ExecMode ruleExecMode returns [Enumerator current=null] @init { enterRule(); } @@ -1345,6 +2408,41 @@ ruleThreadModel returns [Enumerator current=null] +// Rule LiteralType +ruleLiteralType returns [Enumerator current=null] + @init { enterRule(); } + @after { leaveRule(); }: +(( enumLiteral_0='ptBoolean' + { + $current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); + } +) + |( enumLiteral_1='ptInteger' + { + $current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); + } +) + |( enumLiteral_2='ptReal' + { + $current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); + } +) + |( enumLiteral_3='ptCharacter' + { + $current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); + } +)); + + + +RULE_EXP : ('e'|'E') ('+'|'-')? ('0'..'9')+; + +RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+; + RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; 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 bf4ca61b0..586821970 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 @@ -1,3 +1,4 @@ +RULE_EXP=8 RULE_ID=4 T__29=29 T__28=28 @@ -7,19 +8,29 @@ T__25=25 T__24=24 T__23=23 T__22=22 -RULE_ANY_OTHER=10 +RULE_ANY_OTHER=12 T__21=21 T__20=20 +T__60=60 +T__55=55 +T__56=56 T__19=19 +T__57=57 +RULE_HEX=7 +T__58=58 T__16=16 +T__51=51 +T__52=52 T__15=15 +T__53=53 T__18=18 +T__54=54 T__17=17 -T__12=12 -T__11=11 T__14=14 T__13=13 +T__59=59 RULE_INT=5 +T__50=50 T__42=42 T__43=43 T__40=40 @@ -29,8 +40,9 @@ T__47=47 T__44=44 T__45=45 T__48=48 -RULE_SL_COMMENT=8 -RULE_ML_COMMENT=7 +T__49=49 +RULE_SL_COMMENT=10 +RULE_ML_COMMENT=9 T__30=30 T__31=31 RULE_STRING=6 @@ -42,42 +54,52 @@ T__36=36 T__37=37 T__38=38 T__39=39 -RULE_WS=9 -'singleThreaded'=47 -'ns'=43 -'NodeRef'=15 -'PhysicalModel'=11 -'prio'=26 -'ms'=41 -'model'=31 -'multiThreaded'=48 -'priomax'=21 +RULE_WS=11 +'singleThreaded'=55 +'ns'=49 +'NodeRef'=17 +'PhysicalModel'=13 +'prio'=28 +'ms'=47 +'model'=33 +'multiThreaded'=56 +'priomax'=23 '.*'=38 -'msgpoolsize'=29 -'='=19 -'execmode'=24 -'interval'=25 -'mixed'=46 +'msgpoolsize'=31 +'='=21 +'execmode'=26 +'interval'=27 +'mixed'=54 '+'=34 '.'=39 -'msgblocksize'=28 -'Thread'=23 +'msgblocksize'=30 +'Thread'=25 'import'=36 -'}'=13 -'priomin'=20 -'blocked'=45 -'us'=42 -'runtime'=18 -'DefaultThread'=22 -'stacksize'=27 -'{'=12 -'NodeClass'=17 -'PhysicalSystem'=14 -'polled'=44 -'s'=40 -'RuntimeClass'=30 -':'=16 +'true'=51 +'}'=15 +'priomin'=22 +'blocked'=53 +'us'=48 +'runtime'=20 +'DefaultThread'=24 +'stacksize'=29 +'{'=14 +'optional'=40 +'ptCharacter'=60 +'NodeClass'=19 +'false'=50 +'PhysicalSystem'=16 +'polled'=52 +'s'=46 +'RuntimeClass'=32 +':'=18 +'['=44 +'attribute'=42 '-'=35 -'['=32 -']'=33 +'ptReal'=59 +','=43 +'ptBoolean'=57 +'ptInteger'=58 +']'=45 +'mandatory'=41 'from'=37 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 80ed374c4..a3dbd3605 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 @@ -12,6 +12,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalETPhysLexer extends Lexer { + public static final int RULE_EXP=8; public static final int RULE_ID=4; public static final int T__29=29; public static final int T__28=28; @@ -22,19 +23,29 @@ public class InternalETPhysLexer extends Lexer { public static final int T__23=23; public static final int T__22=22; public static final int T__21=21; - public static final int RULE_ANY_OTHER=10; + public static final int RULE_ANY_OTHER=12; public static final int T__20=20; + public static final int T__60=60; public static final int EOF=-1; + public static final int T__55=55; + public static final int T__56=56; public static final int T__19=19; + public static final int T__57=57; + public static final int RULE_HEX=7; + public static final int T__58=58; public static final int T__16=16; + public static final int T__51=51; + public static final int T__52=52; public static final int T__15=15; + public static final int T__53=53; public static final int T__18=18; + public static final int T__54=54; public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; public static final int T__14=14; public static final int T__13=13; + public static final int T__59=59; public static final int RULE_INT=5; + public static final int T__50=50; public static final int T__42=42; public static final int T__43=43; public static final int T__40=40; @@ -44,12 +55,13 @@ public class InternalETPhysLexer extends Lexer { public static final int T__44=44; public static final int T__45=45; public static final int T__48=48; - public static final int RULE_SL_COMMENT=8; - public static final int RULE_ML_COMMENT=7; + public static final int T__49=49; + public static final int RULE_SL_COMMENT=10; + public static final int RULE_ML_COMMENT=9; public static final int T__30=30; public static final int T__31=31; - public static final int RULE_STRING=6; public static final int T__32=32; + public static final int RULE_STRING=6; public static final int T__33=33; public static final int T__34=34; public static final int T__35=35; @@ -57,7 +69,7 @@ public class InternalETPhysLexer extends Lexer { public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; - public static final int RULE_WS=9; + public static final int RULE_WS=11; // delegates // delegators @@ -72,10 +84,10 @@ public class InternalETPhysLexer extends Lexer { } public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; } - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { try { - int _type = T__11; + int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:7: ( 'PhysicalModel' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:9: 'PhysicalModel' @@ -91,46 +103,6 @@ public class InternalETPhysLexer extends Lexer { finally { } } - // $ANTLR end "T__11" - - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { - try { - int _type = T__12; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:7: ( '{' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:9: '{' - { - match('{'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:7: ( '}' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:9: '}' - { - match('}'); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } // $ANTLR end "T__13" // $ANTLR start "T__14" @@ -138,11 +110,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:7: ( 'PhysicalSystem' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:9: 'PhysicalSystem' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:7: ( '{' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:9: '{' { - match("PhysicalSystem"); - + match('{'); } @@ -159,11 +130,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:7: ( 'NodeRef' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:9: 'NodeRef' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:7: ( '}' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:9: '}' { - match("NodeRef"); - + match('}'); } @@ -180,10 +150,11 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:7: ( ':' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:9: ':' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:7: ( 'PhysicalSystem' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:9: 'PhysicalSystem' { - match(':'); + match("PhysicalSystem"); + } @@ -200,10 +171,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:7: ( 'NodeClass' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:9: 'NodeClass' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:7: ( 'NodeRef' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:9: 'NodeRef' { - match("NodeClass"); + match("NodeRef"); } @@ -221,11 +192,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:7: ( 'runtime' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:9: 'runtime' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:7: ( ':' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:9: ':' { - match("runtime"); - + match(':'); } @@ -242,10 +212,11 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:7: ( '=' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:9: '=' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:7: ( 'NodeClass' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:9: 'NodeClass' { - match('='); + match("NodeClass"); + } @@ -262,10 +233,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:7: ( 'priomin' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:9: 'priomin' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:7: ( 'runtime' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:9: 'runtime' { - match("priomin"); + match("runtime"); } @@ -283,11 +254,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:7: ( 'priomax' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:9: 'priomax' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:7: ( '=' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:9: '=' { - match("priomax"); - + match('='); } @@ -304,10 +274,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:7: ( 'DefaultThread' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:9: 'DefaultThread' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:7: ( 'priomin' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:9: 'priomin' { - match("DefaultThread"); + match("priomin"); } @@ -325,10 +295,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:7: ( 'Thread' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:9: 'Thread' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:7: ( 'priomax' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:9: 'priomax' { - match("Thread"); + match("priomax"); } @@ -346,10 +316,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:7: ( 'execmode' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:9: 'execmode' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:7: ( 'DefaultThread' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:9: 'DefaultThread' { - match("execmode"); + match("DefaultThread"); } @@ -367,10 +337,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:7: ( 'interval' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:9: 'interval' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:7: ( 'Thread' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:9: 'Thread' { - match("interval"); + match("Thread"); } @@ -388,10 +358,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:7: ( 'prio' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:9: 'prio' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:7: ( 'execmode' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:9: 'execmode' { - match("prio"); + match("execmode"); } @@ -409,10 +379,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:7: ( 'stacksize' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:9: 'stacksize' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:7: ( 'interval' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:9: 'interval' { - match("stacksize"); + match("interval"); } @@ -430,10 +400,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:7: ( 'msgblocksize' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:9: 'msgblocksize' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:7: ( 'prio' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:9: 'prio' { - match("msgblocksize"); + match("prio"); } @@ -451,10 +421,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:7: ( 'msgpoolsize' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:9: 'msgpoolsize' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:7: ( 'stacksize' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:9: 'stacksize' { - match("msgpoolsize"); + match("stacksize"); } @@ -472,10 +442,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:7: ( 'RuntimeClass' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:9: 'RuntimeClass' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:7: ( 'msgblocksize' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:9: 'msgblocksize' { - match("RuntimeClass"); + match("msgblocksize"); } @@ -493,10 +463,10 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:7: ( 'model' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:9: 'model' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:7: ( 'msgpoolsize' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:9: 'msgpoolsize' { - match("model"); + match("msgpoolsize"); } @@ -514,10 +484,11 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:7: ( '[' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:9: '[' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:7: ( 'RuntimeClass' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:9: 'RuntimeClass' { - match('['); + match("RuntimeClass"); + } @@ -534,10 +505,11 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:7: ( ']' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:9: ']' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:7: ( 'model' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:9: 'model' { - match(']'); + match("model"); + } @@ -554,8 +526,8 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:7: ( '+' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:7: ( '+' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:9: '+' { match('+'); @@ -574,8 +546,8 @@ public class InternalETPhysLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:7: ( '-' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:7: ( '-' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:9: '-' { match('-'); @@ -594,8 +566,8 @@ 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:36:7: ( 'import' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: 'import' + // ../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' { match("import"); @@ -615,8 +587,8 @@ 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:37:7: ( 'from' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: 'from' + // ../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' { match("from"); @@ -636,8 +608,8 @@ 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:38:7: ( '.*' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: '.*' + // ../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: '.*' { match(".*"); @@ -657,8 +629,8 @@ 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:39:7: ( '.' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39: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('.'); @@ -677,10 +649,11 @@ 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:40:7: ( 's' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: 's' + // ../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' { - match('s'); + match("optional"); + } @@ -697,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:41:7: ( 'ms' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: 'ms' + // ../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' { - match("ms"); + match("mandatory"); } @@ -718,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:42:7: ( 'us' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: 'us' + // ../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' { - match("us"); + match("attribute"); } @@ -739,11 +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:43:7: ( 'ns' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: 'ns' + // ../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("ns"); - + match(','); } @@ -760,11 +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:44:7: ( 'polled' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 'polled' + // ../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("polled"); - + match('['); } @@ -781,11 +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:45:7: ( 'blocked' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'blocked' + // ../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: ']' { - match("blocked"); - + match(']'); } @@ -802,11 +772,10 @@ 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:46:7: ( 'mixed' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'mixed' + // ../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' { - match("mixed"); - + match('s'); } @@ -823,10 +792,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:47:7: ( 'singleThreaded' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: 'singleThreaded' + // ../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' { - match("singleThreaded"); + match("ms"); } @@ -844,10 +813,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:48:7: ( 'multiThreaded' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: 'multiThreaded' + // ../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' { - match("multiThreaded"); + match("us"); } @@ -860,24 +829,463 @@ public class InternalETPhysLexer extends Lexer { } // $ANTLR end "T__48" - // $ANTLR start "RULE_ID" - public final void mRULE_ID() throws RecognitionException { + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { try { - int _type = RULE_ID; + 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' + { + match("ns"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../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' + { + match("false"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + + // $ANTLR start "T__51" + public final void mT__51() throws RecognitionException { + try { + int _type = T__51; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../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' + { + match("true"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__51" + + // $ANTLR start "T__52" + public final void mT__52() throws RecognitionException { + try { + int _type = T__52; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:50:7: ( 'polled' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:50:9: 'polled' + { + match("polled"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__52" + + // $ANTLR start "T__53" + public final void mT__53() throws RecognitionException { + try { + int _type = T__53; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:51:7: ( 'blocked' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:51:9: 'blocked' + { + match("blocked"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__53" + + // $ANTLR start "T__54" + public final void mT__54() throws RecognitionException { + try { + int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1348:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1348:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:52:7: ( 'mixed' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:52:9: 'mixed' { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1348:11: ( '^' )? + match("mixed"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__54" + + // $ANTLR start "T__55" + public final void mT__55() throws RecognitionException { + try { + int _type = T__55; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:53:7: ( 'singleThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:53:9: 'singleThreaded' + { + match("singleThreaded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__55" + + // $ANTLR start "T__56" + public final void mT__56() throws RecognitionException { + try { + int _type = T__56; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:54:7: ( 'multiThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:54:9: 'multiThreaded' + { + match("multiThreaded"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__56" + + // $ANTLR start "T__57" + public final void mT__57() throws RecognitionException { + try { + int _type = T__57; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:55:7: ( 'ptBoolean' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:55:9: 'ptBoolean' + { + match("ptBoolean"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__57" + + // $ANTLR start "T__58" + public final void mT__58() throws RecognitionException { + try { + int _type = T__58; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:56:7: ( 'ptInteger' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:56:9: 'ptInteger' + { + match("ptInteger"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__58" + + // $ANTLR start "T__59" + public final void mT__59() throws RecognitionException { + try { + int _type = T__59; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:57:7: ( 'ptReal' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:57:9: 'ptReal' + { + match("ptReal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__59" + + // $ANTLR start "T__60" + public final void mT__60() throws RecognitionException { + try { + int _type = T__60; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:58:7: ( 'ptCharacter' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:58:9: 'ptCharacter' + { + match("ptCharacter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__60" + + // $ANTLR start "RULE_EXP" + public final void mRULE_EXP() throws RecognitionException { + try { + int _type = RULE_EXP; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2442:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2442:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + { + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2442:22: ( '+' | '-' )? int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0=='^') ) { + if ( (LA1_0=='+'||LA1_0=='-') ) { alt1=1; } switch (alt1) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1348:11: '^' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2442:33: ( '0' .. '9' )+ + int cnt2=0; + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2442:34: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt2 >= 1 ) break loop2; + EarlyExitException eee = + new EarlyExitException(2, input); + throw eee; + } + cnt2++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_EXP" + + // $ANTLR start "RULE_HEX" + public final void mRULE_HEX() throws RecognitionException { + try { + int _type = RULE_HEX; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:12: ( '0x' | '0X' ) + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0=='0') ) { + int LA3_1 = input.LA(2); + + if ( (LA3_1=='x') ) { + alt3=1; + } + else if ( (LA3_1=='X') ) { + alt3=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); + + throw nvae; + } + switch (alt3) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:13: '0x' + { + match("0x"); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:18: '0X' + { + match("0X"); + + + } + break; + + } + + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2444:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt4=0; + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='F')||(LA4_0>='a' && LA4_0<='f')) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt4 >= 1 ) break loop4; + EarlyExitException eee = + new EarlyExitException(4, input); + throw eee; + } + cnt4++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_HEX" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2446:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2446:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2446:11: ( '^' )? + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='^') ) { + alt5=1; + } + switch (alt5) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2446:11: '^' { match('^'); @@ -895,18 +1303,18 @@ public class InternalETPhysLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1348:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop2: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2446:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop6: do { - int alt2=2; - int LA2_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { - alt2=1; + if ( ((LA6_0>='0' && LA6_0<='9')||(LA6_0>='A' && LA6_0<='Z')||LA6_0=='_'||(LA6_0>='a' && LA6_0<='z')) ) { + alt6=1; } - switch (alt2) { + switch (alt6) { case 1 : // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g: { @@ -924,7 +1332,7 @@ public class InternalETPhysLexer extends Lexer { break; default : - break loop2; + break loop6; } } while (true); @@ -944,24 +1352,24 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1350:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1350:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2448:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2448:12: ( '0' .. '9' )+ { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1350:12: ( '0' .. '9' )+ - int cnt3=0; - loop3: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2448:12: ( '0' .. '9' )+ + int cnt7=0; + loop7: do { - int alt3=2; - int LA3_0 = input.LA(1); + int alt7=2; + int LA7_0 = input.LA(1); - if ( ((LA3_0>='0' && LA3_0<='9')) ) { - alt3=1; + if ( ((LA7_0>='0' && LA7_0<='9')) ) { + alt7=1; } - switch (alt3) { + switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1350:13: '0' .. '9' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2448:13: '0' .. '9' { matchRange('0','9'); @@ -969,12 +1377,12 @@ public class InternalETPhysLexer extends Lexer { break; default : - if ( cnt3 >= 1 ) break loop3; + if ( cnt7 >= 1 ) break loop7; EarlyExitException eee = - new EarlyExitException(3, input); + new EarlyExitException(7, input); throw eee; } - cnt3++; + cnt7++; } while (true); @@ -993,47 +1401,47 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt6=2; - int LA6_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA6_0=='\"') ) { - alt6=1; + if ( (LA10_0=='\"') ) { + alt10=1; } - else if ( (LA6_0=='\'') ) { - alt6=2; + else if ( (LA10_0=='\'') ) { + alt10=2; } else { NoViableAltException nvae = - new NoViableAltException("", 6, 0, input); + new NoViableAltException("", 10, 0, input); throw nvae; } - switch (alt6) { + switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - loop4: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop8: do { - int alt4=3; - int LA4_0 = input.LA(1); + int alt8=3; + int LA8_0 = input.LA(1); - if ( (LA4_0=='\\') ) { - alt4=1; + if ( (LA8_0=='\\') ) { + alt8=1; } - else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { - alt4=2; + else if ( ((LA8_0>='\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFF')) ) { + alt8=2; } - switch (alt4) { + switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1049,7 +1457,7 @@ public class InternalETPhysLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:66: ~ ( ( '\\\\' | '\"' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1065,7 +1473,7 @@ public class InternalETPhysLexer extends Lexer { break; default : - break loop4; + break loop8; } } while (true); @@ -1074,26 +1482,26 @@ public class InternalETPhysLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop5: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + loop9: do { - int alt5=3; - int LA5_0 = input.LA(1); + int alt9=3; + int LA9_0 = input.LA(1); - if ( (LA5_0=='\\') ) { - alt5=1; + if ( (LA9_0=='\\') ) { + alt9=1; } - else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { - alt5=2; + else if ( ((LA9_0>='\u0000' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='[')||(LA9_0>=']' && LA9_0<='\uFFFF')) ) { + alt9=2; } - switch (alt5) { + switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1109,7 +1517,7 @@ public class InternalETPhysLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1352:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2450:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1125,7 +1533,7 @@ public class InternalETPhysLexer extends Lexer { break; default : - break loop5; + break loop9; } } while (true); @@ -1152,37 +1560,37 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1354:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1354:19: '/*' ( options {greedy=false; } : . )* '*/' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2452:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2452:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1354:24: ( options {greedy=false; } : . )* - loop7: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2452:24: ( options {greedy=false; } : . )* + loop11: do { - int alt7=2; - int LA7_0 = input.LA(1); + int alt11=2; + int LA11_0 = input.LA(1); - if ( (LA7_0=='*') ) { - int LA7_1 = input.LA(2); + if ( (LA11_0=='*') ) { + int LA11_1 = input.LA(2); - if ( (LA7_1=='/') ) { - alt7=2; + if ( (LA11_1=='/') ) { + alt11=2; } - else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { - alt7=1; + else if ( ((LA11_1>='\u0000' && LA11_1<='.')||(LA11_1>='0' && LA11_1<='\uFFFF')) ) { + alt11=1; } } - else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { - alt7=1; + else if ( ((LA11_0>='\u0000' && LA11_0<=')')||(LA11_0>='+' && LA11_0<='\uFFFF')) ) { + alt11=1; } - switch (alt7) { + switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1354:52: . + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2452:52: . { matchAny(); @@ -1190,7 +1598,7 @@ public class InternalETPhysLexer extends Lexer { break; default : - break loop7; + break loop11; } } while (true); @@ -1212,25 +1620,25 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop8: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop12: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt12=2; + int LA12_0 = input.LA(1); - if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { - alt8=1; + if ( ((LA12_0>='\u0000' && LA12_0<='\t')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\uFFFF')) ) { + alt12=1; } - switch (alt8) { + switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:24: ~ ( ( '\\n' | '\\r' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:24: ~ ( ( '\\n' | '\\r' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1246,31 +1654,31 @@ public class InternalETPhysLexer extends Lexer { break; default : - break loop8; + break loop12; } } while (true); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:40: ( ( '\\r' )? '\\n' )? - int alt10=2; - int LA10_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:40: ( ( '\\r' )? '\\n' )? + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA10_0=='\n'||LA10_0=='\r') ) { - alt10=1; + if ( (LA14_0=='\n'||LA14_0=='\r') ) { + alt14=1; } - switch (alt10) { + switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:41: ( '\\r' )? '\\n' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:41: ( '\\r' )? '\\n' { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:41: ( '\\r' )? - int alt9=2; - int LA9_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:41: ( '\\r' )? + int alt13=2; + int LA13_0 = input.LA(1); - if ( (LA9_0=='\r') ) { - alt9=1; + if ( (LA13_0=='\r') ) { + alt13=1; } - switch (alt9) { + switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1356:41: '\\r' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2454:41: '\\r' { match('\r'); @@ -1302,22 +1710,22 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1358:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1358:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2456:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2456:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1358:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt11=0; - loop11: + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2456:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt15=0; + loop15: do { - int alt11=2; - int LA11_0 = input.LA(1); + int alt15=2; + int LA15_0 = input.LA(1); - if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { - alt11=1; + if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) { + alt15=1; } - switch (alt11) { + switch (alt15) { case 1 : // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g: { @@ -1335,12 +1743,12 @@ public class InternalETPhysLexer extends Lexer { break; default : - if ( cnt11 >= 1 ) break loop11; + if ( cnt15 >= 1 ) break loop15; EarlyExitException eee = - new EarlyExitException(11, input); + new EarlyExitException(15, input); throw eee; } - cnt11++; + cnt15++; } while (true); @@ -1359,8 +1767,8 @@ public class InternalETPhysLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1360:16: ( . ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1360:18: . + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2458:16: ( . ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2458:18: . { matchAny(); @@ -1375,320 +1783,404 @@ public class InternalETPhysLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt12=45; - alt12 = dfa12.predict(input); - switch (alt12) { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt16=57; + alt16 = dfa16.predict(input); + switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:10: T__11 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:10: T__13 { - mT__11(); + mT__13(); } break; case 2 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:16: T__12 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:16: T__14 { - mT__12(); + mT__14(); } break; case 3 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:22: T__13 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:22: T__15 { - mT__13(); + mT__15(); } break; case 4 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:28: T__14 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:28: T__16 { - mT__14(); + mT__16(); } break; case 5 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:34: T__15 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:34: T__17 { - mT__15(); + mT__17(); } break; case 6 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:40: T__16 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:40: T__18 { - mT__16(); + mT__18(); } break; case 7 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:46: T__17 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:46: T__19 { - mT__17(); + mT__19(); } break; case 8 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:52: T__18 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:52: T__20 { - mT__18(); + mT__20(); } break; case 9 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:58: T__19 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:58: T__21 { - mT__19(); + mT__21(); } break; case 10 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:64: T__20 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:64: T__22 { - mT__20(); + mT__22(); } break; case 11 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:70: T__21 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:70: T__23 { - mT__21(); + mT__23(); } break; case 12 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:76: T__22 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:76: T__24 { - mT__22(); + mT__24(); } break; case 13 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:82: T__23 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:82: T__25 { - mT__23(); + mT__25(); } break; case 14 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:88: T__24 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:88: T__26 { - mT__24(); + mT__26(); } break; case 15 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:94: T__25 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:94: T__27 { - mT__25(); + mT__27(); } break; case 16 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:100: T__26 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:100: T__28 { - mT__26(); + mT__28(); } break; case 17 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:106: T__27 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:106: T__29 { - mT__27(); + mT__29(); } break; case 18 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:112: T__28 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:112: T__30 { - mT__28(); + mT__30(); } break; case 19 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:118: T__29 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:118: T__31 { - mT__29(); + mT__31(); } break; case 20 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:124: T__30 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:124: T__32 { - mT__30(); + mT__32(); } break; case 21 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:130: T__31 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:130: T__33 { - mT__31(); + mT__33(); } break; case 22 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:136: T__32 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:136: T__34 { - mT__32(); + mT__34(); } break; case 23 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:142: T__33 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:142: T__35 { - mT__33(); + mT__35(); } break; case 24 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:148: T__34 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:148: T__36 { - mT__34(); + mT__36(); } break; case 25 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:154: T__35 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:154: T__37 { - mT__35(); + mT__37(); } break; case 26 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:160: T__36 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:160: T__38 { - mT__36(); + mT__38(); } break; case 27 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:166: T__37 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:166: T__39 { - mT__37(); + mT__39(); } break; case 28 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:172: T__38 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:172: T__40 { - mT__38(); + mT__40(); } break; case 29 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:178: T__39 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:178: T__41 { - mT__39(); + mT__41(); } break; case 30 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:184: T__40 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:184: T__42 { - mT__40(); + mT__42(); } break; case 31 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:190: T__41 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:190: T__43 { - mT__41(); + mT__43(); } break; case 32 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:196: T__42 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:196: T__44 { - mT__42(); + mT__44(); } break; case 33 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:202: T__43 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:202: T__45 { - mT__43(); + mT__45(); } break; case 34 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:208: T__44 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:208: T__46 { - mT__44(); + mT__46(); } break; case 35 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:214: T__45 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:214: T__47 { - mT__45(); + mT__47(); } break; case 36 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:220: T__46 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:220: T__48 { - mT__46(); + mT__48(); } break; case 37 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:226: T__47 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:226: T__49 { - mT__47(); + mT__49(); } break; case 38 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:232: T__48 + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:232: T__50 { - mT__48(); + mT__50(); } break; case 39 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:238: RULE_ID + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:238: T__51 { - mRULE_ID(); + mT__51(); } break; case 40 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:246: RULE_INT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:244: T__52 { - mRULE_INT(); + mT__52(); } break; case 41 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:255: RULE_STRING + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:250: T__53 { - mRULE_STRING(); + mT__53(); } break; case 42 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:267: RULE_ML_COMMENT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:256: T__54 { - mRULE_ML_COMMENT(); + mT__54(); } break; case 43 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:283: RULE_SL_COMMENT + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:262: T__55 { - mRULE_SL_COMMENT(); + mT__55(); } break; case 44 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:299: RULE_WS + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:268: T__56 { - mRULE_WS(); + mT__56(); } break; case 45 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:307: RULE_ANY_OTHER + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:274: T__57 + { + mT__57(); + + } + break; + case 46 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:280: T__58 + { + mT__58(); + + } + break; + case 47 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:286: T__59 + { + mT__59(); + + } + break; + case 48 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:292: T__60 + { + mT__60(); + + } + break; + case 49 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:298: RULE_EXP + { + mRULE_EXP(); + + } + break; + case 50 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:307: RULE_HEX + { + mRULE_HEX(); + + } + break; + case 51 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:316: RULE_ID + { + mRULE_ID(); + + } + break; + case 52 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:324: RULE_INT + { + mRULE_INT(); + + } + break; + case 53 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:333: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 54 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:345: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 55 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:361: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 56 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:377: RULE_WS + { + mRULE_WS(); + + } + break; + case 57 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:385: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1700,178 +2192,191 @@ public class InternalETPhysLexer extends Lexer { } - protected DFA12 dfa12 = new DFA12(this); - static final String DFA12_eotS = - "\1\uffff\1\42\2\uffff\1\42\1\uffff\1\42\1\uffff\5\42\1\62\2\42"+ - "\4\uffff\1\42\1\76\3\42\1\40\2\uffff\3\40\2\uffff\1\42\3\uffff\1"+ - "\42\1\uffff\1\42\1\uffff\11\42\1\uffff\1\124\4\42\4\uffff\1\42\2"+ - "\uffff\1\132\1\133\1\42\5\uffff\15\42\1\uffff\5\42\2\uffff\4\42"+ - "\1\166\16\42\1\u0085\6\42\1\uffff\12\42\1\u0097\1\u0098\2\42\1\uffff"+ - "\7\42\1\u00a2\1\42\1\u00a4\2\42\1\u00a7\4\42\2\uffff\4\42\1\u00b0"+ - "\1\42\1\u00b2\1\u00b3\1\u00b4\1\uffff\1\42\1\uffff\2\42\1\uffff"+ - "\6\42\1\u00be\1\42\1\uffff\1\42\3\uffff\1\42\1\u00c3\1\u00c4\6\42"+ - "\1\uffff\2\42\1\u00cd\1\42\2\uffff\1\u00cf\7\42\1\uffff\1\42\1\uffff"+ - "\12\42\1\u00e2\6\42\1\u00e9\1\uffff\1\42\1\u00eb\1\u00ec\1\42\1"+ - "\u00ee\1\42\1\uffff\1\u00f0\2\uffff\1\u00f1\1\uffff\1\u00f2\3\uffff"; - static final String DFA12_eofS = - "\u00f3\uffff"; - static final String DFA12_minS = + 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"; + 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\170\1\155\1\60\1\151\1\165\4\uffff\1\162\1\52\2\163\1\154\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\146\1\162\1\145\1\164\1\160\1\141\1\156\1\uffff\1"+ - "\60\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\60\1\157\5\uffff"+ - "\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1\145\1\157\1\143"+ - "\1\147\1\142\1\uffff\2\145\2\164\1\155\2\uffff\1\143\1\151\1\103"+ - "\1\151\1\60\1\145\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154"+ - "\1\144\2\151\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff\1"+ - "\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2\157\2\60\1\124"+ - "\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1"+ - "\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1\154\2\uffff\1\150"+ - "\1\145\1\144\1\154\1\60\1\163\3\60\1\uffff\1\124\1\uffff\1\145\1"+ - "\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103\1\60\1\115\1\uffff"+ - "\1\163\3\uffff\1\150\2\60\1\145\1\162\1\163\1\151\1\145\1\154\1"+ - "\uffff\1\157\1\171\1\60\1\162\2\uffff\1\60\1\145\1\151\1\172\2\141"+ - "\1\144\1\163\1\uffff\1\145\1\uffff\1\141\1\172\1\145\1\144\1\163"+ - "\1\145\1\164\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\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\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 DFA12_maxS = - "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\162\1\145"+ - "\1\150\1\170\1\156\1\172\2\165\4\uffff\1\162\1\52\2\163\1\154\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\146\1\162\1\145\1\164\1\160\1\141\1\156"+ - "\1\uffff\1\172\1\144\1\170\1\154\1\156\4\uffff\1\157\2\uffff\2\172"+ - "\1\157\5\uffff\1\163\1\145\1\164\1\157\1\154\1\141\1\145\1\143\1"+ - "\145\1\157\1\143\1\147\1\160\1\uffff\2\145\2\164\1\155\2\uffff\1"+ - "\143\1\151\1\122\1\151\1\172\1\145\1\165\1\141\1\155\2\162\1\153"+ - "\2\154\1\157\1\154\1\144\2\151\1\172\1\153\1\143\1\145\1\154\1\155"+ - "\1\151\1\uffff\1\144\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2"+ - "\157\2\172\1\124\1\155\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156"+ - "\1\170\1\172\1\164\1\172\1\144\1\141\1\172\1\151\1\124\1\143\1\154"+ - "\2\uffff\1\150\1\145\1\144\1\154\1\172\1\163\3\172\1\uffff\1\124"+ - "\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\1\162\1\103"+ - "\1\172\1\123\1\uffff\1\163\3\uffff\1\150\2\172\1\145\1\162\1\163"+ - "\1\151\1\145\1\154\1\uffff\1\157\1\171\1\172\1\162\2\uffff\1\172"+ - "\1\145\1\151\1\172\2\141\1\144\1\163\1\uffff\1\145\1\uffff\1\141"+ - "\1\172\1\145\1\144\1\163\1\145\1\164\1\141\1\144\1\145\1\172\1\145"+ - "\1\163\1\154\1\145\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 DFA12_acceptS = - "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\10\uffff\1\26\1\27\1"+ - "\30\1\31\6\uffff\1\47\1\50\3\uffff\1\54\1\55\1\uffff\1\47\1\2\1"+ - "\3\1\uffff\1\6\1\uffff\1\11\11\uffff\1\36\5\uffff\1\26\1\27\1\30"+ - "\1\31\1\uffff\1\34\1\35\3\uffff\1\50\1\51\1\52\1\53\1\54\15\uffff"+ - "\1\37\5\uffff\1\40\1\41\32\uffff\1\20\16\uffff\1\33\21\uffff\1\25"+ - "\1\44\11\uffff\1\42\1\uffff\1\15\2\uffff\1\32\10\uffff\1\5\1\uffff"+ - "\1\10\1\12\1\13\11\uffff\1\43\4\uffff\1\16\1\17\10\uffff\1\7\1\uffff"+ - "\1\21\22\uffff\1\23\6\uffff\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1"+ - "\uffff\1\46\1\4\1\45"; - static final String DFA12_specialS = - "\1\1\33\uffff\1\2\1\0\u00d5\uffff}>"; - static final String[] DFA12_transitionS = { - "\11\40\2\37\2\40\1\37\22\40\1\37\1\40\1\34\4\40\1\35\3\40\1"+ - "\22\1\40\1\23\1\25\1\36\12\33\1\5\2\40\1\7\3\40\3\32\1\11\11"+ - "\32\1\4\1\32\1\1\1\32\1\17\1\32\1\12\6\32\1\20\1\40\1\21\1\31"+ - "\1\32\1\40\1\32\1\30\2\32\1\13\1\24\2\32\1\14\3\32\1\16\1\27"+ - "\1\32\1\10\1\32\1\6\1\15\1\32\1\26\5\32\1\2\1\40\1\3\uff82\40", - "\1\41", - "", - "", - "\1\45", - "", + 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\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"+ + "\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"; + 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"; + 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"+ + "\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"+ + "\1\3\uff82\46", "\1\47", "", - "\1\52\2\uffff\1\51", - "\1\53", - "\1\54", - "\1\55", - "\1\57\1\56", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\10\42\1\61\12\42"+ - "\1\60\6\42", - "\1\65\5\uffff\1\64\3\uffff\1\63\1\uffff\1\66", - "\1\67", - "", "", + "\1\53", "", + "\1\55", "", - "\1\74", - "\1\75", - "\1\77", - "\1\100", + "\1\60\2\uffff\1\57\1\uffff\1\61", + "\1\62", + "\1\63", + "\1\66\1\uffff\1\66\2\uffff\12\65\76\uffff\1\64", + "\1\70\1\67", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\10\50\1\72\12\50"+ + "\1\71\6\50", + "\1\76\7\uffff\1\77\5\uffff\1\75\3\uffff\1\74\1\uffff\1\100", "\1\101", - "\32\42\4\uffff\1\42\1\uffff\32\42", - "", - "", - "\0\103", - "\0\103", - "\1\104\4\uffff\1\105", - "", - "", - "\1\107", - "", "", "", + "\1\105\20\uffff\1\104", + "\1\106", "\1\110", - "", "\1\111", "", - "\1\112", - "\1\113", - "\1\114", + "", + "", "\1\115", "\1\116", "\1\117", "\1\120", - "\1\121", - "\1\122", - "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\6\42\1\123\23\42", - "\1\125", - "\1\126", - "\1\127", - "\1\130", - "", - "", + "\1\66\1\uffff\1\66\2\uffff\12\65", + "\1\121\37\uffff\1\121", + "\32\50\4\uffff\1\50\1\uffff\32\50", "", "", - "\1\131", + "\0\123", + "\0\123", + "\1\124\4\uffff\1\125", "", "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\1\134", + "\1\127", "", "", "", + "\1\130", "", + "\1\131", "", - "\1\135", - "\1\136", - "\1\137", + "\1\132", + "\1\133", + "\1\134\1\137\5\uffff\1\135\10\uffff\1\136", "\1\140", "\1\141", "\1\142", + "\12\65\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", "\1\143", "\1\144", "\1\145", "\1\146", - "\1\147", - "\1\150", - "\1\151\15\uffff\1\152", "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\6\50\1\147\23\50", + "\1\151", + "\1\152", "\1\153", "\1\154", "\1\155", + "", + "", "\1\156", "\1\157", "", "", "\1\160", "\1\161", - "\1\163\16\uffff\1\162", + "", + "", + "", + "\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", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\14\42\1\165\15\42", + "\1\165", + "", + "", + "", + "", + "", + "", + "\1\166", "\1\167", "\1\170", "\1\171", @@ -1886,29 +2391,29 @@ public class InternalETPhysLexer extends Lexer { "\1\u0082", "\1\u0083", "\1\u0084", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\1\u0086", - "\1\u0087", + "\1\u0085", + "\1\u0086\15\uffff\1\u0087", + "", "\1\u0088", "\1\u0089", "\1\u008a", - "\1\u008c\7\uffff\1\u008b", - "", + "\1\u008b", + "\1\u008c", "\1\u008d", "\1\u008e", "\1\u008f", "\1\u0090", + "", + "", "\1\u0091", "\1\u0092", "\1\u0093", - "\1\u0094", - "\1\u0095", + "\1\u0095\16\uffff\1\u0094", "\1\u0096", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\14\50\1\u0097\15"+ + "\50", "\1\u0099", "\1\u009a", - "", "\1\u009b", "\1\u009c", "\1\u009d", @@ -1916,32 +2421,27 @@ public class InternalETPhysLexer extends Lexer { "\1\u009f", "\1\u00a0", "\1\u00a1", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00a2", "\1\u00a3", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00a4", "\1\u00a5", "\1\u00a6", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00a7", "\1\u00a8", "\1\u00a9", "\1\u00aa", "\1\u00ab", - "", - "", - "\1\u00ac", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00ad", "\1\u00ae", "\1\u00af", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00b1", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "", + "\1\u00b2", + "\1\u00b3", + "\1\u00b4", "\1\u00b5", - "", - "\1\u00b6", - "\1\u00b7", + "\1\u00b7\7\uffff\1\u00b6", "", "\1\u00b8", "\1\u00b9", @@ -1949,206 +2449,310 @@ public class InternalETPhysLexer extends Lexer { "\1\u00bb", "\1\u00bc", "\1\u00bd", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\1\u00bf\5\uffff\1\u00c0", - "", + "\1\u00be", + "\1\u00bf", + "\1\u00c0", "\1\u00c1", - "", - "", - "", "\1\u00c2", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00c3", + "\1\u00c4", "\1\u00c5", - "\1\u00c6", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00c7", - "\1\u00c8", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00c9", "\1\u00ca", "", - "\1\u00cb", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00cc", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\1\u00ce", - "", + "\1\u00cd", "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00ce", + "\1\u00cf", "\1\u00d0", "\1\u00d1", "\1\u00d2", "\1\u00d3", "\1\u00d4", - "\1\u00d5", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00d6", - "", "\1\u00d7", - "", - "\1\u00d8", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00d9", "\1\u00da", - "\1\u00db", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00dc", "\1\u00dd", - "\1\u00de", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "\1\u00df", "\1\u00e0", "\1\u00e1", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00e2", + "", "\1\u00e3", + "", "\1\u00e4", "\1\u00e5", + "", "\1\u00e6", "\1\u00e7", "\1\u00e8", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u00e9", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00eb", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", - "\1\u00ea", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", - "\1\u00ed", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", "\1\u00ef", + "\1\u00f0", + "", + "\1\u00f1", + "\1\u00f2", + "", + "\1\u00f3", + "\1\u00f4", + "", + "\1\u00f5", + "\1\u00f6", + "\1\u00f7", + "\1\u00f8", + "\1\u00f9", + "\1\u00fa", + "\1\u00fb", + "\1\u00fc", + "\1\u00fd", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00ff\5\uffff\1\u0100", "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u0101", "", "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", "", - "\12\42\7\uffff\32\42\4\uffff\1\42\1\uffff\32\42", + "\1\u0102", + "\1\u0103", + "\1\u0104", + "\1\u0105", + "\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\u0108", + "\1\u0109", + "\1\u010a", + "\1\u010b", + "\1\u010c", + "\1\u010d", + "\1\u010e", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0110", + "", + "\1\u0111", + "\1\u0112", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0116", + "\1\u0117", + "", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0119", + "\1\u011a", + "\1\u011b", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u011d", + "\1\u011e", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0120", + "\1\u0121", + "", + "", + "", + "\1\u0122", + "\1\u0123", + "", + "\1\u0124", + "\1\u0125", + "\1\u0126", + "", + "\1\u0127", + "\1\u0128", + "", + "\1\u0129", + "\1\u012a", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u012c", + "\1\u012d", + "\1\u012e", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0130", + "\1\u0131", + "\1\u0132", + "\1\u0133", + "", + "\1\u0134", + "\1\u0135", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "\1\u0137", + "\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\u013a", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u013c", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "", "", "" }; - static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); - static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); - static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); - static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); - static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); - static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); - static final short[][] DFA12_transition; + static final short[] DFA16_eot = DFA.unpackEncodedString(DFA16_eotS); + static final short[] DFA16_eof = DFA.unpackEncodedString(DFA16_eofS); + static final char[] DFA16_min = DFA.unpackEncodedStringToUnsignedChars(DFA16_minS); + static final char[] DFA16_max = DFA.unpackEncodedStringToUnsignedChars(DFA16_maxS); + static final short[] DFA16_accept = DFA.unpackEncodedString(DFA16_acceptS); + static final short[] DFA16_special = DFA.unpackEncodedString(DFA16_specialS); + static final short[][] DFA16_transition; static { - int numStates = DFA12_transitionS.length; - DFA12_transition = new short[numStates][]; + int numStates = DFA16_transitionS.length; + DFA16_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA12_transition[i] = DFA.unpackEncodedString(DFA12_transitionS[i]); + DFA16_transition[i] = DFA.unpackEncodedString(DFA16_transitionS[i]); } } - class DFA12 extends DFA { + class DFA16 extends DFA { - public DFA12(BaseRecognizer recognizer) { + public DFA16(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 12; - this.eot = DFA12_eot; - this.eof = DFA12_eof; - this.min = DFA12_min; - this.max = DFA12_max; - this.accept = DFA12_accept; - this.special = DFA12_special; - this.transition = DFA12_transition; + this.decisionNumber = 16; + this.eot = DFA16_eot; + this.eof = DFA16_eof; + this.min = DFA16_min; + this.max = DFA16_max; + this.accept = DFA16_accept; + this.special = DFA16_special; + this.transition = DFA16_transition; } public String getDescription() { - return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_29 = input.LA(1); + int LA16_34 = input.LA(1); s = -1; - if ( ((LA12_29>='\u0000' && LA12_29<='\uFFFF')) ) {s = 67;} + if ( ((LA16_34>='\u0000' && LA16_34<='\uFFFF')) ) {s = 83;} - else s = 32; + else s = 38; if ( s>=0 ) return s; break; case 1 : - int LA12_0 = input.LA(1); + int LA16_0 = input.LA(1); s = -1; - if ( (LA12_0=='P') ) {s = 1;} + if ( (LA16_0=='P') ) {s = 1;} + + else if ( (LA16_0=='{') ) {s = 2;} + + else if ( (LA16_0=='}') ) {s = 3;} + + else if ( (LA16_0=='N') ) {s = 4;} + + else if ( (LA16_0==':') ) {s = 5;} + + else if ( (LA16_0=='r') ) {s = 6;} + + else if ( (LA16_0=='=') ) {s = 7;} - else if ( (LA12_0=='{') ) {s = 2;} + else if ( (LA16_0=='p') ) {s = 8;} - else if ( (LA12_0=='}') ) {s = 3;} + else if ( (LA16_0=='D') ) {s = 9;} - else if ( (LA12_0=='N') ) {s = 4;} + else if ( (LA16_0=='T') ) {s = 10;} - else if ( (LA12_0==':') ) {s = 5;} + else if ( (LA16_0=='e') ) {s = 11;} - else if ( (LA12_0=='r') ) {s = 6;} + else if ( (LA16_0=='i') ) {s = 12;} - else if ( (LA12_0=='=') ) {s = 7;} + else if ( (LA16_0=='s') ) {s = 13;} - else if ( (LA12_0=='p') ) {s = 8;} + else if ( (LA16_0=='m') ) {s = 14;} - else if ( (LA12_0=='D') ) {s = 9;} + else if ( (LA16_0=='R') ) {s = 15;} - else if ( (LA12_0=='T') ) {s = 10;} + else if ( (LA16_0=='+') ) {s = 16;} - else if ( (LA12_0=='e') ) {s = 11;} + else if ( (LA16_0=='-') ) {s = 17;} - else if ( (LA12_0=='i') ) {s = 12;} + else if ( (LA16_0=='f') ) {s = 18;} - else if ( (LA12_0=='s') ) {s = 13;} + else if ( (LA16_0=='.') ) {s = 19;} - else if ( (LA12_0=='m') ) {s = 14;} + else if ( (LA16_0=='o') ) {s = 20;} - else if ( (LA12_0=='R') ) {s = 15;} + else if ( (LA16_0=='a') ) {s = 21;} - else if ( (LA12_0=='[') ) {s = 16;} + else if ( (LA16_0==',') ) {s = 22;} - else if ( (LA12_0==']') ) {s = 17;} + else if ( (LA16_0=='[') ) {s = 23;} - else if ( (LA12_0=='+') ) {s = 18;} + else if ( (LA16_0==']') ) {s = 24;} - else if ( (LA12_0=='-') ) {s = 19;} + else if ( (LA16_0=='u') ) {s = 25;} - else if ( (LA12_0=='f') ) {s = 20;} + else if ( (LA16_0=='n') ) {s = 26;} - else if ( (LA12_0=='.') ) {s = 21;} + else if ( (LA16_0=='t') ) {s = 27;} - else if ( (LA12_0=='u') ) {s = 22;} + else if ( (LA16_0=='b') ) {s = 28;} - else if ( (LA12_0=='n') ) {s = 23;} + else if ( (LA16_0=='E') ) {s = 29;} - else if ( (LA12_0=='b') ) {s = 24;} + else if ( (LA16_0=='0') ) {s = 30;} - else if ( (LA12_0=='^') ) {s = 25;} + else if ( (LA16_0=='^') ) {s = 31;} - else if ( ((LA12_0>='A' && LA12_0<='C')||(LA12_0>='E' && LA12_0<='M')||LA12_0=='O'||LA12_0=='Q'||LA12_0=='S'||(LA12_0>='U' && LA12_0<='Z')||LA12_0=='_'||LA12_0=='a'||(LA12_0>='c' && LA12_0<='d')||(LA12_0>='g' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||LA12_0=='o'||LA12_0=='q'||LA12_0=='t'||(LA12_0>='v' && LA12_0<='z')) ) {s = 26;} + else if ( ((LA16_0>='A' && LA16_0<='C')||(LA16_0>='F' && LA16_0<='M')||LA16_0=='O'||LA16_0=='Q'||LA16_0=='S'||(LA16_0>='U' && LA16_0<='Z')||LA16_0=='_'||(LA16_0>='c' && LA16_0<='d')||(LA16_0>='g' && LA16_0<='h')||(LA16_0>='j' && LA16_0<='l')||LA16_0=='q'||(LA16_0>='v' && LA16_0<='z')) ) {s = 32;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 27;} + else if ( ((LA16_0>='1' && LA16_0<='9')) ) {s = 33;} - else if ( (LA12_0=='\"') ) {s = 28;} + else if ( (LA16_0=='\"') ) {s = 34;} - else if ( (LA12_0=='\'') ) {s = 29;} + else if ( (LA16_0=='\'') ) {s = 35;} - else if ( (LA12_0=='/') ) {s = 30;} + else if ( (LA16_0=='/') ) {s = 36;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 31;} + else if ( ((LA16_0>='\t' && LA16_0<='\n')||LA16_0=='\r'||LA16_0==' ') ) {s = 37;} - else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='*')||LA12_0==','||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 32;} + else if ( ((LA16_0>='\u0000' && LA16_0<='\b')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\u001F')||LA16_0=='!'||(LA16_0>='#' && LA16_0<='&')||(LA16_0>='(' && LA16_0<='*')||(LA16_0>=';' && LA16_0<='<')||(LA16_0>='>' && LA16_0<='@')||LA16_0=='\\'||LA16_0=='`'||LA16_0=='|'||(LA16_0>='~' && LA16_0<='\uFFFF')) ) {s = 38;} if ( s>=0 ) return s; break; case 2 : - int LA12_28 = input.LA(1); + int LA16_35 = input.LA(1); s = -1; - if ( ((LA12_28>='\u0000' && LA12_28<='\uFFFF')) ) {s = 67;} + if ( ((LA16_35>='\u0000' && LA16_35<='\uFFFF')) ) {s = 83;} - else s = 32; + else s = 38; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 12, _s, input); + new NoViableAltException(getDescription(), 16, _s, input); error(nvae); throw nvae; } 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 b0f6b1e55..9c7eaa43b 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,8 +22,9 @@ 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_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'", "'.*'", "'.'", "'s'", "'ms'", "'us'", "'ns'", "'polled'", "'blocked'", "'mixed'", "'singleThreaded'", "'multiThreaded'" + "<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'" }; + public static final int RULE_EXP=8; public static final int RULE_ID=4; public static final int T__29=29; public static final int T__28=28; @@ -33,20 +34,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final int T__24=24; public static final int T__23=23; public static final int T__22=22; - public static final int RULE_ANY_OTHER=10; + public static final int RULE_ANY_OTHER=12; public static final int T__21=21; public static final int T__20=20; + public static final int T__60=60; public static final int EOF=-1; + public static final int T__55=55; + public static final int T__56=56; public static final int T__19=19; + public static final int T__57=57; + public static final int RULE_HEX=7; + public static final int T__58=58; public static final int T__16=16; + public static final int T__51=51; + public static final int T__52=52; public static final int T__15=15; + public static final int T__53=53; public static final int T__18=18; + public static final int T__54=54; public static final int T__17=17; - public static final int T__12=12; - public static final int T__11=11; public static final int T__14=14; public static final int T__13=13; + public static final int T__59=59; public static final int RULE_INT=5; + public static final int T__50=50; public static final int T__42=42; public static final int T__43=43; public static final int T__40=40; @@ -56,8 +67,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final int T__44=44; public static final int T__45=45; public static final int T__48=48; - public static final int RULE_SL_COMMENT=8; - public static final int RULE_ML_COMMENT=7; + public static final int T__49=49; + public static final int RULE_SL_COMMENT=10; + public static final int RULE_ML_COMMENT=9; public static final int T__30=30; public static final int T__31=31; public static final int RULE_STRING=6; @@ -69,7 +81,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; - public static final int RULE_WS=9; + public static final int RULE_WS=11; // delegates // delegators @@ -173,7 +185,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:1: (otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:81:3: otherlv_0= 'PhysicalModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )* otherlv_7= '}' { - otherlv_0=(Token)match(input,11,FOLLOW_11_in_rulePhysicalModel122); + otherlv_0=(Token)match(input,13,FOLLOW_13_in_rulePhysicalModel122); newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0()); @@ -208,7 +220,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,12,FOLLOW_12_in_rulePhysicalModel155); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_rulePhysicalModel155); newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2()); @@ -266,17 +278,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { do { int alt2=4; switch ( input.LA(1) ) { - case 14: + case 16: { alt2=1; } break; - case 17: + case 19: { alt2=2; } break; - case 30: + case 32: { alt2=3; } @@ -402,7 +414,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_7=(Token)match(input,13,FOLLOW_13_in_rulePhysicalModel267); + otherlv_7=(Token)match(input,15,FOLLOW_15_in_rulePhysicalModel267); newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5()); @@ -485,7 +497,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:206:3: otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' { - otherlv_0=(Token)match(input,14,FOLLOW_14_in_rulePhysicalSystem350); + otherlv_0=(Token)match(input,16,FOLLOW_16_in_rulePhysicalSystem350); newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0()); @@ -519,7 +531,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==32) ) { + if ( (LA3_0==44) ) { alt3=1; } switch (alt3) { @@ -557,7 +569,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalSystem406); + otherlv_3=(Token)match(input,14,FOLLOW_14_in_rulePhysicalSystem406); newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3()); @@ -567,7 +579,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt4=2; int LA4_0 = input.LA(1); - if ( (LA4_0==15) ) { + if ( (LA4_0==17) ) { alt4=1; } @@ -610,7 +622,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_5=(Token)match(input,13,FOLLOW_13_in_rulePhysicalSystem440); + otherlv_5=(Token)match(input,15,FOLLOW_15_in_rulePhysicalSystem440); newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5()); @@ -690,7 +702,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:293:3: otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? { - otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleNodeRef523); + otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleNodeRef523); newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0()); @@ -720,7 +732,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleNodeRef557); + otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleNodeRef557); newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2()); @@ -756,7 +768,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==32) ) { + if ( (LA5_0==44) ) { alt5=1; } switch (alt5) { @@ -883,7 +895,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:1: (otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= rulePRIO ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= rulePRIO ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:373:3: otherlv_0= 'NodeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= rulePRIO ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= rulePRIO ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' { - otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleNodeClass685); + otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass685); newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0()); @@ -917,7 +929,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt6=2; int LA6_0 = input.LA(1); - if ( (LA6_0==32) ) { + if ( (LA6_0==44) ) { alt6=1; } switch (alt6) { @@ -955,7 +967,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleNodeClass741); + otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleNodeClass741); newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3()); @@ -978,13 +990,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt7=4; int LA7_0 = input.LA(1); - if ( LA7_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) { + if ( LA7_0 ==20 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) { alt7=1; } - else if ( LA7_0 ==20 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) { + else if ( LA7_0 ==22 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) { alt7=2; } - else if ( LA7_0 ==21 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) { + else if ( LA7_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) { alt7=3; } @@ -1014,11 +1026,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:431:16: (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:431:18: otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) { - otherlv_5=(Token)match(input,18,FOLLOW_18_in_ruleNodeClass799); + otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass799); newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4_0_0()); - otherlv_6=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass811); + otherlv_6=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass811); newLeafNode(otherlv_6, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_0_1()); @@ -1092,11 +1104,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:466:16: (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= rulePRIO ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:466:18: otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= rulePRIO ) ) { - otherlv_8=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass902); + otherlv_8=(Token)match(input,22,FOLLOW_22_in_ruleNodeClass902); newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getPriominKeyword_4_1_0()); - otherlv_9=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass914); + otherlv_9=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass914); newLeafNode(otherlv_9, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_1_1()); @@ -1173,11 +1185,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:504:16: (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= rulePRIO ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:504:18: otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= rulePRIO ) ) { - otherlv_11=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass1003); + otherlv_11=(Token)match(input,23,FOLLOW_23_in_ruleNodeClass1003); newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getPriomaxKeyword_4_2_0()); - otherlv_12=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass1015); + otherlv_12=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass1015); newLeafNode(otherlv_12, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_2_1()); @@ -1261,7 +1273,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt8=2; int LA8_0 = input.LA(1); - if ( ((LA8_0>=22 && LA8_0<=23)) ) { + if ( ((LA8_0>=24 && LA8_0<=25)) ) { alt8=1; } @@ -1304,7 +1316,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_15=(Token)match(input,13,FOLLOW_13_in_ruleNodeClass1117); + otherlv_15=(Token)match(input,15,FOLLOW_15_in_ruleNodeClass1117); newLeafNode(otherlv_15, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_6()); @@ -1409,10 +1421,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt9=2; int LA9_0 = input.LA(1); - if ( (LA9_0==22) ) { + if ( (LA9_0==24) ) { alt9=1; } - else if ( (LA9_0==23) ) { + else if ( (LA9_0==25) ) { alt9=2; } else { @@ -1431,7 +1443,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:589:1: (lv_default_0_0= 'DefaultThread' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:590:3: lv_default_0_0= 'DefaultThread' { - lv_default_0_0=(Token)match(input,22,FOLLOW_22_in_rulePhysicalThread1207); + lv_default_0_0=(Token)match(input,24,FOLLOW_24_in_rulePhysicalThread1207); newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0()); @@ -1453,7 +1465,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { case 2 : // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:604:7: otherlv_1= 'Thread' { - otherlv_1=(Token)match(input,23,FOLLOW_23_in_rulePhysicalThread1238); + otherlv_1=(Token)match(input,25,FOLLOW_25_in_rulePhysicalThread1238); newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1()); @@ -1489,7 +1501,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,12,FOLLOW_12_in_rulePhysicalThread1273); + otherlv_3=(Token)match(input,14,FOLLOW_14_in_rulePhysicalThread1273); newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2()); @@ -1512,22 +1524,22 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt10=7; int LA10_0 = input.LA(1); - if ( LA10_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) { + if ( LA10_0 ==26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) { alt10=1; } - else if ( LA10_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) { + else if ( LA10_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) { alt10=2; } - else if ( LA10_0 ==26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) { + else if ( LA10_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) { alt10=3; } - else if ( LA10_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) { + else if ( LA10_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) { alt10=4; } - else if ( LA10_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) { + else if ( LA10_0 ==30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) { alt10=5; } - else if ( LA10_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) { + else if ( LA10_0 ==31 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) { alt10=6; } @@ -1557,11 +1569,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:644:16: (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:644:18: otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) { - otherlv_5=(Token)match(input,24,FOLLOW_24_in_rulePhysicalThread1331); + otherlv_5=(Token)match(input,26,FOLLOW_26_in_rulePhysicalThread1331); newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3_0_0()); - otherlv_6=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1343); + otherlv_6=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1343); newLeafNode(otherlv_6, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_0_1()); @@ -1638,11 +1650,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:682:16: (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:682:18: otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) { - otherlv_8=(Token)match(input,25,FOLLOW_25_in_rulePhysicalThread1432); + otherlv_8=(Token)match(input,27,FOLLOW_27_in_rulePhysicalThread1432); newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_3_1_0()); - otherlv_9=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1444); + otherlv_9=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1444); newLeafNode(otherlv_9, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_1_1()); @@ -1719,11 +1731,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:720:16: (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= rulePRIO ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:720:18: otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= rulePRIO ) ) { - otherlv_11=(Token)match(input,26,FOLLOW_26_in_rulePhysicalThread1533); + otherlv_11=(Token)match(input,28,FOLLOW_28_in_rulePhysicalThread1533); newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_3_2_0()); - otherlv_12=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1545); + otherlv_12=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1545); newLeafNode(otherlv_12, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_2_1()); @@ -1800,11 +1812,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:16: (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:18: otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) { - otherlv_14=(Token)match(input,27,FOLLOW_27_in_rulePhysicalThread1634); + otherlv_14=(Token)match(input,29,FOLLOW_29_in_rulePhysicalThread1634); newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_3_3_0()); - otherlv_15=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1646); + otherlv_15=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1646); newLeafNode(otherlv_15, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_3_1()); @@ -1876,11 +1888,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:796:16: (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:796:18: otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) { - otherlv_17=(Token)match(input,28,FOLLOW_28_in_rulePhysicalThread1736); + otherlv_17=(Token)match(input,30,FOLLOW_30_in_rulePhysicalThread1736); newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_3_4_0()); - otherlv_18=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1748); + otherlv_18=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1748); newLeafNode(otherlv_18, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_4_1()); @@ -1952,11 +1964,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:834:16: (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:834:18: otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) { - otherlv_20=(Token)match(input,29,FOLLOW_29_in_rulePhysicalThread1838); + otherlv_20=(Token)match(input,31,FOLLOW_31_in_rulePhysicalThread1838); newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_3_5_0()); - otherlv_21=(Token)match(input,19,FOLLOW_19_in_rulePhysicalThread1850); + otherlv_21=(Token)match(input,21,FOLLOW_21_in_rulePhysicalThread1850); newLeafNode(otherlv_21, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_5_1()); @@ -2029,7 +2041,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_23=(Token)match(input,13,FOLLOW_13_in_rulePhysicalThread1931); + otherlv_23=(Token)match(input,15,FOLLOW_15_in_rulePhysicalThread1931); newLeafNode(otherlv_23, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_4()); @@ -2114,7 +2126,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:900:1: (otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' ) // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:900:3: otherlv_0= 'RuntimeClass' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'model' otherlv_5= '=' ( (lv_threadModel_6_0= ruleThreadModel ) ) otherlv_7= '}' { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleRuntimeClass2014); + otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleRuntimeClass2014); newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0()); @@ -2148,7 +2160,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { int alt11=2; int LA11_0 = input.LA(1); - if ( (LA11_0==32) ) { + if ( (LA11_0==44) ) { alt11=1; } switch (alt11) { @@ -2186,15 +2198,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,12,FOLLOW_12_in_ruleRuntimeClass2070); + otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleRuntimeClass2070); newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3()); - otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleRuntimeClass2082); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleRuntimeClass2082); newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4()); - otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleRuntimeClass2094); + otherlv_5=(Token)match(input,21,FOLLOW_21_in_ruleRuntimeClass2094); newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5()); @@ -2229,7 +2241,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,13,FOLLOW_13_in_ruleRuntimeClass2127); + otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleRuntimeClass2127); newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7()); @@ -2253,139 +2265,8 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleRuntimeClass" - // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:982:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; - public final EObject entryRuleDocumentation() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDocumentation = null; - - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:983:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:984:2: iv_ruleDocumentation= ruleDocumentation EOF - { - newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation2163); - iv_ruleDocumentation=ruleDocumentation(); - - state._fsp--; - - current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation2173); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleDocumentation" - - - // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:991:1: ruleDocumentation returns [EObject current=null] : (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) ; - public final EObject ruleDocumentation() throws RecognitionException { - EObject current = null; - - Token otherlv_0=null; - Token lv_text_1_0=null; - Token otherlv_2=null; - - enterRule(); - - try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:994:28: ( (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:995:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:995:1: (otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:995:3: otherlv_0= '[' ( (lv_text_1_0= RULE_STRING ) )+ otherlv_2= ']' - { - otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleDocumentation2210); - - newLeafNode(otherlv_0, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_0()); - - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:999:1: ( (lv_text_1_0= RULE_STRING ) )+ - int cnt12=0; - loop12: - do { - int alt12=2; - int LA12_0 = input.LA(1); - - if ( (LA12_0==RULE_STRING) ) { - alt12=1; - } - - - switch (alt12) { - case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1000:1: (lv_text_1_0= RULE_STRING ) - { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1000:1: (lv_text_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1001:3: lv_text_1_0= RULE_STRING - { - lv_text_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation2227); - - newLeafNode(lv_text_1_0, grammarAccess.getDocumentationAccess().getTextSTRINGTerminalRuleCall_1_0()); - - - if (current==null) { - current = createModelElement(grammarAccess.getDocumentationRule()); - } - addWithLastConsumed( - current, - "text", - lv_text_1_0, - "STRING"); - - - } - - - } - break; - - default : - if ( cnt12 >= 1 ) break loop12; - EarlyExitException eee = - new EarlyExitException(12, input); - throw eee; - } - cnt12++; - } while (true); - - otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleDocumentation2245); - - newLeafNode(otherlv_2, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_2()); - - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleDocumentation" - - // $ANTLR start "entryRulePRIO" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1029:1: entryRulePRIO returns [String current=null] : iv_rulePRIO= rulePRIO EOF ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:982:1: entryRulePRIO returns [String current=null] : iv_rulePRIO= rulePRIO EOF ; public final String entryRulePRIO() throws RecognitionException { String current = null; @@ -2396,17 +2277,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:1033:2: (iv_rulePRIO= rulePRIO EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1034:2: iv_rulePRIO= rulePRIO EOF + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:986:2: (iv_rulePRIO= rulePRIO EOF ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:987:2: iv_rulePRIO= rulePRIO EOF { newCompositeNode(grammarAccess.getPRIORule()); - pushFollow(FOLLOW_rulePRIO_in_entryRulePRIO2288); + pushFollow(FOLLOW_rulePRIO_in_entryRulePRIO2170); iv_rulePRIO=rulePRIO(); state._fsp--; current =iv_rulePRIO.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRulePRIO2299); + match(input,EOF,FOLLOW_EOF_in_entryRulePRIO2181); } @@ -2427,7 +2308,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "rulePRIO" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1044:1: rulePRIO 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:997:1: rulePRIO returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken rulePRIO() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2438,27 +2319,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:1048: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:1049: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:1001: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:1002: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:1049: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:1049: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:1002: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:1002: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:1049:2: (kw= '+' | kw= '-' )? - int alt13=3; - int LA13_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1002:2: (kw= '+' | kw= '-' )? + int alt12=3; + int LA12_0 = input.LA(1); - if ( (LA13_0==34) ) { - alt13=1; + if ( (LA12_0==34) ) { + alt12=1; } - else if ( (LA13_0==35) ) { - alt13=2; + else if ( (LA12_0==35) ) { + alt12=2; } - switch (alt13) { + switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1050:2: kw= '+' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1003:2: kw= '+' { - kw=(Token)match(input,34,FOLLOW_34_in_rulePRIO2342); + kw=(Token)match(input,34,FOLLOW_34_in_rulePRIO2224); current.merge(kw); newLeafNode(kw, grammarAccess.getPRIOAccess().getPlusSignKeyword_0_0()); @@ -2467,9 +2348,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:1057:2: kw= '-' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1010:2: kw= '-' { - kw=(Token)match(input,35,FOLLOW_35_in_rulePRIO2361); + kw=(Token)match(input,35,FOLLOW_35_in_rulePRIO2243); current.merge(kw); newLeafNode(kw, grammarAccess.getPRIOAccess().getHyphenMinusKeyword_0_1()); @@ -2480,7 +2361,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePRIO2378); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePRIO2260); current.merge(this_INT_2); @@ -2511,7 +2392,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleImport" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1080:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + // ../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; @@ -2519,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:1081:2: (iv_ruleImport= ruleImport EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1082:2: iv_ruleImport= ruleImport EOF + // ../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_entryRuleImport2427); + pushFollow(FOLLOW_ruleImport_in_entryRuleImport2309); iv_ruleImport=ruleImport(); state._fsp--; current =iv_ruleImport; - match(input,EOF,FOLLOW_EOF_in_entryRuleImport2437); + match(input,EOF,FOLLOW_EOF_in_entryRuleImport2319); } @@ -2547,7 +2428,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleImport" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1089: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 ) ) ) ; + // ../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; @@ -2561,49 +2442,49 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1092: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:1093: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: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:1093: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:1093:3: 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_ruleImport2474); + 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:1097:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) - int alt14=2; - int LA14_0 = input.LA(1); + // ../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 ( (LA14_0==RULE_ID) ) { - alt14=1; + if ( (LA13_0==RULE_ID) ) { + alt13=1; } - else if ( (LA14_0==31) ) { - alt14=2; + else if ( (LA13_0==33) ) { + alt13=2; } else { NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); + new NoViableAltException("", 13, 0, input); throw nvae; } - switch (alt14) { + switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1097: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:1097: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:1097: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: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:1097:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1098:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + // ../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:1098:1: (lv_importedNamespace_1_0= ruleImportedFQN ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1099: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:1052:3: lv_importedNamespace_1_0= ruleImportedFQN { newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); - pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2497); + pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2379); lv_importedNamespace_1_0=ruleImportedFQN(); state._fsp--; @@ -2625,7 +2506,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,37,FOLLOW_37_in_ruleImport2509); + otherlv_2=(Token)match(input,37,FOLLOW_37_in_ruleImport2391); newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); @@ -2636,9 +2517,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:1120:7: otherlv_3= 'model' + // ../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,31,FOLLOW_31_in_ruleImport2528); + otherlv_3=(Token)match(input,33,FOLLOW_33_in_ruleImport2410); newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); @@ -2648,13 +2529,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1124:2: ( (lv_importURI_4_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1125:1: (lv_importURI_4_0= RULE_STRING ) + // ../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:1125:1: (lv_importURI_4_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1126:3: 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_ruleImport2546); + lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2428); newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); @@ -2695,7 +2576,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleImportedFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1150:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + // ../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; @@ -2703,17 +2584,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1151:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1152:2: iv_ruleImportedFQN= ruleImportedFQN EOF + // ../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_entryRuleImportedFQN2588); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2470); iv_ruleImportedFQN=ruleImportedFQN(); state._fsp--; current =iv_ruleImportedFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2599); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2481); } @@ -2731,7 +2612,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleImportedFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1159:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + // ../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(); @@ -2742,16 +2623,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1162:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1163:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../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:1163:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1164:5: 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_ruleImportedFQN2646); + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2528); this_FQN_0=ruleFQN(); state._fsp--; @@ -2762,18 +2643,18 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1174:1: (kw= '.*' )? - int alt15=2; - int LA15_0 = input.LA(1); + // ../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 ( (LA15_0==38) ) { - alt15=1; + if ( (LA14_0==38) ) { + alt14=1; } - switch (alt15) { + switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1175:2: kw= '.*' + // ../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_ruleImportedFQN2665); + kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN2547); current.merge(kw); newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); @@ -2805,7 +2686,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1188:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + // ../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; @@ -2813,17 +2694,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1189:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1190:2: iv_ruleFQN= ruleFQN EOF + // ../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_entryRuleFQN2708); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2590); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2719); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2601); } @@ -2841,7 +2722,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1197:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (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: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(); @@ -2852,40 +2733,40 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1200: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:1201: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: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:1201: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:1201:6: 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_ruleFQN2759); + 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:1208:1: (kw= '.' this_ID_2= RULE_ID )* - loop16: + // ../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 alt16=2; - int LA16_0 = input.LA(1); + int alt15=2; + int LA15_0 = input.LA(1); - if ( (LA16_0==39) ) { - alt16=1; + if ( (LA15_0==39) ) { + alt15=1; } - switch (alt16) { + switch (alt15) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1209:2: kw= '.' this_ID_2= RULE_ID + // ../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_ruleFQN2778); + 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_ruleFQN2793); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2675); current.merge(this_ID_2); @@ -2897,7 +2778,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { break; default : - break loop16; + break loop15; } } while (true); @@ -2921,8 +2802,1027 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $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 ; + public final EObject entryRuleKeyValue() throws RecognitionException { + EObject current = null; + + EObject iv_ruleKeyValue = null; + + + 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 + { + newCompositeNode(grammarAccess.getKeyValueRule()); + pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue2724); + iv_ruleKeyValue=ruleKeyValue(); + + state._fsp--; + + current =iv_ruleKeyValue; + match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue2734); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleKeyValue" + + + // $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 ) ) ) ; + public final EObject ruleKeyValue() throws RecognitionException { + EObject current = null; + + Token lv_key_0_0=null; + Token otherlv_1=null; + EObject lv_value_2_0 = null; + + + 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: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: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: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 + { + lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue2776); + + newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getKeyValueRule()); + } + setWithLastConsumed( + current, + "key", + lv_key_0_0, + "ID"); + + + } + + + } + + otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleKeyValue2793); + + 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: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 + { + + newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); + + pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue2814); + lv_value_2_0=ruleLiteral(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getKeyValueRule()); + } + set( + current, + "value", + lv_value_2_0, + "Literal"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleKeyValue" + + + // $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 ; + public final String entryRuleAnnotationTargetType() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleAnnotationTargetType = null; + + + 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 + { + newCompositeNode(grammarAccess.getAnnotationTargetTypeRule()); + pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2853); + iv_ruleAnnotationTargetType=ruleAnnotationTargetType(); + + state._fsp--; + + current =iv_ruleAnnotationTargetType.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType2864); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAnnotationTargetType" + + + // $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 ; + public final AntlrDatatypeRuleToken ruleAnnotationTargetType() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_ID_0=null; + + 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 + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType2903); + + current.merge(this_ID_0); + + + newLeafNode(this_ID_0, grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall()); + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAnnotationTargetType" + + + // $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 ; + public final EObject entryRuleAnnotationAttribute() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAnnotationAttribute = null; + + + 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 + { + newCompositeNode(grammarAccess.getAnnotationAttributeRule()); + pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2947); + iv_ruleAnnotationAttribute=ruleAnnotationAttribute(); + + state._fsp--; + + current =iv_ruleAnnotationAttribute; + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute2957); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAnnotationAttribute" + + + // $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 ) ; + public final EObject ruleAnnotationAttribute() throws RecognitionException { + EObject current = null; + + EObject this_SimpleAnnotationAttribute_0 = null; + + EObject this_EnumAnnotationAttribute_1 = null; + + + 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:1288:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( (LA16_0==40) ) { + int LA16_1 = input.LA(2); + + if ( (LA16_1==42) ) { + int LA16_3 = input.LA(3); + + if ( (LA16_3==RULE_ID) ) { + int LA16_4 = input.LA(4); + + if ( (LA16_4==18) ) { + int LA16_5 = input.LA(5); + + if ( ((LA16_5>=57 && LA16_5<=60)) ) { + alt16=1; + } + else if ( (LA16_5==14) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 5, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 4, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 3, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 1, input); + + throw nvae; + } + } + else if ( (LA16_0==41) ) { + int LA16_2 = input.LA(2); + + if ( (LA16_2==42) ) { + int LA16_3 = input.LA(3); + + if ( (LA16_3==RULE_ID) ) { + int LA16_4 = input.LA(4); + + if ( (LA16_4==18) ) { + int LA16_5 = input.LA(5); + + if ( ((LA16_5>=57 && LA16_5<=60)) ) { + alt16=1; + } + else if ( (LA16_5==14) ) { + alt16=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 5, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 4, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 3, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 2, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + 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 + { + + newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); + + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute3004); + this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute(); + + state._fsp--; + + + current = this_SimpleAnnotationAttribute_0; + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); + + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute3031); + this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute(); + + state._fsp--; + + + current = this_EnumAnnotationAttribute_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAnnotationAttribute" + + + // $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 ; + public final EObject entryRuleSimpleAnnotationAttribute() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSimpleAnnotationAttribute = null; + + + 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 + { + newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule()); + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute3066); + iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute(); + + state._fsp--; + + current =iv_ruleSimpleAnnotationAttribute; + match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute3076); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSimpleAnnotationAttribute" + + + // $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 ) ) ) ; + public final EObject ruleSimpleAnnotationAttribute() throws RecognitionException { + EObject current = null; + + Token lv_optional_0_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token lv_name_3_0=null; + Token otherlv_4=null; + Enumerator lv_type_5_0 = null; + + + 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: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:1328:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==40) ) { + alt17=1; + } + else if ( (LA17_0==41) ) { + 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:1328: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: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' + { + lv_optional_0_0=(Token)match(input,40,FOLLOW_40_in_ruleSimpleAnnotationAttribute3120); + + newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule()); + } + setWithLastConsumed(current, "optional", true, "optional"); + + + } + + + } + + + } + 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' + { + otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleSimpleAnnotationAttribute3151); + + newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); + + + } + break; + + } + + otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleSimpleAnnotationAttribute3164); + + 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: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 + { + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute3181); + + newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_3_0, + "ID"); + + + } + + + } + + otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleSimpleAnnotationAttribute3198); + + 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: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 + { + + newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); + + pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute3219); + lv_type_5_0=ruleLiteralType(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getSimpleAnnotationAttributeRule()); + } + set( + current, + "type", + lv_type_5_0, + "LiteralType"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSimpleAnnotationAttribute" + + + // $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 ; + public final EObject entryRuleEnumAnnotationAttribute() throws RecognitionException { + EObject current = null; + + EObject iv_ruleEnumAnnotationAttribute = null; + + + 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 + { + newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule()); + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute3255); + iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute(); + + state._fsp--; + + current =iv_ruleEnumAnnotationAttribute; + match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute3265); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleEnumAnnotationAttribute" + + + // $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= '}' ) ; + public final EObject ruleEnumAnnotationAttribute() throws RecognitionException { + EObject current = null; + + Token lv_optional_0_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token lv_name_3_0=null; + Token otherlv_4=null; + Token otherlv_5=null; + Token lv_values_6_0=null; + Token otherlv_7=null; + Token lv_values_8_0=null; + Token otherlv_9=null; + + 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: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:1413:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==40) ) { + alt18=1; + } + else if ( (LA18_0==41) ) { + alt18=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 18, 0, input); + + throw nvae; + } + switch (alt18) { + 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: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: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' + { + lv_optional_0_0=(Token)match(input,40,FOLLOW_40_in_ruleEnumAnnotationAttribute3309); + + newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + setWithLastConsumed(current, "optional", true, "optional"); + + + } + + + } + + + } + 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' + { + otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleEnumAnnotationAttribute3340); + + newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); + + + } + break; + + } + + otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleEnumAnnotationAttribute3353); + + 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: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 + { + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute3370); + + newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_3_0, + "ID"); + + + } + + + } + + otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleEnumAnnotationAttribute3387); + + newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); + + otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleEnumAnnotationAttribute3399); + + 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: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 + { + lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3416); + + newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + addWithLastConsumed( + current, + "values", + lv_values_6_0, + "STRING"); + + + } + + + } + + // ../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: + do { + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==43) ) { + alt19=1; + } + + + switch (alt19) { + 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 ) ) + { + otherlv_7=(Token)match(input,43,FOLLOW_43_in_ruleEnumAnnotationAttribute3434); + + 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: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 + { + lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute3451); + + newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule()); + } + addWithLastConsumed( + current, + "values", + lv_values_8_0, + "STRING"); + + + } + + + } + + + } + break; + + default : + break loop19; + } + } while (true); + + otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleEnumAnnotationAttribute3470); + + newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleEnumAnnotationAttribute" + + + // $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 ; + public final EObject entryRuleDocumentation() throws RecognitionException { + EObject current = null; + + EObject iv_ruleDocumentation = null; + + + 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 + { + newCompositeNode(grammarAccess.getDocumentationRule()); + pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation3506); + iv_ruleDocumentation=ruleDocumentation(); + + state._fsp--; + + current =iv_ruleDocumentation; + match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation3516); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleDocumentation" + + + // $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= ']' ) ; + public final EObject ruleDocumentation() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token lv_lines_2_0=null; + Token otherlv_3=null; + + 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: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:1528:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1529:5: + { + + current = forceCreateModelElement( + grammarAccess.getDocumentationAccess().getDocumentationAction_0(), + current); + + + } + + otherlv_1=(Token)match(input,44,FOLLOW_44_in_ruleDocumentation3562); + + 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: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==RULE_STRING) ) { + alt20=1; + } + + + switch (alt20) { + 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: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 + { + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation3579); + + newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getDocumentationRule()); + } + addWithLastConsumed( + current, + "lines", + lv_lines_2_0, + "STRING"); + + + } + + + } + break; + + default : + break loop20; + } + } while (true); + + otherlv_3=(Token)match(input,45,FOLLOW_45_in_ruleDocumentation3597); + + newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleDocumentation" + + // $ANTLR start "entryRuleTIME" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1229: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:1568:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ; public final String entryRuleTIME() throws RecognitionException { String current = null; @@ -2930,17 +3830,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1230:2: (iv_ruleTIME= ruleTIME EOF ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1231:2: iv_ruleTIME= ruleTIME EOF + // ../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 { newCompositeNode(grammarAccess.getTIMERule()); - pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME2841); + pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME3634); iv_ruleTIME=ruleTIME(); state._fsp--; current =iv_ruleTIME.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleTIME2852); + match(input,EOF,FOLLOW_EOF_in_entryRuleTIME3645); } @@ -2958,7 +3858,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:1238: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: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' ) ) ; public final AntlrDatatypeRuleToken ruleTIME() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2971,38 +3871,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:1241: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:1242: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: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:1242: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 alt17=4; - int LA17_0 = input.LA(1); + // ../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); - if ( (LA17_0==RULE_INT) ) { + if ( (LA21_0==RULE_INT) ) { switch ( input.LA(2) ) { - case 40: + case 48: { - alt17=1; + alt21=3; } break; - case 43: + case 46: { - alt17=4; + alt21=1; } break; - case 42: + case 47: { - alt17=3; + alt21=2; } break; - case 41: + case 49: { - alt17=2; + alt21=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 17, 1, input); + new NoViableAltException("", 21, 1, input); throw nvae; } @@ -3010,25 +3910,25 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 21, 0, input); throw nvae; } - switch (alt17) { + switch (alt21) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1242: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:1242: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:1242: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: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' { - this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2893); + this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3686); current.merge(this_INT_0); newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0()); - kw=(Token)match(input,40,FOLLOW_40_in_ruleTIME2911); + kw=(Token)match(input,46,FOLLOW_46_in_ruleTIME3704); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1()); @@ -3040,19 +3940,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:1256: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:1256: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:1256: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: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' { - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2934); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3727); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0()); - kw=(Token)match(input,41,FOLLOW_41_in_ruleTIME2952); + kw=(Token)match(input,47,FOLLOW_47_in_ruleTIME3745); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1()); @@ -3064,19 +3964,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:1270: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:1270: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:1270: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: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' { - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME2975); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3768); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0()); - kw=(Token)match(input,42,FOLLOW_42_in_ruleTIME2993); + kw=(Token)match(input,48,FOLLOW_48_in_ruleTIME3786); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1()); @@ -3088,19 +3988,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:1284: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:1284: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:1284: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: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' { - this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3016); + this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3809); current.merge(this_INT_6); newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0()); - kw=(Token)match(input,43,FOLLOW_43_in_ruleTIME3034); + kw=(Token)match(input,49,FOLLOW_49_in_ruleTIME3827); current.merge(kw); newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1()); @@ -3131,8 +4031,1903 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleTIME" + // $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 ; + public final EObject entryRuleLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getLiteralRule()); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3870); + iv_ruleLiteral=ruleLiteral(); + + state._fsp--; + + current =iv_ruleLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3880); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleLiteral" + + + // $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 ) ; + public final EObject ruleLiteral() throws RecognitionException { + EObject current = null; + + EObject this_BooleanLiteral_0 = null; + + EObject this_NumberLiteral_1 = null; + + EObject this_StringLiteral_2 = null; + + + 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:1659:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + int alt22=3; + switch ( input.LA(1) ) { + case 50: + case 51: + { + alt22=1; + } + break; + case RULE_INT: + case RULE_HEX: + case 34: + case 35: + case 39: + { + alt22=2; + } + break; + case RULE_STRING: + { + alt22=3; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 22, 0, input); + + throw nvae; + } + + switch (alt22) { + 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 + { + + newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); + + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3927); + this_BooleanLiteral_0=ruleBooleanLiteral(); + + state._fsp--; + + + current = this_BooleanLiteral_0; + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); + + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3954); + this_NumberLiteral_1=ruleNumberLiteral(); + + state._fsp--; + + + current = this_NumberLiteral_1; + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); + + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3981); + this_StringLiteral_2=ruleStringLiteral(); + + state._fsp--; + + + current = this_StringLiteral_2; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleLiteral" + + + // $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 ; + public final EObject entryRuleBooleanLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleBooleanLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getBooleanLiteralRule()); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral4016); + iv_ruleBooleanLiteral=ruleBooleanLiteral(); + + state._fsp--; + + current =iv_ruleBooleanLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral4026); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleBooleanLiteral" + + + // $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' ) ) ) ) ; + public final EObject ruleBooleanLiteral() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token lv_isTrue_2_0=null; + + 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: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:1709:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1710:5: + { + + current = forceCreateModelElement( + grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(), + current); + + + } + + // ../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); + + if ( (LA23_0==50) ) { + alt23=1; + } + else if ( (LA23_0==51) ) { + alt23=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 23, 0, input); + + throw nvae; + } + switch (alt23) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1715:4: otherlv_1= 'false' + { + otherlv_1=(Token)match(input,50,FOLLOW_50_in_ruleBooleanLiteral4073); + + newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); + + + } + 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: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: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' + { + lv_isTrue_2_0=(Token)match(input,51,FOLLOW_51_in_ruleBooleanLiteral4097); + + newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getBooleanLiteralRule()); + } + setWithLastConsumed(current, "isTrue", true, "true"); + + + } + + + } + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleBooleanLiteral" + + + // $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 ; + public final EObject entryRuleNumberLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleNumberLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getNumberLiteralRule()); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral4147); + iv_ruleNumberLiteral=ruleNumberLiteral(); + + state._fsp--; + + current =iv_ruleNumberLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral4157); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleNumberLiteral" + + + // $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 ) ; + public final EObject ruleNumberLiteral() throws RecognitionException { + EObject current = null; + + EObject this_IntLiteral_0 = null; + + EObject this_RealLiteral_1 = null; + + + 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:1756:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + int alt24=2; + switch ( input.LA(1) ) { + case 34: + { + int LA24_1 = input.LA(2); + + if ( (LA24_1==39) ) { + alt24=2; + } + else if ( (LA24_1==RULE_INT) ) { + int LA24_3 = input.LA(3); + + if ( (LA24_3==39) ) { + alt24=2; + } + else if ( (LA24_3==EOF) ) { + alt24=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 3, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 1, input); + + throw nvae; + } + } + break; + case 35: + { + int LA24_2 = input.LA(2); + + if ( (LA24_2==RULE_INT) ) { + int LA24_3 = input.LA(3); + + if ( (LA24_3==39) ) { + alt24=2; + } + else if ( (LA24_3==EOF) ) { + alt24=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 3, input); + + throw nvae; + } + } + else if ( (LA24_2==39) ) { + alt24=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 2, input); + + throw nvae; + } + } + break; + case RULE_INT: + { + int LA24_3 = input.LA(2); + + if ( (LA24_3==39) ) { + alt24=2; + } + else if ( (LA24_3==EOF) ) { + alt24=1; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 24, 3, input); + + throw nvae; + } + } + break; + case RULE_HEX: + { + alt24=1; + } + break; + case 39: + { + alt24=2; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 24, 0, input); + + throw nvae; + } + + switch (alt24) { + 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 + { + + newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); + + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral4204); + this_IntLiteral_0=ruleIntLiteral(); + + state._fsp--; + + + current = this_IntLiteral_0; + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); + + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral4231); + this_RealLiteral_1=ruleRealLiteral(); + + state._fsp--; + + + current = this_RealLiteral_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleNumberLiteral" + + + // $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 ; + public final EObject entryRuleRealLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRealLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getRealLiteralRule()); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral4266); + iv_ruleRealLiteral=ruleRealLiteral(); + + state._fsp--; + + current =iv_ruleRealLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral4276); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRealLiteral" + + + // $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 ) ) ) ; + public final EObject ruleRealLiteral() throws RecognitionException { + EObject current = null; + + AntlrDatatypeRuleToken lv_value_1_0 = null; + + + 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: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:1796:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1797:5: + { + + current = forceCreateModelElement( + grammarAccess.getRealLiteralAccess().getRealLiteralAction_0(), + current); + + + } + + // ../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: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 + { + + newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral4331); + lv_value_1_0=ruleReal(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getRealLiteralRule()); + } + set( + current, + "value", + lv_value_1_0, + "Real"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRealLiteral" + + + // $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 ; + public final EObject entryRuleIntLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getIntLiteralRule()); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4367); + iv_ruleIntLiteral=ruleIntLiteral(); + + state._fsp--; + + current =iv_ruleIntLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4377); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntLiteral" + + + // $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 ) ) ) ; + public final EObject ruleIntLiteral() throws RecognitionException { + EObject current = null; + + AntlrDatatypeRuleToken lv_value_1_0 = null; + + + 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: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:1841:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1842:5: + { + + current = forceCreateModelElement( + grammarAccess.getIntLiteralAccess().getIntLiteralAction_0(), + current); + + + } + + // ../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: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 + { + + newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); + + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4432); + lv_value_1_0=ruleInteger(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getIntLiteralRule()); + } + set( + current, + "value", + lv_value_1_0, + "Integer"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntLiteral" + + + // $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 ; + public final EObject entryRuleStringLiteral() throws RecognitionException { + EObject current = null; + + EObject iv_ruleStringLiteral = null; + + + 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 + { + newCompositeNode(grammarAccess.getStringLiteralRule()); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4468); + iv_ruleStringLiteral=ruleStringLiteral(); + + state._fsp--; + + current =iv_ruleStringLiteral; + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4478); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleStringLiteral" + + + // $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 ) ) ) ; + public final EObject ruleStringLiteral() throws RecognitionException { + EObject current = null; + + Token lv_value_1_0=null; + + 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: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:1886:2: () + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1887:5: + { + + current = forceCreateModelElement( + grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(), + current); + + + } + + // ../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: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 + { + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4529); + + newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getStringLiteralRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_1_0, + "STRING"); + + + } + + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleStringLiteral" + + + // $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 ; + public final String entryRuleInteger() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleInteger = null; + + + 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 + { + newCompositeNode(grammarAccess.getIntegerRule()); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4571); + iv_ruleInteger=ruleInteger(); + + state._fsp--; + + current =iv_ruleInteger.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4582); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInteger" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + AntlrDatatypeRuleToken this_SignedInteger_0 = null; + + AntlrDatatypeRuleToken this_Hexadecimal_1 = null; + + + 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:1931:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==RULE_INT||(LA25_0>=34 && LA25_0<=35)) ) { + alt25=1; + } + else if ( (LA25_0==RULE_HEX) ) { + alt25=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + switch (alt25) { + 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 + { + + newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); + + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4629); + this_SignedInteger_0=ruleSignedInteger(); + + state._fsp--; + + + current.merge(this_SignedInteger_0); + + + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); + + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4662); + this_Hexadecimal_1=ruleHexadecimal(); + + state._fsp--; + + + current.merge(this_Hexadecimal_1); + + + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInteger" + + + // $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 ; + public final String entryRuleSignedInteger() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleSignedInteger = null; + + + + 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 + { + newCompositeNode(grammarAccess.getSignedIntegerRule()); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4714); + iv_ruleSignedInteger=ruleSignedInteger(); + + state._fsp--; + + current =iv_ruleSignedInteger.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4725); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleSignedInteger" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_2=null; + + enterRule(); + 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: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:1982:2: (kw= '+' | kw= '-' )? + int alt26=3; + int LA26_0 = input.LA(1); + + if ( (LA26_0==34) ) { + alt26=1; + } + else if ( (LA26_0==35) ) { + alt26=2; + } + switch (alt26) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1983:2: kw= '+' + { + kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger4768); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1990:2: kw= '-' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger4787); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); + + + } + break; + + } + + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4804); + + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getSignedIntegerAccess().getINTTerminalRuleCall_1()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleSignedInteger" + + + // $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 ; + public final String entryRuleHexadecimal() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleHexadecimal = null; + + + + 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 + { + newCompositeNode(grammarAccess.getHexadecimalRule()); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4860); + iv_ruleHexadecimal=ruleHexadecimal(); + + state._fsp--; + + current =iv_ruleHexadecimal.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4871); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleHexadecimal" + + + // $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 ; + public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token this_HEX_0=null; + + enterRule(); + 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 + { + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4914); + + current.merge(this_HEX_0); + + + newLeafNode(this_HEX_0, grammarAccess.getHexadecimalAccess().getHEXTerminalRuleCall()); + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleHexadecimal" + + + // $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 ; + public final String entryRuleReal() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleReal = null; + + + 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 + { + newCompositeNode(grammarAccess.getRealRule()); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal4963); + iv_ruleReal=ruleReal(); + + state._fsp--; + + current =iv_ruleReal.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal4974); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleReal" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + AntlrDatatypeRuleToken this_Decimal_0 = null; + + AntlrDatatypeRuleToken this_DotDecimal_1 = null; + + AntlrDatatypeRuleToken this_DecimalDot_2 = null; + + AntlrDatatypeRuleToken this_DecimalExp_3 = null; + + + 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: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) { + 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 + { + + newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); + + pushFollow(FOLLOW_ruleDecimal_in_ruleReal5021); + this_Decimal_0=ruleDecimal(); + + state._fsp--; + + + current.merge(this_Decimal_0); + + + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); + + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal5054); + this_DotDecimal_1=ruleDotDecimal(); + + state._fsp--; + + + current.merge(this_DotDecimal_1); + + + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); + + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal5087); + this_DecimalDot_2=ruleDecimalDot(); + + state._fsp--; + + + current.merge(this_DecimalDot_2); + + + afterParserOrEnumRuleCall(); + + + } + 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 + { + + newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); + + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal5120); + this_DecimalExp_3=ruleDecimalExp(); + + state._fsp--; + + + current.merge(this_DecimalExp_3); + + + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleReal" + + + // $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 ; + public final String entryRuleDecimal() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleDecimal = null; + + + + 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 + { + newCompositeNode(grammarAccess.getDecimalRule()); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal5172); + iv_ruleDecimal=ruleDecimal(); + + state._fsp--; + + current =iv_ruleDecimal.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal5183); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleDecimal" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleDecimal() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_2=null; + Token this_INT_4=null; + + enterRule(); + 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: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:2139:2: (kw= '+' | kw= '-' )? + int alt28=3; + int LA28_0 = input.LA(1); + + if ( (LA28_0==34) ) { + alt28=1; + } + else if ( (LA28_0==35) ) { + alt28=2; + } + switch (alt28) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2140:2: kw= '+' + { + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal5226); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2147:2: kw= '-' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal5245); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); + + + } + break; + + } + + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5262); + + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); + + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimal5280); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); + + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal5295); + + current.merge(this_INT_4); + + + newLeafNode(this_INT_4, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleDecimal" + + + // $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 ; + public final String entryRuleDotDecimal() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleDotDecimal = null; + + + + 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 + { + newCompositeNode(grammarAccess.getDotDecimalRule()); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal5351); + iv_ruleDotDecimal=ruleDotDecimal(); + + state._fsp--; + + current =iv_ruleDotDecimal.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal5362); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleDotDecimal" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_3=null; + + enterRule(); + 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: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:2203:2: (kw= '+' | kw= '-' )? + int alt29=3; + int LA29_0 = input.LA(1); + + if ( (LA29_0==34) ) { + alt29=1; + } + else if ( (LA29_0==35) ) { + alt29=2; + } + switch (alt29) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2204:2: kw= '+' + { + kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal5405); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2211:2: kw= '-' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal5424); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); + + + } + break; + + } + + kw=(Token)match(input,39,FOLLOW_39_in_ruleDotDecimal5439); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); + + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5454); + + current.merge(this_INT_3); + + + newLeafNode(this_INT_3, grammarAccess.getDotDecimalAccess().getINTTerminalRuleCall_2()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleDotDecimal" + + + // $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 ; + public final String entryRuleDecimalDot() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleDecimalDot = null; + + + + 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 + { + newCompositeNode(grammarAccess.getDecimalDotRule()); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5510); + iv_ruleDecimalDot=ruleDecimalDot(); + + state._fsp--; + + current =iv_ruleDecimalDot.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5521); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleDecimalDot" + + + // $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= '.' ) ; + public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_2=null; + + enterRule(); + 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: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:2260:2: (kw= '+' | kw= '-' )? + int alt30=3; + int LA30_0 = input.LA(1); + + if ( (LA30_0==34) ) { + alt30=1; + } + else if ( (LA30_0==35) ) { + alt30=2; + } + switch (alt30) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2261:2: kw= '+' + { + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot5564); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2268:2: kw= '-' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot5583); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); + + + } + break; + + } + + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5600); + + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); + + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalDot5618); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleDecimalDot" + + + // $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 ; + public final String entryRuleDecimalExp() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleDecimalExp = null; + + + + 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 + { + newCompositeNode(grammarAccess.getDecimalExpRule()); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5669); + iv_ruleDecimalExp=ruleDecimalExp(); + + state._fsp--; + + current =iv_ruleDecimalExp.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5680); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "entryRuleDecimalExp" + + + // $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 ) ; + public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + Token this_INT_2=null; + Token this_INT_4=null; + Token this_EXP_5=null; + + enterRule(); + 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: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:2317:2: (kw= '+' | kw= '-' )? + int alt31=3; + int LA31_0 = input.LA(1); + + if ( (LA31_0==34) ) { + alt31=1; + } + else if ( (LA31_0==35) ) { + alt31=2; + } + switch (alt31) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2318:2: kw= '+' + { + kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp5723); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2325:2: kw= '-' + { + kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp5742); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); + + + } + break; + + } + + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5759); + + current.merge(this_INT_2); + + + newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); + + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalExp5777); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); + + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5792); + + 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); + + current.merge(this_EXP_5); + + + newLeafNode(this_EXP_5, grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + + myHiddenTokenState.restore(); + + } + return current; + } + // $ANTLR end "ruleDecimalExp" + + // $ANTLR start "ruleExecMode" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1305:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ; + // ../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 { Enumerator current = null; @@ -3142,42 +5937,42 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1307:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1308:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2370:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2371:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1308:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) - int alt18=3; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2371:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) + int alt32=3; switch ( input.LA(1) ) { - case 44: + case 52: { - alt18=1; + alt32=1; } break; - case 45: + case 53: { - alt18=2; + alt32=2; } break; - case 46: + case 54: { - alt18=3; + alt32=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 18, 0, input); + new NoViableAltException("", 32, 0, input); throw nvae; } - switch (alt18) { + switch (alt32) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1308:2: (enumLiteral_0= 'polled' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2371:2: (enumLiteral_0= 'polled' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1308:2: (enumLiteral_0= 'polled' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1308:4: enumLiteral_0= 'polled' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2371:2: (enumLiteral_0= 'polled' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2371:4: enumLiteral_0= 'polled' { - enumLiteral_0=(Token)match(input,44,FOLLOW_44_in_ruleExecMode3089); + enumLiteral_0=(Token)match(input,52,FOLLOW_52_in_ruleExecMode5875); current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0()); @@ -3189,12 +5984,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:1314:6: (enumLiteral_1= 'blocked' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2377:6: (enumLiteral_1= 'blocked' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1314:6: (enumLiteral_1= 'blocked' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1314:8: enumLiteral_1= 'blocked' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2377:6: (enumLiteral_1= 'blocked' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2377:8: enumLiteral_1= 'blocked' { - enumLiteral_1=(Token)match(input,45,FOLLOW_45_in_ruleExecMode3106); + enumLiteral_1=(Token)match(input,53,FOLLOW_53_in_ruleExecMode5892); current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1()); @@ -3206,12 +6001,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:1320:6: (enumLiteral_2= 'mixed' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2383:6: (enumLiteral_2= 'mixed' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1320:6: (enumLiteral_2= 'mixed' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1320:8: enumLiteral_2= 'mixed' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2383:6: (enumLiteral_2= 'mixed' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2383:8: enumLiteral_2= 'mixed' { - enumLiteral_2=(Token)match(input,46,FOLLOW_46_in_ruleExecMode3123); + enumLiteral_2=(Token)match(input,54,FOLLOW_54_in_ruleExecMode5909); current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2()); @@ -3243,7 +6038,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleThreadModel" - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1330:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ; + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2393:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ; public final Enumerator ruleThreadModel() throws RecognitionException { Enumerator current = null; @@ -3252,33 +6047,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:1332:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2395:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2396:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) - int alt19=2; - int LA19_0 = input.LA(1); + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2396:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) + int alt33=2; + int LA33_0 = input.LA(1); - if ( (LA19_0==47) ) { - alt19=1; + if ( (LA33_0==55) ) { + alt33=1; } - else if ( (LA19_0==48) ) { - alt19=2; + else if ( (LA33_0==56) ) { + alt33=2; } else { NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); + new NoViableAltException("", 33, 0, input); throw nvae; } - switch (alt19) { + switch (alt33) { case 1 : - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:2: (enumLiteral_0= 'singleThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2396:2: (enumLiteral_0= 'singleThreaded' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:2: (enumLiteral_0= 'singleThreaded' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:4: enumLiteral_0= 'singleThreaded' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2396:2: (enumLiteral_0= 'singleThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2396:4: enumLiteral_0= 'singleThreaded' { - enumLiteral_0=(Token)match(input,47,FOLLOW_47_in_ruleThreadModel3168); + enumLiteral_0=(Token)match(input,55,FOLLOW_55_in_ruleThreadModel5954); current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0()); @@ -3290,12 +6085,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:1339:6: (enumLiteral_1= 'multiThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2402:6: (enumLiteral_1= 'multiThreaded' ) { - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1339:6: (enumLiteral_1= 'multiThreaded' ) - // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1339:8: enumLiteral_1= 'multiThreaded' + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2402:6: (enumLiteral_1= 'multiThreaded' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2402:8: enumLiteral_1= 'multiThreaded' { - enumLiteral_1=(Token)match(input,48,FOLLOW_48_in_ruleThreadModel3185); + enumLiteral_1=(Token)match(input,56,FOLLOW_56_in_ruleThreadModel5971); current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1()); @@ -3325,128 +6120,424 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser { } // $ANTLR end "ruleThreadModel" + + // $ANTLR start "ruleLiteralType" + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2412:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; + public final Enumerator ruleLiteralType() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + Token enumLiteral_3=null; + + enterRule(); + try { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2414:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2415:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2415:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + int alt34=4; + switch ( input.LA(1) ) { + case 57: + { + alt34=1; + } + break; + case 58: + { + alt34=2; + } + break; + case 59: + { + alt34=3; + } + break; + case 60: + { + alt34=4; + } + break; + default: + NoViableAltException nvae = + new NoViableAltException("", 34, 0, input); + + throw nvae; + } + + switch (alt34) { + case 1 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2415:2: (enumLiteral_0= 'ptBoolean' ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2415:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2415:4: enumLiteral_0= 'ptBoolean' + { + enumLiteral_0=(Token)match(input,57,FOLLOW_57_in_ruleLiteralType6016); + + current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); + + + } + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2421:6: (enumLiteral_1= 'ptInteger' ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2421:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2421:8: enumLiteral_1= 'ptInteger' + { + enumLiteral_1=(Token)match(input,58,FOLLOW_58_in_ruleLiteralType6033); + + current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); + + + } + + + } + break; + case 3 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2427:6: (enumLiteral_2= 'ptReal' ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2427:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2427:8: enumLiteral_2= 'ptReal' + { + enumLiteral_2=(Token)match(input,59,FOLLOW_59_in_ruleLiteralType6050); + + current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); + + + } + + + } + break; + case 4 : + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2433:6: (enumLiteral_3= 'ptCharacter' ) + { + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2433:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2433:8: enumLiteral_3= 'ptCharacter' + { + enumLiteral_3=(Token)match(input,60,FOLLOW_60_in_ruleLiteralType6067); + + current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); + + + } + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleLiteralType" + // Delegated rules + protected DFA27 dfa27 = new DFA27(this); + static final String DFA27_eotS = + "\12\uffff"; + static final String DFA27_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 = + "\4\uffff\1\2\2\uffff\1\3\1\4\1\1"; + static final String DFA27_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", + "\1\5", + "", + "\1\6", + "\1\10", + "", + "", + "" + }; + + 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 { + int numStates = DFA27_transitionS.length; + DFA27_transition = new short[numStates][]; + for (int i=0; i<numStates; i++) { + DFA27_transition[i] = DFA.unpackEncodedString(DFA27_transitionS[i]); + } + } + + class DFA27 extends DFA { + + public DFA27(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; + } + public String getDescription() { + return "2064:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + } + } public static final BitSet FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePhysicalModel85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_11_in_rulePhysicalModel122 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_rulePhysicalModel143 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_rulePhysicalModel155 = new BitSet(new long[]{0x0000001040026000L}); - public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x0000001040026000L}); - public static final BitSet FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199 = new BitSet(new long[]{0x0000000040026000L}); - public static final BitSet FOLLOW_ruleNodeClass_in_rulePhysicalModel226 = new BitSet(new long[]{0x0000000040026000L}); - public static final BitSet FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253 = new BitSet(new long[]{0x0000000040026000L}); - public static final BitSet FOLLOW_13_in_rulePhysicalModel267 = 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_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}); + public static final BitSet FOLLOW_15_in_rulePhysicalModel267 = new BitSet(new long[]{0x0000000000000002L}); 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_14_in_rulePhysicalSystem350 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000000100001000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_rulePhysicalSystem393 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_rulePhysicalSystem406 = new BitSet(new long[]{0x000000000000A000L}); - public static final BitSet FOLLOW_ruleNodeRef_in_rulePhysicalSystem427 = new BitSet(new long[]{0x000000000000A000L}); - public static final BitSet FOLLOW_13_in_rulePhysicalSystem440 = 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_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}); + public static final BitSet FOLLOW_15_in_rulePhysicalSystem440 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleNodeRef_in_entryRuleNodeRef476 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleNodeRef486 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_ruleNodeRef523 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleNodeRef540 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleNodeRef557 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000000100000002L}); + 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_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_17_in_ruleNodeClass685 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000000100001000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeClass728 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleNodeClass741 = new BitSet(new long[]{0x0000000000340000L}); - public static final BitSet FOLLOW_18_in_ruleNodeClass799 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleNodeClass811 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleNodeClass834 = new BitSet(new long[]{0x0000000000F42000L}); - public static final BitSet FOLLOW_20_in_ruleNodeClass902 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleNodeClass914 = new BitSet(new long[]{0x0000000C00000020L}); - public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass935 = new BitSet(new long[]{0x0000000000F42000L}); - public static final BitSet FOLLOW_21_in_ruleNodeClass1003 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleNodeClass1015 = new BitSet(new long[]{0x0000000C00000020L}); - public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass1036 = new BitSet(new long[]{0x0000000000F42000L}); - public static final BitSet FOLLOW_rulePhysicalThread_in_ruleNodeClass1104 = new BitSet(new long[]{0x0000000000C02000L}); - public static final BitSet FOLLOW_13_in_ruleNodeClass1117 = 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_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}); + public static final BitSet FOLLOW_21_in_ruleNodeClass811 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleNodeClass834 = new BitSet(new long[]{0x0000000003D08000L}); + public static final BitSet FOLLOW_22_in_ruleNodeClass902 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_ruleNodeClass914 = new BitSet(new long[]{0x0000000C00000020L}); + public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass935 = new BitSet(new long[]{0x0000000003D08000L}); + public static final BitSet FOLLOW_23_in_ruleNodeClass1003 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_ruleNodeClass1015 = new BitSet(new long[]{0x0000000C00000020L}); + public static final BitSet FOLLOW_rulePRIO_in_ruleNodeClass1036 = new BitSet(new long[]{0x0000000003D08000L}); + public static final BitSet FOLLOW_rulePhysicalThread_in_ruleNodeClass1104 = new BitSet(new long[]{0x0000000003008000L}); + public static final BitSet FOLLOW_15_in_ruleNodeClass1117 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread1153 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRulePhysicalThread1163 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_22_in_rulePhysicalThread1207 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_23_in_rulePhysicalThread1238 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalThread1256 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_rulePhysicalThread1273 = new BitSet(new long[]{0x000000003F000000L}); - public static final BitSet FOLLOW_24_in_rulePhysicalThread1331 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1343 = new BitSet(new long[]{0x0000700000000000L}); - public static final BitSet FOLLOW_ruleExecMode_in_rulePhysicalThread1364 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_25_in_rulePhysicalThread1432 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1444 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_ruleTIME_in_rulePhysicalThread1465 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_26_in_rulePhysicalThread1533 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1545 = new BitSet(new long[]{0x0000000C00000020L}); - public static final BitSet FOLLOW_rulePRIO_in_rulePhysicalThread1566 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_27_in_rulePhysicalThread1634 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1646 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1663 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_28_in_rulePhysicalThread1736 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1748 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1765 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_29_in_rulePhysicalThread1838 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_rulePhysicalThread1850 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1867 = new BitSet(new long[]{0x000000003F002000L}); - public static final BitSet FOLLOW_13_in_rulePhysicalThread1931 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_24_in_rulePhysicalThread1207 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_25_in_rulePhysicalThread1238 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalThread1256 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_rulePhysicalThread1273 = new BitSet(new long[]{0x00000000FC000000L}); + public static final BitSet FOLLOW_26_in_rulePhysicalThread1331 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1343 = new BitSet(new long[]{0x0070000000000000L}); + public static final BitSet FOLLOW_ruleExecMode_in_rulePhysicalThread1364 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_27_in_rulePhysicalThread1432 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1444 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_ruleTIME_in_rulePhysicalThread1465 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_28_in_rulePhysicalThread1533 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1545 = new BitSet(new long[]{0x0000000C00000020L}); + public static final BitSet FOLLOW_rulePRIO_in_rulePhysicalThread1566 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_29_in_rulePhysicalThread1634 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1646 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1663 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_30_in_rulePhysicalThread1736 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1748 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1765 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_31_in_rulePhysicalThread1838 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_21_in_rulePhysicalThread1850 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1867 = new BitSet(new long[]{0x00000000FC008000L}); + public static final BitSet FOLLOW_15_in_rulePhysicalThread1931 = new BitSet(new long[]{0x0000000000000002L}); 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_30_in_ruleRuntimeClass2014 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass2031 = new BitSet(new long[]{0x0000000100001000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleRuntimeClass2057 = new BitSet(new long[]{0x0000000000001000L}); - public static final BitSet FOLLOW_12_in_ruleRuntimeClass2070 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleRuntimeClass2082 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleRuntimeClass2094 = new BitSet(new long[]{0x0001800000000000L}); - public static final BitSet FOLLOW_ruleThreadModel_in_ruleRuntimeClass2115 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleRuntimeClass2127 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation2163 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation2173 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_32_in_ruleDocumentation2210 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation2227 = new BitSet(new long[]{0x0000000200000040L}); - public static final BitSet FOLLOW_33_in_ruleDocumentation2245 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePRIO_in_entryRulePRIO2288 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePRIO2299 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_rulePRIO2342 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_35_in_rulePRIO2361 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_INT_in_rulePRIO2378 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2427 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImport2437 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_36_in_ruleImport2474 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2497 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_37_in_ruleImport2509 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_31_in_ruleImport2528 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2546 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2588 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2599 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2646 = new BitSet(new long[]{0x0000004000000002L}); - public static final BitSet FOLLOW_38_in_ruleImportedFQN2665 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2708 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN2719 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2759 = new BitSet(new long[]{0x0000008000000002L}); - public static final BitSet FOLLOW_39_in_ruleFQN2778 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2793 = new BitSet(new long[]{0x0000008000000002L}); - public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME2841 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTIME2852 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2893 = new BitSet(new long[]{0x0000010000000000L}); - public static final BitSet FOLLOW_40_in_ruleTIME2911 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2934 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_41_in_ruleTIME2952 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME2975 = new BitSet(new long[]{0x0000040000000000L}); - public static final BitSet FOLLOW_42_in_ruleTIME2993 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3016 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_43_in_ruleTIME3034 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleExecMode3089 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_45_in_ruleExecMode3106 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_46_in_ruleExecMode3123 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_47_in_ruleThreadModel3168 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_48_in_ruleThreadModel3185 = 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_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}); + public static final BitSet FOLLOW_21_in_ruleRuntimeClass2094 = new BitSet(new long[]{0x0180000000000000L}); + public static final BitSet FOLLOW_ruleThreadModel_in_ruleRuntimeClass2115 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_in_ruleRuntimeClass2127 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_rulePRIO_in_entryRulePRIO2170 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRulePRIO2181 = new BitSet(new long[]{0x0000000000000002L}); + 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_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}); + public static final BitSet FOLLOW_55_in_ruleThreadModel5954 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_56_in_ruleThreadModel5971 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_57_in_ruleLiteralType6016 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_58_in_ruleLiteralType6033 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_59_in_ruleLiteralType6050 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleLiteralType6067 = 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 f13373455..cfd133359 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 @@ -3,7 +3,19 @@ package org.eclipse.etrice.core.etphys.serializer; import com.google.inject.Inject; import com.google.inject.Provider; import org.eclipse.emf.ecore.EObject; -import org.eclipse.etrice.core.etphys.eTPhys.Documentation; +import org.eclipse.etrice.core.common.base.Annotation; +import org.eclipse.etrice.core.common.base.AnnotationType; +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.IntLiteral; +import org.eclipse.etrice.core.common.base.KeyValue; +import org.eclipse.etrice.core.common.base.LiteralArray; +import org.eclipse.etrice.core.common.base.RealLiteral; +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; @@ -16,25 +28,94 @@ import org.eclipse.etrice.core.etphys.services.ETPhysGrammarAccess; import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; -import org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer; import org.eclipse.xtext.serializer.sequencer.GenericSequencer; import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; import org.eclipse.xtext.serializer.sequencer.ITransientValueService; @SuppressWarnings("all") -public class ETPhysSemanticSequencer extends AbstractDelegatingSemanticSequencer { +public class ETPhysSemanticSequencer extends BaseSemanticSequencer { @Inject private ETPhysGrammarAccess grammarAccess; public void createSequence(EObject context, EObject semanticObject) { - if(semanticObject.eClass().getEPackage() == ETPhysPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { - case ETPhysPackage.DOCUMENTATION: + if(semanticObject.eClass().getEPackage() == BasePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + case BasePackage.ANNOTATION: + if(context == grammarAccess.getAnnotationRule()) { + sequence_Annotation(context, (Annotation) semanticObject); + return; + } + else break; + case BasePackage.ANNOTATION_TYPE: + if(context == grammarAccess.getAnnotationTypeRule()) { + sequence_AnnotationType(context, (AnnotationType) semanticObject); + return; + } + else break; + case BasePackage.BOOLEAN_LITERAL: + if(context == grammarAccess.getBooleanLiteralRule() || + context == grammarAccess.getLiteralRule()) { + sequence_BooleanLiteral(context, (BooleanLiteral) semanticObject); + return; + } + else break; + case BasePackage.DOCUMENTATION: if(context == grammarAccess.getDocumentationRule()) { sequence_Documentation(context, (Documentation) semanticObject); return; } else break; + case BasePackage.ENUM_ANNOTATION_ATTRIBUTE: + if(context == grammarAccess.getAnnotationAttributeRule() || + context == grammarAccess.getEnumAnnotationAttributeRule()) { + sequence_EnumAnnotationAttribute(context, (EnumAnnotationAttribute) semanticObject); + return; + } + else break; + case BasePackage.INT_LITERAL: + if(context == grammarAccess.getIntLiteralRule() || + context == grammarAccess.getLiteralRule() || + context == grammarAccess.getNumberLiteralRule()) { + sequence_IntLiteral(context, (IntLiteral) semanticObject); + return; + } + else break; + case BasePackage.KEY_VALUE: + if(context == grammarAccess.getKeyValueRule()) { + sequence_KeyValue(context, (KeyValue) semanticObject); + return; + } + else break; + case BasePackage.LITERAL_ARRAY: + if(context == grammarAccess.getLiteralArrayRule()) { + sequence_LiteralArray(context, (LiteralArray) semanticObject); + return; + } + else break; + case BasePackage.REAL_LITERAL: + if(context == grammarAccess.getLiteralRule() || + context == grammarAccess.getNumberLiteralRule() || + context == grammarAccess.getRealLiteralRule()) { + sequence_RealLiteral(context, (RealLiteral) semanticObject); + return; + } + else break; + case BasePackage.SIMPLE_ANNOTATION_ATTRIBUTE: + if(context == grammarAccess.getAnnotationAttributeRule() || + context == grammarAccess.getSimpleAnnotationAttributeRule()) { + sequence_SimpleAnnotationAttribute(context, (SimpleAnnotationAttribute) semanticObject); + return; + } + else break; + case BasePackage.STRING_LITERAL: + if(context == grammarAccess.getLiteralRule() || + context == grammarAccess.getStringLiteralRule()) { + sequence_StringLiteral(context, (StringLiteral) semanticObject); + return; + } + 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); @@ -83,15 +164,6 @@ public class ETPhysSemanticSequencer extends AbstractDelegatingSemanticSequencer /** * Constraint: - * text+=STRING+ - */ - protected void sequence_Documentation(EObject context, Documentation semanticObject) { - genericSequencer.createSequence(context, semanticObject); - } - - - /** - * Constraint: * (importedNamespace=ImportedFQN? importURI=STRING) */ protected void sequence_Import(EObject context, Import semanticObject) { 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 0303b0e9f..0d7ec3ebf 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 @@ -12,7 +12,7 @@ import org.eclipse.xtext.*; import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.service.AbstractElementFinder.*; -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; +import org.eclipse.etrice.core.common.services.BaseGrammarAccess; @Singleton public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { @@ -531,34 +531,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } - public class DocumentationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Documentation"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cTextAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cTextSTRINGTerminalRuleCall_1_0 = (RuleCall)cTextAssignment_1.eContents().get(0); - private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //Documentation: - // "[" text+=STRING+ "]"; - public ParserRule getRule() { return rule; } - - //"[" text+=STRING+ "]" - public Group getGroup() { return cGroup; } - - //"[" - public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } - - //text+=STRING+ - public Assignment getTextAssignment_1() { return cTextAssignment_1; } - - //STRING - public RuleCall getTextSTRINGTerminalRuleCall_1_0() { return cTextSTRINGTerminalRuleCall_1_0; } - - //"]" - public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; } - } - public class PRIOElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PRIO"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -682,66 +654,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } } - - public class TIMEElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TIME"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); - private final RuleCall cINTTerminalRuleCall_0_0 = (RuleCall)cGroup_0.eContents().get(0); - private final Keyword cSKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); - private final Group cGroup_1 = (Group)cAlternatives.eContents().get(1); - private final RuleCall cINTTerminalRuleCall_1_0 = (RuleCall)cGroup_1.eContents().get(0); - private final Keyword cMsKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1); - private final Group cGroup_2 = (Group)cAlternatives.eContents().get(2); - private final RuleCall cINTTerminalRuleCall_2_0 = (RuleCall)cGroup_2.eContents().get(0); - private final Keyword cUsKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); - private final Group cGroup_3 = (Group)cAlternatives.eContents().get(3); - private final RuleCall cINTTerminalRuleCall_3_0 = (RuleCall)cGroup_3.eContents().get(0); - private final Keyword cNsKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); - - //TIME returns ecore::ELong: - // INT "s" | INT "ms" | INT "us" | INT "ns"; - public ParserRule getRule() { return rule; } - - //INT "s" | INT "ms" | INT "us" | INT "ns" - public Alternatives getAlternatives() { return cAlternatives; } - - //INT "s" - public Group getGroup_0() { return cGroup_0; } - - //INT - public RuleCall getINTTerminalRuleCall_0_0() { return cINTTerminalRuleCall_0_0; } - - //"s" - public Keyword getSKeyword_0_1() { return cSKeyword_0_1; } - - //INT "ms" - public Group getGroup_1() { return cGroup_1; } - - //INT - public RuleCall getINTTerminalRuleCall_1_0() { return cINTTerminalRuleCall_1_0; } - - //"ms" - public Keyword getMsKeyword_1_1() { return cMsKeyword_1_1; } - - //INT "us" - public Group getGroup_2() { return cGroup_2; } - - //INT - public RuleCall getINTTerminalRuleCall_2_0() { return cINTTerminalRuleCall_2_0; } - - //"us" - public Keyword getUsKeyword_2_1() { return cUsKeyword_2_1; } - - //INT "ns" - public Group getGroup_3() { return cGroup_3; } - - //INT - public RuleCall getINTTerminalRuleCall_3_0() { return cINTTerminalRuleCall_3_0; } - - //"ns" - public Keyword getNsKeyword_3_1() { return cNsKeyword_3_1; } - } public class ExecModeElements extends AbstractEnumRuleElementFinder { @@ -816,22 +728,20 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { private ExecModeElements unknownRuleExecMode; private RuntimeClassElements pRuntimeClass; private ThreadModelElements unknownRuleThreadModel; - private DocumentationElements pDocumentation; private PRIOElements pPRIO; private ImportElements pImport; private ImportedFQNElements pImportedFQN; private FQNElements pFQN; - private TIMEElements pTIME; private final Grammar grammar; - private TerminalsGrammarAccess gaTerminals; + private BaseGrammarAccess gaBase; @Inject public ETPhysGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { + BaseGrammarAccess gaBase) { this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; + this.gaBase = gaBase; } protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { @@ -856,8 +766,8 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { } - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; + public BaseGrammarAccess getBaseGrammarAccess() { + return gaBase; } @@ -945,16 +855,6 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { return getThreadModelAccess().getRule(); } - //Documentation: - // "[" text+=STRING+ "]"; - public DocumentationElements getDocumentationAccess() { - return (pDocumentation != null) ? pDocumentation : (pDocumentation = new DocumentationElements()); - } - - public ParserRule getDocumentationRule() { - return getDocumentationAccess().getRule(); - } - //PRIO returns ecore::EInt hidden(): // ("+" | "-")? INT; public PRIOElements getPRIOAccess() { @@ -995,56 +895,326 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder { return getFQNAccess().getRule(); } + //// ************************************************************** + //// AnnotationType and Annotation Rules + //Annotation: + // "@" type=[AnnotationType|FQN] ("(" attributes+=KeyValue ("," attributes+=KeyValue)* ")")?; + public BaseGrammarAccess.AnnotationElements getAnnotationAccess() { + return gaBase.getAnnotationAccess(); + } + + public ParserRule getAnnotationRule() { + return getAnnotationAccess().getRule(); + } + + //KeyValue: + // key=ID "=" value=Literal; + public BaseGrammarAccess.KeyValueElements getKeyValueAccess() { + return gaBase.getKeyValueAccess(); + } + + public ParserRule getKeyValueRule() { + return getKeyValueAccess().getRule(); + } + + //AnnotationType: + // "AnnotationType" name=ID docu=Documentation? "{" "target" "=" (targets+=AnnotationTargetType | "{" + // targets+=AnnotationTargetType ("," targets+=AnnotationTargetType)* "}") attributes+=AnnotationAttribute* "}"; + public BaseGrammarAccess.AnnotationTypeElements getAnnotationTypeAccess() { + return gaBase.getAnnotationTypeAccess(); + } + + public ParserRule getAnnotationTypeRule() { + return getAnnotationTypeAccess().getRule(); + } + + //// + //// Sub-grammars should use AnnotationTargetType to refer to + //// specific sub-grammar targets. For example, valid values for + //// AnnotationTargetType in the Room.xtext sub-grammar include "ActorClass", + //// "ActorBehavior", "ProtocolClass", etc. The sub-grammar is responsible for + //// implementing validation, quick-fixes, and code completion proposals via the + //// usual Xtext mechanisms. + //// + //AnnotationTargetType: + // ID; + public BaseGrammarAccess.AnnotationTargetTypeElements getAnnotationTargetTypeAccess() { + return gaBase.getAnnotationTargetTypeAccess(); + } + + public ParserRule getAnnotationTargetTypeRule() { + return getAnnotationTargetTypeAccess().getRule(); + } + + //AnnotationAttribute: + // SimpleAnnotationAttribute | EnumAnnotationAttribute; + public BaseGrammarAccess.AnnotationAttributeElements getAnnotationAttributeAccess() { + return gaBase.getAnnotationAttributeAccess(); + } + + public ParserRule getAnnotationAttributeRule() { + return getAnnotationAttributeAccess().getRule(); + } + + //SimpleAnnotationAttribute: + // (optional?="optional" | "mandatory") "attribute" name=ID ":" type=LiteralType; + public BaseGrammarAccess.SimpleAnnotationAttributeElements getSimpleAnnotationAttributeAccess() { + return gaBase.getSimpleAnnotationAttributeAccess(); + } + + public ParserRule getSimpleAnnotationAttributeRule() { + return getSimpleAnnotationAttributeAccess().getRule(); + } + + //EnumAnnotationAttribute: + // (optional?="optional" | "mandatory") "attribute" name=ID ":" "{" values+=STRING ("," values+=STRING)* "}"; + public BaseGrammarAccess.EnumAnnotationAttributeElements getEnumAnnotationAttributeAccess() { + return gaBase.getEnumAnnotationAttributeAccess(); + } + + public ParserRule getEnumAnnotationAttributeRule() { + return getEnumAnnotationAttributeAccess().getRule(); + } + + //// ************************************************************** + //// Documentation Rule + //Documentation: + // {Documentation} "[" lines+=STRING* "]"; + public BaseGrammarAccess.DocumentationElements getDocumentationAccess() { + return gaBase.getDocumentationAccess(); + } + + public ParserRule getDocumentationRule() { + return getDocumentationAccess().getRule(); + } + + //// ************************************************************** + //// Time Rule //TIME returns ecore::ELong: // INT "s" | INT "ms" | INT "us" | INT "ns"; - public TIMEElements getTIMEAccess() { - return (pTIME != null) ? pTIME : (pTIME = new TIMEElements()); + public BaseGrammarAccess.TIMEElements getTIMEAccess() { + return gaBase.getTIMEAccess(); } public ParserRule getTIMERule() { return getTIMEAccess().getRule(); } + //// ************************************************************** + //// Literal Rules + //enum LiteralType: + // BOOL="ptBoolean" | INT="ptInteger" | REAL="ptReal" | CHAR="ptCharacter"; + public BaseGrammarAccess.LiteralTypeElements getLiteralTypeAccess() { + return gaBase.getLiteralTypeAccess(); + } + + public EnumRule getLiteralTypeRule() { + return getLiteralTypeAccess().getRule(); + } + + //LiteralArray: + // literals+=Literal ("," literals+=Literal)*; + public BaseGrammarAccess.LiteralArrayElements getLiteralArrayAccess() { + return gaBase.getLiteralArrayAccess(); + } + + public ParserRule getLiteralArrayRule() { + return getLiteralArrayAccess().getRule(); + } + + //// Value Types for Attributes + //Literal: + // BooleanLiteral | NumberLiteral | StringLiteral; + public BaseGrammarAccess.LiteralElements getLiteralAccess() { + return gaBase.getLiteralAccess(); + } + + public ParserRule getLiteralRule() { + return getLiteralAccess().getRule(); + } + + //BooleanLiteral: + // {BooleanLiteral} ("false" | isTrue?="true"); + public BaseGrammarAccess.BooleanLiteralElements getBooleanLiteralAccess() { + return gaBase.getBooleanLiteralAccess(); + } + + public ParserRule getBooleanLiteralRule() { + return getBooleanLiteralAccess().getRule(); + } + + //NumberLiteral: + // IntLiteral | RealLiteral; + public BaseGrammarAccess.NumberLiteralElements getNumberLiteralAccess() { + return gaBase.getNumberLiteralAccess(); + } + + public ParserRule getNumberLiteralRule() { + return getNumberLiteralAccess().getRule(); + } + + //RealLiteral: + // {RealLiteral} value=Real; + public BaseGrammarAccess.RealLiteralElements getRealLiteralAccess() { + return gaBase.getRealLiteralAccess(); + } + + public ParserRule getRealLiteralRule() { + return getRealLiteralAccess().getRule(); + } + + //IntLiteral: + // {IntLiteral} value=Integer; + public BaseGrammarAccess.IntLiteralElements getIntLiteralAccess() { + return gaBase.getIntLiteralAccess(); + } + + public ParserRule getIntLiteralRule() { + return getIntLiteralAccess().getRule(); + } + + //StringLiteral: + // {StringLiteral} value=STRING; + public BaseGrammarAccess.StringLiteralElements getStringLiteralAccess() { + return gaBase.getStringLiteralAccess(); + } + + public ParserRule getStringLiteralRule() { + return getStringLiteralAccess().getRule(); + } + + //Integer returns ecore::ELong: + // SignedInteger | Hexadecimal; + public BaseGrammarAccess.IntegerElements getIntegerAccess() { + return gaBase.getIntegerAccess(); + } + + public ParserRule getIntegerRule() { + return getIntegerAccess().getRule(); + } + + //SignedInteger hidden(): + // ("+" | "-")? INT; + public BaseGrammarAccess.SignedIntegerElements getSignedIntegerAccess() { + return gaBase.getSignedIntegerAccess(); + } + + public ParserRule getSignedIntegerRule() { + return getSignedIntegerAccess().getRule(); + } + + //Hexadecimal hidden(): + // HEX; + public BaseGrammarAccess.HexadecimalElements getHexadecimalAccess() { + return gaBase.getHexadecimalAccess(); + } + + public ParserRule getHexadecimalRule() { + return getHexadecimalAccess().getRule(); + } + + //Real returns ecore::EDouble: + // Decimal | DotDecimal | DecimalDot | DecimalExp; + public BaseGrammarAccess.RealElements getRealAccess() { + return gaBase.getRealAccess(); + } + + public ParserRule getRealRule() { + return getRealAccess().getRule(); + } + + //Decimal hidden(): + // ("+" | "-")? INT "." INT; + public BaseGrammarAccess.DecimalElements getDecimalAccess() { + return gaBase.getDecimalAccess(); + } + + public ParserRule getDecimalRule() { + return getDecimalAccess().getRule(); + } + + //DotDecimal hidden(): + // ("+" | "-")? "." INT; + public BaseGrammarAccess.DotDecimalElements getDotDecimalAccess() { + return gaBase.getDotDecimalAccess(); + } + + public ParserRule getDotDecimalRule() { + return getDotDecimalAccess().getRule(); + } + + //DecimalDot hidden(): + // ("+" | "-")? INT "."; + public BaseGrammarAccess.DecimalDotElements getDecimalDotAccess() { + return gaBase.getDecimalDotAccess(); + } + + public ParserRule getDecimalDotRule() { + return getDecimalDotAccess().getRule(); + } + + //DecimalExp hidden(): + // ("+" | "-")? INT "." INT EXP; + public BaseGrammarAccess.DecimalExpElements getDecimalExpAccess() { + return gaBase.getDecimalExpAccess(); + } + + public ParserRule getDecimalExpRule() { + return getDecimalExpAccess().getRule(); + } + + //terminal EXP: + // ("e" | "E") ("+" | "-")? "0".."9"+; + public TerminalRule getEXPRule() { + return gaBase.getEXPRule(); + } + + //terminal HEX: + // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F")+; + public TerminalRule getHEXRule() { + return gaBase.getHEXRule(); + } + //terminal ID: // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); + return gaBase.getIDRule(); } //terminal INT returns ecore::EInt: // "0".."9"+; public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); + return gaBase.getINTRule(); } //terminal STRING: // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | // "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); + return gaBase.getSTRINGRule(); } //terminal ML_COMMENT: // "/ *"->"* /"; public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); + return gaBase.getML_COMMENTRule(); } //terminal SL_COMMENT: // "//" !("\n" | "\r")* ("\r"? "\n")?; public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); + return gaBase.getSL_COMMENTRule(); } //terminal WS: // (" " | "\t" | "\r" | "\n")+; public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); + return gaBase.getWSRule(); } //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); + return gaBase.getANY_OTHERRule(); } } diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/validation/AbstractETPhysJavaValidator.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/validation/AbstractETPhysJavaValidator.java index a532b53cb..e570d69ef 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/validation/AbstractETPhysJavaValidator.java +++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/validation/AbstractETPhysJavaValidator.java @@ -10,12 +10,13 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.xtext.validation.ComposedChecks; @ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) -public class AbstractETPhysJavaValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { +public class AbstractETPhysJavaValidator extends org.eclipse.etrice.core.common.validation.BaseJavaValidator { @Override protected List<EPackage> getEPackages() { List<EPackage> result = new ArrayList<EPackage>(); result.add(org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage.eINSTANCE); + result.add(EPackage.Registry.INSTANCE.getEPackage("http://www.eclipse.org/etrice/core/common/Base")); return result; } 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 fdba13686..056c54678 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 @@ -10,9 +10,10 @@ * *******************************************************************************/ -grammar org.eclipse.etrice.core.etphys.ETPhys with org.eclipse.xtext.common.Terminals +grammar org.eclipse.etrice.core.etphys.ETPhys with org.eclipse.etrice.core.common.Base generate eTPhys "http://www.eclipse.org/etrice/core/etphys/ETPhys" +import "http://www.eclipse.org/etrice/core/common/Base" import "http://www.eclipse.org/emf/2002/Ecore" as ecore @@ -74,10 +75,6 @@ enum ThreadModel: MULTI_THREADED='multiThreaded' ; -Documentation: '[' - text+=STRING+ - ']'; - PRIO returns ecore::EInt hidden(): ('+'|'-')? INT; Import : @@ -88,5 +85,3 @@ ImportedFQN: FQN: ID ('.' ID)*; - -TIME returns ecore::ELong: (INT 's') | (INT 'ms') | (INT 'us') | (INT 'ns'); diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2 b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2 index 472e829cb..09be319c5 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2 +++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/GenerateETPhys.mwe2 @@ -22,9 +22,11 @@ var projectName = "org.eclipse.etrice.core.etphys" var runtimeProject = "../${projectName}" Workflow { - bean = StandaloneSetup { + bean = StandaloneSetup { scanClassPath = true platformUri = "${runtimeProject}/.." + registerGenModelFile = "platform:/resource/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel" + registerGeneratedEPackage = "org.eclipse.etrice.core.common.base.BasePackage" } component = DirectoryCleaner { diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java index 4f5df9ec9..3d6036617 100644 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java +++ b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/ETPhysConverter.java @@ -12,20 +12,12 @@ package org.eclipse.etrice.core.etphys.converters; -import org.eclipse.xtext.common.services.DefaultTerminalConverters; -import org.eclipse.xtext.conversion.IValueConverter; -import org.eclipse.xtext.conversion.ValueConverter; +import org.eclipse.etrice.core.common.converter.BaseConverterService; /** * @author Henrik Rentz-Reichert * */ -public class ETPhysConverter extends DefaultTerminalConverters { +public class ETPhysConverter extends BaseConverterService { - private TimeConverter timeConverter = new TimeConverter(); - - @ValueConverter(rule="TIME") - public IValueConverter<Long> getTimeConverter() { - return timeConverter; - } } diff --git a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java b/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java deleted file mode 100644 index 082b8fe67..000000000 --- a/plugins/org.eclipse.etrice.core.etphys/src/org/eclipse/etrice/core/etphys/converters/TimeConverter.java +++ /dev/null @@ -1,128 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2013 protos software gmbh (http://www.protos.de). - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * CONTRIBUTORS: - * Henrik Rentz-Reichert (initial contribution) - * - *******************************************************************************/ - -package org.eclipse.etrice.core.etphys.converters; - -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; -import org.eclipse.xtext.nodemodel.INode; - -/** - * @author Henrik Rentz-Reichert - * - */ -public class TimeConverter extends AbstractLexerBasedConverter<Long> { - - public static final String SEC = "s"; - public static final String MILLI_SEC = "ms"; - public static final String MICRO_SEC = "us"; - public static final String NANO_SEC = "ns"; - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.xtext.conversion.IValueConverter#toValue(java.lang.String, - * org.eclipse.xtext.nodemodel.INode) - */ - @Override - public Long toValue(String string, INode node) throws ValueConverterException { - if (string == null || string.isEmpty()) - throw new ValueConverterException("Couldn't convert empty string to time.", node, null); - else { - // determine power and extract number - int power; - int pos; - String value; - if ((pos = string.indexOf(NANO_SEC)) > 0) { - value = string.substring(0, pos); - power = 1; - } - else if ((pos = string.indexOf(MICRO_SEC)) > 0) { - value = string.substring(0, pos); - power = 1000; - } - else if ((pos = string.indexOf(MILLI_SEC)) > 0) { - value = string.substring(0, pos); - power = 1000000; - } - else if ((pos = string.indexOf(SEC)) > 0) { - value = string.substring(0, pos); - power = 1000000000; - } - else - throw new ValueConverterException("No unit specified with time (s, ms, us or ns).", node, null); - - try { - long val = Long.parseLong(value.trim()); - return val * power; - } - catch (NumberFormatException e) { - throw new ValueConverterException("Could not parse time value.", node, e); - } - } - } - - /* - * (non-Javadoc) - * - * @see - * org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter#toEscapedString - * (java.lang.Object) - */ - @Override - protected String toEscapedString(Long value) { - if (value % 1000 == 0) { - if (value % 1000000 == 0) { - if (value % 1000000000 == 0) { - return (value / 1000000000) + SEC; - } - else { - return (value / 1000000) + MILLI_SEC; - } - } - else { - return (value / 1000) + MICRO_SEC; - } - } - else { - return value + NANO_SEC; - } - } - - /** - * Returns the part of <b>nanoSeconds</b>, that is descriped by <b>unit</b> - * and <b>isNewUnit</b>.<br> - * If <b>isNewUnit</b> = true then anything that can not be represented by - * <b>unit</b> is cut away.<br> - * If <b>isNewUnit</b> = false then the unit remains nano seconds but - * contains nothing higher than <b>unit</b>. - * - * @param unit - * - split along inclusive - * @param isNewUnit - * - upper/lower part - */ - public static long split(long nanoSeconds, String unit, boolean isNewUnit) { - if (unit.equals(SEC)) - return (isNewUnit) ? (nanoSeconds / 1000000000) : nanoSeconds; - if (unit.equals(MILLI_SEC)) - return (isNewUnit) ? (nanoSeconds / 1000000) : nanoSeconds - split(nanoSeconds, SEC, true) * 1000000000; - if (unit.equals(MICRO_SEC)) - return (isNewUnit) ? (nanoSeconds / 1000) : nanoSeconds - split(nanoSeconds, MILLI_SEC, true) * 1000000; - if (unit.equals(NANO_SEC)) - return (isNewUnit) ? nanoSeconds : nanoSeconds - split(nanoSeconds, MICRO_SEC, true) * 1000; - - throw new UnsupportedOperationException("Invalid time unit"); - } - -} 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 c137ab0b6..73dd438d2 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 @@ -201,18 +201,6 @@ class DocuPostprocessor { ''') //------------------------------------------------------------------ - cls = pckg.getClass("Documentation") - cls.setDocumentation(''' - A piece of documentation that can be optionally attached at - certain places in the model. - ''') - - cls.getAttribute("text").setDocumentation( - ''' - This is the documentation's contents. - ''') - - //------------------------------------------------------------------ cls = pckg.getClass("Import") cls.setDocumentation(''' The import declares an imported model (given as a URI) and 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 99b2c379f..2440c2c92 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,62 +196,49 @@ 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, "Documentation"); + EClass _class_5 = PostprocessingHelpers.getClass(pckg, "Import"); cls = _class_5; StringConcatenation _builder_33 = new StringConcatenation(); - _builder_33.append("A piece of documentation that can be optionally attached at"); + _builder_33.append("The import declares an imported model (given as a URI) and"); _builder_33.newLine(); - _builder_33.append("certain places in the model."); + _builder_33.append("an optional imported namespace."); _builder_33.newLine(); PostprocessingHelpers.setDocumentation(cls, _builder_33.toString()); - EAttribute _attribute_15 = PostprocessingHelpers.getAttribute(cls, "text"); + EAttribute _attribute_15 = PostprocessingHelpers.getAttribute(cls, "importedNamespace"); StringConcatenation _builder_34 = new StringConcatenation(); - _builder_34.append("This is the documentation\'s contents."); + _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()); - EClass _class_6 = PostprocessingHelpers.getClass(pckg, "Import"); - cls = _class_6; + EAttribute _attribute_16 = PostprocessingHelpers.getAttribute(cls, "importURI"); StringConcatenation _builder_35 = new StringConcatenation(); - _builder_35.append("The import declares an imported model (given as a URI) and"); + _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("an optional imported namespace."); + _builder_35.append("</p>"); _builder_35.newLine(); - PostprocessingHelpers.setDocumentation(cls, _builder_35.toString()); - EAttribute _attribute_16 = PostprocessingHelpers.getAttribute(cls, "importedNamespace"); - StringConcatenation _builder_36 = new StringConcatenation(); - _builder_36.append("The imported name space has to be a dot separated qualified name followed by .*."); - _builder_36.newLine(); - _builder_36.append("Example: my.namespace.*"); - _builder_36.newLine(); - PostprocessingHelpers.setDocumentation(_attribute_16, _builder_36.toString()); - EAttribute _attribute_17 = PostprocessingHelpers.getAttribute(cls, "importURI"); - StringConcatenation _builder_37 = new StringConcatenation(); - _builder_37.append("The import URI can be a relative or absolute file system path."); - _builder_37.newLine(); - _builder_37.append("It may contain environment variables in ${} which will be expanded."); - _builder_37.newLine(); - _builder_37.append("<p>"); - _builder_37.newLine(); - _builder_37.append("Examples:"); - _builder_37.newLine(); - _builder_37.append("<ul>"); - _builder_37.newLine(); - _builder_37.append(" "); - _builder_37.append("<li>import model \"AnotherModel.room\"</li>"); - _builder_37.newLine(); - _builder_37.append(" "); - _builder_37.append("<li>import my.namespace.* from \"AnotherModel.room\"</li>"); - _builder_37.newLine(); - _builder_37.append(" "); - _builder_37.append("<li>import my.namespace.* from \"../../AnotherProject/models/AnotherModel.room\"</li>"); - _builder_37.newLine(); - _builder_37.append(" "); - _builder_37.append("<li>import my.namespace.* from \"/${ROOM_MODELS}/SomeModel.room\"</li>"); - _builder_37.newLine(); - _builder_37.append("</ul>"); - _builder_37.newLine(); - _builder_37.append("</p>"); - _builder_37.newLine(); - PostprocessingHelpers.setDocumentation(_attribute_17, _builder_37.toString()); + PostprocessingHelpers.setDocumentation(_attribute_16, _builder_35.toString()); } } |