Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etphys/src-gen')
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/AbstractETPhysRuntimeModule.java5
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel5
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.xtextbinbin7126 -> 7105 bytes
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhysStandaloneSetupGenerated.java7
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java6
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeClass.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/NodeRef.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalSystem.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/RuntimeClass.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java6
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeClassImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/NodeRefImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalSystemImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/RuntimeClassImpl.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/util/ETPhysSwitch.java2
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysAntlrTokenFileProvider.java5
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysParser.java4
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g84
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysLexer.java510
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhysParser.java4701
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSemanticSequencer.java221
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java3
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/services/ETPhysGrammarAccess.java364
-rw-r--r--plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/validation/AbstractETPhysJavaValidator.java4
28 files changed, 2529 insertions, 3422 deletions
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/AbstractETPhysRuntimeModule.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/AbstractETPhysRuntimeModule.java
index 87effa3b2..fbf7a87bf 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/AbstractETPhysRuntimeModule.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/AbstractETPhysRuntimeModule.java
@@ -6,7 +6,6 @@ package org.eclipse.etrice.core.etphys;
import java.util.Properties;
import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
import com.google.inject.Binder;
import com.google.inject.name.Names;
@@ -14,8 +13,8 @@ import com.google.inject.name.Names;
/**
* Manual modifications go to {org.eclipse.etrice.core.etphys.ETPhysRuntimeModule}
*/
- @SuppressWarnings("all")
-public abstract class AbstractETPhysRuntimeModule extends DefaultRuntimeModule {
+@SuppressWarnings("all")
+public abstract class AbstractETPhysRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule {
protected Properties properties = null;
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 e4aa2f3b7..235868ec4 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
@@ -3,8 +3,8 @@
xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.etrice.core.etphys/src-gen" editDirectory="/org.eclipse.etrice.core.etphys.edit/src"
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.10" usedGenPackages="platform:/resource/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel#//base">
+ complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etphys.edit"
+ editorPluginID="org.eclipse.etrice.core.etphys.editor" runtimeVersion="2.12" usedGenPackages="platform:/resource/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">
@@ -40,7 +40,6 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomin"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/priomax"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ETPhys.ecore#//NodeClass/threads"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//NodeClass/re"/>
</genClasses>
<genClasses ecoreClass="ETPhys.ecore#//PhysicalThread">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute ETPhys.ecore#//PhysicalThread/default"/>
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
index f7b39cb7b..d7388b370 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
Binary files differ
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 7fb4915c2..0cbe2f023 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
@@ -1,11 +1,11 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys;
import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.ISetup;
import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.xtext.ISetup;
import com.google.inject.Guice;
import com.google.inject.Injector;
@@ -16,6 +16,7 @@ import com.google.inject.Injector;
@SuppressWarnings("all")
public class ETPhysStandaloneSetupGenerated implements ISetup {
+ @Override
public Injector createInjectorAndDoEMFRegistration() {
org.eclipse.etrice.core.common.BaseStandaloneSetup.doSetup();
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
index 96bf16b80..2a7443c6e 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ExecMode.java
@@ -120,6 +120,8 @@ public enum ExecMode implements Enumerator
* Returns the '<em><b>Exec Mode</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param literal the literal.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ExecMode get(String literal)
@@ -139,6 +141,8 @@ public enum ExecMode implements Enumerator
* Returns the '<em><b>Exec Mode</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param name the name.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ExecMode getByName(String name)
@@ -158,6 +162,8 @@ public enum ExecMode implements Enumerator
* Returns the '<em><b>Exec Mode</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param value the integer value.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ExecMode get(int value)
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 1ca9393a4..46d503538 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
@@ -20,6 +20,7 @@ import org.eclipse.etrice.core.common.base.Documentation;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getDocu <em>Docu</em>}</li>
@@ -28,7 +29,6 @@ import org.eclipse.etrice.core.common.base.Documentation;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getPriomax <em>Priomax</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeClass#getThreads <em>Threads</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeClass()
* @model
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 8cabc4146..791cbd81a 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
@@ -18,12 +18,12 @@ import org.eclipse.etrice.core.common.base.Documentation;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.NodeRef#getDocu <em>Docu</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getNodeRef()
* @model
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
index eb5d5da81..1718cb188 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalModel.java
@@ -21,6 +21,7 @@ import org.eclipse.etrice.core.common.base.Import;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getImports <em>Imports</em>}</li>
@@ -28,7 +29,6 @@ import org.eclipse.etrice.core.common.base.Import;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getNodeClasses <em>Node Classes</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalModel#getRuntimeClasses <em>Runtime Classes</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalModel()
* @model
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 517487891..e17f21321 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
@@ -20,12 +20,12 @@ import org.eclipse.etrice.core.common.base.Documentation;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getDocu <em>Docu</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem#getNodeRefs <em>Node Refs</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalSystem()
* @model
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
index a8fd227df..88311d596 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/PhysicalThread.java
@@ -16,6 +16,7 @@ import org.eclipse.emf.ecore.EObject;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#isDefault <em>Default</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getName <em>Name</em>}</li>
@@ -26,7 +27,6 @@ import org.eclipse.emf.ecore.EObject;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgblocksize <em>Msgblocksize</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread#getMsgpoolsize <em>Msgpoolsize</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getPhysicalThread()
* @model
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 2a788d922..8916dda5c 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
@@ -18,12 +18,12 @@ import org.eclipse.etrice.core.common.base.Documentation;
*
* <p>
* The following features are supported:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getDocu <em>Docu</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass#getThreadModel <em>Thread Model</em>}</li>
* </ul>
- * </p>
*
* @see org.eclipse.etrice.core.etphys.eTPhys.ETPhysPackage#getRuntimeClass()
* @model
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
index 9ac9ff359..eaefb54fe 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/ThreadModel.java
@@ -94,6 +94,8 @@ public enum ThreadModel implements Enumerator
* Returns the '<em><b>Thread Model</b></em>' literal with the specified literal value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param literal the literal.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ThreadModel get(String literal)
@@ -113,6 +115,8 @@ public enum ThreadModel implements Enumerator
* Returns the '<em><b>Thread Model</b></em>' literal with the specified name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param name the name.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ThreadModel getByName(String name)
@@ -132,6 +136,8 @@ public enum ThreadModel implements Enumerator
* Returns the '<em><b>Thread Model</b></em>' literal with the specified integer value.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @param value the integer value.
+ * @return the matching enumerator or <code>null</code>.
* @generated
*/
public static ThreadModel get(int value)
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 bfb5579d5..cc65cc9fc 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
@@ -31,6 +31,7 @@ import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getDocu <em>Docu</em>}</li>
@@ -39,7 +40,6 @@ import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getPriomax <em>Priomax</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeClassImpl#getThreads <em>Threads</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
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 f782df979..d06792540 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
@@ -23,12 +23,12 @@ import org.eclipse.etrice.core.etphys.eTPhys.NodeRef;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.NodeRefImpl#getDocu <em>Docu</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
index 92f0e16e0..37f4c7f19 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalModelImpl.java
@@ -32,6 +32,7 @@ import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getImports <em>Imports</em>}</li>
@@ -39,7 +40,6 @@ import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getNodeClasses <em>Node Classes</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalModelImpl#getRuntimeClasses <em>Runtime Classes</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
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 ed0fceb03..70cbedf2a 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
@@ -30,12 +30,12 @@ import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getDocu <em>Docu</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalSystemImpl#getNodeRefs <em>Node Refs</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
index 5eb55542f..b36661924 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/eTPhys/impl/PhysicalThreadImpl.java
@@ -19,6 +19,7 @@ import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#isDefault <em>Default</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getName <em>Name</em>}</li>
@@ -29,7 +30,6 @@ import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgblocksize <em>Msgblocksize</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.PhysicalThreadImpl#getMsgpoolsize <em>Msgpoolsize</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
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 e21fead65..130cf6f7c 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
@@ -23,12 +23,12 @@ import org.eclipse.etrice.core.etphys.eTPhys.ThreadModel;
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
+ * </p>
* <ul>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getDocu <em>Docu</em>}</li>
* <li>{@link org.eclipse.etrice.core.etphys.eTPhys.impl.RuntimeClassImpl#getThreadModel <em>Thread Model</em>}</li>
* </ul>
- * </p>
*
* @generated
*/
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 68d0da4b6..e5553cad1 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
@@ -50,7 +50,7 @@ public class ETPhysSwitch<T> extends Switch<T>
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @parameter ePackage the package in question.
+ * @param ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysAntlrTokenFileProvider.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysAntlrTokenFileProvider.java
index 7d5372582..79addb4fa 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysAntlrTokenFileProvider.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysAntlrTokenFileProvider.java
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.parser.antlr;
import java.io.InputStream;
@@ -8,6 +8,7 @@ import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
public class ETPhysAntlrTokenFileProvider implements IAntlrTokenFileProvider {
+ @Override
public InputStream getAntlrTokenFile() {
ClassLoader classLoader = getClass().getClassLoader();
return classLoader.getResourceAsStream("org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.tokens");
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysParser.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysParser.java
index 99fa08163..26f18c010 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysParser.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/ETPhysParser.java
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.parser.antlr;
import com.google.inject.Inject;
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 ecbf09c00..f8aa98d53 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
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
grammar InternalETPhys;
options {
@@ -95,7 +95,7 @@ rulePhysicalModel returns [EObject current=null]
$current,
"name",
lv_name_1_0,
- "FQN");
+ "org.eclipse.etrice.core.common.Base.FQN");
afterParserOrEnumRuleCall();
}
@@ -117,7 +117,7 @@ rulePhysicalModel returns [EObject current=null]
$current,
"imports",
lv_imports_3_0,
- "Import");
+ "org.eclipse.etrice.core.common.Base.Import");
afterParserOrEnumRuleCall();
}
@@ -135,7 +135,7 @@ rulePhysicalModel returns [EObject current=null]
$current,
"systems",
lv_systems_4_0,
- "PhysicalSystem");
+ "org.eclipse.etrice.core.etphys.ETPhys.PhysicalSystem");
afterParserOrEnumRuleCall();
}
@@ -154,7 +154,7 @@ rulePhysicalModel returns [EObject current=null]
$current,
"nodeClasses",
lv_nodeClasses_5_0,
- "NodeClass");
+ "org.eclipse.etrice.core.etphys.ETPhys.NodeClass");
afterParserOrEnumRuleCall();
}
@@ -173,7 +173,7 @@ rulePhysicalModel returns [EObject current=null]
$current,
"runtimeClasses",
lv_runtimeClasses_6_0,
- "RuntimeClass");
+ "org.eclipse.etrice.core.etphys.ETPhys.RuntimeClass");
afterParserOrEnumRuleCall();
}
@@ -221,7 +221,7 @@ rulePhysicalSystem returns [EObject current=null]
$current,
"name",
lv_name_1_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -238,7 +238,7 @@ rulePhysicalSystem returns [EObject current=null]
$current,
"docu",
lv_docu_2_0,
- "Documentation");
+ "org.eclipse.etrice.core.common.Base.Documentation");
afterParserOrEnumRuleCall();
}
@@ -260,7 +260,7 @@ rulePhysicalSystem returns [EObject current=null]
$current,
"nodeRefs",
lv_nodeRefs_4_0,
- "NodeRef");
+ "org.eclipse.etrice.core.etphys.ETPhys.NodeRef");
afterParserOrEnumRuleCall();
}
@@ -308,7 +308,7 @@ ruleNodeRef returns [EObject current=null]
$current,
"name",
lv_name_1_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -344,7 +344,7 @@ ruleNodeRef returns [EObject current=null]
$current,
"docu",
lv_docu_4_0,
- "Documentation");
+ "org.eclipse.etrice.core.common.Base.Documentation");
afterParserOrEnumRuleCall();
}
@@ -388,7 +388,7 @@ ruleNodeClass returns [EObject current=null]
$current,
"name",
lv_name_1_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -405,7 +405,7 @@ ruleNodeClass returns [EObject current=null]
$current,
"docu",
lv_docu_2_0,
- "Documentation");
+ "org.eclipse.etrice.core.common.Base.Documentation");
afterParserOrEnumRuleCall();
}
@@ -484,7 +484,7 @@ ruleNodeClass returns [EObject current=null]
$current,
"priomin",
lv_priomin_10_0,
- "Integer");
+ "org.eclipse.etrice.core.common.Base.Integer");
afterParserOrEnumRuleCall();
}
@@ -522,7 +522,7 @@ ruleNodeClass returns [EObject current=null]
$current,
"priomax",
lv_priomax_13_0,
- "Integer");
+ "org.eclipse.etrice.core.common.Base.Integer");
afterParserOrEnumRuleCall();
}
@@ -555,7 +555,7 @@ ruleNodeClass returns [EObject current=null]
$current,
"threads",
lv_threads_14_0,
- "PhysicalThread");
+ "org.eclipse.etrice.core.etphys.ETPhys.PhysicalThread");
afterParserOrEnumRuleCall();
}
@@ -619,7 +619,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"name",
lv_name_2_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -662,7 +662,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"execmode",
lv_execmode_7_0,
- "ExecMode");
+ "org.eclipse.etrice.core.etphys.ETPhys.ExecMode");
afterParserOrEnumRuleCall();
}
@@ -700,7 +700,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"time",
lv_time_10_0,
- "TIME");
+ "org.eclipse.etrice.core.common.Base.TIME");
afterParserOrEnumRuleCall();
}
@@ -738,7 +738,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"prio",
lv_prio_13_0,
- "Integer");
+ "org.eclipse.etrice.core.common.Base.Integer");
afterParserOrEnumRuleCall();
}
@@ -777,7 +777,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"stacksize",
lv_stacksize_16_0,
- "INT");
+ "org.eclipse.xtext.common.Terminals.INT");
}
)
@@ -815,7 +815,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"msgblocksize",
lv_msgblocksize_19_0,
- "INT");
+ "org.eclipse.xtext.common.Terminals.INT");
}
)
@@ -853,7 +853,7 @@ rulePhysicalThread returns [EObject current=null]
$current,
"msgpoolsize",
lv_msgpoolsize_22_0,
- "INT");
+ "org.eclipse.xtext.common.Terminals.INT");
}
)
@@ -915,7 +915,7 @@ ruleRuntimeClass returns [EObject current=null]
$current,
"name",
lv_name_1_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -932,7 +932,7 @@ ruleRuntimeClass returns [EObject current=null]
$current,
"docu",
lv_docu_2_0,
- "Documentation");
+ "org.eclipse.etrice.core.common.Base.Documentation");
afterParserOrEnumRuleCall();
}
@@ -962,7 +962,7 @@ ruleRuntimeClass returns [EObject current=null]
$current,
"threadModel",
lv_threadModel_6_0,
- "ThreadModel");
+ "org.eclipse.etrice.core.etphys.ETPhys.ThreadModel");
afterParserOrEnumRuleCall();
}
@@ -1008,7 +1008,7 @@ ruleKeyValue returns [EObject current=null]
$current,
"key",
lv_key_0_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -1029,7 +1029,7 @@ ruleKeyValue returns [EObject current=null]
$current,
"value",
lv_value_2_0,
- "Literal");
+ "org.eclipse.etrice.core.common.Base.Literal");
afterParserOrEnumRuleCall();
}
@@ -1163,7 +1163,7 @@ ruleSimpleAnnotationAttribute returns [EObject current=null]
$current,
"name",
lv_name_3_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -1184,7 +1184,7 @@ ruleSimpleAnnotationAttribute returns [EObject current=null]
$current,
"type",
lv_type_5_0,
- "LiteralType");
+ "org.eclipse.etrice.core.common.Base.LiteralType");
afterParserOrEnumRuleCall();
}
@@ -1248,7 +1248,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null]
$current,
"name",
lv_name_3_0,
- "ID");
+ "org.eclipse.xtext.common.Terminals.ID");
}
)
@@ -1274,7 +1274,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null]
$current,
"values",
lv_values_6_0,
- "STRING");
+ "org.eclipse.xtext.common.Terminals.STRING");
}
)
@@ -1296,7 +1296,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null]
$current,
"values",
lv_values_8_0,
- "STRING");
+ "org.eclipse.xtext.common.Terminals.STRING");
}
)
@@ -1342,7 +1342,7 @@ ruleImport returns [EObject current=null]
$current,
"importedNamespace",
lv_importedNamespace_1_0,
- "ImportedFQN");
+ "org.eclipse.etrice.core.common.Base.ImportedFQN");
afterParserOrEnumRuleCall();
}
@@ -1370,7 +1370,7 @@ ruleImport returns [EObject current=null]
$current,
"importURI",
lv_importURI_4_0,
- "STRING");
+ "org.eclipse.xtext.common.Terminals.STRING");
}
)
@@ -1457,7 +1457,7 @@ ruleDocumentation returns [EObject current=null]
$current,
"lines",
lv_lines_2_0,
- "STRING");
+ "org.eclipse.xtext.common.Terminals.STRING");
}
)
@@ -1720,7 +1720,7 @@ ruleRealLiteral returns [EObject current=null]
$current,
"value",
lv_value_1_0,
- "Real");
+ "org.eclipse.etrice.core.common.Base.Real");
afterParserOrEnumRuleCall();
}
@@ -1765,7 +1765,7 @@ ruleIntLiteral returns [EObject current=null]
$current,
"value",
lv_value_1_0,
- "Integer");
+ "org.eclipse.etrice.core.common.Base.Integer");
afterParserOrEnumRuleCall();
}
@@ -1811,7 +1811,7 @@ ruleStringLiteral returns [EObject current=null]
$current,
"value",
lv_value_1_0,
- "STRING");
+ "org.eclipse.xtext.common.Terminals.STRING");
}
)
@@ -2059,14 +2059,14 @@ ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToke
$current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
}
-)?(( RULE_INT)=> this_INT_9=RULE_INT {
+)? this_INT_9=RULE_INT {
$current.merge(this_INT_9);
}
{
newLeafNode(this_INT_9, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6());
}
-))
+)
;
finally {
myHiddenTokenState.restore();
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 1736307e1..612576eec 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
@@ -83,15 +83,15 @@ public class InternalETPhysLexer extends Lexer {
super(input,state);
}
- public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
+ public String getGrammarFileName() { return "InternalETPhys.g"; }
// $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:11:7: ( 'PhysicalModel' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:11:9: 'PhysicalModel'
+ // InternalETPhys.g:11:7: ( 'PhysicalModel' )
+ // InternalETPhys.g:11:9: 'PhysicalModel'
{
match("PhysicalModel");
@@ -111,8 +111,8 @@ public class InternalETPhysLexer extends Lexer {
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:12:7: ( '{' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:12:9: '{'
+ // InternalETPhys.g:12:7: ( '{' )
+ // InternalETPhys.g:12:9: '{'
{
match('{');
@@ -131,8 +131,8 @@ 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:13:7: ( '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:13:9: '}'
+ // InternalETPhys.g:13:7: ( '}' )
+ // InternalETPhys.g:13:9: '}'
{
match('}');
@@ -151,8 +151,8 @@ 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:14:7: ( 'PhysicalSystem' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:14:9: 'PhysicalSystem'
+ // InternalETPhys.g:14:7: ( 'PhysicalSystem' )
+ // InternalETPhys.g:14:9: 'PhysicalSystem'
{
match("PhysicalSystem");
@@ -172,8 +172,8 @@ 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:15:7: ( 'NodeRef' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:15:9: 'NodeRef'
+ // InternalETPhys.g:15:7: ( 'NodeRef' )
+ // InternalETPhys.g:15:9: 'NodeRef'
{
match("NodeRef");
@@ -193,8 +193,8 @@ 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:16:7: ( ':' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:16:9: ':'
+ // InternalETPhys.g:16:7: ( ':' )
+ // InternalETPhys.g:16:9: ':'
{
match(':');
@@ -213,8 +213,8 @@ 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:17:7: ( 'NodeClass' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:17:9: 'NodeClass'
+ // InternalETPhys.g:17:7: ( 'NodeClass' )
+ // InternalETPhys.g:17:9: 'NodeClass'
{
match("NodeClass");
@@ -234,8 +234,8 @@ 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:18:7: ( 'runtime' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:18:9: 'runtime'
+ // InternalETPhys.g:18:7: ( 'runtime' )
+ // InternalETPhys.g:18:9: 'runtime'
{
match("runtime");
@@ -255,8 +255,8 @@ 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:19:7: ( '=' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:19:9: '='
+ // InternalETPhys.g:19:7: ( '=' )
+ // InternalETPhys.g:19:9: '='
{
match('=');
@@ -275,8 +275,8 @@ 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:20:7: ( 'priomin' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:20:9: 'priomin'
+ // InternalETPhys.g:20:7: ( 'priomin' )
+ // InternalETPhys.g:20:9: 'priomin'
{
match("priomin");
@@ -296,8 +296,8 @@ 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:21:7: ( 'priomax' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:21:9: 'priomax'
+ // InternalETPhys.g:21:7: ( 'priomax' )
+ // InternalETPhys.g:21:9: 'priomax'
{
match("priomax");
@@ -317,8 +317,8 @@ 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:22:7: ( 'DefaultThread' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:22:9: 'DefaultThread'
+ // InternalETPhys.g:22:7: ( 'DefaultThread' )
+ // InternalETPhys.g:22:9: 'DefaultThread'
{
match("DefaultThread");
@@ -338,8 +338,8 @@ 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:23:7: ( 'Thread' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:23:9: 'Thread'
+ // InternalETPhys.g:23:7: ( 'Thread' )
+ // InternalETPhys.g:23:9: 'Thread'
{
match("Thread");
@@ -359,8 +359,8 @@ 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:24:7: ( 'execmode' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:24:9: 'execmode'
+ // InternalETPhys.g:24:7: ( 'execmode' )
+ // InternalETPhys.g:24:9: 'execmode'
{
match("execmode");
@@ -380,8 +380,8 @@ 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:25:7: ( 'interval' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:25:9: 'interval'
+ // InternalETPhys.g:25:7: ( 'interval' )
+ // InternalETPhys.g:25:9: 'interval'
{
match("interval");
@@ -401,8 +401,8 @@ 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:26:7: ( 'prio' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:26:9: 'prio'
+ // InternalETPhys.g:26:7: ( 'prio' )
+ // InternalETPhys.g:26:9: 'prio'
{
match("prio");
@@ -422,8 +422,8 @@ 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:27:7: ( 'stacksize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:27:9: 'stacksize'
+ // InternalETPhys.g:27:7: ( 'stacksize' )
+ // InternalETPhys.g:27:9: 'stacksize'
{
match("stacksize");
@@ -443,8 +443,8 @@ 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:28:7: ( 'msgblocksize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:28:9: 'msgblocksize'
+ // InternalETPhys.g:28:7: ( 'msgblocksize' )
+ // InternalETPhys.g:28:9: 'msgblocksize'
{
match("msgblocksize");
@@ -464,8 +464,8 @@ 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:29:7: ( 'msgpoolsize' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:29:9: 'msgpoolsize'
+ // InternalETPhys.g:29:7: ( 'msgpoolsize' )
+ // InternalETPhys.g:29:9: 'msgpoolsize'
{
match("msgpoolsize");
@@ -485,8 +485,8 @@ 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:30:7: ( 'RuntimeClass' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:30:9: 'RuntimeClass'
+ // InternalETPhys.g:30:7: ( 'RuntimeClass' )
+ // InternalETPhys.g:30:9: 'RuntimeClass'
{
match("RuntimeClass");
@@ -506,8 +506,8 @@ 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:31:7: ( 'model' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:31:9: 'model'
+ // InternalETPhys.g:31:7: ( 'model' )
+ // InternalETPhys.g:31:9: 'model'
{
match("model");
@@ -527,8 +527,8 @@ 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:32:7: ( 'optional' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:32:9: 'optional'
+ // InternalETPhys.g:32:7: ( 'optional' )
+ // InternalETPhys.g:32:9: 'optional'
{
match("optional");
@@ -548,8 +548,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:33:7: ( 'mandatory' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:33:9: 'mandatory'
+ // InternalETPhys.g:33:7: ( 'mandatory' )
+ // InternalETPhys.g:33:9: 'mandatory'
{
match("mandatory");
@@ -569,8 +569,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:34:7: ( 'attribute' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:34:9: 'attribute'
+ // InternalETPhys.g:34:7: ( 'attribute' )
+ // InternalETPhys.g:34:9: 'attribute'
{
match("attribute");
@@ -590,8 +590,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:35:7: ( ',' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:35:9: ','
+ // InternalETPhys.g:35:7: ( ',' )
+ // InternalETPhys.g:35:9: ','
{
match(',');
@@ -610,8 +610,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:36:7: ( 'import' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:36:9: 'import'
+ // InternalETPhys.g:36:7: ( 'import' )
+ // InternalETPhys.g:36:9: 'import'
{
match("import");
@@ -631,8 +631,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:37:7: ( 'from' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:37:9: 'from'
+ // InternalETPhys.g:37:7: ( 'from' )
+ // InternalETPhys.g:37:9: 'from'
{
match("from");
@@ -652,8 +652,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:38:7: ( '.*' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:38:9: '.*'
+ // InternalETPhys.g:38:7: ( '.*' )
+ // InternalETPhys.g:38:9: '.*'
{
match(".*");
@@ -673,8 +673,8 @@ 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:39:7: ( '[' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:39:9: '['
+ // InternalETPhys.g:39:7: ( '[' )
+ // InternalETPhys.g:39:9: '['
{
match('[');
@@ -693,8 +693,8 @@ 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:40:7: ( ']' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:40:9: ']'
+ // InternalETPhys.g:40:7: ( ']' )
+ // InternalETPhys.g:40:9: ']'
{
match(']');
@@ -713,8 +713,8 @@ 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:41:7: ( 's' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:41:9: 's'
+ // InternalETPhys.g:41:7: ( 's' )
+ // InternalETPhys.g:41:9: 's'
{
match('s');
@@ -733,8 +733,8 @@ 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:42:7: ( 'ms' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:42:9: 'ms'
+ // InternalETPhys.g:42:7: ( 'ms' )
+ // InternalETPhys.g:42:9: 'ms'
{
match("ms");
@@ -754,8 +754,8 @@ 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:43:7: ( 'us' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:43:9: 'us'
+ // InternalETPhys.g:43:7: ( 'us' )
+ // InternalETPhys.g:43:9: 'us'
{
match("us");
@@ -775,8 +775,8 @@ 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:44:7: ( 'ns' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:44:9: 'ns'
+ // InternalETPhys.g:44:7: ( 'ns' )
+ // InternalETPhys.g:44:9: 'ns'
{
match("ns");
@@ -796,8 +796,8 @@ 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:45:7: ( 'false' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:45:9: 'false'
+ // InternalETPhys.g:45:7: ( 'false' )
+ // InternalETPhys.g:45:9: 'false'
{
match("false");
@@ -817,8 +817,8 @@ 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:46:7: ( 'true' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:46:9: 'true'
+ // InternalETPhys.g:46:7: ( 'true' )
+ // InternalETPhys.g:46:9: 'true'
{
match("true");
@@ -838,8 +838,8 @@ 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:47:7: ( '+' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:47:9: '+'
+ // InternalETPhys.g:47:7: ( '+' )
+ // InternalETPhys.g:47:9: '+'
{
match('+');
@@ -858,8 +858,8 @@ public class InternalETPhysLexer extends Lexer {
try {
int _type = T__49;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:7: ( '-' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:48:9: '-'
+ // InternalETPhys.g:48:7: ( '-' )
+ // InternalETPhys.g:48:9: '-'
{
match('-');
@@ -878,8 +878,8 @@ public class InternalETPhysLexer extends Lexer {
try {
int _type = T__50;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:7: ( '.' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:49:9: '.'
+ // InternalETPhys.g:49:7: ( '.' )
+ // InternalETPhys.g:49:9: '.'
{
match('.');
@@ -898,8 +898,8 @@ public class InternalETPhysLexer extends Lexer {
try {
int _type = T__51;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:50:7: ( 'e' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:50:9: 'e'
+ // InternalETPhys.g:50:7: ( 'e' )
+ // InternalETPhys.g:50:9: 'e'
{
match('e');
@@ -918,8 +918,8 @@ public class InternalETPhysLexer extends Lexer {
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:51:7: ( 'E' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:51:9: 'E'
+ // InternalETPhys.g:51:7: ( 'E' )
+ // InternalETPhys.g:51:9: 'E'
{
match('E');
@@ -938,8 +938,8 @@ public class InternalETPhysLexer extends Lexer {
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:52:7: ( 'polled' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:52:9: 'polled'
+ // InternalETPhys.g:52:7: ( 'polled' )
+ // InternalETPhys.g:52:9: 'polled'
{
match("polled");
@@ -959,8 +959,8 @@ public class InternalETPhysLexer extends Lexer {
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:53:7: ( 'blocked' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:53:9: 'blocked'
+ // InternalETPhys.g:53:7: ( 'blocked' )
+ // InternalETPhys.g:53:9: 'blocked'
{
match("blocked");
@@ -980,8 +980,8 @@ public class InternalETPhysLexer extends Lexer {
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:54:7: ( 'mixed' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:54:9: 'mixed'
+ // InternalETPhys.g:54:7: ( 'mixed' )
+ // InternalETPhys.g:54:9: 'mixed'
{
match("mixed");
@@ -1001,8 +1001,8 @@ public class InternalETPhysLexer extends Lexer {
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:55:7: ( 'singleThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:55:9: 'singleThreaded'
+ // InternalETPhys.g:55:7: ( 'singleThreaded' )
+ // InternalETPhys.g:55:9: 'singleThreaded'
{
match("singleThreaded");
@@ -1022,8 +1022,8 @@ public class InternalETPhysLexer extends Lexer {
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:56:7: ( 'multiThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:56:9: 'multiThreaded'
+ // InternalETPhys.g:56:7: ( 'multiThreaded' )
+ // InternalETPhys.g:56:9: 'multiThreaded'
{
match("multiThreaded");
@@ -1043,8 +1043,8 @@ public class InternalETPhysLexer extends Lexer {
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:57:7: ( 'ptBoolean' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:57:9: 'ptBoolean'
+ // InternalETPhys.g:57:7: ( 'ptBoolean' )
+ // InternalETPhys.g:57:9: 'ptBoolean'
{
match("ptBoolean");
@@ -1064,8 +1064,8 @@ public class InternalETPhysLexer extends Lexer {
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:58:7: ( 'ptInteger' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:58:9: 'ptInteger'
+ // InternalETPhys.g:58:7: ( 'ptInteger' )
+ // InternalETPhys.g:58:9: 'ptInteger'
{
match("ptInteger");
@@ -1085,8 +1085,8 @@ public class InternalETPhysLexer extends Lexer {
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:59:7: ( 'ptReal' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:59:9: 'ptReal'
+ // InternalETPhys.g:59:7: ( 'ptReal' )
+ // InternalETPhys.g:59:9: 'ptReal'
{
match("ptReal");
@@ -1106,8 +1106,8 @@ public class InternalETPhysLexer extends Lexer {
try {
int _type = T__61;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:60:7: ( 'ptCharacter' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:60:9: 'ptCharacter'
+ // InternalETPhys.g:60:7: ( 'ptCharacter' )
+ // InternalETPhys.g:60:9: 'ptCharacter'
{
match("ptCharacter");
@@ -1127,10 +1127,10 @@ public class InternalETPhysLexer extends Lexer {
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:2195: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:2195:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalETPhys.g:2195:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
+ // InternalETPhys.g:2195: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:2195:12: ( '0x' | '0X' )
+ // InternalETPhys.g:2195:12: ( '0x' | '0X' )
int alt1=2;
int LA1_0 = input.LA(1);
@@ -1158,7 +1158,7 @@ public class InternalETPhysLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2195:13: '0x'
+ // InternalETPhys.g:2195:13: '0x'
{
match("0x");
@@ -1166,7 +1166,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:2195:18: '0X'
+ // InternalETPhys.g:2195:18: '0X'
{
match("0X");
@@ -1176,7 +1176,7 @@ public class InternalETPhysLexer extends Lexer {
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2195:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // InternalETPhys.g:2195:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@@ -1190,7 +1190,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt2) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
+ // 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();
@@ -1230,10 +1230,10 @@ public class InternalETPhysLexer extends Lexer {
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:2197: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:2197:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalETPhys.g:2197:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // InternalETPhys.g:2197: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:2197:11: ( '^' )?
+ // InternalETPhys.g:2197:11: ( '^' )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -1242,7 +1242,7 @@ public class InternalETPhysLexer extends Lexer {
}
switch (alt3) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2197:11: '^'
+ // InternalETPhys.g:2197:11: '^'
{
match('^');
@@ -1260,7 +1260,7 @@ 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:2197:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // InternalETPhys.g:2197:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
@@ -1273,7 +1273,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt4) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
+ // InternalETPhys.g:
{
if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) {
input.consume();
@@ -1309,10 +1309,10 @@ 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:2199:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2199:12: ( '0' .. '9' )+
+ // InternalETPhys.g:2199:10: ( ( '0' .. '9' )+ )
+ // InternalETPhys.g:2199:12: ( '0' .. '9' )+
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2199:12: ( '0' .. '9' )+
+ // InternalETPhys.g:2199:12: ( '0' .. '9' )+
int cnt5=0;
loop5:
do {
@@ -1326,7 +1326,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt5) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2199:13: '0' .. '9'
+ // InternalETPhys.g:2199:13: '0' .. '9'
{
matchRange('0','9');
@@ -1358,10 +1358,10 @@ 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:2201:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalETPhys.g:2201:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // InternalETPhys.g:2201:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // InternalETPhys.g:2201:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -1379,10 +1379,10 @@ public class InternalETPhysLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // InternalETPhys.g:2201:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
+ // InternalETPhys.g:2201:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )*
loop6:
do {
int alt6=3;
@@ -1398,7 +1398,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt6) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:21: '\\\\' .
+ // InternalETPhys.g:2201:21: '\\\\' .
{
match('\\');
matchAny();
@@ -1406,7 +1406,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:2201:28: ~ ( ( '\\\\' | '\"' ) )
+ // InternalETPhys.g:2201:28: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -1431,10 +1431,10 @@ 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:2201:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // InternalETPhys.g:2201:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
+ // InternalETPhys.g:2201:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )*
loop7:
do {
int alt7=3;
@@ -1450,7 +1450,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt7) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2201:54: '\\\\' .
+ // InternalETPhys.g:2201:54: '\\\\' .
{
match('\\');
matchAny();
@@ -1458,7 +1458,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:2201:61: ~ ( ( '\\\\' | '\\'' ) )
+ // InternalETPhys.g:2201:61: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -1501,12 +1501,12 @@ 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:2203:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // InternalETPhys.g:2203:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // InternalETPhys.g:2203:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:24: ( options {greedy=false; } : . )*
+ // InternalETPhys.g:2203:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@@ -1531,7 +1531,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt9) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2203:52: .
+ // InternalETPhys.g:2203:52: .
{
matchAny();
@@ -1561,12 +1561,12 @@ 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:2205:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // InternalETPhys.g:2205:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // InternalETPhys.g:2205:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // InternalETPhys.g:2205:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop10:
do {
int alt10=2;
@@ -1579,7 +1579,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt10) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:24: ~ ( ( '\\n' | '\\r' ) )
+ // InternalETPhys.g:2205: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();
@@ -1599,7 +1599,7 @@ public class InternalETPhysLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:40: ( ( '\\r' )? '\\n' )?
+ // InternalETPhys.g:2205:40: ( ( '\\r' )? '\\n' )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1608,9 +1608,9 @@ public class InternalETPhysLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:41: ( '\\r' )? '\\n'
+ // InternalETPhys.g:2205:41: ( '\\r' )? '\\n'
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:41: ( '\\r' )?
+ // InternalETPhys.g:2205:41: ( '\\r' )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1619,7 +1619,7 @@ public class InternalETPhysLexer extends Lexer {
}
switch (alt11) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2205:41: '\\r'
+ // InternalETPhys.g:2205:41: '\\r'
{
match('\r');
@@ -1651,10 +1651,10 @@ 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:2207:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2207:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalETPhys.g:2207:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // InternalETPhys.g:2207:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2207:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // InternalETPhys.g:2207:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt13=0;
loop13:
do {
@@ -1668,7 +1668,7 @@ public class InternalETPhysLexer extends Lexer {
switch (alt13) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:
+ // InternalETPhys.g:
{
if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) {
input.consume();
@@ -1708,8 +1708,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:2209:16: ( . )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2209:18: .
+ // InternalETPhys.g:2209:16: ( . )
+ // InternalETPhys.g:2209:18: .
{
matchAny();
@@ -1724,411 +1724,411 @@ 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__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ // InternalETPhys.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
int alt14=58;
alt14 = dfa14.predict(input);
switch (alt14) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:10: T__12
+ // InternalETPhys.g:1:10: T__12
{
mT__12();
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:16: T__13
+ // InternalETPhys.g:1:16: T__13
{
mT__13();
}
break;
case 3 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:22: T__14
+ // InternalETPhys.g:1:22: T__14
{
mT__14();
}
break;
case 4 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:28: T__15
+ // InternalETPhys.g:1:28: T__15
{
mT__15();
}
break;
case 5 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:34: T__16
+ // InternalETPhys.g:1:34: T__16
{
mT__16();
}
break;
case 6 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:40: T__17
+ // InternalETPhys.g:1:40: T__17
{
mT__17();
}
break;
case 7 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:46: T__18
+ // InternalETPhys.g:1:46: T__18
{
mT__18();
}
break;
case 8 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:52: T__19
+ // InternalETPhys.g:1:52: T__19
{
mT__19();
}
break;
case 9 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:58: T__20
+ // InternalETPhys.g:1:58: T__20
{
mT__20();
}
break;
case 10 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:64: T__21
+ // InternalETPhys.g:1:64: T__21
{
mT__21();
}
break;
case 11 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:70: T__22
+ // InternalETPhys.g:1:70: T__22
{
mT__22();
}
break;
case 12 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:76: T__23
+ // InternalETPhys.g:1:76: T__23
{
mT__23();
}
break;
case 13 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:82: T__24
+ // InternalETPhys.g:1:82: T__24
{
mT__24();
}
break;
case 14 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:88: T__25
+ // InternalETPhys.g:1:88: T__25
{
mT__25();
}
break;
case 15 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:94: T__26
+ // InternalETPhys.g:1:94: T__26
{
mT__26();
}
break;
case 16 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:100: T__27
+ // InternalETPhys.g:1:100: T__27
{
mT__27();
}
break;
case 17 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:106: T__28
+ // InternalETPhys.g:1:106: T__28
{
mT__28();
}
break;
case 18 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:112: T__29
+ // InternalETPhys.g:1:112: T__29
{
mT__29();
}
break;
case 19 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:118: T__30
+ // InternalETPhys.g:1:118: T__30
{
mT__30();
}
break;
case 20 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:124: T__31
+ // InternalETPhys.g:1:124: T__31
{
mT__31();
}
break;
case 21 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:130: T__32
+ // InternalETPhys.g:1:130: T__32
{
mT__32();
}
break;
case 22 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:136: T__33
+ // InternalETPhys.g:1:136: T__33
{
mT__33();
}
break;
case 23 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:142: T__34
+ // InternalETPhys.g:1:142: T__34
{
mT__34();
}
break;
case 24 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:148: T__35
+ // InternalETPhys.g:1:148: T__35
{
mT__35();
}
break;
case 25 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:154: T__36
+ // InternalETPhys.g:1:154: T__36
{
mT__36();
}
break;
case 26 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:160: T__37
+ // InternalETPhys.g:1:160: T__37
{
mT__37();
}
break;
case 27 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:166: T__38
+ // InternalETPhys.g:1:166: T__38
{
mT__38();
}
break;
case 28 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:172: T__39
+ // InternalETPhys.g:1:172: T__39
{
mT__39();
}
break;
case 29 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:178: T__40
+ // InternalETPhys.g:1:178: T__40
{
mT__40();
}
break;
case 30 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:184: T__41
+ // InternalETPhys.g:1:184: T__41
{
mT__41();
}
break;
case 31 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:190: T__42
+ // InternalETPhys.g:1:190: T__42
{
mT__42();
}
break;
case 32 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:196: T__43
+ // InternalETPhys.g:1:196: T__43
{
mT__43();
}
break;
case 33 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:202: T__44
+ // InternalETPhys.g:1:202: T__44
{
mT__44();
}
break;
case 34 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:208: T__45
+ // InternalETPhys.g:1:208: T__45
{
mT__45();
}
break;
case 35 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:214: T__46
+ // InternalETPhys.g:1:214: T__46
{
mT__46();
}
break;
case 36 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:220: T__47
+ // InternalETPhys.g:1:220: T__47
{
mT__47();
}
break;
case 37 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:226: T__48
+ // InternalETPhys.g:1:226: T__48
{
mT__48();
}
break;
case 38 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:232: T__49
+ // InternalETPhys.g:1:232: T__49
{
mT__49();
}
break;
case 39 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:238: T__50
+ // InternalETPhys.g:1:238: T__50
{
mT__50();
}
break;
case 40 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:244: T__51
+ // InternalETPhys.g:1:244: T__51
{
mT__51();
}
break;
case 41 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:250: T__52
+ // InternalETPhys.g:1:250: T__52
{
mT__52();
}
break;
case 42 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:256: T__53
+ // InternalETPhys.g:1:256: T__53
{
mT__53();
}
break;
case 43 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:262: T__54
+ // InternalETPhys.g:1:262: T__54
{
mT__54();
}
break;
case 44 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:268: T__55
+ // InternalETPhys.g:1:268: T__55
{
mT__55();
}
break;
case 45 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:274: T__56
+ // InternalETPhys.g:1:274: T__56
{
mT__56();
}
break;
case 46 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:280: T__57
+ // InternalETPhys.g:1:280: T__57
{
mT__57();
}
break;
case 47 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:286: T__58
+ // InternalETPhys.g:1:286: T__58
{
mT__58();
}
break;
case 48 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:292: T__59
+ // InternalETPhys.g:1:292: T__59
{
mT__59();
}
break;
case 49 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:298: T__60
+ // InternalETPhys.g:1:298: T__60
{
mT__60();
}
break;
case 50 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:304: T__61
+ // InternalETPhys.g:1:304: T__61
{
mT__61();
}
break;
case 51 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:310: RULE_HEX
+ // InternalETPhys.g:1:310: RULE_HEX
{
mRULE_HEX();
}
break;
case 52 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:319: RULE_ID
+ // InternalETPhys.g:1:319: RULE_ID
{
mRULE_ID();
}
break;
case 53 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:327: RULE_INT
+ // InternalETPhys.g:1:327: RULE_INT
{
mRULE_INT();
}
break;
case 54 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:336: RULE_STRING
+ // InternalETPhys.g:1:336: RULE_STRING
{
mRULE_STRING();
}
break;
case 55 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:348: RULE_ML_COMMENT
+ // InternalETPhys.g:1:348: RULE_ML_COMMENT
{
mRULE_ML_COMMENT();
}
break;
case 56 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:364: RULE_SL_COMMENT
+ // InternalETPhys.g:1:364: RULE_SL_COMMENT
{
mRULE_SL_COMMENT();
}
break;
case 57 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:380: RULE_WS
+ // InternalETPhys.g:1:380: RULE_WS
{
mRULE_WS();
}
break;
case 58 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1:388: RULE_ANY_OTHER
+ // InternalETPhys.g:1:388: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -2142,101 +2142,19 @@ public class InternalETPhysLexer extends Lexer {
protected DFA14 dfa14 = new DFA14(this);
static final String DFA14_eotS =
- "\1\uffff\1\50\2\uffff\1\50\1\uffff\1\50\1\uffff\3\50\1\65\1\50"+
- "\1\72\4\50\1\uffff\1\50\1\107\2\uffff\3\50\2\uffff\1\117\1\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\uffff\4\50\1\uffff\1\150\7\50\1\uffff\2\50\4\uffff"+
- "\1\162\1\163\1\50\3\uffff\1\50\6\uffff\21\50\1\uffff\11\50\2\uffff"+
- "\5\50\1\u0098\25\50\1\u00ae\1\50\1\u00b0\6\50\1\uffff\16\50\1\u00c6"+
- "\1\50\1\u00c8\4\50\1\uffff\1\u00cd\1\uffff\7\50\1\u00d5\2\50\1\u00d8"+
- "\2\50\1\u00db\2\50\1\u00de\4\50\1\uffff\1\50\1\uffff\4\50\1\uffff"+
- "\2\50\1\u00ea\1\50\1\u00ec\1\u00ed\1\u00ee\1\uffff\2\50\1\uffff"+
- "\2\50\1\uffff\2\50\1\uffff\11\50\1\u00fe\1\50\1\uffff\1\50\3\uffff"+
- "\4\50\1\u0106\1\u0107\7\50\1\u010f\1\50\1\uffff\2\50\1\u0113\1\u0114"+
- "\1\u0115\2\50\2\uffff\1\u0118\3\50\1\u011c\2\50\1\uffff\1\u011f"+
- "\2\50\3\uffff\2\50\1\uffff\3\50\1\uffff\2\50\1\uffff\2\50\1\u012b"+
- "\3\50\1\u012f\4\50\1\uffff\2\50\1\u0136\1\uffff\1\50\1\u0138\1\u0139"+
- "\1\50\1\u013b\1\50\1\uffff\1\u013d\2\uffff\1\u013e\1\uffff\1\u013f"+
- "\3\uffff";
+ "\1\uffff\1\50\2\uffff\1\50\1\uffff\1\50\1\uffff\3\50\1\65\1\50\1\72\4\50\1\uffff\1\50\1\107\2\uffff\3\50\2\uffff\1\117\1\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\uffff\4\50\1\uffff\1\150\7\50\1\uffff\2\50\4\uffff\1\162\1\163\1\50\3\uffff\1\50\6\uffff\21\50\1\uffff\11\50\2\uffff\5\50\1\u0098\25\50\1\u00ae\1\50\1\u00b0\6\50\1\uffff\16\50\1\u00c6\1\50\1\u00c8\4\50\1\uffff\1\u00cd\1\uffff\7\50\1\u00d5\2\50\1\u00d8\2\50\1\u00db\2\50\1\u00de\4\50\1\uffff\1\50\1\uffff\4\50\1\uffff\2\50\1\u00ea\1\50\1\u00ec\1\u00ed\1\u00ee\1\uffff\2\50\1\uffff\2\50\1\uffff\2\50\1\uffff\11\50\1\u00fe\1\50\1\uffff\1\50\3\uffff\4\50\1\u0106\1\u0107\7\50\1\u010f\1\50\1\uffff\2\50\1\u0113\1\u0114\1\u0115\2\50\2\uffff\1\u0118\3\50\1\u011c\2\50\1\uffff\1\u011f\2\50\3\uffff\2\50\1\uffff\3\50\1\uffff\2\50\1\uffff\2\50\1\u012b\3\50\1\u012f\4\50\1\uffff\2\50\1\u0136\1\uffff\1\50\1\u0138\1\u0139\1\50\1\u013b\1\50\1\uffff\1\u013d\2\uffff\1\u013e\1\uffff\1\u013f\3\uffff";
static final String DFA14_eofS =
"\u0140\uffff";
static final String DFA14_minS =
- "\1\0\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\157\1\145\1\150"+
- "\1\60\1\155\1\60\1\141\1\165\1\160\1\164\1\uffff\1\141\1\52\2\uffff"+
- "\2\163\1\162\2\uffff\1\60\1\154\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\uffff\1\164\1\160\1\141\1\156\1\uffff\1\60\1\144"+
- "\1\156\1\170\1\154\1\156\2\164\1\uffff\1\157\1\154\4\uffff\2\60"+
- "\1\165\3\uffff\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\151\1\162\1\155\1\163\2\uffff"+
- "\1\145\1\143\1\151\1\103\1\151\1\60\1\145\1\157\1\164\2\141\1\165"+
- "\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144\2\151\1\157"+
- "\1\151\1\60\1\145\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff"+
- "\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1\166\1\164\1\163"+
- "\1\145\2\157\1\60\1\164\1\60\1\124\1\155\1\156\1\142\1\uffff\1\60"+
- "\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1\145\1"+
- "\147\1\60\1\141\1\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1"+
- "\154\1\uffff\1\157\1\uffff\1\150\1\145\1\141\1\165\1\uffff\1\144"+
- "\1\154\1\60\1\163\3\60\1\uffff\1\141\1\145\1\uffff\1\143\1\124\1"+
- "\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\2\162\1\103\1"+
- "\154\1\164\1\60\1\115\1\uffff\1\163\3\uffff\1\156\1\162\1\164\1"+
- "\150\2\60\1\145\1\162\1\163\1\151\1\171\1\145\1\154\1\60\1\145\1"+
- "\uffff\1\157\1\171\3\60\1\145\1\162\2\uffff\1\60\1\145\1\151\1\172"+
- "\1\60\2\141\1\uffff\1\60\1\144\1\163\3\uffff\1\162\1\145\1\uffff"+
- "\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff\1\145\1\164\1\60"+
- "\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\uffff\1\144\1"+
- "\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1\60\2\uffff"+
- "\1\60\1\uffff\1\60\3\uffff";
+ "\1\0\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\157\1\145\1\150\1\60\1\155\1\60\1\141\1\165\1\160\1\164\1\uffff\1\141\1\52\2\uffff\2\163\1\162\2\uffff\1\60\1\154\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\uffff\1\164\1\160\1\141\1\156\1\uffff\1\60\1\144\1\156\1\170\1\154\1\156\2\164\1\uffff\1\157\1\154\4\uffff\2\60\1\165\3\uffff\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\151\1\162\1\155\1\163\2\uffff\1\145\1\143\1\151\1\103\1\151\1\60\1\145\1\157\1\164\2\141\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144\2\151\1\157\1\151\1\60\1\145\1\60\1\153\1\143\1\145\1\154\1\155\1\141\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2\157\1\60\1\164\1\60\1\124\1\155\1\156\1\142\1\uffff\1\60\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\60\1\145\1\147\1\60\1\141\1\164\1\60\1\144\1\141\1\60\1\151\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145\1\141\1\165\1\uffff\1\144\1\154\1\60\1\163\3\60\1\uffff\1\141\1\145\1\uffff\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\2\162\1\103\1\154\1\164\1\60\1\115\1\uffff\1\163\3\uffff\1\156\1\162\1\164\1\150\2\60\1\145\1\162\1\163\1\151\1\171\1\145\1\154\1\60\1\145\1\uffff\1\157\1\171\3\60\1\145\1\162\2\uffff\1\60\1\145\1\151\1\172\1\60\2\141\1\uffff\1\60\1\144\1\163\3\uffff\1\162\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff\1\145\1\164\1\60\1\141\1\144\1\145\1\60\1\145\1\163\1\154\1\145\1\uffff\1\144\1\145\1\60\1\uffff\1\144\2\60\1\155\1\60\1\144\1\uffff\1\60\2\uffff\1\60\1\uffff\1\60\3\uffff";
static final String DFA14_maxS =
- "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\164\1\145"+
- "\1\150\1\172\1\156\1\172\2\165\1\160\1\164\1\uffff\1\162\1\52\2"+
- "\uffff\2\163\1\162\2\uffff\1\172\1\154\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\uffff\1\164\1\160\1\141\1\156\1\uffff"+
- "\1\172\1\144\1\156\1\170\1\154\1\156\2\164\1\uffff\1\157\1\154\4"+
- "\uffff\2\172\1\165\3\uffff\1\157\6\uffff\1\163\1\145\1\164\1\157"+
- "\1\154\1\157\1\156\1\145\1\150\1\141\1\145\1\143\1\145\1\157\1\143"+
- "\1\147\1\160\1\uffff\1\145\1\144\1\145\2\164\1\151\1\162\1\155\1"+
- "\163\2\uffff\1\145\1\143\1\151\1\122\1\151\1\172\1\145\1\157\1\164"+
- "\2\141\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144"+
- "\2\151\1\157\1\151\1\172\1\145\1\172\1\153\1\143\1\145\1\154\1\155"+
- "\1\151\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1"+
- "\166\1\164\1\163\1\145\2\157\1\172\1\164\1\172\1\124\1\155\1\156"+
- "\1\142\1\uffff\1\172\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156"+
- "\1\170\1\172\1\145\1\147\1\172\1\141\1\164\1\172\1\144\1\141\1\172"+
- "\1\151\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145\1\141"+
- "\1\165\1\uffff\1\144\1\154\1\172\1\163\3\172\1\uffff\1\141\1\145"+
- "\1\uffff\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153"+
- "\1\163\2\162\1\103\1\154\1\164\1\172\1\123\1\uffff\1\163\3\uffff"+
- "\1\156\1\162\1\164\1\150\2\172\1\145\1\162\1\163\1\151\1\171\1\145"+
- "\1\154\1\172\1\145\1\uffff\1\157\1\171\3\172\1\145\1\162\2\uffff"+
- "\1\172\1\145\1\151\2\172\2\141\1\uffff\1\172\1\144\1\163\3\uffff"+
- "\1\162\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff"+
- "\1\145\1\164\1\172\1\141\1\144\1\145\1\172\1\145\1\163\1\154\1\145"+
- "\1\uffff\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1\172\1\144"+
- "\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff";
+ "\1\uffff\1\150\2\uffff\1\157\1\uffff\1\165\1\uffff\1\164\1\145\1\150\1\172\1\156\1\172\2\165\1\160\1\164\1\uffff\1\162\1\52\2\uffff\2\163\1\162\2\uffff\1\172\1\154\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\uffff\1\164\1\160\1\141\1\156\1\uffff\1\172\1\144\1\156\1\170\1\154\1\156\2\164\1\uffff\1\157\1\154\4\uffff\2\172\1\165\3\uffff\1\157\6\uffff\1\163\1\145\1\164\1\157\1\154\1\157\1\156\1\145\1\150\1\141\1\145\1\143\1\145\1\157\1\143\1\147\1\160\1\uffff\1\145\1\144\1\145\2\164\1\151\1\162\1\155\1\163\2\uffff\1\145\1\143\1\151\1\122\1\151\1\172\1\145\1\157\1\164\2\141\1\165\1\141\1\155\2\162\1\153\2\154\1\157\1\154\1\141\1\144\2\151\1\157\1\151\1\172\1\145\1\172\1\153\1\143\1\145\1\154\1\155\1\151\1\uffff\1\144\1\154\1\145\1\154\1\162\1\154\1\144\1\157\1\166\1\164\1\163\1\145\2\157\1\172\1\164\1\172\1\124\1\155\1\156\1\142\1\uffff\1\172\1\uffff\1\145\1\141\1\146\1\141\1\145\1\156\1\170\1\172\1\145\1\147\1\172\1\141\1\164\1\172\1\144\1\141\1\172\1\151\1\124\1\143\1\154\1\uffff\1\157\1\uffff\1\150\1\145\1\141\1\165\1\uffff\1\144\1\154\1\172\1\163\3\172\1\uffff\1\141\1\145\1\uffff\1\143\1\124\1\uffff\1\145\1\154\1\uffff\1\172\1\150\1\153\1\163\2\162\1\103\1\154\1\164\1\172\1\123\1\uffff\1\163\3\uffff\1\156\1\162\1\164\1\150\2\172\1\145\1\162\1\163\1\151\1\171\1\145\1\154\1\172\1\145\1\uffff\1\157\1\171\3\172\1\145\1\162\2\uffff\1\172\1\145\1\151\2\172\2\141\1\uffff\1\172\1\144\1\163\3\uffff\1\162\1\145\1\uffff\1\141\1\172\1\145\1\uffff\1\144\1\163\1\uffff\1\145\1\164\1\172\1\141\1\144\1\145\1\172\1\145\1\163\1\154\1\145\1\uffff\1\144\1\145\1\172\1\uffff\1\144\2\172\1\155\1\172\1\144\1\uffff\1\172\2\uffff\1\172\1\uffff\1\172\3\uffff";
static final String DFA14_acceptS =
- "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\12\uffff\1\31\2\uffff"+
- "\1\35\1\36\3\uffff\1\45\1\46\4\uffff\1\64\1\65\3\uffff\1\71\1\72"+
- "\1\uffff\1\64\1\2\1\3\1\uffff\1\6\1\uffff\1\11\6\uffff\1\50\4\uffff"+
- "\1\37\10\uffff\1\31\2\uffff\1\34\1\47\1\35\1\36\3\uffff\1\45\1\46"+
- "\1\51\1\uffff\1\63\1\65\1\66\1\67\1\70\1\71\21\uffff\1\40\11\uffff"+
- "\1\41\1\42\44\uffff\1\20\25\uffff\1\33\1\uffff\1\44\25\uffff\1\25"+
- "\1\uffff\1\54\4\uffff\1\43\7\uffff\1\52\2\uffff\1\61\2\uffff\1\15"+
- "\2\uffff\1\32\13\uffff\1\5\1\uffff\1\10\1\12\1\13\17\uffff\1\53"+
- "\7\uffff\1\16\1\17\7\uffff\1\26\3\uffff\1\7\1\57\1\60\2\uffff\1"+
- "\21\3\uffff\1\27\2\uffff\1\30\13\uffff\1\62\3\uffff\1\23\6\uffff"+
- "\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1\uffff\1\56\1\4\1\55";
+ "\2\uffff\1\2\1\3\1\uffff\1\6\1\uffff\1\11\12\uffff\1\31\2\uffff\1\35\1\36\3\uffff\1\45\1\46\4\uffff\1\64\1\65\3\uffff\1\71\1\72\1\uffff\1\64\1\2\1\3\1\uffff\1\6\1\uffff\1\11\6\uffff\1\50\4\uffff\1\37\10\uffff\1\31\2\uffff\1\34\1\47\1\35\1\36\3\uffff\1\45\1\46\1\51\1\uffff\1\63\1\65\1\66\1\67\1\70\1\71\21\uffff\1\40\11\uffff\1\41\1\42\44\uffff\1\20\25\uffff\1\33\1\uffff\1\44\25\uffff\1\25\1\uffff\1\54\4\uffff\1\43\7\uffff\1\52\2\uffff\1\61\2\uffff\1\15\2\uffff\1\32\13\uffff\1\5\1\uffff\1\10\1\12\1\13\17\uffff\1\53\7\uffff\1\16\1\17\7\uffff\1\26\3\uffff\1\7\1\57\1\60\2\uffff\1\21\3\uffff\1\27\2\uffff\1\30\13\uffff\1\62\3\uffff\1\23\6\uffff\1\22\1\uffff\1\24\1\1\1\uffff\1\14\1\uffff\1\56\1\4\1\55";
static final String DFA14_specialS =
"\1\1\41\uffff\1\2\1\0\u011c\uffff}>";
static final String[] DFA14_transitionS = {
- "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\4\46\1\43\3\46\1"+
- "\32\1\22\1\33\1\24\1\44\1\36\11\41\1\5\2\46\1\7\3\46\3\40\1"+
- "\11\1\34\10\40\1\4\1\40\1\1\1\40\1\17\1\40\1\12\6\40\1\25\1"+
- "\46\1\26\1\37\1\40\1\46\1\21\1\35\2\40\1\13\1\23\2\40\1\14\3"+
- "\40\1\16\1\30\1\20\1\10\1\40\1\6\1\15\1\31\1\27\5\40\1\2\1\46"+
- "\1\3\uff82\46",
+ "\11\46\2\45\2\46\1\45\22\46\1\45\1\46\1\42\4\46\1\43\3\46\1\32\1\22\1\33\1\24\1\44\1\36\11\41\1\5\2\46\1\7\3\46\3\40\1\11\1\34\10\40\1\4\1\40\1\1\1\40\1\17\1\40\1\12\6\40\1\25\1\46\1\26\1\37\1\40\1\46\1\21\1\35\2\40\1\13\1\23\2\40\1\14\3\40\1\16\1\30\1\20\1\10\1\40\1\6\1\15\1\31\1\27\5\40\1\2\1\46\1\3\uff82\46",
"\1\47",
"",
"",
@@ -2249,8 +2167,7 @@ public class InternalETPhysLexer extends Lexer {
"\1\63",
"\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\27\50\1\64\2\50",
"\1\67\1\66",
- "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\10\50\1\71\12\50"+
- "\1\70\6\50",
+ "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\10\50\1\71\12\50\1\70\6\50",
"\1\75\7\uffff\1\76\5\uffff\1\74\3\uffff\1\73\1\uffff\1\77",
"\1\100",
"\1\101",
@@ -2358,8 +2275,7 @@ public class InternalETPhysLexer extends Lexer {
"\1\u0093",
"\1\u0095\16\uffff\1\u0094",
"\1\u0096",
- "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\14\50\1\u0097\15"+
- "\50",
+ "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\14\50\1\u0097\15\50",
"\1\u0099",
"\1\u009a",
"\1\u009b",
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 feece41f6..98edbf34a 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
@@ -18,8 +18,7 @@ import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
-import java.util.Map;
-import java.util.HashMap;
+
@SuppressWarnings("all")
public class InternalETPhysParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
@@ -99,7 +98,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
public String[] getTokenNames() { return InternalETPhysParser.tokenNames; }
- public String getGrammarFileName() { return "../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g"; }
+ public String getGrammarFileName() { return "InternalETPhys.g"; }
@@ -124,7 +123,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePhysicalModel"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:68:1: entryRulePhysicalModel returns [EObject current=null] : iv_rulePhysicalModel= rulePhysicalModel EOF ;
+ // InternalETPhys.g:68:1: entryRulePhysicalModel returns [EObject current=null] : iv_rulePhysicalModel= rulePhysicalModel EOF ;
public final EObject entryRulePhysicalModel() throws RecognitionException {
EObject current = null;
@@ -132,21 +131,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:69:2: (iv_rulePhysicalModel= rulePhysicalModel EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:70:2: iv_rulePhysicalModel= rulePhysicalModel EOF
+ // InternalETPhys.g:69:2: (iv_rulePhysicalModel= rulePhysicalModel EOF )
+ // InternalETPhys.g:70:2: iv_rulePhysicalModel= rulePhysicalModel EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPhysicalModelRule());
- }
- pushFollow(FOLLOW_rulePhysicalModel_in_entryRulePhysicalModel75);
+ newCompositeNode(grammarAccess.getPhysicalModelRule());
+ pushFollow(FOLLOW_1);
iv_rulePhysicalModel=rulePhysicalModel();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_rulePhysicalModel;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalModel85); if (state.failed) return current;
+
+ current =iv_rulePhysicalModel;
+ match(input,EOF,FOLLOW_2);
}
@@ -164,7 +159,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePhysicalModel"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:77:1: rulePhysicalModel returns [EObject current=null] : (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= '}' ) ;
+ // InternalETPhys.g:77:1: rulePhysicalModel returns [EObject current=null] : (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= '}' ) ;
public final EObject rulePhysicalModel() throws RecognitionException {
EObject current = null;
@@ -185,60 +180,52 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:80:28: ( (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: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= '}' )
+ // InternalETPhys.g:80:28: ( (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= '}' ) )
+ // 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: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= '}'
+ // 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= '}' )
+ // 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,12,FOLLOW_12_in_rulePhysicalModel122); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,12,FOLLOW_3);
- newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:85:1: ( (lv_name_1_0= ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
+ newLeafNode(otherlv_0, grammarAccess.getPhysicalModelAccess().getPhysicalModelKeyword_0());
+
+ // InternalETPhys.g:85:1: ( (lv_name_1_0= ruleFQN ) )
+ // InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:87:3: lv_name_1_0= ruleFQN
+ // InternalETPhys.g:86:1: (lv_name_1_0= ruleFQN )
+ // InternalETPhys.g:87:3: lv_name_1_0= ruleFQN
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getNameFQNParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_ruleFQN_in_rulePhysicalModel143);
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getNameFQNParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_4);
lv_name_1_0=ruleFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- set(
- current,
- "name",
- lv_name_1_0,
- "FQN");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_1_0,
+ "org.eclipse.etrice.core.common.Base.FQN");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePhysicalModel155); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,13,FOLLOW_5);
- newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:107:1: ( (lv_imports_3_0= ruleImport ) )*
+ newLeafNode(otherlv_2, grammarAccess.getPhysicalModelAccess().getLeftCurlyBracketKeyword_2());
+
+ // InternalETPhys.g:107:1: ( (lv_imports_3_0= ruleImport ) )*
loop1:
do {
int alt1=2;
@@ -251,34 +238,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt1) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
+ // InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:109:3: lv_imports_3_0= ruleImport
+ // InternalETPhys.g:108:1: (lv_imports_3_0= ruleImport )
+ // InternalETPhys.g:109:3: lv_imports_3_0= ruleImport
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getImportsImportParserRuleCall_3_0());
-
- }
- pushFollow(FOLLOW_ruleImport_in_rulePhysicalModel176);
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getImportsImportParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_5);
lv_imports_3_0=ruleImport();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "imports",
- lv_imports_3_0,
- "Import");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "imports",
+ lv_imports_3_0,
+ "org.eclipse.etrice.core.common.Base.Import");
+ afterParserOrEnumRuleCall();
+
}
@@ -291,7 +274,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:3: ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )*
+ // InternalETPhys.g:125:3: ( ( (lv_systems_4_0= rulePhysicalSystem ) ) | ( (lv_nodeClasses_5_0= ruleNodeClass ) ) | ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) ) )*
loop2:
do {
int alt2=4;
@@ -316,37 +299,33 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt2) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
+ // InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
+ // InternalETPhys.g:125:4: ( (lv_systems_4_0= rulePhysicalSystem ) )
+ // InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:127:3: lv_systems_4_0= rulePhysicalSystem
+ // InternalETPhys.g:126:1: (lv_systems_4_0= rulePhysicalSystem )
+ // InternalETPhys.g:127:3: lv_systems_4_0= rulePhysicalSystem
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getSystemsPhysicalSystemParserRuleCall_4_0_0());
-
- }
- pushFollow(FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199);
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getSystemsPhysicalSystemParserRuleCall_4_0_0());
+
+ pushFollow(FOLLOW_6);
lv_systems_4_0=rulePhysicalSystem();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "systems",
- lv_systems_4_0,
- "PhysicalSystem");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "systems",
+ lv_systems_4_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.PhysicalSystem");
+ afterParserOrEnumRuleCall();
+
}
@@ -357,37 +336,33 @@ 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:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
+ // InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
+ // InternalETPhys.g:144:6: ( (lv_nodeClasses_5_0= ruleNodeClass ) )
+ // InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:146:3: lv_nodeClasses_5_0= ruleNodeClass
+ // InternalETPhys.g:145:1: (lv_nodeClasses_5_0= ruleNodeClass )
+ // InternalETPhys.g:146:3: lv_nodeClasses_5_0= ruleNodeClass
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getNodeClassesNodeClassParserRuleCall_4_1_0());
-
- }
- pushFollow(FOLLOW_ruleNodeClass_in_rulePhysicalModel226);
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getNodeClassesNodeClassParserRuleCall_4_1_0());
+
+ pushFollow(FOLLOW_6);
lv_nodeClasses_5_0=ruleNodeClass();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "nodeClasses",
- lv_nodeClasses_5_0,
- "NodeClass");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "nodeClasses",
+ lv_nodeClasses_5_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.NodeClass");
+ afterParserOrEnumRuleCall();
+
}
@@ -398,37 +373,33 @@ 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:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
+ // InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
+ // InternalETPhys.g:163:6: ( (lv_runtimeClasses_6_0= ruleRuntimeClass ) )
+ // InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:165:3: lv_runtimeClasses_6_0= ruleRuntimeClass
+ // InternalETPhys.g:164:1: (lv_runtimeClasses_6_0= ruleRuntimeClass )
+ // InternalETPhys.g:165:3: lv_runtimeClasses_6_0= ruleRuntimeClass
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalModelAccess().getRuntimeClassesRuntimeClassParserRuleCall_4_2_0());
-
- }
- pushFollow(FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253);
+
+ newCompositeNode(grammarAccess.getPhysicalModelAccess().getRuntimeClassesRuntimeClassParserRuleCall_4_2_0());
+
+ pushFollow(FOLLOW_6);
lv_runtimeClasses_6_0=ruleRuntimeClass();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
- }
- add(
- current,
- "runtimeClasses",
- lv_runtimeClasses_6_0,
- "RuntimeClass");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalModelRule());
+ }
+ add(
+ current,
+ "runtimeClasses",
+ lv_runtimeClasses_6_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.RuntimeClass");
+ afterParserOrEnumRuleCall();
+
}
@@ -444,21 +415,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_7=(Token)match(input,14,FOLLOW_14_in_rulePhysicalModel267); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_7=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5());
-
- }
+ newLeafNode(otherlv_7, grammarAccess.getPhysicalModelAccess().getRightCurlyBracketKeyword_5());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -473,7 +440,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePhysicalSystem"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:193:1: entryRulePhysicalSystem returns [EObject current=null] : iv_rulePhysicalSystem= rulePhysicalSystem EOF ;
+ // InternalETPhys.g:193:1: entryRulePhysicalSystem returns [EObject current=null] : iv_rulePhysicalSystem= rulePhysicalSystem EOF ;
public final EObject entryRulePhysicalSystem() throws RecognitionException {
EObject current = null;
@@ -481,21 +448,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:194:2: (iv_rulePhysicalSystem= rulePhysicalSystem EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:195:2: iv_rulePhysicalSystem= rulePhysicalSystem EOF
+ // InternalETPhys.g:194:2: (iv_rulePhysicalSystem= rulePhysicalSystem EOF )
+ // InternalETPhys.g:195:2: iv_rulePhysicalSystem= rulePhysicalSystem EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPhysicalSystemRule());
- }
- pushFollow(FOLLOW_rulePhysicalSystem_in_entryRulePhysicalSystem303);
+ newCompositeNode(grammarAccess.getPhysicalSystemRule());
+ pushFollow(FOLLOW_1);
iv_rulePhysicalSystem=rulePhysicalSystem();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_rulePhysicalSystem;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalSystem313); if (state.failed) return current;
+
+ current =iv_rulePhysicalSystem;
+ match(input,EOF,FOLLOW_2);
}
@@ -513,7 +476,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePhysicalSystem"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:202:1: rulePhysicalSystem returns [EObject current=null] : (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) ;
+ // InternalETPhys.g:202:1: rulePhysicalSystem returns [EObject current=null] : (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) ;
public final EObject rulePhysicalSystem() throws RecognitionException {
EObject current = null;
@@ -529,49 +492,43 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:205:28: ( (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:1: (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' )
+ // InternalETPhys.g:205:28: ( (otherlv_0= 'PhysicalSystem' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' ( (lv_nodeRefs_4_0= ruleNodeRef ) )* otherlv_5= '}' ) )
+ // 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: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= '}'
+ // 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= '}' )
+ // 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,15,FOLLOW_15_in_rulePhysicalSystem350); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,15,FOLLOW_3);
- newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:210:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getPhysicalSystemAccess().getPhysicalSystemKeyword_0());
+
+ // InternalETPhys.g:210:1: ( (lv_name_1_0= RULE_ID ) )
+ // InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:212:3: lv_name_1_0= RULE_ID
+ // InternalETPhys.g:211:1: (lv_name_1_0= RULE_ID )
+ // InternalETPhys.g:212:3: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalSystem367); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_7);
- newLeafNode(lv_name_1_0, grammarAccess.getPhysicalSystemAccess().getNameIDTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_1_0, grammarAccess.getPhysicalSystemAccess().getNameIDTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalSystemRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalSystemRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:228:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ // InternalETPhys.g:228:2: ( (lv_docu_2_0= ruleDocumentation ) )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -580,34 +537,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt3) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:230:3: lv_docu_2_0= ruleDocumentation
+ // InternalETPhys.g:229:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:230:3: lv_docu_2_0= ruleDocumentation
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalSystemAccess().getDocuDocumentationParserRuleCall_2_0());
-
- }
- pushFollow(FOLLOW_ruleDocumentation_in_rulePhysicalSystem393);
+
+ newCompositeNode(grammarAccess.getPhysicalSystemAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_4);
lv_docu_2_0=ruleDocumentation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "org.eclipse.etrice.core.common.Base.Documentation");
+ afterParserOrEnumRuleCall();
+
}
@@ -617,13 +570,11 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_13_in_rulePhysicalSystem406); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,13,FOLLOW_8);
- newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:250:1: ( (lv_nodeRefs_4_0= ruleNodeRef ) )*
+ newLeafNode(otherlv_3, grammarAccess.getPhysicalSystemAccess().getLeftCurlyBracketKeyword_3());
+
+ // InternalETPhys.g:250:1: ( (lv_nodeRefs_4_0= ruleNodeRef ) )*
loop4:
do {
int alt4=2;
@@ -636,34 +587,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt4) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
+ // InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:252:3: lv_nodeRefs_4_0= ruleNodeRef
+ // InternalETPhys.g:251:1: (lv_nodeRefs_4_0= ruleNodeRef )
+ // InternalETPhys.g:252:3: lv_nodeRefs_4_0= ruleNodeRef
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalSystemAccess().getNodeRefsNodeRefParserRuleCall_4_0());
-
- }
- pushFollow(FOLLOW_ruleNodeRef_in_rulePhysicalSystem427);
+
+ newCompositeNode(grammarAccess.getPhysicalSystemAccess().getNodeRefsNodeRefParserRuleCall_4_0());
+
+ pushFollow(FOLLOW_8);
lv_nodeRefs_4_0=ruleNodeRef();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
- }
- add(
- current,
- "nodeRefs",
- lv_nodeRefs_4_0,
- "NodeRef");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalSystemRule());
+ }
+ add(
+ current,
+ "nodeRefs",
+ lv_nodeRefs_4_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.NodeRef");
+ afterParserOrEnumRuleCall();
+
}
@@ -676,21 +623,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_5=(Token)match(input,14,FOLLOW_14_in_rulePhysicalSystem440); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5());
-
- }
+ newLeafNode(otherlv_5, grammarAccess.getPhysicalSystemAccess().getRightCurlyBracketKeyword_5());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -705,7 +648,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNodeRef"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:280:1: entryRuleNodeRef returns [EObject current=null] : iv_ruleNodeRef= ruleNodeRef EOF ;
+ // InternalETPhys.g:280:1: entryRuleNodeRef returns [EObject current=null] : iv_ruleNodeRef= ruleNodeRef EOF ;
public final EObject entryRuleNodeRef() throws RecognitionException {
EObject current = null;
@@ -713,21 +656,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:281:2: (iv_ruleNodeRef= ruleNodeRef EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:282:2: iv_ruleNodeRef= ruleNodeRef EOF
+ // InternalETPhys.g:281:2: (iv_ruleNodeRef= ruleNodeRef EOF )
+ // InternalETPhys.g:282:2: iv_ruleNodeRef= ruleNodeRef EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNodeRefRule());
- }
- pushFollow(FOLLOW_ruleNodeRef_in_entryRuleNodeRef476);
+ newCompositeNode(grammarAccess.getNodeRefRule());
+ pushFollow(FOLLOW_1);
iv_ruleNodeRef=ruleNodeRef();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleNodeRef;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleNodeRef486); if (state.failed) return current;
+
+ current =iv_ruleNodeRef;
+ match(input,EOF,FOLLOW_2);
}
@@ -745,7 +684,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNodeRef"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:289:1: ruleNodeRef returns [EObject current=null] : (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) ;
+ // InternalETPhys.g:289:1: ruleNodeRef returns [EObject current=null] : (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) ;
public final EObject ruleNodeRef() throws RecognitionException {
EObject current = null;
@@ -758,89 +697,75 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:292:28: ( (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:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
+ // InternalETPhys.g:292:28: ( (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? ) )
+ // 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: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 ) )?
+ // InternalETPhys.g:293:1: (otherlv_0= 'NodeRef' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( ( ruleFQN ) ) ( (lv_docu_4_0= ruleDocumentation ) )? )
+ // 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,16,FOLLOW_16_in_ruleNodeRef523); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,16,FOLLOW_3);
- newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:297:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getNodeRefAccess().getNodeRefKeyword_0());
+
+ // InternalETPhys.g:297:1: ( (lv_name_1_0= RULE_ID ) )
+ // InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:299:3: lv_name_1_0= RULE_ID
+ // InternalETPhys.g:298:1: (lv_name_1_0= RULE_ID )
+ // InternalETPhys.g:299:3: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeRef540); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_9);
- newLeafNode(lv_name_1_0, grammarAccess.getNodeRefAccess().getNameIDTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_1_0, grammarAccess.getNodeRefAccess().getNameIDTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeRefRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeRefRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- otherlv_2=(Token)match(input,17,FOLLOW_17_in_ruleNodeRef557); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,17,FOLLOW_3);
- newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:319:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
+ newLeafNode(otherlv_2, grammarAccess.getNodeRefAccess().getColonKeyword_2());
+
+ // InternalETPhys.g:319:1: ( ( ruleFQN ) )
+ // InternalETPhys.g:320:1: ( ruleFQN )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:320:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:321:3: ruleFQN
+ // InternalETPhys.g:320:1: ( ruleFQN )
+ // InternalETPhys.g:321:3: ruleFQN
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeRefRule());
- }
-
- }
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeRefAccess().getTypeNodeClassCrossReference_3_0());
-
- }
- pushFollow(FOLLOW_ruleFQN_in_ruleNodeRef580);
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeRefRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getNodeRefAccess().getTypeNodeClassCrossReference_3_0());
+
+ pushFollow(FOLLOW_10);
ruleFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- afterParserOrEnumRuleCall();
-
- }
+
+
+ afterParserOrEnumRuleCall();
+
}
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:334:2: ( (lv_docu_4_0= ruleDocumentation ) )?
+ // InternalETPhys.g:334:2: ( (lv_docu_4_0= ruleDocumentation ) )?
int alt5=2;
int LA5_0 = input.LA(1);
@@ -849,34 +774,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt5) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
+ // InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:336:3: lv_docu_4_0= ruleDocumentation
+ // InternalETPhys.g:335:1: (lv_docu_4_0= ruleDocumentation )
+ // InternalETPhys.g:336:3: lv_docu_4_0= ruleDocumentation
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeRefAccess().getDocuDocumentationParserRuleCall_4_0());
-
- }
- pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeRef601);
+
+ newCompositeNode(grammarAccess.getNodeRefAccess().getDocuDocumentationParserRuleCall_4_0());
+
+ pushFollow(FOLLOW_2);
lv_docu_4_0=ruleDocumentation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeRefRule());
- }
- set(
- current,
- "docu",
- lv_docu_4_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeRefRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_4_0,
+ "org.eclipse.etrice.core.common.Base.Documentation");
+ afterParserOrEnumRuleCall();
+
}
@@ -892,9 +813,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -909,7 +828,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNodeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:360:1: entryRuleNodeClass returns [EObject current=null] : iv_ruleNodeClass= ruleNodeClass EOF ;
+ // InternalETPhys.g:360:1: entryRuleNodeClass returns [EObject current=null] : iv_ruleNodeClass= ruleNodeClass EOF ;
public final EObject entryRuleNodeClass() throws RecognitionException {
EObject current = null;
@@ -917,21 +836,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:361:2: (iv_ruleNodeClass= ruleNodeClass EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:362:2: iv_ruleNodeClass= ruleNodeClass EOF
+ // InternalETPhys.g:361:2: (iv_ruleNodeClass= ruleNodeClass EOF )
+ // InternalETPhys.g:362:2: iv_ruleNodeClass= ruleNodeClass EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNodeClassRule());
- }
- pushFollow(FOLLOW_ruleNodeClass_in_entryRuleNodeClass638);
+ newCompositeNode(grammarAccess.getNodeClassRule());
+ pushFollow(FOLLOW_1);
iv_ruleNodeClass=ruleNodeClass();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleNodeClass;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleNodeClass648); if (state.failed) return current;
+
+ current =iv_ruleNodeClass;
+ match(input,EOF,FOLLOW_2);
}
@@ -949,7 +864,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNodeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:369:1: ruleNodeClass returns [EObject current=null] : (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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' ) ;
+ // InternalETPhys.g:369:1: ruleNodeClass returns [EObject current=null] : (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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' ) ;
public final EObject ruleNodeClass() throws RecognitionException {
EObject current = null;
@@ -975,49 +890,43 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:372:28: ( (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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (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: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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' )
+ // InternalETPhys.g:372:28: ( (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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' ) )
+ // 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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (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: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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}'
+ // 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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}' )
+ // 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= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) ) ( (lv_threads_14_0= rulePhysicalThread ) )* otherlv_15= '}'
{
- otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleNodeClass685); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,18,FOLLOW_3);
- newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:377:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getNodeClassAccess().getNodeClassKeyword_0());
+
+ // InternalETPhys.g:377:1: ( (lv_name_1_0= RULE_ID ) )
+ // InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:379:3: lv_name_1_0= RULE_ID
+ // InternalETPhys.g:378:1: (lv_name_1_0= RULE_ID )
+ // InternalETPhys.g:379:3: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNodeClass702); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_7);
- newLeafNode(lv_name_1_0, grammarAccess.getNodeClassAccess().getNameIDTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_1_0, grammarAccess.getNodeClassAccess().getNameIDTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeClassRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeClassRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:395:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ // InternalETPhys.g:395:2: ( (lv_docu_2_0= ruleDocumentation ) )?
int alt6=2;
int LA6_0 = input.LA(1);
@@ -1026,34 +935,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt6) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:397:3: lv_docu_2_0= ruleDocumentation
+ // InternalETPhys.g:396:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:397:3: lv_docu_2_0= ruleDocumentation
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getDocuDocumentationParserRuleCall_2_0());
-
- }
- pushFollow(FOLLOW_ruleDocumentation_in_ruleNodeClass728);
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_4);
lv_docu_2_0=ruleDocumentation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "org.eclipse.etrice.core.common.Base.Documentation");
+ afterParserOrEnumRuleCall();
+
}
@@ -1063,105 +968,95 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleNodeClass741); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,13,FOLLOW_11);
- newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:417:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:419:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) )
+ newLeafNode(otherlv_3, grammarAccess.getNodeClassAccess().getLeftCurlyBracketKeyword_3());
+
+ // InternalETPhys.g:417:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) ) )
+ // InternalETPhys.g:419:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:419:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:420:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?)
+ // InternalETPhys.g:419:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?) )
+ // InternalETPhys.g:420:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?)
{
- getUnorderedGroupHelper().enter(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:423:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?)
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:424:3: ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?
+
+ getUnorderedGroupHelper().enter(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
+ // InternalETPhys.g:423:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?)
+ // InternalETPhys.g:424:3: ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+ {...}?
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:424:3: ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+
+ // InternalETPhys.g:424:3: ( ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) ) )+
int cnt7=0;
loop7:
do {
int alt7=4;
int LA7_0 = input.LA(1);
- if ( LA7_0 ==19 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) {
+ if ( LA7_0 == 19 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) {
alt7=1;
}
- else if ( LA7_0 ==21 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) {
+ else if ( LA7_0 == 21 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) {
alt7=2;
}
- else if ( LA7_0 ==22 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) {
+ else if ( LA7_0 == 22 && getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) {
alt7=3;
}
switch (alt7) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:4: ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) )
+ // InternalETPhys.g:426:4: ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:426:4: ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:427:5: {...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) )
+ // InternalETPhys.g:426:4: ({...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) ) )
+ // InternalETPhys.g:427:5: {...}? => ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:427:106: ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:428:6: ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) )
+ // InternalETPhys.g:427:106: ( ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) ) )
+ // InternalETPhys.g:428:6: ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:431:6: ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:431:7: {...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 0);
+
+ // InternalETPhys.g:431:6: ({...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) ) )
+ // InternalETPhys.g:431:7: {...}? => (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:431:16: (otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) ) )
+ // InternalETPhys.g:431:18: otherlv_5= 'runtime' otherlv_6= '=' ( ( ruleFQN ) )
{
- otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleNodeClass799); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,19,FOLLOW_12);
- newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4_0_0());
-
- }
- otherlv_6=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass811); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_5, grammarAccess.getNodeClassAccess().getRuntimeKeyword_4_0_0());
+
+ otherlv_6=(Token)match(input,20,FOLLOW_3);
- newLeafNode(otherlv_6, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_0_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:439:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:440:1: ( ruleFQN )
+ newLeafNode(otherlv_6, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_0_1());
+
+ // InternalETPhys.g:439:1: ( ( ruleFQN ) )
+ // InternalETPhys.g:440:1: ( ruleFQN )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:440:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:441:3: ruleFQN
+ // InternalETPhys.g:440:1: ( ruleFQN )
+ // InternalETPhys.g:441:3: ruleFQN
{
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElement(grammarAccess.getNodeClassRule());
- }
-
- }
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getRuntimeRuntimeClassCrossReference_4_0_2_0());
-
- }
- pushFollow(FOLLOW_ruleFQN_in_ruleNodeClass834);
+ if (current==null) {
+ current = createModelElement(grammarAccess.getNodeClassRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getRuntimeRuntimeClassCrossReference_4_0_2_0());
+
+ pushFollow(FOLLOW_13);
ruleFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- afterParserOrEnumRuleCall();
-
- }
+
+
+ afterParserOrEnumRuleCall();
+
}
@@ -1174,7 +1069,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
}
@@ -1185,70 +1082,62 @@ 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:461:4: ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:461:4: ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:461:4: ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:462:5: {...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:461:4: ({...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:462:5: {...}? => ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:462:106: ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:463:6: ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:462:106: ( ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:463:6: ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:466:6: ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:466:7: {...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 1);
+
+ // InternalETPhys.g:466:6: ({...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:466:7: {...}? => (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "true");
}
- // ../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= ruleInteger ) ) )
- // ../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= ruleInteger ) )
+ // InternalETPhys.g:466:16: (otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) ) )
+ // InternalETPhys.g:466:18: otherlv_8= 'priomin' otherlv_9= '=' ( (lv_priomin_10_0= ruleInteger ) )
{
- otherlv_8=(Token)match(input,21,FOLLOW_21_in_ruleNodeClass902); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_8=(Token)match(input,21,FOLLOW_12);
- newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getPriominKeyword_4_1_0());
-
- }
- otherlv_9=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass914); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_8, grammarAccess.getNodeClassAccess().getPriominKeyword_4_1_0());
+
+ otherlv_9=(Token)match(input,20,FOLLOW_14);
- newLeafNode(otherlv_9, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_1_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:474:1: ( (lv_priomin_10_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomin_10_0= ruleInteger )
+ newLeafNode(otherlv_9, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_1_1());
+
+ // InternalETPhys.g:474:1: ( (lv_priomin_10_0= ruleInteger ) )
+ // InternalETPhys.g:475:1: (lv_priomin_10_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:475:1: (lv_priomin_10_0= ruleInteger )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:476:3: lv_priomin_10_0= ruleInteger
+ // InternalETPhys.g:475:1: (lv_priomin_10_0= ruleInteger )
+ // InternalETPhys.g:476:3: lv_priomin_10_0= ruleInteger
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getPriominIntegerParserRuleCall_4_1_2_0());
-
- }
- pushFollow(FOLLOW_ruleInteger_in_ruleNodeClass935);
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getPriominIntegerParserRuleCall_4_1_2_0());
+
+ pushFollow(FOLLOW_13);
lv_priomin_10_0=ruleInteger();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "priomin",
- lv_priomin_10_0,
- "Integer");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "priomin",
+ lv_priomin_10_0,
+ "org.eclipse.etrice.core.common.Base.Integer");
+ afterParserOrEnumRuleCall();
+
}
@@ -1261,7 +1150,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
}
@@ -1272,70 +1163,62 @@ 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:499:4: ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:499:4: ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:499:4: ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:500:5: {...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:499:4: ({...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:500:5: {...}? => ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "getUnorderedGroupHelper().canSelect(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:500:106: ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:501:6: ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:500:106: ( ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:501:6: ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:504:6: ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:504:7: {...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getNodeClassAccess().getUnorderedGroup_4(), 2);
+
+ // InternalETPhys.g:504:6: ({...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:504:7: {...}? => (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "true");
}
- // ../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= ruleInteger ) ) )
- // ../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= ruleInteger ) )
+ // InternalETPhys.g:504:16: (otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) ) )
+ // InternalETPhys.g:504:18: otherlv_11= 'priomax' otherlv_12= '=' ( (lv_priomax_13_0= ruleInteger ) )
{
- otherlv_11=(Token)match(input,22,FOLLOW_22_in_ruleNodeClass1003); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_11=(Token)match(input,22,FOLLOW_12);
- newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getPriomaxKeyword_4_2_0());
-
- }
- otherlv_12=(Token)match(input,20,FOLLOW_20_in_ruleNodeClass1015); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_11, grammarAccess.getNodeClassAccess().getPriomaxKeyword_4_2_0());
+
+ otherlv_12=(Token)match(input,20,FOLLOW_14);
- newLeafNode(otherlv_12, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_2_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:512:1: ( (lv_priomax_13_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:513:1: (lv_priomax_13_0= ruleInteger )
+ newLeafNode(otherlv_12, grammarAccess.getNodeClassAccess().getEqualsSignKeyword_4_2_1());
+
+ // InternalETPhys.g:512:1: ( (lv_priomax_13_0= ruleInteger ) )
+ // InternalETPhys.g:513:1: (lv_priomax_13_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:513:1: (lv_priomax_13_0= ruleInteger )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:514:3: lv_priomax_13_0= ruleInteger
+ // InternalETPhys.g:513:1: (lv_priomax_13_0= ruleInteger )
+ // InternalETPhys.g:514:3: lv_priomax_13_0= ruleInteger
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getPriomaxIntegerParserRuleCall_4_2_2_0());
-
- }
- pushFollow(FOLLOW_ruleInteger_in_ruleNodeClass1036);
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getPriomaxIntegerParserRuleCall_4_2_2_0());
+
+ pushFollow(FOLLOW_13);
lv_priomax_13_0=ruleInteger();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- set(
- current,
- "priomax",
- lv_priomax_13_0,
- "Integer");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ set(
+ current,
+ "priomax",
+ lv_priomax_13_0,
+ "org.eclipse.etrice.core.common.Base.Integer");
+ afterParserOrEnumRuleCall();
+
}
@@ -1348,7 +1231,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
}
@@ -1361,7 +1246,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
default :
if ( cnt7 >= 1 ) break loop7;
- if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(7, input);
throw eee;
@@ -1370,7 +1254,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getNodeClassAccess().getUnorderedGroup_4()) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleNodeClass", "getUnorderedGroupHelper().canLeave(grammarAccess.getNodeClassAccess().getUnorderedGroup_4())");
}
@@ -1379,11 +1262,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().leave(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
+ getUnorderedGroupHelper().leave(grammarAccess.getNodeClassAccess().getUnorderedGroup_4());
+
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:545:2: ( (lv_threads_14_0= rulePhysicalThread ) )*
+ // InternalETPhys.g:545:2: ( (lv_threads_14_0= rulePhysicalThread ) )*
loop8:
do {
int alt8=2;
@@ -1396,34 +1281,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt8) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:546:1: (lv_threads_14_0= rulePhysicalThread )
+ // InternalETPhys.g:546:1: (lv_threads_14_0= rulePhysicalThread )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:546:1: (lv_threads_14_0= rulePhysicalThread )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:547:3: lv_threads_14_0= rulePhysicalThread
+ // InternalETPhys.g:546:1: (lv_threads_14_0= rulePhysicalThread )
+ // InternalETPhys.g:547:3: lv_threads_14_0= rulePhysicalThread
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNodeClassAccess().getThreadsPhysicalThreadParserRuleCall_5_0());
-
- }
- pushFollow(FOLLOW_rulePhysicalThread_in_ruleNodeClass1104);
+
+ newCompositeNode(grammarAccess.getNodeClassAccess().getThreadsPhysicalThreadParserRuleCall_5_0());
+
+ pushFollow(FOLLOW_15);
lv_threads_14_0=rulePhysicalThread();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getNodeClassRule());
- }
- add(
- current,
- "threads",
- lv_threads_14_0,
- "PhysicalThread");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getNodeClassRule());
+ }
+ add(
+ current,
+ "threads",
+ lv_threads_14_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.PhysicalThread");
+ afterParserOrEnumRuleCall();
+
}
@@ -1436,21 +1317,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_15=(Token)match(input,14,FOLLOW_14_in_ruleNodeClass1117); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_15=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_15, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_6());
-
- }
+ newLeafNode(otherlv_15, grammarAccess.getNodeClassAccess().getRightCurlyBracketKeyword_6());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -1465,7 +1342,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePhysicalThread"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:575:1: entryRulePhysicalThread returns [EObject current=null] : iv_rulePhysicalThread= rulePhysicalThread EOF ;
+ // InternalETPhys.g:575:1: entryRulePhysicalThread returns [EObject current=null] : iv_rulePhysicalThread= rulePhysicalThread EOF ;
public final EObject entryRulePhysicalThread() throws RecognitionException {
EObject current = null;
@@ -1473,21 +1350,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:576:2: (iv_rulePhysicalThread= rulePhysicalThread EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:577:2: iv_rulePhysicalThread= rulePhysicalThread EOF
+ // InternalETPhys.g:576:2: (iv_rulePhysicalThread= rulePhysicalThread EOF )
+ // InternalETPhys.g:577:2: iv_rulePhysicalThread= rulePhysicalThread EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getPhysicalThreadRule());
- }
- pushFollow(FOLLOW_rulePhysicalThread_in_entryRulePhysicalThread1153);
+ newCompositeNode(grammarAccess.getPhysicalThreadRule());
+ pushFollow(FOLLOW_1);
iv_rulePhysicalThread=rulePhysicalThread();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_rulePhysicalThread;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRulePhysicalThread1163); if (state.failed) return current;
+
+ current =iv_rulePhysicalThread;
+ match(input,EOF,FOLLOW_2);
}
@@ -1505,7 +1378,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePhysicalThread"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:584:1: rulePhysicalThread returns [EObject current=null] : ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' ) ;
+ // InternalETPhys.g:584:1: rulePhysicalThread returns [EObject current=null] : ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' ) ;
public final EObject rulePhysicalThread() throws RecognitionException {
EObject current = null;
@@ -1539,13 +1412,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:587:28: ( ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' )
+ // InternalETPhys.g:587:28: ( ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' ) )
+ // InternalETPhys.g:588:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}'
+ // InternalETPhys.g:588:1: ( ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}' )
+ // InternalETPhys.g:588:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_23= '}'
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' )
+ // InternalETPhys.g:588:2: ( ( (lv_default_0_0= 'DefaultThread' ) ) | otherlv_1= 'Thread' )
int alt9=2;
int LA9_0 = input.LA(1);
@@ -1556,7 +1429,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt9=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 9, 0, input);
@@ -1564,28 +1436,24 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt9) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:3: ( (lv_default_0_0= 'DefaultThread' ) )
+ // InternalETPhys.g:588:3: ( (lv_default_0_0= 'DefaultThread' ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:588:3: ( (lv_default_0_0= 'DefaultThread' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:589:1: (lv_default_0_0= 'DefaultThread' )
+ // InternalETPhys.g:588:3: ( (lv_default_0_0= 'DefaultThread' ) )
+ // 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: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'
+ // InternalETPhys.g:589:1: (lv_default_0_0= 'DefaultThread' )
+ // InternalETPhys.g:590:3: lv_default_0_0= 'DefaultThread'
{
- lv_default_0_0=(Token)match(input,23,FOLLOW_23_in_rulePhysicalThread1207); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_default_0_0=(Token)match(input,23,FOLLOW_3);
- newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_default_0_0, grammarAccess.getPhysicalThreadAccess().getDefaultDefaultThreadKeyword_0_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(current, "default", true, "DefaultThread");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(current, "default", true, "DefaultThread");
+
}
@@ -1596,159 +1464,145 @@ 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:604:7: otherlv_1= 'Thread'
+ // InternalETPhys.g:604:7: otherlv_1= 'Thread'
{
- otherlv_1=(Token)match(input,24,FOLLOW_24_in_rulePhysicalThread1238); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,24,FOLLOW_3);
- newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getPhysicalThreadAccess().getThreadKeyword_0_1());
+
}
break;
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:608:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:609:1: (lv_name_2_0= RULE_ID )
+ // InternalETPhys.g:608:2: ( (lv_name_2_0= RULE_ID ) )
+ // InternalETPhys.g:609:1: (lv_name_2_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:609:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:610:3: lv_name_2_0= RULE_ID
+ // InternalETPhys.g:609:1: (lv_name_2_0= RULE_ID )
+ // InternalETPhys.g:610:3: lv_name_2_0= RULE_ID
{
- lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePhysicalThread1256); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_4);
- newLeafNode(lv_name_2_0, grammarAccess.getPhysicalThreadAccess().getNameIDTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_2_0, grammarAccess.getPhysicalThreadAccess().getNameIDTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_2_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- otherlv_3=(Token)match(input,13,FOLLOW_13_in_rulePhysicalThread1273); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,13,FOLLOW_16);
- newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:630:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (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:632:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) )
+ newLeafNode(otherlv_3, grammarAccess.getPhysicalThreadAccess().getLeftCurlyBracketKeyword_2());
+
+ // InternalETPhys.g:630:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) )
+ // InternalETPhys.g:632:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (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:632:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (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:633:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?)
+ // InternalETPhys.g:632:1: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?) )
+ // InternalETPhys.g:633:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?)
{
- getUnorderedGroupHelper().enter(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:636:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (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:637:3: ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?
+
+ getUnorderedGroupHelper().enter(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ // InternalETPhys.g:636:2: ( ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+ {...}?)
+ // InternalETPhys.g:637:3: ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (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:637:3: ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+
+ // InternalETPhys.g:637:3: ( ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) ) )+
int cnt10=0;
loop10:
do {
int alt10=7;
int LA10_0 = input.LA(1);
- if ( LA10_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) {
+ if ( LA10_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) {
alt10=1;
}
- else if ( LA10_0 ==26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) {
+ else if ( LA10_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) {
alt10=2;
}
- else if ( LA10_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) {
+ else if ( LA10_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) {
alt10=3;
}
- else if ( LA10_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) {
+ else if ( LA10_0 == 28 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) {
alt10=4;
}
- else if ( LA10_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) {
+ else if ( LA10_0 == 29 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) {
alt10=5;
}
- else if ( LA10_0 ==30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) {
+ else if ( LA10_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) {
alt10=6;
}
switch (alt10) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:639:4: ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) )
+ // InternalETPhys.g:639:4: ({...}? => ( ({...}? => (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:639:4: ({...}? => ( ({...}? => (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:640:5: {...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) )
+ // InternalETPhys.g:639:4: ({...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) ) )
+ // InternalETPhys.g:640:5: {...}? => ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:640:111: ( ({...}? => (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:641:6: ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) )
+ // InternalETPhys.g:640:111: ( ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) ) )
+ // InternalETPhys.g:641:6: ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:644:6: ({...}? => (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:7: {...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 0);
+
+ // InternalETPhys.g:644:6: ({...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) ) )
+ // InternalETPhys.g:644:7: {...}? => (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:644:16: (otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) ) )
+ // InternalETPhys.g:644:18: otherlv_5= 'execmode' otherlv_6= '=' ( (lv_execmode_7_0= ruleExecMode ) )
{
- otherlv_5=(Token)match(input,25,FOLLOW_25_in_rulePhysicalThread1331); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_5=(Token)match(input,25,FOLLOW_12);
- newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3_0_0());
-
- }
- otherlv_6=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1343); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_5, grammarAccess.getPhysicalThreadAccess().getExecmodeKeyword_3_0_0());
+
+ otherlv_6=(Token)match(input,20,FOLLOW_17);
- newLeafNode(otherlv_6, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_0_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:652:1: ( (lv_execmode_7_0= ruleExecMode ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:653:1: (lv_execmode_7_0= ruleExecMode )
+ newLeafNode(otherlv_6, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_0_1());
+
+ // InternalETPhys.g:652:1: ( (lv_execmode_7_0= ruleExecMode ) )
+ // InternalETPhys.g:653:1: (lv_execmode_7_0= ruleExecMode )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:653:1: (lv_execmode_7_0= ruleExecMode )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:654:3: lv_execmode_7_0= ruleExecMode
+ // InternalETPhys.g:653:1: (lv_execmode_7_0= ruleExecMode )
+ // InternalETPhys.g:654:3: lv_execmode_7_0= ruleExecMode
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getExecmodeExecModeEnumRuleCall_3_0_2_0());
-
- }
- pushFollow(FOLLOW_ruleExecMode_in_rulePhysicalThread1364);
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getExecmodeExecModeEnumRuleCall_3_0_2_0());
+
+ pushFollow(FOLLOW_18);
lv_execmode_7_0=ruleExecMode();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "execmode",
- lv_execmode_7_0,
- "ExecMode");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "execmode",
+ lv_execmode_7_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.ExecMode");
+ afterParserOrEnumRuleCall();
+
}
@@ -1761,7 +1615,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -1772,70 +1628,62 @@ 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:677:4: ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) )
+ // InternalETPhys.g:677:4: ({...}? => ( ({...}? => (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:677:4: ({...}? => ( ({...}? => (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:678:5: {...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) )
+ // InternalETPhys.g:677:4: ({...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) ) )
+ // InternalETPhys.g:678:5: {...}? => ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:678:111: ( ({...}? => (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:679:6: ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) )
+ // InternalETPhys.g:678:111: ( ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) ) )
+ // InternalETPhys.g:679:6: ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:682:6: ({...}? => (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:7: {...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 1);
+
+ // InternalETPhys.g:682:6: ({...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) ) )
+ // InternalETPhys.g:682:7: {...}? => (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:682:16: (otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) ) )
+ // InternalETPhys.g:682:18: otherlv_8= 'interval' otherlv_9= '=' ( (lv_time_10_0= ruleTIME ) )
{
- otherlv_8=(Token)match(input,26,FOLLOW_26_in_rulePhysicalThread1432); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_8=(Token)match(input,26,FOLLOW_12);
- newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_3_1_0());
-
- }
- otherlv_9=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1444); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_8, grammarAccess.getPhysicalThreadAccess().getIntervalKeyword_3_1_0());
+
+ otherlv_9=(Token)match(input,20,FOLLOW_19);
- newLeafNode(otherlv_9, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_1_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:690:1: ( (lv_time_10_0= ruleTIME ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:691:1: (lv_time_10_0= ruleTIME )
+ newLeafNode(otherlv_9, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_1_1());
+
+ // InternalETPhys.g:690:1: ( (lv_time_10_0= ruleTIME ) )
+ // InternalETPhys.g:691:1: (lv_time_10_0= ruleTIME )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:691:1: (lv_time_10_0= ruleTIME )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:692:3: lv_time_10_0= ruleTIME
+ // InternalETPhys.g:691:1: (lv_time_10_0= ruleTIME )
+ // InternalETPhys.g:692:3: lv_time_10_0= ruleTIME
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getTimeTIMEParserRuleCall_3_1_2_0());
-
- }
- pushFollow(FOLLOW_ruleTIME_in_rulePhysicalThread1465);
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getTimeTIMEParserRuleCall_3_1_2_0());
+
+ pushFollow(FOLLOW_18);
lv_time_10_0=ruleTIME();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "time",
- lv_time_10_0,
- "TIME");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "time",
+ lv_time_10_0,
+ "org.eclipse.etrice.core.common.Base.TIME");
+ afterParserOrEnumRuleCall();
+
}
@@ -1848,7 +1696,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -1859,70 +1709,62 @@ 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:715:4: ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:715:4: ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:715:4: ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:5: {...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:715:4: ({...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) ) )
+ // InternalETPhys.g:716:5: {...}? => ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:716:111: ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:717:6: ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:716:111: ( ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) ) )
+ // InternalETPhys.g:717:6: ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:720:6: ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:720:7: {...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 2);
+
+ // InternalETPhys.g:720:6: ({...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:720:7: {...}? => (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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= ruleInteger ) ) )
- // ../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= ruleInteger ) )
+ // InternalETPhys.g:720:16: (otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) ) )
+ // InternalETPhys.g:720:18: otherlv_11= 'prio' otherlv_12= '=' ( (lv_prio_13_0= ruleInteger ) )
{
- otherlv_11=(Token)match(input,27,FOLLOW_27_in_rulePhysicalThread1533); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_11=(Token)match(input,27,FOLLOW_12);
- newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_3_2_0());
-
- }
- otherlv_12=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1545); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_11, grammarAccess.getPhysicalThreadAccess().getPrioKeyword_3_2_0());
+
+ otherlv_12=(Token)match(input,20,FOLLOW_14);
- newLeafNode(otherlv_12, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_2_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:728:1: ( (lv_prio_13_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:729:1: (lv_prio_13_0= ruleInteger )
+ newLeafNode(otherlv_12, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_2_1());
+
+ // InternalETPhys.g:728:1: ( (lv_prio_13_0= ruleInteger ) )
+ // InternalETPhys.g:729:1: (lv_prio_13_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:729:1: (lv_prio_13_0= ruleInteger )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:730:3: lv_prio_13_0= ruleInteger
+ // InternalETPhys.g:729:1: (lv_prio_13_0= ruleInteger )
+ // InternalETPhys.g:730:3: lv_prio_13_0= ruleInteger
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getPhysicalThreadAccess().getPrioIntegerParserRuleCall_3_2_2_0());
-
- }
- pushFollow(FOLLOW_ruleInteger_in_rulePhysicalThread1566);
+
+ newCompositeNode(grammarAccess.getPhysicalThreadAccess().getPrioIntegerParserRuleCall_3_2_2_0());
+
+ pushFollow(FOLLOW_18);
lv_prio_13_0=ruleInteger();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
- }
- set(
- current,
- "prio",
- lv_prio_13_0,
- "Integer");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPhysicalThreadRule());
+ }
+ set(
+ current,
+ "prio",
+ lv_prio_13_0,
+ "org.eclipse.etrice.core.common.Base.Integer");
+ afterParserOrEnumRuleCall();
+
}
@@ -1935,7 +1777,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -1946,65 +1790,57 @@ 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:753:4: ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:753:4: ({...}? => ( ({...}? => (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:753:4: ({...}? => ( ({...}? => (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:754:5: {...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:753:4: ({...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:754:5: {...}? => ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:754:111: ( ({...}? => (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:755:6: ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:754:111: ( ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:755:6: ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:758:6: ({...}? => (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:7: {...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 3);
+
+ // InternalETPhys.g:758:6: ({...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:758:7: {...}? => (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:758:16: (otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) ) )
+ // InternalETPhys.g:758:18: otherlv_14= 'stacksize' otherlv_15= '=' ( (lv_stacksize_16_0= RULE_INT ) )
{
- otherlv_14=(Token)match(input,28,FOLLOW_28_in_rulePhysicalThread1634); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_14=(Token)match(input,28,FOLLOW_12);
- newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_3_3_0());
-
- }
- otherlv_15=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1646); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_14, grammarAccess.getPhysicalThreadAccess().getStacksizeKeyword_3_3_0());
+
+ otherlv_15=(Token)match(input,20,FOLLOW_19);
- newLeafNode(otherlv_15, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_3_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:766:1: ( (lv_stacksize_16_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:767:1: (lv_stacksize_16_0= RULE_INT )
+ newLeafNode(otherlv_15, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_3_1());
+
+ // InternalETPhys.g:766:1: ( (lv_stacksize_16_0= RULE_INT ) )
+ // InternalETPhys.g:767:1: (lv_stacksize_16_0= RULE_INT )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:767:1: (lv_stacksize_16_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:768:3: lv_stacksize_16_0= RULE_INT
+ // InternalETPhys.g:767:1: (lv_stacksize_16_0= RULE_INT )
+ // InternalETPhys.g:768:3: lv_stacksize_16_0= RULE_INT
{
- lv_stacksize_16_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1663); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_stacksize_16_0=(Token)match(input,RULE_INT,FOLLOW_18);
- newLeafNode(lv_stacksize_16_0, grammarAccess.getPhysicalThreadAccess().getStacksizeINTTerminalRuleCall_3_3_2_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "stacksize",
- lv_stacksize_16_0,
- "INT");
-
- }
+ newLeafNode(lv_stacksize_16_0, grammarAccess.getPhysicalThreadAccess().getStacksizeINTTerminalRuleCall_3_3_2_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "stacksize",
+ lv_stacksize_16_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -2017,7 +1853,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -2028,65 +1866,57 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 5 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:791:4: ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:791:4: ({...}? => ( ({...}? => (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:791:4: ({...}? => ( ({...}? => (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:792:5: {...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:791:4: ({...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:792:5: {...}? => ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:792:111: ( ({...}? => (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:793:6: ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:792:111: ( ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:793:6: ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:796:6: ({...}? => (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:7: {...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 4);
+
+ // InternalETPhys.g:796:6: ({...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:796:7: {...}? => (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:796:16: (otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) ) )
+ // InternalETPhys.g:796:18: otherlv_17= 'msgblocksize' otherlv_18= '=' ( (lv_msgblocksize_19_0= RULE_INT ) )
{
- otherlv_17=(Token)match(input,29,FOLLOW_29_in_rulePhysicalThread1736); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_17=(Token)match(input,29,FOLLOW_12);
- newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_3_4_0());
-
- }
- otherlv_18=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1748); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_17, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeKeyword_3_4_0());
+
+ otherlv_18=(Token)match(input,20,FOLLOW_19);
- newLeafNode(otherlv_18, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_4_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:804:1: ( (lv_msgblocksize_19_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:805:1: (lv_msgblocksize_19_0= RULE_INT )
+ newLeafNode(otherlv_18, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_4_1());
+
+ // InternalETPhys.g:804:1: ( (lv_msgblocksize_19_0= RULE_INT ) )
+ // InternalETPhys.g:805:1: (lv_msgblocksize_19_0= RULE_INT )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:805:1: (lv_msgblocksize_19_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:806:3: lv_msgblocksize_19_0= RULE_INT
+ // InternalETPhys.g:805:1: (lv_msgblocksize_19_0= RULE_INT )
+ // InternalETPhys.g:806:3: lv_msgblocksize_19_0= RULE_INT
{
- lv_msgblocksize_19_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1765); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_msgblocksize_19_0=(Token)match(input,RULE_INT,FOLLOW_18);
- newLeafNode(lv_msgblocksize_19_0, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeINTTerminalRuleCall_3_4_2_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "msgblocksize",
- lv_msgblocksize_19_0,
- "INT");
-
- }
+ newLeafNode(lv_msgblocksize_19_0, grammarAccess.getPhysicalThreadAccess().getMsgblocksizeINTTerminalRuleCall_3_4_2_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "msgblocksize",
+ lv_msgblocksize_19_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -2099,7 +1929,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -2110,65 +1942,57 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 6 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:829:4: ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:829:4: ({...}? => ( ({...}? => (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:829:4: ({...}? => ( ({...}? => (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:830:5: {...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:829:4: ({...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) ) )
+ // InternalETPhys.g:830:5: {...}? => ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canSelect(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5)");
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:830:111: ( ({...}? => (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:831:6: ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:830:111: ( ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) ) )
+ // InternalETPhys.g:831:6: ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) )
{
- getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5);
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:834:6: ({...}? => (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:7: {...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) )
+
+ getUnorderedGroupHelper().select(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3(), 5);
+
+ // InternalETPhys.g:834:6: ({...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) ) )
+ // InternalETPhys.g:834:7: {...}? => (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) )
{
if ( !((true)) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "true");
}
- // ../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 ) )
+ // InternalETPhys.g:834:16: (otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) ) )
+ // InternalETPhys.g:834:18: otherlv_20= 'msgpoolsize' otherlv_21= '=' ( (lv_msgpoolsize_22_0= RULE_INT ) )
{
- otherlv_20=(Token)match(input,30,FOLLOW_30_in_rulePhysicalThread1838); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_20=(Token)match(input,30,FOLLOW_12);
- newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_3_5_0());
-
- }
- otherlv_21=(Token)match(input,20,FOLLOW_20_in_rulePhysicalThread1850); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_20, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeKeyword_3_5_0());
+
+ otherlv_21=(Token)match(input,20,FOLLOW_19);
- newLeafNode(otherlv_21, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_5_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:842:1: ( (lv_msgpoolsize_22_0= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:843:1: (lv_msgpoolsize_22_0= RULE_INT )
+ newLeafNode(otherlv_21, grammarAccess.getPhysicalThreadAccess().getEqualsSignKeyword_3_5_1());
+
+ // InternalETPhys.g:842:1: ( (lv_msgpoolsize_22_0= RULE_INT ) )
+ // InternalETPhys.g:843:1: (lv_msgpoolsize_22_0= RULE_INT )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:843:1: (lv_msgpoolsize_22_0= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:844:3: lv_msgpoolsize_22_0= RULE_INT
+ // InternalETPhys.g:843:1: (lv_msgpoolsize_22_0= RULE_INT )
+ // InternalETPhys.g:844:3: lv_msgpoolsize_22_0= RULE_INT
{
- lv_msgpoolsize_22_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_rulePhysicalThread1867); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_msgpoolsize_22_0=(Token)match(input,RULE_INT,FOLLOW_18);
- newLeafNode(lv_msgpoolsize_22_0, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeINTTerminalRuleCall_3_5_2_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getPhysicalThreadRule());
- }
- setWithLastConsumed(
- current,
- "msgpoolsize",
- lv_msgpoolsize_22_0,
- "INT");
-
- }
+ newLeafNode(lv_msgpoolsize_22_0, grammarAccess.getPhysicalThreadAccess().getMsgpoolsizeINTTerminalRuleCall_3_5_2_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPhysicalThreadRule());
+ }
+ setWithLastConsumed(
+ current,
+ "msgpoolsize",
+ lv_msgpoolsize_22_0,
+ "org.eclipse.xtext.common.Terminals.INT");
+
}
@@ -2181,7 +2005,9 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
@@ -2194,7 +2020,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
default :
if ( cnt10 >= 1 ) break loop10;
- if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(10, input);
throw eee;
@@ -2203,7 +2028,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3()) ) {
- if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "rulePhysicalThread", "getUnorderedGroupHelper().canLeave(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3())");
}
@@ -2212,25 +2036,23 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- getUnorderedGroupHelper().leave(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
+ getUnorderedGroupHelper().leave(grammarAccess.getPhysicalThreadAccess().getUnorderedGroup_3());
+
}
- otherlv_23=(Token)match(input,14,FOLLOW_14_in_rulePhysicalThread1931); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_23=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_23, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_4());
-
- }
+ newLeafNode(otherlv_23, grammarAccess.getPhysicalThreadAccess().getRightCurlyBracketKeyword_4());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -2245,7 +2067,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRuntimeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:887:1: entryRuleRuntimeClass returns [EObject current=null] : iv_ruleRuntimeClass= ruleRuntimeClass EOF ;
+ // InternalETPhys.g:887:1: entryRuleRuntimeClass returns [EObject current=null] : iv_ruleRuntimeClass= ruleRuntimeClass EOF ;
public final EObject entryRuleRuntimeClass() throws RecognitionException {
EObject current = null;
@@ -2253,21 +2075,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:888:2: (iv_ruleRuntimeClass= ruleRuntimeClass EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:889:2: iv_ruleRuntimeClass= ruleRuntimeClass EOF
+ // InternalETPhys.g:888:2: (iv_ruleRuntimeClass= ruleRuntimeClass EOF )
+ // InternalETPhys.g:889:2: iv_ruleRuntimeClass= ruleRuntimeClass EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRuntimeClassRule());
- }
- pushFollow(FOLLOW_ruleRuntimeClass_in_entryRuleRuntimeClass1967);
+ newCompositeNode(grammarAccess.getRuntimeClassRule());
+ pushFollow(FOLLOW_1);
iv_ruleRuntimeClass=ruleRuntimeClass();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleRuntimeClass;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleRuntimeClass1977); if (state.failed) return current;
+
+ current =iv_ruleRuntimeClass;
+ match(input,EOF,FOLLOW_2);
}
@@ -2285,7 +2103,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRuntimeClass"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:896:1: ruleRuntimeClass returns [EObject current=null] : (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= '}' ) ;
+ // InternalETPhys.g:896:1: ruleRuntimeClass returns [EObject current=null] : (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= '}' ) ;
public final EObject ruleRuntimeClass() throws RecognitionException {
EObject current = null;
@@ -2303,49 +2121,43 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:899:28: ( (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: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= '}' )
+ // InternalETPhys.g:899:28: ( (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= '}' ) )
+ // 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: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= '}'
+ // 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= '}' )
+ // 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,31,FOLLOW_31_in_ruleRuntimeClass2014); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,31,FOLLOW_3);
- newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:904:1: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:905:1: (lv_name_1_0= RULE_ID )
+ newLeafNode(otherlv_0, grammarAccess.getRuntimeClassAccess().getRuntimeClassKeyword_0());
+
+ // InternalETPhys.g:904:1: ( (lv_name_1_0= RULE_ID ) )
+ // InternalETPhys.g:905:1: (lv_name_1_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:905:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:906:3: lv_name_1_0= RULE_ID
+ // InternalETPhys.g:905:1: (lv_name_1_0= RULE_ID )
+ // InternalETPhys.g:906:3: lv_name_1_0= RULE_ID
{
- lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRuntimeClass2031); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_7);
- newLeafNode(lv_name_1_0, grammarAccess.getRuntimeClassAccess().getNameIDTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_name_1_0, grammarAccess.getRuntimeClassAccess().getNameIDTerminalRuleCall_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getRuntimeClassRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getRuntimeClassRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_1_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:922:2: ( (lv_docu_2_0= ruleDocumentation ) )?
+ // InternalETPhys.g:922:2: ( (lv_docu_2_0= ruleDocumentation ) )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -2354,34 +2166,30 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt11) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:923:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:923:1: (lv_docu_2_0= ruleDocumentation )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:923:1: (lv_docu_2_0= ruleDocumentation )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:924:3: lv_docu_2_0= ruleDocumentation
+ // InternalETPhys.g:923:1: (lv_docu_2_0= ruleDocumentation )
+ // InternalETPhys.g:924:3: lv_docu_2_0= ruleDocumentation
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getRuntimeClassAccess().getDocuDocumentationParserRuleCall_2_0());
-
- }
- pushFollow(FOLLOW_ruleDocumentation_in_ruleRuntimeClass2057);
+
+ newCompositeNode(grammarAccess.getRuntimeClassAccess().getDocuDocumentationParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_4);
lv_docu_2_0=ruleDocumentation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
- }
- set(
- current,
- "docu",
- lv_docu_2_0,
- "Documentation");
- afterParserOrEnumRuleCall();
-
- }
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
+ }
+ set(
+ current,
+ "docu",
+ lv_docu_2_0,
+ "org.eclipse.etrice.core.common.Base.Documentation");
+ afterParserOrEnumRuleCall();
+
}
@@ -2391,74 +2199,60 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- otherlv_3=(Token)match(input,13,FOLLOW_13_in_ruleRuntimeClass2070); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,13,FOLLOW_20);
- newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3());
-
- }
- otherlv_4=(Token)match(input,32,FOLLOW_32_in_ruleRuntimeClass2082); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_3, grammarAccess.getRuntimeClassAccess().getLeftCurlyBracketKeyword_3());
+
+ otherlv_4=(Token)match(input,32,FOLLOW_12);
- newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4());
-
- }
- otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleRuntimeClass2094); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_4, grammarAccess.getRuntimeClassAccess().getModelKeyword_4());
+
+ otherlv_5=(Token)match(input,20,FOLLOW_21);
- newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:952:1: ( (lv_threadModel_6_0= ruleThreadModel ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:953:1: (lv_threadModel_6_0= ruleThreadModel )
+ newLeafNode(otherlv_5, grammarAccess.getRuntimeClassAccess().getEqualsSignKeyword_5());
+
+ // InternalETPhys.g:952:1: ( (lv_threadModel_6_0= ruleThreadModel ) )
+ // InternalETPhys.g:953:1: (lv_threadModel_6_0= ruleThreadModel )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:953:1: (lv_threadModel_6_0= ruleThreadModel )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:954:3: lv_threadModel_6_0= ruleThreadModel
+ // InternalETPhys.g:953:1: (lv_threadModel_6_0= ruleThreadModel )
+ // InternalETPhys.g:954:3: lv_threadModel_6_0= ruleThreadModel
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getRuntimeClassAccess().getThreadModelThreadModelEnumRuleCall_6_0());
-
- }
- pushFollow(FOLLOW_ruleThreadModel_in_ruleRuntimeClass2115);
+
+ newCompositeNode(grammarAccess.getRuntimeClassAccess().getThreadModelThreadModelEnumRuleCall_6_0());
+
+ pushFollow(FOLLOW_22);
lv_threadModel_6_0=ruleThreadModel();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
- }
- set(
- current,
- "threadModel",
- lv_threadModel_6_0,
- "ThreadModel");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRuntimeClassRule());
+ }
+ set(
+ current,
+ "threadModel",
+ lv_threadModel_6_0,
+ "org.eclipse.etrice.core.etphys.ETPhys.ThreadModel");
+ afterParserOrEnumRuleCall();
+
}
}
- otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleRuntimeClass2127); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_7=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7());
-
- }
+ newLeafNode(otherlv_7, grammarAccess.getRuntimeClassAccess().getRightCurlyBracketKeyword_7());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -2473,7 +2267,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleKeyValue"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:984:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ;
+ // InternalETPhys.g:984:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ;
public final EObject entryRuleKeyValue() throws RecognitionException {
EObject current = null;
@@ -2481,21 +2275,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:985:2: (iv_ruleKeyValue= ruleKeyValue EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:986:2: iv_ruleKeyValue= ruleKeyValue EOF
+ // InternalETPhys.g:985:2: (iv_ruleKeyValue= ruleKeyValue EOF )
+ // InternalETPhys.g:986:2: iv_ruleKeyValue= ruleKeyValue EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getKeyValueRule());
- }
- pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue2165);
+ newCompositeNode(grammarAccess.getKeyValueRule());
+ pushFollow(FOLLOW_1);
iv_ruleKeyValue=ruleKeyValue();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleKeyValue;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue2175); if (state.failed) return current;
+
+ current =iv_ruleKeyValue;
+ match(input,EOF,FOLLOW_2);
}
@@ -2513,7 +2303,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleKeyValue"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:993:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ;
+ // InternalETPhys.g:993: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;
@@ -2525,77 +2315,67 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:996: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:997:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) )
+ // InternalETPhys.g:996:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) )
+ // InternalETPhys.g:997: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:997: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:997:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) )
+ // InternalETPhys.g:997:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) )
+ // InternalETPhys.g:997: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:997:2: ( (lv_key_0_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:998:1: (lv_key_0_0= RULE_ID )
+ // InternalETPhys.g:997:2: ( (lv_key_0_0= RULE_ID ) )
+ // InternalETPhys.g:998:1: (lv_key_0_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:998:1: (lv_key_0_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:999:3: lv_key_0_0= RULE_ID
+ // InternalETPhys.g:998:1: (lv_key_0_0= RULE_ID )
+ // InternalETPhys.g:999:3: lv_key_0_0= RULE_ID
{
- lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue2217); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_12);
- newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ 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");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getKeyValueRule());
+ }
+ setWithLastConsumed(
+ current,
+ "key",
+ lv_key_0_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- otherlv_1=(Token)match(input,20,FOLLOW_20_in_ruleKeyValue2234); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,20,FOLLOW_23);
- newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1019:1: ( (lv_value_2_0= ruleLiteral ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1020:1: (lv_value_2_0= ruleLiteral )
+ newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1());
+
+ // InternalETPhys.g:1019:1: ( (lv_value_2_0= ruleLiteral ) )
+ // InternalETPhys.g:1020:1: (lv_value_2_0= ruleLiteral )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1020:1: (lv_value_2_0= ruleLiteral )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1021:3: lv_value_2_0= ruleLiteral
+ // InternalETPhys.g:1020:1: (lv_value_2_0= ruleLiteral )
+ // InternalETPhys.g:1021:3: lv_value_2_0= ruleLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0());
-
- }
- pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue2255);
+
+ newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0());
+
+ pushFollow(FOLLOW_2);
lv_value_2_0=ruleLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getKeyValueRule());
- }
- set(
- current,
- "value",
- lv_value_2_0,
- "Literal");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getKeyValueRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_2_0,
+ "org.eclipse.etrice.core.common.Base.Literal");
+ afterParserOrEnumRuleCall();
+
}
@@ -2608,9 +2388,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -2625,7 +2403,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAnnotationTargetType"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1047:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ;
+ // InternalETPhys.g:1047:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ;
public final String entryRuleAnnotationTargetType() throws RecognitionException {
String current = null;
@@ -2633,21 +2411,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1048:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1049:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF
+ // InternalETPhys.g:1048:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF )
+ // InternalETPhys.g:1049:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAnnotationTargetTypeRule());
- }
- pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2294);
+ newCompositeNode(grammarAccess.getAnnotationTargetTypeRule());
+ pushFollow(FOLLOW_1);
iv_ruleAnnotationTargetType=ruleAnnotationTargetType();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAnnotationTargetType.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType2305); if (state.failed) return current;
+
+ current =iv_ruleAnnotationTargetType.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -2665,7 +2439,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAnnotationTargetType"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1056:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
+ // InternalETPhys.g:1056:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleAnnotationTargetType() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2674,26 +2448,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1059:28: (this_ID_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1060:5: this_ID_0= RULE_ID
+ // InternalETPhys.g:1059:28: (this_ID_0= RULE_ID )
+ // InternalETPhys.g:1060:5: this_ID_0= RULE_ID
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType2344); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2);
- current.merge(this_ID_0);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_ID_0, grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall());
-
- }
+ current.merge(this_ID_0);
+
+
+ newLeafNode(this_ID_0, grammarAccess.getAnnotationTargetTypeAccess().getIDTerminalRuleCall());
+
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -2708,7 +2476,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1075:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ;
+ // InternalETPhys.g:1075:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ;
public final EObject entryRuleAnnotationAttribute() throws RecognitionException {
EObject current = null;
@@ -2716,21 +2484,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1076:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1077:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF
+ // InternalETPhys.g:1076:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF )
+ // InternalETPhys.g:1077:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getAnnotationAttributeRule());
- }
- pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2388);
+ newCompositeNode(grammarAccess.getAnnotationAttributeRule());
+ pushFollow(FOLLOW_1);
iv_ruleAnnotationAttribute=ruleAnnotationAttribute();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleAnnotationAttribute;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute2398); if (state.failed) return current;
+
+ current =iv_ruleAnnotationAttribute;
+ match(input,EOF,FOLLOW_2);
}
@@ -2748,7 +2512,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1084:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ;
+ // InternalETPhys.g:1084:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ;
public final EObject ruleAnnotationAttribute() throws RecognitionException {
EObject current = null;
@@ -2760,10 +2524,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1087: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:1088:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute )
+ // InternalETPhys.g:1087:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) )
+ // InternalETPhys.g:1088: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:1088:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute )
+ // InternalETPhys.g:1088:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute )
int alt12=2;
int LA12_0 = input.LA(1);
@@ -2786,7 +2550,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt12=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 5, input);
@@ -2794,7 +2557,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 4, input);
@@ -2802,7 +2564,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 3, input);
@@ -2810,7 +2571,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 1, input);
@@ -2836,7 +2596,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt12=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 5, input);
@@ -2844,7 +2603,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 4, input);
@@ -2852,7 +2610,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 3, input);
@@ -2860,7 +2617,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 2, input);
@@ -2868,7 +2624,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 12, 0, input);
@@ -2876,46 +2631,38 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt12) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1089:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute
+ // InternalETPhys.g:1089:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0());
-
- }
- pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute2445);
+
+ newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_SimpleAnnotationAttribute_0;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ 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:1099:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute
+ // InternalETPhys.g:1099:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1());
-
- }
- pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute2472);
+
+ newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_EnumAnnotationAttribute_1;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ current = this_EnumAnnotationAttribute_1;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -2925,9 +2672,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -2942,7 +2687,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleSimpleAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1115:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ;
+ // InternalETPhys.g:1115:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ;
public final EObject entryRuleSimpleAnnotationAttribute() throws RecognitionException {
EObject current = null;
@@ -2950,21 +2695,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1116:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1117:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF
+ // InternalETPhys.g:1116:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF )
+ // InternalETPhys.g:1117:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule());
- }
- pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute2507);
+ newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule());
+ pushFollow(FOLLOW_1);
iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleSimpleAnnotationAttribute;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute2517); if (state.failed) return current;
+
+ current =iv_ruleSimpleAnnotationAttribute;
+ match(input,EOF,FOLLOW_2);
}
@@ -2982,7 +2723,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleSimpleAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1124: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 ) ) ) ;
+ // InternalETPhys.g:1124: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;
@@ -2997,13 +2738,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1127: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:1128: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 ) ) )
+ // InternalETPhys.g:1127: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 ) ) ) )
+ // InternalETPhys.g:1128: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:1128: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:1128: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 ) )
+ // InternalETPhys.g:1128: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 ) ) )
+ // InternalETPhys.g:1128: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:1128:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' )
+ // InternalETPhys.g:1128:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' )
int alt13=2;
int LA13_0 = input.LA(1);
@@ -3014,7 +2755,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt13=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 13, 0, input);
@@ -3022,28 +2762,24 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt13) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:3: ( (lv_optional_0_0= 'optional' ) )
+ // InternalETPhys.g:1128:3: ( (lv_optional_0_0= 'optional' ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1128:3: ( (lv_optional_0_0= 'optional' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1129:1: (lv_optional_0_0= 'optional' )
+ // InternalETPhys.g:1128:3: ( (lv_optional_0_0= 'optional' ) )
+ // InternalETPhys.g:1129:1: (lv_optional_0_0= 'optional' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1129:1: (lv_optional_0_0= 'optional' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1130:3: lv_optional_0_0= 'optional'
+ // InternalETPhys.g:1129:1: (lv_optional_0_0= 'optional' )
+ // InternalETPhys.g:1130:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,33,FOLLOW_33_in_ruleSimpleAnnotationAttribute2561); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_optional_0_0=(Token)match(input,33,FOLLOW_24);
- newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule());
- }
- setWithLastConsumed(current, "optional", true, "optional");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule());
+ }
+ setWithLastConsumed(current, "optional", true, "optional");
+
}
@@ -3054,91 +2790,77 @@ 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:1144:7: otherlv_1= 'mandatory'
+ // InternalETPhys.g:1144:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,34,FOLLOW_34_in_ruleSimpleAnnotationAttribute2592); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,34,FOLLOW_24);
- newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1());
+
}
break;
}
- otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleSimpleAnnotationAttribute2605); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,35,FOLLOW_3);
- newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1152:1: ( (lv_name_3_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1153:1: (lv_name_3_0= RULE_ID )
+ newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1());
+
+ // InternalETPhys.g:1152:1: ( (lv_name_3_0= RULE_ID ) )
+ // InternalETPhys.g:1153:1: (lv_name_3_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1153:1: (lv_name_3_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1154:3: lv_name_3_0= RULE_ID
+ // InternalETPhys.g:1153:1: (lv_name_3_0= RULE_ID )
+ // InternalETPhys.g:1154:3: lv_name_3_0= RULE_ID
{
- lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute2622); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_9);
- newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0());
-
- }
- if ( state.backtracking==0 ) {
+ 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");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSimpleAnnotationAttributeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_3_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleSimpleAnnotationAttribute2639); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,17,FOLLOW_25);
- newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1174:1: ( (lv_type_5_0= ruleLiteralType ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1175:1: (lv_type_5_0= ruleLiteralType )
+ newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3());
+
+ // InternalETPhys.g:1174:1: ( (lv_type_5_0= ruleLiteralType ) )
+ // InternalETPhys.g:1175:1: (lv_type_5_0= ruleLiteralType )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1175:1: (lv_type_5_0= ruleLiteralType )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1176:3: lv_type_5_0= ruleLiteralType
+ // InternalETPhys.g:1175:1: (lv_type_5_0= ruleLiteralType )
+ // InternalETPhys.g:1176:3: lv_type_5_0= ruleLiteralType
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0());
-
- }
- pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute2660);
+
+ newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0());
+
+ pushFollow(FOLLOW_2);
lv_type_5_0=ruleLiteralType();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getSimpleAnnotationAttributeRule());
- }
- set(
- current,
- "type",
- lv_type_5_0,
- "LiteralType");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSimpleAnnotationAttributeRule());
+ }
+ set(
+ current,
+ "type",
+ lv_type_5_0,
+ "org.eclipse.etrice.core.common.Base.LiteralType");
+ afterParserOrEnumRuleCall();
+
}
@@ -3151,9 +2873,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -3168,7 +2888,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleEnumAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1200:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ;
+ // InternalETPhys.g:1200:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ;
public final EObject entryRuleEnumAnnotationAttribute() throws RecognitionException {
EObject current = null;
@@ -3176,21 +2896,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1201:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1202:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF
+ // InternalETPhys.g:1201:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF )
+ // InternalETPhys.g:1202:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule());
- }
- pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute2696);
+ newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule());
+ pushFollow(FOLLOW_1);
iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleEnumAnnotationAttribute;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute2706); if (state.failed) return current;
+
+ current =iv_ruleEnumAnnotationAttribute;
+ match(input,EOF,FOLLOW_2);
}
@@ -3208,7 +2924,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleEnumAnnotationAttribute"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1209: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= '}' ) ;
+ // InternalETPhys.g:1209: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;
@@ -3226,13 +2942,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1212: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:1213: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= '}' )
+ // InternalETPhys.g:1212: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= '}' ) )
+ // InternalETPhys.g:1213: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:1213: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:1213: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= '}'
+ // InternalETPhys.g:1213: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= '}' )
+ // InternalETPhys.g:1213: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:1213:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' )
+ // InternalETPhys.g:1213:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' )
int alt14=2;
int LA14_0 = input.LA(1);
@@ -3243,7 +2959,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt14=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
@@ -3251,28 +2966,24 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt14) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1213:3: ( (lv_optional_0_0= 'optional' ) )
+ // InternalETPhys.g:1213:3: ( (lv_optional_0_0= 'optional' ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1213:3: ( (lv_optional_0_0= 'optional' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:1: (lv_optional_0_0= 'optional' )
+ // InternalETPhys.g:1213:3: ( (lv_optional_0_0= 'optional' ) )
+ // InternalETPhys.g:1214:1: (lv_optional_0_0= 'optional' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1214:1: (lv_optional_0_0= 'optional' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1215:3: lv_optional_0_0= 'optional'
+ // InternalETPhys.g:1214:1: (lv_optional_0_0= 'optional' )
+ // InternalETPhys.g:1215:3: lv_optional_0_0= 'optional'
{
- lv_optional_0_0=(Token)match(input,33,FOLLOW_33_in_ruleEnumAnnotationAttribute2750); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_optional_0_0=(Token)match(input,33,FOLLOW_24);
- newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule());
- }
- setWithLastConsumed(current, "optional", true, "optional");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule());
+ }
+ setWithLastConsumed(current, "optional", true, "optional");
+
}
@@ -3283,99 +2994,83 @@ 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:1229:7: otherlv_1= 'mandatory'
+ // InternalETPhys.g:1229:7: otherlv_1= 'mandatory'
{
- otherlv_1=(Token)match(input,34,FOLLOW_34_in_ruleEnumAnnotationAttribute2781); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,34,FOLLOW_24);
- newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
-
- }
+ newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1());
+
}
break;
}
- otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleEnumAnnotationAttribute2794); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_2=(Token)match(input,35,FOLLOW_3);
- newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1237:1: ( (lv_name_3_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1238:1: (lv_name_3_0= RULE_ID )
+ newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1());
+
+ // InternalETPhys.g:1237:1: ( (lv_name_3_0= RULE_ID ) )
+ // InternalETPhys.g:1238:1: (lv_name_3_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1238:1: (lv_name_3_0= RULE_ID )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1239:3: lv_name_3_0= RULE_ID
+ // InternalETPhys.g:1238:1: (lv_name_3_0= RULE_ID )
+ // InternalETPhys.g:1239:3: lv_name_3_0= RULE_ID
{
- lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute2811); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_9);
- newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0());
-
- }
- if ( state.backtracking==0 ) {
+ 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");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule());
+ }
+ setWithLastConsumed(
+ current,
+ "name",
+ lv_name_3_0,
+ "org.eclipse.xtext.common.Terminals.ID");
+
}
}
- otherlv_4=(Token)match(input,17,FOLLOW_17_in_ruleEnumAnnotationAttribute2828); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_4=(Token)match(input,17,FOLLOW_4);
- newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
-
- }
- otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleEnumAnnotationAttribute2840); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3());
+
+ otherlv_5=(Token)match(input,13,FOLLOW_26);
- newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1263:1: ( (lv_values_6_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:1: (lv_values_6_0= RULE_STRING )
+ newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4());
+
+ // InternalETPhys.g:1263:1: ( (lv_values_6_0= RULE_STRING ) )
+ // InternalETPhys.g:1264:1: (lv_values_6_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1264:1: (lv_values_6_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1265:3: lv_values_6_0= RULE_STRING
+ // InternalETPhys.g:1264:1: (lv_values_6_0= RULE_STRING )
+ // InternalETPhys.g:1265:3: lv_values_6_0= RULE_STRING
{
- lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute2857); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_27);
- newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0());
-
- }
- if ( state.backtracking==0 ) {
+ 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");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule());
+ }
+ addWithLastConsumed(
+ current,
+ "values",
+ lv_values_6_0,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1281:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )*
+ // InternalETPhys.g:1281:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )*
loop15:
do {
int alt15=2;
@@ -3388,38 +3083,32 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt15) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1281:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) )
+ // InternalETPhys.g:1281:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) )
{
- otherlv_7=(Token)match(input,36,FOLLOW_36_in_ruleEnumAnnotationAttribute2875); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_7=(Token)match(input,36,FOLLOW_26);
- 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:1285:1: ( (lv_values_8_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1286:1: (lv_values_8_0= RULE_STRING )
+ newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0());
+
+ // InternalETPhys.g:1285:1: ( (lv_values_8_0= RULE_STRING ) )
+ // InternalETPhys.g:1286:1: (lv_values_8_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1286:1: (lv_values_8_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1287:3: lv_values_8_0= RULE_STRING
+ // InternalETPhys.g:1286:1: (lv_values_8_0= RULE_STRING )
+ // InternalETPhys.g:1287:3: lv_values_8_0= RULE_STRING
{
- lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute2892); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_27);
- newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getEnumAnnotationAttributeRule());
- }
- addWithLastConsumed(
- current,
- "values",
- lv_values_8_0,
- "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,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
@@ -3435,21 +3124,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleEnumAnnotationAttribute2911); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_9=(Token)match(input,14,FOLLOW_2);
- newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
-
- }
+ newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -3464,7 +3149,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:1315:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // InternalETPhys.g:1315:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -3472,21 +3157,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1316:2: (iv_ruleImport= ruleImport EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1317:2: iv_ruleImport= ruleImport EOF
+ // InternalETPhys.g:1316:2: (iv_ruleImport= ruleImport EOF )
+ // InternalETPhys.g:1317:2: iv_ruleImport= ruleImport EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getImportRule());
- }
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport2947);
+ newCompositeNode(grammarAccess.getImportRule());
+ pushFollow(FOLLOW_1);
iv_ruleImport=ruleImport();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleImport;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport2957); if (state.failed) return current;
+
+ current =iv_ruleImport;
+ match(input,EOF,FOLLOW_2);
}
@@ -3504,7 +3185,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:1324: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 ) ) ) ;
+ // InternalETPhys.g:1324: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;
@@ -3518,19 +3199,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1327:28: ( (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:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1327:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
+ // InternalETPhys.g:1328: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:1328: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:1328:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
+ // InternalETPhys.g:1328:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1328: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,37,FOLLOW_37_in_ruleImport2994); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_0=(Token)match(input,37,FOLLOW_28);
- newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1332:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
+ newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
+
+ // InternalETPhys.g:1332:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
int alt16=2;
int LA16_0 = input.LA(1);
@@ -3541,7 +3220,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt16=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 16, 0, input);
@@ -3549,97 +3227,85 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt16) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // InternalETPhys.g:1332: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:1332: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:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
+ // InternalETPhys.g:1332:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // InternalETPhys.g:1332: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:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // InternalETPhys.g:1332:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
+ // InternalETPhys.g:1333:1: (lv_importedNamespace_1_0= ruleImportedFQN )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1333:1: (lv_importedNamespace_1_0= ruleImportedFQN )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1334:3: lv_importedNamespace_1_0= ruleImportedFQN
+ // InternalETPhys.g:1333:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // InternalETPhys.g:1334:3: lv_importedNamespace_1_0= ruleImportedFQN
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
-
- }
- pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport3017);
+
+ newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
+
+ pushFollow(FOLLOW_29);
lv_importedNamespace_1_0=ruleImportedFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getImportRule());
- }
- set(
- current,
- "importedNamespace",
- lv_importedNamespace_1_0,
- "ImportedFQN");
- afterParserOrEnumRuleCall();
-
- }
- }
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getImportRule());
+ }
+ set(
+ current,
+ "importedNamespace",
+ lv_importedNamespace_1_0,
+ "org.eclipse.etrice.core.common.Base.ImportedFQN");
+ afterParserOrEnumRuleCall();
+
}
- otherlv_2=(Token)match(input,38,FOLLOW_38_in_ruleImport3029); if (state.failed) return current;
- if ( state.backtracking==0 ) {
- newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
-
}
+ otherlv_2=(Token)match(input,38,FOLLOW_26);
+
+ newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
+
+
}
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1355:7: otherlv_3= 'model'
+ // InternalETPhys.g:1355:7: otherlv_3= 'model'
{
- otherlv_3=(Token)match(input,32,FOLLOW_32_in_ruleImport3048); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,32,FOLLOW_26);
- newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
-
- }
+ newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
+
}
break;
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1359:2: ( (lv_importURI_4_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
+ // InternalETPhys.g:1359:2: ( (lv_importURI_4_0= RULE_STRING ) )
+ // InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1361:3: lv_importURI_4_0= RULE_STRING
+ // InternalETPhys.g:1360:1: (lv_importURI_4_0= RULE_STRING )
+ // InternalETPhys.g:1361:3: lv_importURI_4_0= RULE_STRING
{
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport3066); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_2);
- newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getImportRule());
- }
- setWithLastConsumed(
- current,
- "importURI",
- lv_importURI_4_0,
- "STRING");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getImportRule());
+ }
+ setWithLastConsumed(
+ current,
+ "importURI",
+ lv_importURI_4_0,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
@@ -3652,9 +3318,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -3669,7 +3333,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:1385:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
+ // InternalETPhys.g:1385:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
public final String entryRuleImportedFQN() throws RecognitionException {
String current = null;
@@ -3677,21 +3341,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1386:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1387:2: iv_ruleImportedFQN= ruleImportedFQN EOF
+ // InternalETPhys.g:1386:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // InternalETPhys.g:1387:2: iv_ruleImportedFQN= ruleImportedFQN EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getImportedFQNRule());
- }
- pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3108);
+ newCompositeNode(grammarAccess.getImportedFQNRule());
+ pushFollow(FOLLOW_1);
iv_ruleImportedFQN=ruleImportedFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleImportedFQN.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN3119); if (state.failed) return current;
+
+ current =iv_ruleImportedFQN.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -3709,7 +3369,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:1394:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
+ // InternalETPhys.g:1394:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3720,33 +3380,27 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1397:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // InternalETPhys.g:1397:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1399:5: this_FQN_0= ruleFQN (kw= '.*' )?
+ // InternalETPhys.g:1398:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // InternalETPhys.g:1399:5: this_FQN_0= ruleFQN (kw= '.*' )?
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
-
- }
- pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN3166);
+
+ newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
+
+ pushFollow(FOLLOW_30);
this_FQN_0=ruleFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current.merge(this_FQN_0);
-
- }
- if ( state.backtracking==0 ) {
-
- afterParserOrEnumRuleCall();
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1409:1: (kw= '.*' )?
+
+ current.merge(this_FQN_0);
+
+
+ afterParserOrEnumRuleCall();
+
+ // InternalETPhys.g:1409:1: (kw= '.*' )?
int alt17=2;
int LA17_0 = input.LA(1);
@@ -3755,15 +3409,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt17) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1410:2: kw= '.*'
+ // InternalETPhys.g:1410:2: kw= '.*'
{
- kw=(Token)match(input,39,FOLLOW_39_in_ruleImportedFQN3185); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,39,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
+
}
break;
@@ -3776,9 +3428,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -3793,7 +3443,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDocumentation"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1423:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
+ // InternalETPhys.g:1423:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ;
public final EObject entryRuleDocumentation() throws RecognitionException {
EObject current = null;
@@ -3801,21 +3451,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1424:2: (iv_ruleDocumentation= ruleDocumentation EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1425:2: iv_ruleDocumentation= ruleDocumentation EOF
+ // InternalETPhys.g:1424:2: (iv_ruleDocumentation= ruleDocumentation EOF )
+ // InternalETPhys.g:1425:2: iv_ruleDocumentation= ruleDocumentation EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDocumentationRule());
- }
- pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation3227);
+ newCompositeNode(grammarAccess.getDocumentationRule());
+ pushFollow(FOLLOW_1);
iv_ruleDocumentation=ruleDocumentation();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleDocumentation;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation3237); if (state.failed) return current;
+
+ current =iv_ruleDocumentation;
+ match(input,EOF,FOLLOW_2);
}
@@ -3833,7 +3479,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDocumentation"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1432:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ;
+ // InternalETPhys.g:1432: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;
@@ -3844,32 +3490,28 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1435: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:1436:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
+ // InternalETPhys.g:1435:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) )
+ // InternalETPhys.g:1436: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:1436: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:1436:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']'
+ // InternalETPhys.g:1436:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' )
+ // InternalETPhys.g:1436: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:1436:2: ()
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1437:5:
+ // InternalETPhys.g:1436:2: ()
+ // InternalETPhys.g:1437:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getDocumentationAccess().getDocumentationAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getDocumentationAccess().getDocumentationAction_0(),
+ current);
+
}
- otherlv_1=(Token)match(input,40,FOLLOW_40_in_ruleDocumentation3283); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,40,FOLLOW_31);
- newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1446:1: ( (lv_lines_2_0= RULE_STRING ) )*
+ newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1());
+
+ // InternalETPhys.g:1446:1: ( (lv_lines_2_0= RULE_STRING ) )*
loop18:
do {
int alt18=2;
@@ -3882,29 +3524,25 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt18) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
+ // InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1448:3: lv_lines_2_0= RULE_STRING
+ // InternalETPhys.g:1447:1: (lv_lines_2_0= RULE_STRING )
+ // InternalETPhys.g:1448:3: lv_lines_2_0= RULE_STRING
{
- lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation3300); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_31);
- newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0());
-
- }
- if ( state.backtracking==0 ) {
-
- if (current==null) {
- current = createModelElement(grammarAccess.getDocumentationRule());
- }
- addWithLastConsumed(
- current,
- "lines",
- lv_lines_2_0,
- "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,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
@@ -3917,21 +3555,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_3=(Token)match(input,41,FOLLOW_41_in_ruleDocumentation3318); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_3=(Token)match(input,41,FOLLOW_2);
- newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
-
- }
+ newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -3946,7 +3580,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleTIME"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1476:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
+ // InternalETPhys.g:1476:1: entryRuleTIME returns [String current=null] : iv_ruleTIME= ruleTIME EOF ;
public final String entryRuleTIME() throws RecognitionException {
String current = null;
@@ -3954,21 +3588,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1477:2: (iv_ruleTIME= ruleTIME EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1478:2: iv_ruleTIME= ruleTIME EOF
+ // InternalETPhys.g:1477:2: (iv_ruleTIME= ruleTIME EOF )
+ // InternalETPhys.g:1478:2: iv_ruleTIME= ruleTIME EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getTIMERule());
- }
- pushFollow(FOLLOW_ruleTIME_in_entryRuleTIME3355);
+ newCompositeNode(grammarAccess.getTIMERule());
+ pushFollow(FOLLOW_1);
iv_ruleTIME=ruleTIME();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleTIME.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleTIME3366); if (state.failed) return current;
+
+ current =iv_ruleTIME.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -3986,7 +3616,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:1485: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' ) ) ;
+ // InternalETPhys.g:1485: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();
@@ -3999,10 +3629,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1488: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:1489: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' ) )
+ // InternalETPhys.g:1488: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' ) ) )
+ // InternalETPhys.g:1489: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:1489: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' ) )
+ // InternalETPhys.g:1489: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 alt19=4;
int LA19_0 = input.LA(1);
@@ -4029,7 +3659,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 1, input);
@@ -4038,7 +3667,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
@@ -4046,29 +3674,23 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt19) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1489:2: (this_INT_0= RULE_INT kw= 's' )
+ // InternalETPhys.g:1489: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:1489: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:1489:7: this_INT_0= RULE_INT kw= 's'
+ // InternalETPhys.g:1489:2: (this_INT_0= RULE_INT kw= 's' )
+ // InternalETPhys.g:1489:7: this_INT_0= RULE_INT kw= 's'
{
- this_INT_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3407); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_0=(Token)match(input,RULE_INT,FOLLOW_32);
- current.merge(this_INT_0);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0());
-
- }
- kw=(Token)match(input,42,FOLLOW_42_in_ruleTIME3425); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_0);
+
+
+ newLeafNode(this_INT_0, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_0_0());
+
+ kw=(Token)match(input,42,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getSKeyword_0_1());
+
}
@@ -4076,29 +3698,23 @@ 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:1503:6: (this_INT_2= RULE_INT kw= 'ms' )
+ // InternalETPhys.g:1503: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:1503: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:1503:11: this_INT_2= RULE_INT kw= 'ms'
+ // InternalETPhys.g:1503:6: (this_INT_2= RULE_INT kw= 'ms' )
+ // InternalETPhys.g:1503:11: this_INT_2= RULE_INT kw= 'ms'
{
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3448); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_33);
- current.merge(this_INT_2);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0());
-
- }
- kw=(Token)match(input,43,FOLLOW_43_in_ruleTIME3466); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_1_0());
+
+ kw=(Token)match(input,43,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getMsKeyword_1_1());
+
}
@@ -4106,29 +3722,23 @@ 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:1517:6: (this_INT_4= RULE_INT kw= 'us' )
+ // InternalETPhys.g:1517: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:1517: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:1517:11: this_INT_4= RULE_INT kw= 'us'
+ // InternalETPhys.g:1517:6: (this_INT_4= RULE_INT kw= 'us' )
+ // InternalETPhys.g:1517:11: this_INT_4= RULE_INT kw= 'us'
{
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3489); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_34);
- current.merge(this_INT_4);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0());
-
- }
- kw=(Token)match(input,44,FOLLOW_44_in_ruleTIME3507); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_4);
+
+
+ newLeafNode(this_INT_4, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_2_0());
+
+ kw=(Token)match(input,44,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getUsKeyword_2_1());
+
}
@@ -4136,29 +3746,23 @@ 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:1531:6: (this_INT_6= RULE_INT kw= 'ns' )
+ // InternalETPhys.g:1531: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:1531: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:1531:11: this_INT_6= RULE_INT kw= 'ns'
+ // InternalETPhys.g:1531:6: (this_INT_6= RULE_INT kw= 'ns' )
+ // InternalETPhys.g:1531:11: this_INT_6= RULE_INT kw= 'ns'
{
- this_INT_6=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTIME3530); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_6=(Token)match(input,RULE_INT,FOLLOW_35);
- current.merge(this_INT_6);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0());
-
- }
- kw=(Token)match(input,45,FOLLOW_45_in_ruleTIME3548); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_6);
+
+
+ newLeafNode(this_INT_6, grammarAccess.getTIMEAccess().getINTTerminalRuleCall_3_0());
+
+ kw=(Token)match(input,45,FOLLOW_2);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getTIMEAccess().getNsKeyword_3_1());
+
}
@@ -4171,9 +3775,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4188,7 +3790,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1554:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // InternalETPhys.g:1554:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -4196,21 +3798,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1555:2: (iv_ruleLiteral= ruleLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1556:2: iv_ruleLiteral= ruleLiteral EOF
+ // InternalETPhys.g:1555:2: (iv_ruleLiteral= ruleLiteral EOF )
+ // InternalETPhys.g:1556:2: iv_ruleLiteral= ruleLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getLiteralRule());
- }
- pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3591);
+ newCompositeNode(grammarAccess.getLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleLiteral=ruleLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3601); if (state.failed) return current;
+
+ current =iv_ruleLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -4228,7 +3826,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1563:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
+ // InternalETPhys.g:1563: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;
@@ -4242,10 +3840,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1566: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:1567:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ // InternalETPhys.g:1566:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
+ // InternalETPhys.g:1567: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:1567:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ // InternalETPhys.g:1567:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
int alt20=3;
switch ( input.LA(1) ) {
case 46:
@@ -4268,7 +3866,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 20, 0, input);
@@ -4277,68 +3874,56 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt20) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1568:5: this_BooleanLiteral_0= ruleBooleanLiteral
+ // InternalETPhys.g:1568:5: this_BooleanLiteral_0= ruleBooleanLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
-
- }
- pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3648);
+
+ newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
this_BooleanLiteral_0=ruleBooleanLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_BooleanLiteral_0;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ 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:1578:5: this_NumberLiteral_1= ruleNumberLiteral
+ // InternalETPhys.g:1578:5: this_NumberLiteral_1= ruleNumberLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
-
- }
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3675);
+
+ newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
this_NumberLiteral_1=ruleNumberLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_NumberLiteral_1;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ 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:1588:5: this_StringLiteral_2= ruleStringLiteral
+ // InternalETPhys.g:1588:5: this_StringLiteral_2= ruleStringLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
-
- }
- pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3702);
+
+ newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
+
+ pushFollow(FOLLOW_2);
this_StringLiteral_2=ruleStringLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_StringLiteral_2;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ current = this_StringLiteral_2;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -4348,9 +3933,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4365,7 +3948,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1604:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
+ // InternalETPhys.g:1604:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
public final EObject entryRuleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -4373,21 +3956,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1605:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1606:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
+ // InternalETPhys.g:1605:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
+ // InternalETPhys.g:1606:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getBooleanLiteralRule());
- }
- pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3737);
+ newCompositeNode(grammarAccess.getBooleanLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleBooleanLiteral=ruleBooleanLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleBooleanLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3747); if (state.failed) return current;
+
+ current =iv_ruleBooleanLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -4405,7 +3984,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1613:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
+ // InternalETPhys.g:1613:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -4415,26 +3994,24 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1616: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:1617:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // InternalETPhys.g:1616:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
+ // InternalETPhys.g:1617: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:1617: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:1617:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ // InternalETPhys.g:1617:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // InternalETPhys.g:1617: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:1617:2: ()
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1618:5:
+ // InternalETPhys.g:1617:2: ()
+ // InternalETPhys.g:1618:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getBooleanLiteralAccess().getBooleanLiteralAction_0(),
+ current);
+
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1623:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ // InternalETPhys.g:1623:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
int alt21=2;
int LA21_0 = input.LA(1);
@@ -4445,7 +4022,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt21=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
@@ -4453,40 +4029,34 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt21) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1623:4: otherlv_1= 'false'
+ // InternalETPhys.g:1623:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleBooleanLiteral3794); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ otherlv_1=(Token)match(input,46,FOLLOW_2);
- newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
-
- }
+ 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:1628:6: ( (lv_isTrue_2_0= 'true' ) )
+ // InternalETPhys.g:1628:6: ( (lv_isTrue_2_0= 'true' ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1628:6: ( (lv_isTrue_2_0= 'true' ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
+ // InternalETPhys.g:1628:6: ( (lv_isTrue_2_0= 'true' ) )
+ // InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1630:3: lv_isTrue_2_0= 'true'
+ // InternalETPhys.g:1629:1: (lv_isTrue_2_0= 'true' )
+ // InternalETPhys.g:1630:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,47,FOLLOW_47_in_ruleBooleanLiteral3818); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_isTrue_2_0=(Token)match(input,47,FOLLOW_2);
- newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
+
- if (current==null) {
- current = createModelElement(grammarAccess.getBooleanLiteralRule());
- }
- setWithLastConsumed(current, "isTrue", true, "true");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getBooleanLiteralRule());
+ }
+ setWithLastConsumed(current, "isTrue", true, "true");
+
}
@@ -4505,9 +4075,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4522,7 +4090,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNumberLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1651:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
+ // InternalETPhys.g:1651:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
public final EObject entryRuleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -4530,21 +4098,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1652:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1653:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
+ // InternalETPhys.g:1652:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
+ // InternalETPhys.g:1653:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getNumberLiteralRule());
- }
- pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3868);
+ newCompositeNode(grammarAccess.getNumberLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleNumberLiteral=ruleNumberLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleNumberLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral3878); if (state.failed) return current;
+
+ current =iv_ruleNumberLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -4562,7 +4126,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNumberLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1660:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
+ // InternalETPhys.g:1660:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
public final EObject ruleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -4574,10 +4138,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1663: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:1664:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ // InternalETPhys.g:1663:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
+ // InternalETPhys.g:1664: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:1664:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ // InternalETPhys.g:1664:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
int alt22=2;
switch ( input.LA(1) ) {
case 48:
@@ -4587,14 +4151,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
if ( (LA22_1==RULE_INT) ) {
int LA22_3 = input.LA(3);
- if ( (LA22_3==EOF) ) {
- alt22=1;
- }
- else if ( (LA22_3==50) ) {
+ if ( (LA22_3==50) ) {
alt22=2;
}
+ else if ( (LA22_3==EOF) ) {
+ alt22=1;
+ }
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 3, input);
@@ -4602,7 +4165,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 1, input);
@@ -4617,14 +4179,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
if ( (LA22_2==RULE_INT) ) {
int LA22_3 = input.LA(3);
- if ( (LA22_3==EOF) ) {
- alt22=1;
- }
- else if ( (LA22_3==50) ) {
+ if ( (LA22_3==50) ) {
alt22=2;
}
+ else if ( (LA22_3==EOF) ) {
+ alt22=1;
+ }
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 3, input);
@@ -4632,7 +4193,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 2, input);
@@ -4644,14 +4204,13 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
{
int LA22_3 = input.LA(2);
- if ( (LA22_3==EOF) ) {
- alt22=1;
- }
- else if ( (LA22_3==50) ) {
+ if ( (LA22_3==50) ) {
alt22=2;
}
+ else if ( (LA22_3==EOF) ) {
+ alt22=1;
+ }
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 3, input);
@@ -4665,7 +4224,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 22, 0, input);
@@ -4674,46 +4232,38 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt22) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1665:5: this_IntLiteral_0= ruleIntLiteral
+ // InternalETPhys.g:1665:5: this_IntLiteral_0= ruleIntLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
-
- }
- pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3925);
+
+ newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
this_IntLiteral_0=ruleIntLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_IntLiteral_0;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ 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:1675:5: this_RealLiteral_1= ruleRealLiteral
+ // InternalETPhys.g:1675:5: this_RealLiteral_1= ruleRealLiteral
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
-
- }
- pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3952);
+
+ newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
this_RealLiteral_1=ruleRealLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current = this_RealLiteral_1;
- afterParserOrEnumRuleCall();
-
- }
+
+
+ current = this_RealLiteral_1;
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -4723,9 +4273,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4740,7 +4288,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1691:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
+ // InternalETPhys.g:1691:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
public final EObject entryRuleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -4748,21 +4296,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1692:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1693:2: iv_ruleRealLiteral= ruleRealLiteral EOF
+ // InternalETPhys.g:1692:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
+ // InternalETPhys.g:1693:2: iv_ruleRealLiteral= ruleRealLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRealLiteralRule());
- }
- pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3987);
+ newCompositeNode(grammarAccess.getRealLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleRealLiteral=ruleRealLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleRealLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral3997); if (state.failed) return current;
+
+ current =iv_ruleRealLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -4780,7 +4324,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1700:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
+ // InternalETPhys.g:1700:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
public final EObject ruleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -4790,54 +4334,48 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1703:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // InternalETPhys.g:1703:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
+ // InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1704:2: () ( (lv_value_1_0= ruleReal ) )
+ // InternalETPhys.g:1704:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // InternalETPhys.g:1704:2: () ( (lv_value_1_0= ruleReal ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1704:2: ()
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1705:5:
+ // InternalETPhys.g:1704:2: ()
+ // InternalETPhys.g:1705:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getRealLiteralAccess().getRealLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getRealLiteralAccess().getRealLiteralAction_0(),
+ current);
+
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1710:2: ( (lv_value_1_0= ruleReal ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
+ // InternalETPhys.g:1710:2: ( (lv_value_1_0= ruleReal ) )
+ // InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1712:3: lv_value_1_0= ruleReal
+ // InternalETPhys.g:1711:1: (lv_value_1_0= ruleReal )
+ // InternalETPhys.g:1712:3: lv_value_1_0= ruleReal
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral4052);
+
+ newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_2);
lv_value_1_0=ruleReal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getRealLiteralRule());
- }
- set(
- current,
- "value",
- lv_value_1_0,
- "Real");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getRealLiteralRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_1_0,
+ "org.eclipse.etrice.core.common.Base.Real");
+ afterParserOrEnumRuleCall();
+
}
@@ -4850,9 +4388,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4867,7 +4403,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1736:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
+ // InternalETPhys.g:1736:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
public final EObject entryRuleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -4875,21 +4411,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1737:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1738:2: iv_ruleIntLiteral= ruleIntLiteral EOF
+ // InternalETPhys.g:1737:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
+ // InternalETPhys.g:1738:2: iv_ruleIntLiteral= ruleIntLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIntLiteralRule());
- }
- pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4088);
+ newCompositeNode(grammarAccess.getIntLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleIntLiteral=ruleIntLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleIntLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4098); if (state.failed) return current;
+
+ current =iv_ruleIntLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -4907,7 +4439,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1745:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
+ // InternalETPhys.g:1745:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
public final EObject ruleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -4917,54 +4449,48 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1748:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // InternalETPhys.g:1748:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
+ // InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1749:2: () ( (lv_value_1_0= ruleInteger ) )
+ // InternalETPhys.g:1749:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // InternalETPhys.g:1749:2: () ( (lv_value_1_0= ruleInteger ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1749:2: ()
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1750:5:
+ // InternalETPhys.g:1749:2: ()
+ // InternalETPhys.g:1750:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getIntLiteralAccess().getIntLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getIntLiteralAccess().getIntLiteralAction_0(),
+ current);
+
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1755:2: ( (lv_value_1_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
+ // InternalETPhys.g:1755:2: ( (lv_value_1_0= ruleInteger ) )
+ // InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1757:3: lv_value_1_0= ruleInteger
+ // InternalETPhys.g:1756:1: (lv_value_1_0= ruleInteger )
+ // InternalETPhys.g:1757:3: lv_value_1_0= ruleInteger
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
-
- }
- pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4153);
+
+ newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
+
+ pushFollow(FOLLOW_2);
lv_value_1_0=ruleInteger();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getIntLiteralRule());
- }
- set(
- current,
- "value",
- lv_value_1_0,
- "Integer");
- afterParserOrEnumRuleCall();
-
- }
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIntLiteralRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_1_0,
+ "org.eclipse.etrice.core.common.Base.Integer");
+ afterParserOrEnumRuleCall();
+
}
@@ -4977,9 +4503,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -4994,7 +4518,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1781:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
+ // InternalETPhys.g:1781:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -5002,21 +4526,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1782:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1783:2: iv_ruleStringLiteral= ruleStringLiteral EOF
+ // InternalETPhys.g:1782:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // InternalETPhys.g:1783:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getStringLiteralRule());
- }
- pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4189);
+ newCompositeNode(grammarAccess.getStringLiteralRule());
+ pushFollow(FOLLOW_1);
iv_ruleStringLiteral=ruleStringLiteral();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleStringLiteral;
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4199); if (state.failed) return current;
+
+ current =iv_ruleStringLiteral;
+ match(input,EOF,FOLLOW_2);
}
@@ -5034,7 +4554,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringLiteral"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1790:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
+ // InternalETPhys.g:1790:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -5043,49 +4563,43 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1793:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1793:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
+ // InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1794:2: () ( (lv_value_1_0= RULE_STRING ) )
+ // InternalETPhys.g:1794:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // InternalETPhys.g:1794:2: () ( (lv_value_1_0= RULE_STRING ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1794:2: ()
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1795:5:
+ // InternalETPhys.g:1794:2: ()
+ // InternalETPhys.g:1795:5:
{
- if ( state.backtracking==0 ) {
- current = forceCreateModelElement(
- grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(),
- current);
-
- }
+ current = forceCreateModelElement(
+ grammarAccess.getStringLiteralAccess().getStringLiteralAction_0(),
+ current);
+
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1800:2: ( (lv_value_1_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
+ // InternalETPhys.g:1800:2: ( (lv_value_1_0= RULE_STRING ) )
+ // InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1802:3: lv_value_1_0= RULE_STRING
+ // InternalETPhys.g:1801:1: (lv_value_1_0= RULE_STRING )
+ // InternalETPhys.g:1802:3: lv_value_1_0= RULE_STRING
{
- lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4250); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2);
- newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
-
- }
- if ( state.backtracking==0 ) {
+ 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");
-
- }
+ if (current==null) {
+ current = createModelElement(grammarAccess.getStringLiteralRule());
+ }
+ setWithLastConsumed(
+ current,
+ "value",
+ lv_value_1_0,
+ "org.eclipse.xtext.common.Terminals.STRING");
+
}
@@ -5098,9 +4612,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -5115,7 +4627,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInteger"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1826:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
+ // InternalETPhys.g:1826:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
public final String entryRuleInteger() throws RecognitionException {
String current = null;
@@ -5123,21 +4635,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1827:2: (iv_ruleInteger= ruleInteger EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1828:2: iv_ruleInteger= ruleInteger EOF
+ // InternalETPhys.g:1827:2: (iv_ruleInteger= ruleInteger EOF )
+ // InternalETPhys.g:1828:2: iv_ruleInteger= ruleInteger EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getIntegerRule());
- }
- pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4292);
+ newCompositeNode(grammarAccess.getIntegerRule());
+ pushFollow(FOLLOW_1);
iv_ruleInteger=ruleInteger();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleInteger.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4303); if (state.failed) return current;
+
+ current =iv_ruleInteger.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -5155,7 +4663,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInteger"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1835:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ;
+ // InternalETPhys.g:1835:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ;
public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5166,10 +4674,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1838:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
+ // InternalETPhys.g:1838:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) )
+ // InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
+ // InternalETPhys.g:1839:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX )
int alt24=2;
int LA24_0 = input.LA(1);
@@ -5180,7 +4688,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt24=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 24, 0, input);
@@ -5188,12 +4695,12 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt24) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1839:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // InternalETPhys.g:1839: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:1839: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:1839:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
+ // InternalETPhys.g:1839:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // InternalETPhys.g:1839:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1839:3: (kw= '+' | kw= '-' )?
+ // InternalETPhys.g:1839:3: (kw= '+' | kw= '-' )?
int alt23=3;
int LA23_0 = input.LA(1);
@@ -5205,45 +4712,37 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt23) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1840:2: kw= '+'
+ // InternalETPhys.g:1840:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_48_in_ruleInteger4343); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,48,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0());
+
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1847:2: kw= '-'
+ // InternalETPhys.g:1847:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_49_in_ruleInteger4362); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,49,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1());
+
}
break;
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleInteger4379); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2);
- current.merge(this_INT_2);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_2, grammarAccess.getIntegerAccess().getINTTerminalRuleCall_0_1());
-
- }
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getIntegerAccess().getINTTerminalRuleCall_0_1());
+
}
@@ -5251,19 +4750,15 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1860:10: this_HEX_3= RULE_HEX
+ // InternalETPhys.g:1860:10: this_HEX_3= RULE_HEX
{
- this_HEX_3=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleInteger4406); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_HEX_3=(Token)match(input,RULE_HEX,FOLLOW_2);
- current.merge(this_HEX_3);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_HEX_3, grammarAccess.getIntegerAccess().getHEXTerminalRuleCall_1());
-
- }
+ current.merge(this_HEX_3);
+
+
+ newLeafNode(this_HEX_3, grammarAccess.getIntegerAccess().getHEXTerminalRuleCall_1());
+
}
break;
@@ -5273,9 +4768,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -5290,7 +4783,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReal"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1875:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
+ // InternalETPhys.g:1875:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -5298,21 +4791,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1876:2: (iv_ruleReal= ruleReal EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1877:2: iv_ruleReal= ruleReal EOF
+ // InternalETPhys.g:1876:2: (iv_ruleReal= ruleReal EOF )
+ // InternalETPhys.g:1877:2: iv_ruleReal= ruleReal EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getRealRule());
- }
- pushFollow(FOLLOW_ruleReal_in_entryRuleReal4452);
+ newCompositeNode(grammarAccess.getRealRule());
+ pushFollow(FOLLOW_1);
iv_ruleReal=ruleReal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleReal.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleReal4463); if (state.failed) return current;
+
+ current =iv_ruleReal.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -5330,7 +4819,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReal"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1884:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ;
+ // InternalETPhys.g:1884:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ;
public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5342,10 +4831,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1887:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
+ // InternalETPhys.g:1887:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) )
+ // InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
+ // InternalETPhys.g:1888:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp )
int alt25=2;
switch ( input.LA(1) ) {
case 48:
@@ -5368,7 +4857,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt25=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 5, input);
@@ -5376,7 +4864,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 4, input);
@@ -5384,7 +4871,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 3, input);
@@ -5392,7 +4878,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 1, input);
@@ -5420,7 +4905,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt25=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 5, input);
@@ -5428,7 +4912,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 4, input);
@@ -5436,7 +4919,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 3, input);
@@ -5444,7 +4926,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 2, input);
@@ -5469,7 +4950,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt25=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 5, input);
@@ -5477,7 +4957,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 4, input);
@@ -5485,7 +4964,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 3, input);
@@ -5494,7 +4972,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 0, input);
@@ -5503,54 +4980,42 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt25) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1889:5: this_Decimal_0= ruleDecimal
+ // InternalETPhys.g:1889:5: this_Decimal_0= ruleDecimal
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
-
- }
- pushFollow(FOLLOW_ruleDecimal_in_ruleReal4510);
+
+ newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
+
+ pushFollow(FOLLOW_2);
this_Decimal_0=ruleDecimal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current.merge(this_Decimal_0);
-
- }
- if ( state.backtracking==0 ) {
-
- afterParserOrEnumRuleCall();
-
- }
+
+ 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:1901:5: this_DecimalExp_1= ruleDecimalExp
+ // InternalETPhys.g:1901:5: this_DecimalExp_1= ruleDecimalExp
{
- if ( state.backtracking==0 ) {
-
- newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_1());
-
- }
- pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4543);
+
+ newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_1());
+
+ pushFollow(FOLLOW_2);
this_DecimalExp_1=ruleDecimalExp();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current.merge(this_DecimalExp_1);
-
- }
- if ( state.backtracking==0 ) {
-
- afterParserOrEnumRuleCall();
-
- }
+
+ current.merge(this_DecimalExp_1);
+
+
+ afterParserOrEnumRuleCall();
+
}
break;
@@ -5560,9 +5025,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -5577,7 +5040,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimal"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1919:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
+ // InternalETPhys.g:1919:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
public final String entryRuleDecimal() throws RecognitionException {
String current = null;
@@ -5588,21 +5051,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:1923:2: (iv_ruleDecimal= ruleDecimal EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1924:2: iv_ruleDecimal= ruleDecimal EOF
+ // InternalETPhys.g:1923:2: (iv_ruleDecimal= ruleDecimal EOF )
+ // InternalETPhys.g:1924:2: iv_ruleDecimal= ruleDecimal EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDecimalRule());
- }
- pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal4595);
+ newCompositeNode(grammarAccess.getDecimalRule());
+ pushFollow(FOLLOW_1);
iv_ruleDecimal=ruleDecimal();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleDecimal.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal4606); if (state.failed) return current;
+
+ current =iv_ruleDecimal.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -5623,7 +5082,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimal"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1934:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
+ // InternalETPhys.g:1934: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();
@@ -5635,13 +5094,13 @@ 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:1938: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:1939:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // InternalETPhys.g:1938:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
+ // InternalETPhys.g:1939: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:1939: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:1939:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
+ // InternalETPhys.g:1939:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // InternalETPhys.g:1939: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:1939:2: (kw= '+' | kw= '-' )?
+ // InternalETPhys.g:1939:2: (kw= '+' | kw= '-' )?
int alt26=3;
int LA26_0 = input.LA(1);
@@ -5653,72 +5112,56 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt26) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1940:2: kw= '+'
+ // InternalETPhys.g:1940:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_48_in_ruleDecimal4649); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,48,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
-
- }
+ 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:1947:2: kw= '-'
+ // InternalETPhys.g:1947:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_49_in_ruleDecimal4668); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,49,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
+
}
break;
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4685); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_36);
- current.merge(this_INT_2);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
-
- }
- kw=(Token)match(input,50,FOLLOW_50_in_ruleDecimal4703); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
+
+ kw=(Token)match(input,50,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
-
- }
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4718); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
+
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2);
- current.merge(this_INT_4);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_4, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3());
-
- }
+ current.merge(this_INT_4);
+
+
+ newLeafNode(this_INT_4, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_3());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -5736,7 +5179,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalExp"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1983:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
+ // InternalETPhys.g:1983:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
public final String entryRuleDecimalExp() throws RecognitionException {
String current = null;
@@ -5747,21 +5190,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:1987:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1988:2: iv_ruleDecimalExp= ruleDecimalExp EOF
+ // InternalETPhys.g:1987:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
+ // InternalETPhys.g:1988:2: iv_ruleDecimalExp= ruleDecimalExp EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getDecimalExpRule());
- }
- pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4774);
+ newCompositeNode(grammarAccess.getDecimalExpRule());
+ pushFollow(FOLLOW_1);
iv_ruleDecimalExp=ruleDecimalExp();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleDecimalExp.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp4785); if (state.failed) return current;
+
+ current =iv_ruleDecimalExp.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -5782,7 +5221,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimalExp"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:1998:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? ( ( RULE_INT )=>this_INT_9= RULE_INT ) ) ;
+ // InternalETPhys.g:1998:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -5795,13 +5234,13 @@ 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:2002:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? ( ( RULE_INT )=>this_INT_9= RULE_INT ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? ( ( RULE_INT )=>this_INT_9= RULE_INT ) )
+ // InternalETPhys.g:2002:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) )
+ // InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? ( ( RULE_INT )=>this_INT_9= RULE_INT ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? ( ( RULE_INT )=>this_INT_9= RULE_INT )
+ // InternalETPhys.g:2003:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT )
+ // InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )?
+ // InternalETPhys.g:2003:2: (kw= '+' | kw= '-' )?
int alt27=3;
int LA27_0 = input.LA(1);
@@ -5813,64 +5252,50 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt27) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2004:2: kw= '+'
+ // InternalETPhys.g:2004:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_48_in_ruleDecimalExp4828); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,48,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
-
- }
+ 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:2011:2: kw= '-'
+ // InternalETPhys.g:2011:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_49_in_ruleDecimalExp4847); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,49,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
+
}
break;
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4864); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_36);
- current.merge(this_INT_2);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
-
- }
- kw=(Token)match(input,50,FOLLOW_50_in_ruleDecimalExp4882); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(this_INT_2);
+
+
+ newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
+
+ kw=(Token)match(input,50,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
-
- }
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4897); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
+
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_37);
- current.merge(this_INT_4);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3());
-
- }
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2036:1: (kw= 'e' | kw= 'E' )
+ current.merge(this_INT_4);
+
+
+ newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3());
+
+ // InternalETPhys.g:2036:1: (kw= 'e' | kw= 'E' )
int alt28=2;
int LA28_0 = input.LA(1);
@@ -5881,7 +5306,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt28=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 28, 0, input);
@@ -5889,35 +5313,31 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt28) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2037:2: kw= 'e'
+ // InternalETPhys.g:2037:2: kw= 'e'
{
- kw=(Token)match(input,51,FOLLOW_51_in_ruleDecimalExp4916); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,51,FOLLOW_38);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0());
+
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2044:2: kw= 'E'
+ // InternalETPhys.g:2044:2: kw= 'E'
{
- kw=(Token)match(input,52,FOLLOW_52_in_ruleDecimalExp4935); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,52,FOLLOW_38);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1());
+
}
break;
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2049:2: (kw= '+' | kw= '-' )?
+ // InternalETPhys.g:2049:2: (kw= '+' | kw= '-' )?
int alt29=3;
int LA29_0 = input.LA(1);
@@ -5929,60 +5349,44 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt29) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2050:2: kw= '+'
+ // InternalETPhys.g:2050:2: kw= '+'
{
- kw=(Token)match(input,48,FOLLOW_48_in_ruleDecimalExp4950); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,48,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
+
}
break;
case 2 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2057:2: kw= '-'
+ // InternalETPhys.g:2057:2: kw= '-'
{
- kw=(Token)match(input,49,FOLLOW_49_in_ruleDecimalExp4969); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,49,FOLLOW_19);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
-
- }
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
+
}
break;
}
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2062:3: ( ( RULE_INT )=>this_INT_9= RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2062:4: ( RULE_INT )=>this_INT_9= RULE_INT
- {
- this_INT_9=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4992); if (state.failed) return current;
- if ( state.backtracking==0 ) {
-
- current.merge(this_INT_9);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_INT_9, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6());
-
- }
-
- }
+ this_INT_9=(Token)match(input,RULE_INT,FOLLOW_2);
+ current.merge(this_INT_9);
+
+
+ newLeafNode(this_INT_9, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6());
+
}
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -6000,7 +5404,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:2080:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
+ // InternalETPhys.g:2080:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
public final String entryRuleFQN() throws RecognitionException {
String current = null;
@@ -6008,21 +5412,17 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2081:2: (iv_ruleFQN= ruleFQN EOF )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2082:2: iv_ruleFQN= ruleFQN EOF
+ // InternalETPhys.g:2081:2: (iv_ruleFQN= ruleFQN EOF )
+ // InternalETPhys.g:2082:2: iv_ruleFQN= ruleFQN EOF
{
- if ( state.backtracking==0 ) {
- newCompositeNode(grammarAccess.getFQNRule());
- }
- pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN5043);
+ newCompositeNode(grammarAccess.getFQNRule());
+ pushFollow(FOLLOW_1);
iv_ruleFQN=ruleFQN();
state._fsp--;
- if (state.failed) return current;
- if ( state.backtracking==0 ) {
- current =iv_ruleFQN.getText();
- }
- match(input,EOF,FOLLOW_EOF_in_entryRuleFQN5054); if (state.failed) return current;
+
+ current =iv_ruleFQN.getText();
+ match(input,EOF,FOLLOW_2);
}
@@ -6040,7 +5440,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:2089:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ // InternalETPhys.g:2089: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();
@@ -6051,24 +5451,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2092: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:2093:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalETPhys.g:2092:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // InternalETPhys.g:2093: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:2093: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:2093:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // InternalETPhys.g:2093:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalETPhys.g:2093:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN5094); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_39);
- current.merge(this_ID_0);
-
- }
- if ( state.backtracking==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:2100:1: (kw= '.' this_ID_2= RULE_ID )*
+ current.merge(this_ID_0);
+
+
+ newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
+
+ // InternalETPhys.g:2100:1: (kw= '.' this_ID_2= RULE_ID )*
loop30:
do {
int alt30=2;
@@ -6081,26 +5477,20 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt30) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2101:2: kw= '.' this_ID_2= RULE_ID
+ // InternalETPhys.g:2101:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,50,FOLLOW_50_in_ruleFQN5113); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ kw=(Token)match(input,50,FOLLOW_3);
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
-
- }
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN5128); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
+
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_39);
- current.merge(this_ID_2);
-
- }
- if ( state.backtracking==0 ) {
-
- newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1());
-
- }
+ current.merge(this_ID_2);
+
+
+ newLeafNode(this_ID_2, grammarAccess.getFQNAccess().getIDTerminalRuleCall_1_1());
+
}
break;
@@ -6116,9 +5506,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -6133,7 +5521,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleExecMode"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2121:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
+ // InternalETPhys.g:2121:1: ruleExecMode returns [Enumerator current=null] : ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) ;
public final Enumerator ruleExecMode() throws RecognitionException {
Enumerator current = null;
@@ -6143,10 +5531,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2123: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:2124:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ // InternalETPhys.g:2123:28: ( ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) ) )
+ // InternalETPhys.g:2124: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:2124:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
+ // InternalETPhys.g:2124:1: ( (enumLiteral_0= 'polled' ) | (enumLiteral_1= 'blocked' ) | (enumLiteral_2= 'mixed' ) )
int alt31=3;
switch ( input.LA(1) ) {
case 53:
@@ -6165,7 +5553,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 31, 0, input);
@@ -6174,18 +5561,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt31) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
+ // InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2124:4: enumLiteral_0= 'polled'
+ // InternalETPhys.g:2124:2: (enumLiteral_0= 'polled' )
+ // InternalETPhys.g:2124:4: enumLiteral_0= 'polled'
{
- enumLiteral_0=(Token)match(input,53,FOLLOW_53_in_ruleExecMode5189); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,53,FOLLOW_2);
- current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getExecModeAccess().getPOLLEDEnumLiteralDeclaration_0());
+
}
@@ -6193,18 +5578,16 @@ 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:2130:6: (enumLiteral_1= 'blocked' )
+ // InternalETPhys.g:2130:6: (enumLiteral_1= 'blocked' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2130:6: (enumLiteral_1= 'blocked' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2130:8: enumLiteral_1= 'blocked'
+ // InternalETPhys.g:2130:6: (enumLiteral_1= 'blocked' )
+ // InternalETPhys.g:2130:8: enumLiteral_1= 'blocked'
{
- enumLiteral_1=(Token)match(input,54,FOLLOW_54_in_ruleExecMode5206); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,54,FOLLOW_2);
- current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getExecModeAccess().getBLOCKEDEnumLiteralDeclaration_1());
+
}
@@ -6212,18 +5595,16 @@ 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:2136:6: (enumLiteral_2= 'mixed' )
+ // InternalETPhys.g:2136:6: (enumLiteral_2= 'mixed' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2136:6: (enumLiteral_2= 'mixed' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2136:8: enumLiteral_2= 'mixed'
+ // InternalETPhys.g:2136:6: (enumLiteral_2= 'mixed' )
+ // InternalETPhys.g:2136:8: enumLiteral_2= 'mixed'
{
- enumLiteral_2=(Token)match(input,55,FOLLOW_55_in_ruleExecMode5223); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,55,FOLLOW_2);
- current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getExecModeAccess().getMIXEDEnumLiteralDeclaration_2());
+
}
@@ -6236,9 +5617,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -6253,7 +5632,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:2146:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
+ // InternalETPhys.g:2146:1: ruleThreadModel returns [Enumerator current=null] : ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) ;
public final Enumerator ruleThreadModel() throws RecognitionException {
Enumerator current = null;
@@ -6262,10 +5641,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2148:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ // InternalETPhys.g:2148:28: ( ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) ) )
+ // InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
+ // InternalETPhys.g:2149:1: ( (enumLiteral_0= 'singleThreaded' ) | (enumLiteral_1= 'multiThreaded' ) )
int alt32=2;
int LA32_0 = input.LA(1);
@@ -6276,7 +5655,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
alt32=2;
}
else {
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
@@ -6284,18 +5662,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
switch (alt32) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
+ // InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2149:4: enumLiteral_0= 'singleThreaded'
+ // InternalETPhys.g:2149:2: (enumLiteral_0= 'singleThreaded' )
+ // InternalETPhys.g:2149:4: enumLiteral_0= 'singleThreaded'
{
- enumLiteral_0=(Token)match(input,56,FOLLOW_56_in_ruleThreadModel5268); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,56,FOLLOW_2);
- current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getThreadModelAccess().getSINGLE_THREADEDEnumLiteralDeclaration_0());
+
}
@@ -6303,18 +5679,16 @@ 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:2155:6: (enumLiteral_1= 'multiThreaded' )
+ // InternalETPhys.g:2155:6: (enumLiteral_1= 'multiThreaded' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2155:6: (enumLiteral_1= 'multiThreaded' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2155:8: enumLiteral_1= 'multiThreaded'
+ // InternalETPhys.g:2155:6: (enumLiteral_1= 'multiThreaded' )
+ // InternalETPhys.g:2155:8: enumLiteral_1= 'multiThreaded'
{
- enumLiteral_1=(Token)match(input,57,FOLLOW_57_in_ruleThreadModel5285); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,57,FOLLOW_2);
- current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getThreadModelAccess().getMULTI_THREADEDEnumLiteralDeclaration_1());
+
}
@@ -6327,9 +5701,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -6344,7 +5716,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteralType"
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2165:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ;
+ // InternalETPhys.g:2165: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;
@@ -6355,10 +5727,10 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2167: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:2168:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
+ // InternalETPhys.g:2167:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) )
+ // InternalETPhys.g:2168: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:2168:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
+ // InternalETPhys.g:2168:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) )
int alt33=4;
switch ( input.LA(1) ) {
case 58:
@@ -6382,7 +5754,6 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
break;
default:
- if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 0, input);
@@ -6391,18 +5762,16 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
switch (alt33) {
case 1 :
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
+ // InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2168:4: enumLiteral_0= 'ptBoolean'
+ // InternalETPhys.g:2168:2: (enumLiteral_0= 'ptBoolean' )
+ // InternalETPhys.g:2168:4: enumLiteral_0= 'ptBoolean'
{
- enumLiteral_0=(Token)match(input,58,FOLLOW_58_in_ruleLiteralType5330); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_0=(Token)match(input,58,FOLLOW_2);
- current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
-
- }
+ current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0());
+
}
@@ -6410,18 +5779,16 @@ 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:2174:6: (enumLiteral_1= 'ptInteger' )
+ // InternalETPhys.g:2174:6: (enumLiteral_1= 'ptInteger' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2174:6: (enumLiteral_1= 'ptInteger' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2174:8: enumLiteral_1= 'ptInteger'
+ // InternalETPhys.g:2174:6: (enumLiteral_1= 'ptInteger' )
+ // InternalETPhys.g:2174:8: enumLiteral_1= 'ptInteger'
{
- enumLiteral_1=(Token)match(input,59,FOLLOW_59_in_ruleLiteralType5347); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_1=(Token)match(input,59,FOLLOW_2);
- current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
-
- }
+ current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1());
+
}
@@ -6429,18 +5796,16 @@ 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:2180:6: (enumLiteral_2= 'ptReal' )
+ // InternalETPhys.g:2180:6: (enumLiteral_2= 'ptReal' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2180:6: (enumLiteral_2= 'ptReal' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2180:8: enumLiteral_2= 'ptReal'
+ // InternalETPhys.g:2180:6: (enumLiteral_2= 'ptReal' )
+ // InternalETPhys.g:2180:8: enumLiteral_2= 'ptReal'
{
- enumLiteral_2=(Token)match(input,60,FOLLOW_60_in_ruleLiteralType5364); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_2=(Token)match(input,60,FOLLOW_2);
- current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
-
- }
+ current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2());
+
}
@@ -6448,18 +5813,16 @@ 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:2186:6: (enumLiteral_3= 'ptCharacter' )
+ // InternalETPhys.g:2186:6: (enumLiteral_3= 'ptCharacter' )
{
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2186:6: (enumLiteral_3= 'ptCharacter' )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2186:8: enumLiteral_3= 'ptCharacter'
+ // InternalETPhys.g:2186:6: (enumLiteral_3= 'ptCharacter' )
+ // InternalETPhys.g:2186:8: enumLiteral_3= 'ptCharacter'
{
- enumLiteral_3=(Token)match(input,61,FOLLOW_61_in_ruleLiteralType5381); if (state.failed) return current;
- if ( state.backtracking==0 ) {
+ enumLiteral_3=(Token)match(input,61,FOLLOW_2);
- current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
-
- }
+ current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3());
+
}
@@ -6472,9 +5835,7 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
- if ( state.backtracking==0 ) {
- leaveRule();
- }
+ leaveRule();
}
catch (RecognitionException re) {
@@ -6487,237 +5848,49 @@ public class InternalETPhysParser extends AbstractInternalAntlrParser {
}
// $ANTLR end "ruleLiteralType"
- // $ANTLR start synpred1_InternalETPhys
- public final void synpred1_InternalETPhys_fragment() throws RecognitionException {
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2062:4: ( RULE_INT )
- // ../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/parser/antlr/internal/InternalETPhys.g:2062:6: RULE_INT
- {
- match(input,RULE_INT,FOLLOW_RULE_INT_in_synpred1_InternalETPhys4983); if (state.failed) return ;
-
- }
- }
- // $ANTLR end synpred1_InternalETPhys
-
// Delegated rules
- public final boolean synpred1_InternalETPhys() {
- state.backtracking++;
- int start = input.mark();
- try {
- synpred1_InternalETPhys_fragment(); // can never throw exception
- } catch (RecognitionException re) {
- System.err.println("impossible: "+re);
- }
- boolean success = !state.failed;
- input.rewind(start);
- state.backtracking--;
- state.failed=false;
- return success;
- }
-
- 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_12_in_rulePhysicalModel122 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_rulePhysicalModel143 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalModel155 = new BitSet(new long[]{0x000000208004C000L});
- public static final BitSet FOLLOW_ruleImport_in_rulePhysicalModel176 = new BitSet(new long[]{0x000000208004C000L});
- public static final BitSet FOLLOW_rulePhysicalSystem_in_rulePhysicalModel199 = new BitSet(new long[]{0x000000008004C000L});
- public static final BitSet FOLLOW_ruleNodeClass_in_rulePhysicalModel226 = new BitSet(new long[]{0x000000008004C000L});
- public static final BitSet FOLLOW_ruleRuntimeClass_in_rulePhysicalModel253 = new BitSet(new long[]{0x000000008004C000L});
- public static final BitSet FOLLOW_14_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_15_in_rulePhysicalSystem350 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalSystem367 = new BitSet(new long[]{0x0000010000002000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_rulePhysicalSystem393 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalSystem406 = new BitSet(new long[]{0x0000000000014000L});
- public static final BitSet FOLLOW_ruleNodeRef_in_rulePhysicalSystem427 = new BitSet(new long[]{0x0000000000014000L});
- public static final BitSet FOLLOW_14_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_16_in_ruleNodeRef523 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleNodeRef540 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleNodeRef557 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleNodeRef580 = new BitSet(new long[]{0x0000010000000002L});
- 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_18_in_ruleNodeClass685 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleNodeClass702 = new BitSet(new long[]{0x0000010000002000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_ruleNodeClass728 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleNodeClass741 = new BitSet(new long[]{0x0000000000680000L});
- public static final BitSet FOLLOW_19_in_ruleNodeClass799 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleNodeClass811 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleNodeClass834 = new BitSet(new long[]{0x0000000001E84000L});
- public static final BitSet FOLLOW_21_in_ruleNodeClass902 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleNodeClass914 = new BitSet(new long[]{0x00030000000000A0L});
- public static final BitSet FOLLOW_ruleInteger_in_ruleNodeClass935 = new BitSet(new long[]{0x0000000001E84000L});
- public static final BitSet FOLLOW_22_in_ruleNodeClass1003 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleNodeClass1015 = new BitSet(new long[]{0x00030000000000A0L});
- public static final BitSet FOLLOW_ruleInteger_in_ruleNodeClass1036 = new BitSet(new long[]{0x0000000001E84000L});
- public static final BitSet FOLLOW_rulePhysicalThread_in_ruleNodeClass1104 = new BitSet(new long[]{0x0000000001804000L});
- public static final BitSet FOLLOW_14_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_23_in_rulePhysicalThread1207 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_24_in_rulePhysicalThread1238 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_rulePhysicalThread1256 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePhysicalThread1273 = new BitSet(new long[]{0x000000007E000000L});
- public static final BitSet FOLLOW_25_in_rulePhysicalThread1331 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1343 = new BitSet(new long[]{0x00E0000000000000L});
- public static final BitSet FOLLOW_ruleExecMode_in_rulePhysicalThread1364 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_26_in_rulePhysicalThread1432 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1444 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_ruleTIME_in_rulePhysicalThread1465 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_27_in_rulePhysicalThread1533 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1545 = new BitSet(new long[]{0x00030000000000A0L});
- public static final BitSet FOLLOW_ruleInteger_in_rulePhysicalThread1566 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_28_in_rulePhysicalThread1634 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1646 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1663 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_29_in_rulePhysicalThread1736 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1748 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1765 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_30_in_rulePhysicalThread1838 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_rulePhysicalThread1850 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_rulePhysicalThread1867 = new BitSet(new long[]{0x000000007E004000L});
- public static final BitSet FOLLOW_14_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_31_in_ruleRuntimeClass2014 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRuntimeClass2031 = new BitSet(new long[]{0x0000010000002000L});
- public static final BitSet FOLLOW_ruleDocumentation_in_ruleRuntimeClass2057 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleRuntimeClass2070 = new BitSet(new long[]{0x0000000100000000L});
- public static final BitSet FOLLOW_32_in_ruleRuntimeClass2082 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleRuntimeClass2094 = new BitSet(new long[]{0x0300000000000000L});
- public static final BitSet FOLLOW_ruleThreadModel_in_ruleRuntimeClass2115 = new BitSet(new long[]{0x0000000000004000L});
- public static final BitSet FOLLOW_14_in_ruleRuntimeClass2127 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue2165 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue2175 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue2217 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_20_in_ruleKeyValue2234 = new BitSet(new long[]{0x0003C000000000E0L});
- public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue2255 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType2294 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType2305 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType2344 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute2388 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute2398 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute2445 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute2472 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute2507 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute2517 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_ruleSimpleAnnotationAttribute2561 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_34_in_ruleSimpleAnnotationAttribute2592 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_ruleSimpleAnnotationAttribute2605 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute2622 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleSimpleAnnotationAttribute2639 = new BitSet(new long[]{0x3C00000000000000L});
- public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute2660 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute2696 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute2706 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_ruleEnumAnnotationAttribute2750 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_34_in_ruleEnumAnnotationAttribute2781 = new BitSet(new long[]{0x0000000800000000L});
- public static final BitSet FOLLOW_35_in_ruleEnumAnnotationAttribute2794 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute2811 = new BitSet(new long[]{0x0000000000020000L});
- public static final BitSet FOLLOW_17_in_ruleEnumAnnotationAttribute2828 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleEnumAnnotationAttribute2840 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute2857 = new BitSet(new long[]{0x0000001000004000L});
- public static final BitSet FOLLOW_36_in_ruleEnumAnnotationAttribute2875 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute2892 = new BitSet(new long[]{0x0000001000004000L});
- public static final BitSet FOLLOW_14_in_ruleEnumAnnotationAttribute2911 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2947 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImport2957 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_37_in_ruleImport2994 = new BitSet(new long[]{0x0000000100000010L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport3017 = new BitSet(new long[]{0x0000004000000000L});
- public static final BitSet FOLLOW_38_in_ruleImport3029 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_32_in_ruleImport3048 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleImport3066 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3108 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN3119 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN3166 = new BitSet(new long[]{0x0000008000000002L});
- public static final BitSet FOLLOW_39_in_ruleImportedFQN3185 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation3227 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation3237 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_40_in_ruleDocumentation3283 = new BitSet(new long[]{0x0000020000000040L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation3300 = new BitSet(new long[]{0x0000020000000040L});
- public static final BitSet FOLLOW_41_in_ruleDocumentation3318 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleTIME_in_entryRuleTIME3355 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleTIME3366 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3407 = new BitSet(new long[]{0x0000040000000000L});
- public static final BitSet FOLLOW_42_in_ruleTIME3425 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3448 = new BitSet(new long[]{0x0000080000000000L});
- public static final BitSet FOLLOW_43_in_ruleTIME3466 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3489 = new BitSet(new long[]{0x0000100000000000L});
- public static final BitSet FOLLOW_44_in_ruleTIME3507 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleTIME3530 = new BitSet(new long[]{0x0000200000000000L});
- public static final BitSet FOLLOW_45_in_ruleTIME3548 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3591 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3601 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3648 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3675 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3702 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3737 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral3747 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_46_in_ruleBooleanLiteral3794 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_47_in_ruleBooleanLiteral3818 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3868 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral3878 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3925 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3952 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3987 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral3997 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral4052 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4088 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral4098 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral4153 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4189 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral4199 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral4250 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger4292 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleInteger4303 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_ruleInteger4343 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_49_in_ruleInteger4362 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleInteger4379 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_HEX_in_ruleInteger4406 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4452 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleReal4463 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_ruleReal4510 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal4543 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal4595 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimal4606 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_ruleDecimal4649 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_49_in_ruleDecimal4668 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4685 = new BitSet(new long[]{0x0004000000000000L});
- public static final BitSet FOLLOW_50_in_ruleDecimal4703 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4718 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4774 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp4785 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_48_in_ruleDecimalExp4828 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_49_in_ruleDecimalExp4847 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4864 = new BitSet(new long[]{0x0004000000000000L});
- public static final BitSet FOLLOW_50_in_ruleDecimalExp4882 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4897 = new BitSet(new long[]{0x0018000000000000L});
- public static final BitSet FOLLOW_51_in_ruleDecimalExp4916 = new BitSet(new long[]{0x0003000000000020L});
- public static final BitSet FOLLOW_52_in_ruleDecimalExp4935 = new BitSet(new long[]{0x0003000000000020L});
- public static final BitSet FOLLOW_48_in_ruleDecimalExp4950 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_49_in_ruleDecimalExp4969 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4992 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN5043 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleFQN5054 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN5094 = new BitSet(new long[]{0x0004000000000002L});
- public static final BitSet FOLLOW_50_in_ruleFQN5113 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN5128 = new BitSet(new long[]{0x0004000000000002L});
- public static final BitSet FOLLOW_53_in_ruleExecMode5189 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_54_in_ruleExecMode5206 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_55_in_ruleExecMode5223 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_56_in_ruleThreadModel5268 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_57_in_ruleThreadModel5285 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_58_in_ruleLiteralType5330 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_59_in_ruleLiteralType5347 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_60_in_ruleLiteralType5364 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_61_in_ruleLiteralType5381 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_INT_in_synpred1_InternalETPhys4983 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000208004C000L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000008004C000L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000010000002000L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000014000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000020000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000010000000002L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000680000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000001E84000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x00030000000000A0L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000001804000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x000000007E000000L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x00E0000000000000L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x000000007E004000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0300000000000000L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0003C000000000E0L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x3C00000000000000L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000001000004000L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000100000010L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000004000000000L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000020000000040L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000040000000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000080000000000L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000100000000000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000200000000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0004000000000000L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0018000000000000L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0003000000000020L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0004000000000002L});
}
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 71b8b6218..7f305f99c 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
@@ -1,8 +1,12 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.serializer;
import com.google.inject.Inject;
-import com.google.inject.Provider;
+import java.util.Set;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.etrice.core.common.base.Annotation;
import org.eclipse.etrice.core.common.base.AnnotationType;
import org.eclipse.etrice.core.common.base.BasePackage;
@@ -25,12 +29,10 @@ import org.eclipse.etrice.core.etphys.eTPhys.PhysicalSystem;
import org.eclipse.etrice.core.etphys.eTPhys.PhysicalThread;
import org.eclipse.etrice.core.etphys.eTPhys.RuntimeClass;
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.GenericSequencer;
-import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer;
-import org.eclipse.xtext.serializer.sequencer.ITransientValueService;
+import org.eclipse.xtext.Action;
+import org.eclipse.xtext.Parameter;
+import org.eclipse.xtext.ParserRule;
+import org.eclipse.xtext.serializer.ISerializationContext;
@SuppressWarnings("all")
public class ETPhysSemanticSequencer extends BaseSemanticSequencer {
@@ -38,196 +40,157 @@ public class ETPhysSemanticSequencer extends BaseSemanticSequencer {
@Inject
private ETPhysGrammarAccess grammarAccess;
- public void createSequence(EObject context, EObject semanticObject) {
- if(semanticObject.eClass().getEPackage() == BasePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
+ @Override
+ public void sequence(ISerializationContext context, EObject semanticObject) {
+ EPackage epackage = semanticObject.eClass().getEPackage();
+ ParserRule rule = context.getParserRule();
+ Action action = context.getAssignedAction();
+ Set<Parameter> parameters = context.getEnabledBooleanParameters();
+ if (epackage == BasePackage.eINSTANCE)
+ switch (semanticObject.eClass().getClassifierID()) {
case BasePackage.ANNOTATION:
- if(context == grammarAccess.getAnnotationRule()) {
- sequence_Annotation(context, (Annotation) semanticObject);
- return;
- }
- else break;
+ sequence_Annotation(context, (Annotation) semanticObject);
+ return;
case BasePackage.ANNOTATION_TYPE:
- if(context == grammarAccess.getAnnotationTypeRule()) {
- sequence_AnnotationType(context, (AnnotationType) semanticObject);
- return;
- }
- else break;
+ sequence_AnnotationType(context, (AnnotationType) semanticObject);
+ return;
case BasePackage.BOOLEAN_LITERAL:
- if(context == grammarAccess.getBooleanLiteralRule() ||
- context == grammarAccess.getLiteralRule()) {
- sequence_BooleanLiteral(context, (BooleanLiteral) semanticObject);
- return;
- }
- else break;
+ sequence_BooleanLiteral(context, (BooleanLiteral) semanticObject);
+ return;
case BasePackage.DOCUMENTATION:
- if(context == grammarAccess.getDocumentationRule()) {
- sequence_Documentation(context, (Documentation) semanticObject);
- return;
- }
- else break;
+ sequence_Documentation(context, (Documentation) semanticObject);
+ return;
case BasePackage.ENUM_ANNOTATION_ATTRIBUTE:
- if(context == grammarAccess.getAnnotationAttributeRule() ||
- context == grammarAccess.getEnumAnnotationAttributeRule()) {
- sequence_EnumAnnotationAttribute(context, (EnumAnnotationAttribute) semanticObject);
- return;
- }
- else break;
+ sequence_EnumAnnotationAttribute(context, (EnumAnnotationAttribute) semanticObject);
+ return;
case BasePackage.IMPORT:
- if(context == grammarAccess.getImportRule()) {
- sequence_Import(context, (Import) semanticObject);
- return;
- }
- else break;
+ sequence_Import(context, (Import) semanticObject);
+ return;
case BasePackage.INT_LITERAL:
- if(context == grammarAccess.getIntLiteralRule() ||
- context == grammarAccess.getLiteralRule() ||
- context == grammarAccess.getNumberLiteralRule()) {
- sequence_IntLiteral(context, (IntLiteral) semanticObject);
- return;
- }
- else break;
+ sequence_IntLiteral(context, (IntLiteral) semanticObject);
+ return;
case BasePackage.KEY_VALUE:
- if(context == grammarAccess.getKeyValueRule()) {
- sequence_KeyValue(context, (KeyValue) semanticObject);
- return;
- }
- else break;
+ sequence_KeyValue(context, (KeyValue) semanticObject);
+ return;
case BasePackage.LITERAL_ARRAY:
- if(context == grammarAccess.getLiteralArrayRule()) {
- sequence_LiteralArray(context, (LiteralArray) semanticObject);
- return;
- }
- else break;
+ sequence_LiteralArray(context, (LiteralArray) semanticObject);
+ return;
case BasePackage.REAL_LITERAL:
- if(context == grammarAccess.getLiteralRule() ||
- context == grammarAccess.getNumberLiteralRule() ||
- context == grammarAccess.getRealLiteralRule()) {
- sequence_RealLiteral(context, (RealLiteral) semanticObject);
- return;
- }
- else break;
+ sequence_RealLiteral(context, (RealLiteral) semanticObject);
+ return;
case BasePackage.SIMPLE_ANNOTATION_ATTRIBUTE:
- if(context == grammarAccess.getAnnotationAttributeRule() ||
- context == grammarAccess.getSimpleAnnotationAttributeRule()) {
- sequence_SimpleAnnotationAttribute(context, (SimpleAnnotationAttribute) semanticObject);
- return;
- }
- else break;
+ sequence_SimpleAnnotationAttribute(context, (SimpleAnnotationAttribute) semanticObject);
+ return;
case BasePackage.STRING_LITERAL:
- if(context == grammarAccess.getLiteralRule() ||
- context == grammarAccess.getStringLiteralRule()) {
- sequence_StringLiteral(context, (StringLiteral) semanticObject);
- return;
- }
- else break;
+ sequence_StringLiteral(context, (StringLiteral) semanticObject);
+ return;
}
- else if(semanticObject.eClass().getEPackage() == ETPhysPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
+ else if (epackage == ETPhysPackage.eINSTANCE)
+ switch (semanticObject.eClass().getClassifierID()) {
case ETPhysPackage.NODE_CLASS:
- if(context == grammarAccess.getNodeClassRule()) {
- sequence_NodeClass(context, (NodeClass) semanticObject);
- return;
- }
- else break;
+ sequence_NodeClass(context, (NodeClass) semanticObject);
+ return;
case ETPhysPackage.NODE_REF:
- if(context == grammarAccess.getNodeRefRule()) {
- sequence_NodeRef(context, (NodeRef) semanticObject);
- return;
- }
- else break;
+ sequence_NodeRef(context, (NodeRef) semanticObject);
+ return;
case ETPhysPackage.PHYSICAL_MODEL:
- if(context == grammarAccess.getPhysicalModelRule()) {
- sequence_PhysicalModel(context, (PhysicalModel) semanticObject);
- return;
- }
- else break;
+ sequence_PhysicalModel(context, (PhysicalModel) semanticObject);
+ return;
case ETPhysPackage.PHYSICAL_SYSTEM:
- if(context == grammarAccess.getPhysicalSystemRule()) {
- sequence_PhysicalSystem(context, (PhysicalSystem) semanticObject);
- return;
- }
- else break;
+ sequence_PhysicalSystem(context, (PhysicalSystem) semanticObject);
+ return;
case ETPhysPackage.PHYSICAL_THREAD:
- if(context == grammarAccess.getPhysicalThreadRule()) {
- sequence_PhysicalThread(context, (PhysicalThread) semanticObject);
- return;
- }
- else break;
+ sequence_PhysicalThread(context, (PhysicalThread) semanticObject);
+ return;
case ETPhysPackage.RUNTIME_CLASS:
- if(context == grammarAccess.getRuntimeClassRule()) {
- sequence_RuntimeClass(context, (RuntimeClass) semanticObject);
- return;
- }
- else break;
+ sequence_RuntimeClass(context, (RuntimeClass) semanticObject);
+ return;
}
- if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
+ if (errorAcceptor != null)
+ errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
/**
+ * Contexts:
+ * NodeClass returns NodeClass
+ *
* Constraint:
- * (
- * name=ID
- * docu=Documentation?
- * runtime=[RuntimeClass|FQN]
- * priomin=Integer
- * priomax=Integer
- * threads+=PhysicalThread*
- * )
+ * (name=ID docu=Documentation? (runtime=[RuntimeClass|FQN] | priomin=Integer | priomax=Integer)+ threads+=PhysicalThread*)
*/
- protected void sequence_NodeClass(EObject context, NodeClass semanticObject) {
+ protected void sequence_NodeClass(ISerializationContext context, NodeClass semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
+ * Contexts:
+ * NodeRef returns NodeRef
+ *
* Constraint:
* (name=ID type=[NodeClass|FQN] docu=Documentation?)
*/
- protected void sequence_NodeRef(EObject context, NodeRef semanticObject) {
+ protected void sequence_NodeRef(ISerializationContext context, NodeRef semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
+ * Contexts:
+ * PhysicalModel returns PhysicalModel
+ *
* Constraint:
* (name=FQN imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass | runtimeClasses+=RuntimeClass)*)
*/
- protected void sequence_PhysicalModel(EObject context, PhysicalModel semanticObject) {
+ protected void sequence_PhysicalModel(ISerializationContext context, PhysicalModel semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
+ * Contexts:
+ * PhysicalSystem returns PhysicalSystem
+ *
* Constraint:
* (name=ID docu=Documentation? nodeRefs+=NodeRef*)
*/
- protected void sequence_PhysicalSystem(EObject context, PhysicalSystem semanticObject) {
+ protected void sequence_PhysicalSystem(ISerializationContext context, PhysicalSystem semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
+ * Contexts:
+ * PhysicalThread returns PhysicalThread
+ *
* Constraint:
* (
* default?='DefaultThread'?
* name=ID
- * execmode=ExecMode
- * time=TIME?
- * prio=Integer
- * stacksize=INT
- * msgblocksize=INT
- * msgpoolsize=INT
+ * (
+ * execmode=ExecMode |
+ * time=TIME |
+ * prio=Integer |
+ * stacksize=INT |
+ * msgblocksize=INT |
+ * msgpoolsize=INT
+ * )*
* )
*/
- protected void sequence_PhysicalThread(EObject context, PhysicalThread semanticObject) {
+ protected void sequence_PhysicalThread(ISerializationContext context, PhysicalThread semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
+ * Contexts:
+ * RuntimeClass returns RuntimeClass
+ *
* Constraint:
* (name=ID docu=Documentation? threadModel=ThreadModel)
*/
- protected void sequence_RuntimeClass(EObject context, RuntimeClass semanticObject) {
+ protected void sequence_RuntimeClass(ISerializationContext context, RuntimeClass semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
+
+
}
diff --git a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
index 3a3d448c8..014101292 100644
--- a/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/serializer/ETPhysSyntacticSequencer.java
@@ -1,3 +1,6 @@
+/*
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.serializer;
import com.google.inject.Inject;
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 126c5c651..b722dc225 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
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.services;
import com.google.inject.Singleton;
@@ -13,13 +13,14 @@ import org.eclipse.xtext.service.GrammarProvider;
import org.eclipse.xtext.service.AbstractElementFinder.*;
import org.eclipse.etrice.core.common.services.BaseGrammarAccess;
+import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
@Singleton
public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
public class PhysicalModelElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PhysicalModel");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.PhysicalModel");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cPhysicalModelKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
@@ -37,15 +38,16 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
//PhysicalModel:
- // "PhysicalModel" name=FQN "{" imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass |
- // runtimeClasses+=RuntimeClass)* "}";
- public ParserRule getRule() { return rule; }
+ // 'PhysicalModel' name=FQN '{'
+ // imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass | runtimeClasses+=RuntimeClass)*
+ // '}';
+ @Override public ParserRule getRule() { return rule; }
- //"PhysicalModel" name=FQN "{" imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass |
- //runtimeClasses+=RuntimeClass)* "}"
+ //'PhysicalModel' name=FQN '{' imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass |
+ //runtimeClasses+=RuntimeClass)* '}'
public Group getGroup() { return cGroup; }
- //"PhysicalModel"
+ //'PhysicalModel'
public Keyword getPhysicalModelKeyword_0() { return cPhysicalModelKeyword_0; }
//name=FQN
@@ -54,7 +56,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//FQN
public RuleCall getNameFQNParserRuleCall_1_0() { return cNameFQNParserRuleCall_1_0; }
- //"{"
+ //'{'
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
//imports+=Import*
@@ -84,12 +86,12 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//RuntimeClass
public RuleCall getRuntimeClassesRuntimeClassParserRuleCall_4_2_0() { return cRuntimeClassesRuntimeClassParserRuleCall_4_2_0; }
- //"}"
+ //'}'
public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
}
public class PhysicalSystemElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PhysicalSystem");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.PhysicalSystem");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cPhysicalSystemKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
@@ -102,13 +104,15 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5);
//PhysicalSystem:
- // "PhysicalSystem" name=ID docu=Documentation? "{" nodeRefs+=NodeRef* "}";
- public ParserRule getRule() { return rule; }
+ // 'PhysicalSystem' name=ID docu=Documentation? '{'
+ // nodeRefs+=NodeRef*
+ // '}';
+ @Override public ParserRule getRule() { return rule; }
- //"PhysicalSystem" name=ID docu=Documentation? "{" nodeRefs+=NodeRef* "}"
+ //'PhysicalSystem' name=ID docu=Documentation? '{' nodeRefs+=NodeRef* '}'
public Group getGroup() { return cGroup; }
- //"PhysicalSystem"
+ //'PhysicalSystem'
public Keyword getPhysicalSystemKeyword_0() { return cPhysicalSystemKeyword_0; }
//name=ID
@@ -123,7 +127,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//Documentation
public RuleCall getDocuDocumentationParserRuleCall_2_0() { return cDocuDocumentationParserRuleCall_2_0; }
- //"{"
+ //'{'
public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; }
//nodeRefs+=NodeRef*
@@ -132,12 +136,12 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//NodeRef
public RuleCall getNodeRefsNodeRefParserRuleCall_4_0() { return cNodeRefsNodeRefParserRuleCall_4_0; }
- //"}"
+ //'}'
public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; }
}
public class NodeRefElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NodeRef");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.NodeRef");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cNodeRefKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
@@ -150,13 +154,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final RuleCall cDocuDocumentationParserRuleCall_4_0 = (RuleCall)cDocuAssignment_4.eContents().get(0);
//NodeRef:
- // "NodeRef" name=ID ":" type=[NodeClass|FQN] docu=Documentation?;
- public ParserRule getRule() { return rule; }
+ // 'NodeRef' name=ID ':' type=[NodeClass|FQN] docu=Documentation?;
+ @Override public ParserRule getRule() { return rule; }
- //"NodeRef" name=ID ":" type=[NodeClass|FQN] docu=Documentation?
+ //'NodeRef' name=ID ':' type=[NodeClass|FQN] docu=Documentation?
public Group getGroup() { return cGroup; }
- //"NodeRef"
+ //'NodeRef'
public Keyword getNodeRefKeyword_0() { return cNodeRefKeyword_0; }
//name=ID
@@ -165,7 +169,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
- //":"
+ //':'
public Keyword getColonKeyword_2() { return cColonKeyword_2; }
//type=[NodeClass|FQN]
@@ -185,7 +189,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
public class NodeClassElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NodeClass");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.NodeClass");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cNodeClassKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
@@ -215,15 +219,17 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
//NodeClass:
- // "NodeClass" name=ID docu=Documentation? "{" ("runtime" "=" runtime=[RuntimeClass|FQN] & "priomin" "=" priomin=Integer
- // & "priomax" "=" priomax=Integer) threads+=PhysicalThread* "}";
- public ParserRule getRule() { return rule; }
-
- //"NodeClass" name=ID docu=Documentation? "{" ("runtime" "=" runtime=[RuntimeClass|FQN] & "priomin" "=" priomin=Integer &
- //"priomax" "=" priomax=Integer) threads+=PhysicalThread* "}"
+ // 'NodeClass' name=ID docu=Documentation? '{' ('runtime' '=' runtime=[RuntimeClass|FQN] &
+ // 'priomin' '=' priomin=Integer &
+ // 'priomax' '=' priomax=Integer) threads+=PhysicalThread*
+ // '}';
+ @Override public ParserRule getRule() { return rule; }
+
+ //'NodeClass' name=ID docu=Documentation? '{' ('runtime' '=' runtime=[RuntimeClass|FQN] & 'priomin' '=' priomin=Integer &
+ //'priomax' '=' priomax=Integer) threads+=PhysicalThread* '}'
public Group getGroup() { return cGroup; }
- //"NodeClass"
+ //'NodeClass'
public Keyword getNodeClassKeyword_0() { return cNodeClassKeyword_0; }
//name=ID
@@ -238,19 +244,19 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//Documentation
public RuleCall getDocuDocumentationParserRuleCall_2_0() { return cDocuDocumentationParserRuleCall_2_0; }
- //"{"
+ //'{'
public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; }
- //"runtime" "=" runtime=[RuntimeClass|FQN] & "priomin" "=" priomin=Integer & "priomax" "=" priomax=Integer
+ //('runtime' '=' runtime=[RuntimeClass|FQN] & 'priomin' '=' priomin=Integer & 'priomax' '=' priomax=Integer)
public UnorderedGroup getUnorderedGroup_4() { return cUnorderedGroup_4; }
- //"runtime" "=" runtime=[RuntimeClass|FQN]
+ //'runtime' '=' runtime=[RuntimeClass|FQN]
public Group getGroup_4_0() { return cGroup_4_0; }
- //"runtime"
+ //'runtime'
public Keyword getRuntimeKeyword_4_0_0() { return cRuntimeKeyword_4_0_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_4_0_1() { return cEqualsSignKeyword_4_0_1; }
//runtime=[RuntimeClass|FQN]
@@ -262,13 +268,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//FQN
public RuleCall getRuntimeRuntimeClassFQNParserRuleCall_4_0_2_0_1() { return cRuntimeRuntimeClassFQNParserRuleCall_4_0_2_0_1; }
- //"priomin" "=" priomin=Integer
+ //'priomin' '=' priomin=Integer
public Group getGroup_4_1() { return cGroup_4_1; }
- //"priomin"
+ //'priomin'
public Keyword getPriominKeyword_4_1_0() { return cPriominKeyword_4_1_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_4_1_1() { return cEqualsSignKeyword_4_1_1; }
//priomin=Integer
@@ -277,13 +283,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//Integer
public RuleCall getPriominIntegerParserRuleCall_4_1_2_0() { return cPriominIntegerParserRuleCall_4_1_2_0; }
- //"priomax" "=" priomax=Integer
+ //'priomax' '=' priomax=Integer
public Group getGroup_4_2() { return cGroup_4_2; }
- //"priomax"
+ //'priomax'
public Keyword getPriomaxKeyword_4_2_0() { return cPriomaxKeyword_4_2_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_4_2_1() { return cEqualsSignKeyword_4_2_1; }
//priomax=Integer
@@ -298,12 +304,12 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//PhysicalThread
public RuleCall getThreadsPhysicalThreadParserRuleCall_5_0() { return cThreadsPhysicalThreadParserRuleCall_5_0; }
- //"}"
+ //'}'
public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; }
}
public class PhysicalThreadElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PhysicalThread");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.PhysicalThread");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
private final Assignment cDefaultAssignment_0_0 = (Assignment)cAlternatives_0.eContents().get(0);
@@ -346,26 +352,29 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
//PhysicalThread:
- // (default?="DefaultThread" | "Thread") name=ID "{" ("execmode" "=" execmode=ExecMode & ("interval" "=" time=TIME)? &
- // "prio" "=" prio=Integer & "stacksize" "=" stacksize=INT & "msgblocksize" "=" msgblocksize=INT & "msgpoolsize" "="
- // msgpoolsize=INT) "}";
- public ParserRule getRule() { return rule; }
-
- //(default?="DefaultThread" | "Thread") name=ID "{" ("execmode" "=" execmode=ExecMode & ("interval" "=" time=TIME)? &
- //"prio" "=" prio=Integer & "stacksize" "=" stacksize=INT & "msgblocksize" "=" msgblocksize=INT & "msgpoolsize" "="
- //msgpoolsize=INT) "}"
+ // (default?='DefaultThread' | 'Thread') name=ID '{' ('execmode' '=' execmode=ExecMode & ('interval' '=' time=TIME)? &
+ // 'prio' '=' prio=Integer &
+ // 'stacksize' '=' stacksize=INT &
+ // 'msgblocksize' '=' msgblocksize=INT &
+ // 'msgpoolsize' '=' msgpoolsize=INT)
+ // '}';
+ @Override public ParserRule getRule() { return rule; }
+
+ //(default?='DefaultThread' | 'Thread') name=ID '{' ('execmode' '=' execmode=ExecMode & ('interval' '=' time=TIME)? &
+ //'prio' '=' prio=Integer & 'stacksize' '=' stacksize=INT & 'msgblocksize' '=' msgblocksize=INT & 'msgpoolsize' '='
+ //msgpoolsize=INT) '}'
public Group getGroup() { return cGroup; }
- //default?="DefaultThread" | "Thread"
+ //(default?='DefaultThread' | 'Thread')
public Alternatives getAlternatives_0() { return cAlternatives_0; }
- //default?="DefaultThread"
+ //default?='DefaultThread'
public Assignment getDefaultAssignment_0_0() { return cDefaultAssignment_0_0; }
- //"DefaultThread"
+ //'DefaultThread'
public Keyword getDefaultDefaultThreadKeyword_0_0_0() { return cDefaultDefaultThreadKeyword_0_0_0; }
- //"Thread"
+ //'Thread'
public Keyword getThreadKeyword_0_1() { return cThreadKeyword_0_1; }
//name=ID
@@ -374,20 +383,20 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//ID
public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; }
- //"{"
+ //'{'
public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
- //"execmode" "=" execmode=ExecMode & ("interval" "=" time=TIME)? & "prio" "=" prio=Integer & "stacksize" "=" stacksize=INT
- //& "msgblocksize" "=" msgblocksize=INT & "msgpoolsize" "=" msgpoolsize=INT
+ //('execmode' '=' execmode=ExecMode & ('interval' '=' time=TIME)? & 'prio' '=' prio=Integer & 'stacksize' '='
+ //stacksize=INT & 'msgblocksize' '=' msgblocksize=INT & 'msgpoolsize' '=' msgpoolsize=INT)
public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
- //"execmode" "=" execmode=ExecMode
+ //'execmode' '=' execmode=ExecMode
public Group getGroup_3_0() { return cGroup_3_0; }
- //"execmode"
+ //'execmode'
public Keyword getExecmodeKeyword_3_0_0() { return cExecmodeKeyword_3_0_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; }
//execmode=ExecMode
@@ -396,13 +405,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//ExecMode
public RuleCall getExecmodeExecModeEnumRuleCall_3_0_2_0() { return cExecmodeExecModeEnumRuleCall_3_0_2_0; }
- //("interval" "=" time=TIME)?
+ //('interval' '=' time=TIME)?
public Group getGroup_3_1() { return cGroup_3_1; }
- //"interval"
+ //'interval'
public Keyword getIntervalKeyword_3_1_0() { return cIntervalKeyword_3_1_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; }
//time=TIME
@@ -411,13 +420,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//TIME
public RuleCall getTimeTIMEParserRuleCall_3_1_2_0() { return cTimeTIMEParserRuleCall_3_1_2_0; }
- //"prio" "=" prio=Integer
+ //'prio' '=' prio=Integer
public Group getGroup_3_2() { return cGroup_3_2; }
- //"prio"
+ //'prio'
public Keyword getPrioKeyword_3_2_0() { return cPrioKeyword_3_2_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; }
//prio=Integer
@@ -426,13 +435,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//Integer
public RuleCall getPrioIntegerParserRuleCall_3_2_2_0() { return cPrioIntegerParserRuleCall_3_2_2_0; }
- //"stacksize" "=" stacksize=INT
+ //'stacksize' '=' stacksize=INT
public Group getGroup_3_3() { return cGroup_3_3; }
- //"stacksize"
+ //'stacksize'
public Keyword getStacksizeKeyword_3_3_0() { return cStacksizeKeyword_3_3_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; }
//stacksize=INT
@@ -441,13 +450,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//INT
public RuleCall getStacksizeINTTerminalRuleCall_3_3_2_0() { return cStacksizeINTTerminalRuleCall_3_3_2_0; }
- //"msgblocksize" "=" msgblocksize=INT
+ //'msgblocksize' '=' msgblocksize=INT
public Group getGroup_3_4() { return cGroup_3_4; }
- //"msgblocksize"
+ //'msgblocksize'
public Keyword getMsgblocksizeKeyword_3_4_0() { return cMsgblocksizeKeyword_3_4_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; }
//msgblocksize=INT
@@ -456,13 +465,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//INT
public RuleCall getMsgblocksizeINTTerminalRuleCall_3_4_2_0() { return cMsgblocksizeINTTerminalRuleCall_3_4_2_0; }
- //"msgpoolsize" "=" msgpoolsize=INT
+ //'msgpoolsize' '=' msgpoolsize=INT
public Group getGroup_3_5() { return cGroup_3_5; }
- //"msgpoolsize"
+ //'msgpoolsize'
public Keyword getMsgpoolsizeKeyword_3_5_0() { return cMsgpoolsizeKeyword_3_5_0; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; }
//msgpoolsize=INT
@@ -471,12 +480,12 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//INT
public RuleCall getMsgpoolsizeINTTerminalRuleCall_3_5_2_0() { return cMsgpoolsizeINTTerminalRuleCall_3_5_2_0; }
- //"}"
+ //'}'
public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
}
public class RuntimeClassElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RuntimeClass");
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.RuntimeClass");
private final Group cGroup = (Group)rule.eContents().get(1);
private final Keyword cRuntimeClassKeyword_0 = (Keyword)cGroup.eContents().get(0);
private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1);
@@ -491,13 +500,15 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7);
//RuntimeClass:
- // "RuntimeClass" name=ID docu=Documentation? "{" "model" "=" threadModel=ThreadModel "}";
- public ParserRule getRule() { return rule; }
+ // 'RuntimeClass' name=ID docu=Documentation? '{'
+ // 'model' '=' threadModel=ThreadModel
+ // '}';
+ @Override public ParserRule getRule() { return rule; }
- //"RuntimeClass" name=ID docu=Documentation? "{" "model" "=" threadModel=ThreadModel "}"
+ //'RuntimeClass' name=ID docu=Documentation? '{' 'model' '=' threadModel=ThreadModel '}'
public Group getGroup() { return cGroup; }
- //"RuntimeClass"
+ //'RuntimeClass'
public Keyword getRuntimeClassKeyword_0() { return cRuntimeClassKeyword_0; }
//name=ID
@@ -512,13 +523,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//Documentation
public RuleCall getDocuDocumentationParserRuleCall_2_0() { return cDocuDocumentationParserRuleCall_2_0; }
- //"{"
+ //'{'
public Keyword getLeftCurlyBracketKeyword_3() { return cLeftCurlyBracketKeyword_3; }
- //"model"
+ //'model'
public Keyword getModelKeyword_4() { return cModelKeyword_4; }
- //"="
+ //'='
public Keyword getEqualsSignKeyword_5() { return cEqualsSignKeyword_5; }
//threadModel=ThreadModel
@@ -527,13 +538,13 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//ThreadModel
public RuleCall getThreadModelThreadModelEnumRuleCall_6_0() { return cThreadModelThreadModelEnumRuleCall_6_0; }
- //"}"
+ //'}'
public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; }
}
public class ExecModeElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ExecMode");
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.ExecMode");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cPOLLEDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cPOLLEDPolledKeyword_0_0 = (Keyword)cPOLLEDEnumLiteralDeclaration_0.eContents().get(0);
@@ -543,33 +554,35 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cMIXEDMixedKeyword_2_0 = (Keyword)cMIXEDEnumLiteralDeclaration_2.eContents().get(0);
//enum ExecMode:
- // POLLED="polled" | BLOCKED="blocked" | MIXED="mixed";
+ // POLLED='polled' |
+ // BLOCKED='blocked' |
+ // MIXED='mixed';
public EnumRule getRule() { return rule; }
- //POLLED="polled" | BLOCKED="blocked" | MIXED="mixed"
+ //POLLED='polled' | BLOCKED='blocked' | MIXED='mixed'
public Alternatives getAlternatives() { return cAlternatives; }
- //POLLED="polled"
+ //POLLED='polled'
public EnumLiteralDeclaration getPOLLEDEnumLiteralDeclaration_0() { return cPOLLEDEnumLiteralDeclaration_0; }
- //"polled"
+ //'polled'
public Keyword getPOLLEDPolledKeyword_0_0() { return cPOLLEDPolledKeyword_0_0; }
- //BLOCKED="blocked"
+ //BLOCKED='blocked'
public EnumLiteralDeclaration getBLOCKEDEnumLiteralDeclaration_1() { return cBLOCKEDEnumLiteralDeclaration_1; }
- //"blocked"
+ //'blocked'
public Keyword getBLOCKEDBlockedKeyword_1_0() { return cBLOCKEDBlockedKeyword_1_0; }
- //MIXED="mixed"
+ //MIXED='mixed'
public EnumLiteralDeclaration getMIXEDEnumLiteralDeclaration_2() { return cMIXEDEnumLiteralDeclaration_2; }
- //"mixed"
+ //'mixed'
public Keyword getMIXEDMixedKeyword_2_0() { return cMIXEDMixedKeyword_2_0; }
}
public class ThreadModelElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ThreadModel");
+ private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etphys.ETPhys.ThreadModel");
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final EnumLiteralDeclaration cSINGLE_THREADEDEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0);
private final Keyword cSINGLE_THREADEDSingleThreadedKeyword_0_0 = (Keyword)cSINGLE_THREADEDEnumLiteralDeclaration_0.eContents().get(0);
@@ -577,22 +590,23 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cMULTI_THREADEDMultiThreadedKeyword_1_0 = (Keyword)cMULTI_THREADEDEnumLiteralDeclaration_1.eContents().get(0);
//enum ThreadModel:
- // SINGLE_THREADED="singleThreaded" | MULTI_THREADED="multiThreaded";
+ // SINGLE_THREADED='singleThreaded' |
+ // MULTI_THREADED='multiThreaded';
public EnumRule getRule() { return rule; }
- //SINGLE_THREADED="singleThreaded" | MULTI_THREADED="multiThreaded"
+ //SINGLE_THREADED='singleThreaded' | MULTI_THREADED='multiThreaded'
public Alternatives getAlternatives() { return cAlternatives; }
- //SINGLE_THREADED="singleThreaded"
+ //SINGLE_THREADED='singleThreaded'
public EnumLiteralDeclaration getSINGLE_THREADEDEnumLiteralDeclaration_0() { return cSINGLE_THREADEDEnumLiteralDeclaration_0; }
- //"singleThreaded"
+ //'singleThreaded'
public Keyword getSINGLE_THREADEDSingleThreadedKeyword_0_0() { return cSINGLE_THREADEDSingleThreadedKeyword_0_0; }
- //MULTI_THREADED="multiThreaded"
+ //MULTI_THREADED='multiThreaded'
public EnumLiteralDeclaration getMULTI_THREADEDEnumLiteralDeclaration_1() { return cMULTI_THREADEDEnumLiteralDeclaration_1; }
- //"multiThreaded"
+ //'multiThreaded'
public Keyword getMULTI_THREADEDMultiThreadedKeyword_1_0() { return cMULTI_THREADEDMultiThreadedKeyword_1_0; }
}
@@ -601,27 +615,31 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
private final NodeRefElements pNodeRef;
private final NodeClassElements pNodeClass;
private final PhysicalThreadElements pPhysicalThread;
- private final ExecModeElements unknownRuleExecMode;
+ private final ExecModeElements eExecMode;
private final RuntimeClassElements pRuntimeClass;
- private final ThreadModelElements unknownRuleThreadModel;
+ private final ThreadModelElements eThreadModel;
private final Grammar grammar;
private final BaseGrammarAccess gaBase;
+ private final TerminalsGrammarAccess gaTerminals;
+
@Inject
public ETPhysGrammarAccess(GrammarProvider grammarProvider,
- BaseGrammarAccess gaBase) {
+ BaseGrammarAccess gaBase,
+ TerminalsGrammarAccess gaTerminals) {
this.grammar = internalFindGrammar(grammarProvider);
this.gaBase = gaBase;
+ this.gaTerminals = gaTerminals;
this.pPhysicalModel = new PhysicalModelElements();
this.pPhysicalSystem = new PhysicalSystemElements();
this.pNodeRef = new NodeRefElements();
this.pNodeClass = new NodeClassElements();
this.pPhysicalThread = new PhysicalThreadElements();
- this.unknownRuleExecMode = new ExecModeElements();
+ this.eExecMode = new ExecModeElements();
this.pRuntimeClass = new RuntimeClassElements();
- this.unknownRuleThreadModel = new ThreadModelElements();
+ this.eThreadModel = new ThreadModelElements();
}
protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
@@ -640,7 +658,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
return grammar;
}
-
+ @Override
public Grammar getGrammar() {
return grammar;
}
@@ -650,10 +668,15 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
return gaBase;
}
+ public TerminalsGrammarAccess getTerminalsGrammarAccess() {
+ return gaTerminals;
+ }
+
//PhysicalModel:
- // "PhysicalModel" name=FQN "{" imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass |
- // runtimeClasses+=RuntimeClass)* "}";
+ // 'PhysicalModel' name=FQN '{'
+ // imports+=Import* (systems+=PhysicalSystem | nodeClasses+=NodeClass | runtimeClasses+=RuntimeClass)*
+ // '}';
public PhysicalModelElements getPhysicalModelAccess() {
return pPhysicalModel;
}
@@ -663,7 +686,9 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//PhysicalSystem:
- // "PhysicalSystem" name=ID docu=Documentation? "{" nodeRefs+=NodeRef* "}";
+ // 'PhysicalSystem' name=ID docu=Documentation? '{'
+ // nodeRefs+=NodeRef*
+ // '}';
public PhysicalSystemElements getPhysicalSystemAccess() {
return pPhysicalSystem;
}
@@ -673,7 +698,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//NodeRef:
- // "NodeRef" name=ID ":" type=[NodeClass|FQN] docu=Documentation?;
+ // 'NodeRef' name=ID ':' type=[NodeClass|FQN] docu=Documentation?;
public NodeRefElements getNodeRefAccess() {
return pNodeRef;
}
@@ -683,8 +708,10 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//NodeClass:
- // "NodeClass" name=ID docu=Documentation? "{" ("runtime" "=" runtime=[RuntimeClass|FQN] & "priomin" "=" priomin=Integer
- // & "priomax" "=" priomax=Integer) threads+=PhysicalThread* "}";
+ // 'NodeClass' name=ID docu=Documentation? '{' ('runtime' '=' runtime=[RuntimeClass|FQN] &
+ // 'priomin' '=' priomin=Integer &
+ // 'priomax' '=' priomax=Integer) threads+=PhysicalThread*
+ // '}';
public NodeClassElements getNodeClassAccess() {
return pNodeClass;
}
@@ -694,9 +721,12 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//PhysicalThread:
- // (default?="DefaultThread" | "Thread") name=ID "{" ("execmode" "=" execmode=ExecMode & ("interval" "=" time=TIME)? &
- // "prio" "=" prio=Integer & "stacksize" "=" stacksize=INT & "msgblocksize" "=" msgblocksize=INT & "msgpoolsize" "="
- // msgpoolsize=INT) "}";
+ // (default?='DefaultThread' | 'Thread') name=ID '{' ('execmode' '=' execmode=ExecMode & ('interval' '=' time=TIME)? &
+ // 'prio' '=' prio=Integer &
+ // 'stacksize' '=' stacksize=INT &
+ // 'msgblocksize' '=' msgblocksize=INT &
+ // 'msgpoolsize' '=' msgpoolsize=INT)
+ // '}';
public PhysicalThreadElements getPhysicalThreadAccess() {
return pPhysicalThread;
}
@@ -706,9 +736,11 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//enum ExecMode:
- // POLLED="polled" | BLOCKED="blocked" | MIXED="mixed";
+ // POLLED='polled' |
+ // BLOCKED='blocked' |
+ // MIXED='mixed';
public ExecModeElements getExecModeAccess() {
- return unknownRuleExecMode;
+ return eExecMode;
}
public EnumRule getExecModeRule() {
@@ -716,7 +748,9 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//RuntimeClass:
- // "RuntimeClass" name=ID docu=Documentation? "{" "model" "=" threadModel=ThreadModel "}";
+ // 'RuntimeClass' name=ID docu=Documentation? '{'
+ // 'model' '=' threadModel=ThreadModel
+ // '}';
public RuntimeClassElements getRuntimeClassAccess() {
return pRuntimeClass;
}
@@ -726,9 +760,10 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//enum ThreadModel:
- // SINGLE_THREADED="singleThreaded" | MULTI_THREADED="multiThreaded";
+ // SINGLE_THREADED='singleThreaded' |
+ // MULTI_THREADED='multiThreaded';
public ThreadModelElements getThreadModelAccess() {
- return unknownRuleThreadModel;
+ return eThreadModel;
}
public EnumRule getThreadModelRule() {
@@ -738,7 +773,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//// **************************************************************
//// AnnotationType and Annotation Rules
//Annotation:
- // "@" type=[AnnotationType|FQN] ("(" attributes+=KeyValue ("," attributes+=KeyValue)* ")")?;
+ // '@' type=[AnnotationType|FQN] ('(' attributes+=KeyValue (',' attributes+=KeyValue)* ')')?;
public BaseGrammarAccess.AnnotationElements getAnnotationAccess() {
return gaBase.getAnnotationAccess();
}
@@ -748,7 +783,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//KeyValue:
- // key=ID "=" value=Literal;
+ // key=ID '=' value=Literal;
public BaseGrammarAccess.KeyValueElements getKeyValueAccess() {
return gaBase.getKeyValueAccess();
}
@@ -758,8 +793,10 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//AnnotationType:
- // "AnnotationType" name=ID docu=Documentation? "{" "target" "=" (targets+=AnnotationTargetType | "{"
- // targets+=AnnotationTargetType ("," targets+=AnnotationTargetType)* "}") attributes+=AnnotationAttribute* "}";
+ // 'AnnotationType' name=ID docu=Documentation? '{'
+ // 'target' '=' (targets+=AnnotationTargetType | '{' targets+=AnnotationTargetType (',' targets+=AnnotationTargetType)*
+ // '}') attributes+=AnnotationAttribute*
+ // '}';
public BaseGrammarAccess.AnnotationTypeElements getAnnotationTypeAccess() {
return gaBase.getAnnotationTypeAccess();
}
@@ -797,7 +834,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//SimpleAnnotationAttribute:
- // (optional?="optional" | "mandatory") "attribute" name=ID ":" type=LiteralType;
+ // (optional?='optional' | 'mandatory') 'attribute' name=ID ':' type=LiteralType;
public BaseGrammarAccess.SimpleAnnotationAttributeElements getSimpleAnnotationAttributeAccess() {
return gaBase.getSimpleAnnotationAttributeAccess();
}
@@ -807,7 +844,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//EnumAnnotationAttribute:
- // (optional?="optional" | "mandatory") "attribute" name=ID ":" "{" values+=STRING ("," values+=STRING)* "}";
+ // (optional?='optional' | 'mandatory') 'attribute' name=ID ':' '{' values+=STRING (',' values+=STRING)* '}';
public BaseGrammarAccess.EnumAnnotationAttributeElements getEnumAnnotationAttributeAccess() {
return gaBase.getEnumAnnotationAttributeAccess();
}
@@ -837,7 +874,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//// the attribute 'importedNamespace' is picked up by the ImportedNamespaceAwareLocalScopeProvider
//// the attribute 'importURI' is picked up by the ImportUriGlobalScopeProvider
//Import:
- // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
+ // 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING;
public BaseGrammarAccess.ImportElements getImportAccess() {
return gaBase.getImportAccess();
}
@@ -847,7 +884,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//ImportedFQN:
- // FQN ".*"?;
+ // FQN '.*'?;
public BaseGrammarAccess.ImportedFQNElements getImportedFQNAccess() {
return gaBase.getImportedFQNAccess();
}
@@ -859,7 +896,10 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//// **************************************************************
//// Documentation Rule
//Documentation:
- // {Documentation} "[" lines+=STRING* "]";
+ // {Documentation}
+ // '['
+ // lines+=STRING*
+ // ']';
public BaseGrammarAccess.DocumentationElements getDocumentationAccess() {
return gaBase.getDocumentationAccess();
}
@@ -870,8 +910,8 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
//// **************************************************************
//// Time Rule
- //TIME returns ecore::ELong:
- // INT "s" | INT "ms" | INT "us" | INT "ns";
+ //TIME ecore::ELong:
+ // INT 's' | INT 'ms' | INT 'us' | INT 'ns'
public BaseGrammarAccess.TIMEElements getTIMEAccess() {
return gaBase.getTIMEAccess();
}
@@ -880,10 +920,11 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
return getTIMEAccess().getRule();
}
- //// **************************************************************
- //// Literal Rules
//enum LiteralType:
- // BOOL="ptBoolean" | INT="ptInteger" | REAL="ptReal" | CHAR="ptCharacter";
+ // BOOL='ptBoolean' |
+ // INT='ptInteger' |
+ // REAL='ptReal' |
+ // CHAR='ptCharacter';
public BaseGrammarAccess.LiteralTypeElements getLiteralTypeAccess() {
return gaBase.getLiteralTypeAccess();
}
@@ -893,7 +934,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//LiteralArray:
- // literals+=Literal ("," literals+=Literal)*;
+ // literals+=Literal (',' literals+=Literal)*;
public BaseGrammarAccess.LiteralArrayElements getLiteralArrayAccess() {
return gaBase.getLiteralArrayAccess();
}
@@ -914,7 +955,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//BooleanLiteral:
- // {BooleanLiteral} ("false" | isTrue?="true");
+ // {BooleanLiteral} ('false' | isTrue?='true');
public BaseGrammarAccess.BooleanLiteralElements getBooleanLiteralAccess() {
return gaBase.getBooleanLiteralAccess();
}
@@ -963,8 +1004,8 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
return getStringLiteralAccess().getRule();
}
- //Integer returns ecore::ELong:
- // ("+" | "-")? INT | HEX;
+ //Integer ecore::ELong:
+ // ('+' | '-')? INT | HEX
public BaseGrammarAccess.IntegerElements getIntegerAccess() {
return gaBase.getIntegerAccess();
}
@@ -973,8 +1014,8 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
return getIntegerAccess().getRule();
}
- //Real returns ecore::EDouble:
- // Decimal | / *DotDecimal | DecimalDot |* / DecimalExp;
+ //Real ecore::EDouble:
+ // Decimal | DecimalExp
public BaseGrammarAccess.RealElements getRealAccess() {
return gaBase.getRealAccess();
}
@@ -984,7 +1025,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//Decimal hidden():
- // ("+" | "-")? INT "." INT;
+ // ('+' | '-')? INT '.' INT;
public BaseGrammarAccess.DecimalElements getDecimalAccess() {
return gaBase.getDecimalAccess();
}
@@ -999,7 +1040,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
////DecimalDot hidden():
//// ('+' | '-')? INT '.';
//DecimalExp hidden():
- // ("+" | "-")? INT "." INT ("e" | "E") ("+" | "-")? -> INT;
+ // ('+' | '-')? INT '.' INT ('e' | 'E') ('+' | '-')? INT;
public BaseGrammarAccess.DecimalExpElements getDecimalExpAccess() {
return gaBase.getDecimalExpAccess();
}
@@ -1009,7 +1050,7 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//FQN:
- // ID ("." ID)*;
+ // ID ('.' ID)*;
public BaseGrammarAccess.FQNElements getFQNAccess() {
return gaBase.getFQNAccess();
}
@@ -1019,51 +1060,50 @@ public class ETPhysGrammarAccess extends AbstractGrammarElementFinder {
}
//terminal HEX:
- // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F")+;
+ // ('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")*;
+ // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*;
public TerminalRule getIDRule() {
- return gaBase.getIDRule();
+ return gaTerminals.getIDRule();
}
//terminal INT returns ecore::EInt:
- // "0".."9"+;
+ // '0'..'9'+;
public TerminalRule getINTRule() {
- return gaBase.getINTRule();
+ return gaTerminals.getINTRule();
}
//terminal STRING:
- // "\"" ("\\" . / * 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' * / | !("\\" | "\""))* "\"" | "\'" ("\\" .
- // / * 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' * / | !("\\" | "\'"))* "\'";
+ // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'";
public TerminalRule getSTRINGRule() {
- return gaBase.getSTRINGRule();
+ return gaTerminals.getSTRINGRule();
}
//terminal ML_COMMENT:
- // "/ *"->"* /";
+ // '/ *'->'* /';
public TerminalRule getML_COMMENTRule() {
- return gaBase.getML_COMMENTRule();
+ return gaTerminals.getML_COMMENTRule();
}
//terminal SL_COMMENT:
- // "//" !("\n" | "\r")* ("\r"? "\n")?;
+ // '//' !('\n' | '\r')* ('\r'? '\n')?;
public TerminalRule getSL_COMMENTRule() {
- return gaBase.getSL_COMMENTRule();
+ return gaTerminals.getSL_COMMENTRule();
}
//terminal WS:
- // (" " | "\t" | "\r" | "\n")+;
+ // ' ' | '\t' | '\r' | '\n'+;
public TerminalRule getWSRule() {
- return gaBase.getWSRule();
+ return gaTerminals.getWSRule();
}
//terminal ANY_OTHER:
// .;
public TerminalRule getANY_OTHERRule() {
- return gaBase.getANY_OTHERRule();
+ return gaTerminals.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 e570d69ef..6560f2f4d 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
@@ -1,6 +1,6 @@
/*
-* generated by Xtext
-*/
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etphys.validation;
import java.util.ArrayList;

Back to the top