diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.core.fsm')
37 files changed, 6200 insertions, 2603 deletions
diff --git a/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.ecore b/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.ecore index 03568b26f..a3bb8d856 100644 --- a/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.ecore +++ b/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.ecore @@ -11,7 +11,7 @@ <eLiterals name="ASYNCHRONOUS" value="2" literal="async"/> <eLiterals name="SYNCHRONOUS" value="3" literal="sync"/> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="ModelComponent"> + <eClassifiers xsi:type="ecore:EClass" name="ModelComponent" eSuperTypes="#//IInterfaceItemOwner"> <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="commType" eType="#//ComponentCommunicationType"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="componentName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> @@ -34,6 +34,41 @@ </eAnnotations> </eOperations> </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="StateGraph"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>A state graph is a directed graph composed of
{@link StateGraphNode}s as nodes and {@link Transition}s as edges.
"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="states" upperBound="-1" + eType="#//State" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of all states of this state graph.
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="trPoints" upperBound="-1" + eType="#//TrPoint" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of all transition, entry and exit points of this state graph.
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="chPoints" upperBound="-1" + eType="#//ChoicePoint" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of all choice points of this state graph.
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="transitions" upperBound="-1" + eType="#//Transition" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of all transitions of this state graph.
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="refinedTransitions" upperBound="-1" + eType="#//RefinedTransition" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of all refined transitions of this state graph.
"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="State" eSuperTypes="#//StateGraphNode"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>The super class of
<ul>
 <li>{@link SimpleState}</li>
 <li>{@link RefinedState}</li>
</ul>
"/> @@ -74,41 +109,6 @@ </eAnnotations> </eStructuralFeatures> </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="StateGraph"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>A state graph is a directed graph composed of
{@link StateGraphNode}s as nodes and {@link Transition}s as edges.
"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="states" upperBound="-1" - eType="#//State" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>This is a list of all states of this state graph.
"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="trPoints" upperBound="-1" - eType="#//TrPoint" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>This is a list of all transition, entry and exit points of this state graph.
"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="chPoints" upperBound="-1" - eType="#//ChoicePoint" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>This is a list of all choice points of this state graph.
"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="transitions" upperBound="-1" - eType="#//Transition" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>This is a list of all transitions of this state graph.
"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EReference" name="refinedTransitions" upperBound="-1" - eType="#//RefinedTransition" containment="true"> - <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> - <details key="documentation" value="<br>This is a list of all refined transitions of this state graph.
"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="SimpleState" eSuperTypes="#//State"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>A simple state is the standard case of a @link State}.
It comprises and <em>entry</em>, <em>exit</em> and <em>do</em> code
and it can contain another {@link StateGraph} as sub state
graph.
"/> @@ -133,6 +133,7 @@ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>The detail code contains a list of strings which
are considered verbatim code of the code generator
target language.

<p>
The detail code is parsed by the {@link org.eclipse.etrice.generator.base.DetailCodeTranslator}
which replaces certain frequent constructs like access of members
and sending a message via a port by target language specific code.
</p>
"/> </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="used" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="lines" unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> @@ -391,6 +392,9 @@ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>An abstract interface item to be overridden in derived grammars.
"/> </eAnnotations> + <eOperations name="getSemantics" eType="#//ProtocolSemantics"/> + <eOperations name="getAllIncomingAbstractMessages" upperBound="-1" eType="#//AbstractMessage"/> + <eOperations name="getAllOutgoingAbstractMessages" upperBound="-1" eType="#//AbstractMessage"/> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>By this name the interface item is referred to in the model.
"/> @@ -408,4 +412,46 @@ </eAnnotations> </eStructuralFeatures> </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="ProtocolSemantics"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>An optional semantics specification as part of a {@link ProtocolClass}.
The semantic is defined as a <em>legal execution tree</em>.
This tree is composed of incoming and outgoing messages and each path through
this tree is a valid sequence of messages exchanged through a port instance.

<p>
The semantics are composed using {@link SemanticsRule}s.
</p>
"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="rules" upperBound="-1" + eType="#//SemanticsRule" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>This is a list of semantic rules.
"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="SemanticsRule"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The super class of
<ul>
 <li>{@link InSemanticsRule}</li>
 <li>{@link OutSemanticsRule}</li>
</ul>
"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EReference" name="msg" eType="#//AbstractMessage"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The message to which this rule applies.
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EReference" name="followUps" upperBound="-1" + eType="#//SemanticsRule" containment="true"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The possible follow up rules.
"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="InSemanticsRule" eSuperTypes="#//SemanticsRule"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>A {@link SemanticsRule} for incoming messages.
The rule points to an incoming messages and allows follow-up rules.
"/> + </eAnnotations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="OutSemanticsRule" eSuperTypes="#//SemanticsRule"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>A {@link SemanticsRule} for outgoing messages.
The rule points to an outgoing messages and allows follow-up rules.
"/> + </eAnnotations> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="IInterfaceItemOwner" abstract="true" + interface="true"> + <eOperations name="getAbstractInterfaceItems" upperBound="-1" eType="#//AbstractInterfaceItem"/> + <eOperations name="getAllAbstractInterfaceItems" upperBound="-1" eType="#//AbstractInterfaceItem"/> + </eClassifiers> </ecore:EPackage> diff --git a/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.genmodel b/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.genmodel index 68e03a7d7..d8aac36af 100644 --- a/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.genmodel +++ b/plugins/org.eclipse.etrice.core.fsm/model/generated/FSM.genmodel @@ -27,6 +27,13 @@ <genClasses ecoreClass="FSM.ecore#//StateGraphItem"> <genOperations ecoreOperation="FSM.ecore#//StateGraphItem/getName"/> </genClasses> + <genClasses ecoreClass="FSM.ecore#//StateGraph"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/states"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/trPoints"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/chPoints"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/transitions"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/refinedTransitions"/> + </genClasses> <genClasses ecoreClass="FSM.ecore#//State"> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//State/docu"/> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//State/entryCode"/> @@ -35,13 +42,6 @@ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//State/subgraph"/> <genOperations ecoreOperation="FSM.ecore#//State/getName"/> </genClasses> - <genClasses ecoreClass="FSM.ecore#//StateGraph"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/states"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/trPoints"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/chPoints"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/transitions"/> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//StateGraph/refinedTransitions"/> - </genClasses> <genClasses ecoreClass="FSM.ecore#//SimpleState"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FSM.ecore#//SimpleState/name"/> </genClasses> @@ -49,6 +49,7 @@ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FSM.ecore#//RefinedState/target"/> </genClasses> <genClasses ecoreClass="FSM.ecore#//DetailCode"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FSM.ecore#//DetailCode/used"/> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FSM.ecore#//DetailCode/lines"/> </genClasses> <genClasses ecoreClass="FSM.ecore#//TrPoint"> @@ -116,9 +117,25 @@ </genClasses> <genClasses ecoreClass="FSM.ecore#//AbstractInterfaceItem"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FSM.ecore#//AbstractInterfaceItem/name"/> + <genOperations ecoreOperation="FSM.ecore#//AbstractInterfaceItem/getSemantics"/> + <genOperations ecoreOperation="FSM.ecore#//AbstractInterfaceItem/getAllIncomingAbstractMessages"/> + <genOperations ecoreOperation="FSM.ecore#//AbstractInterfaceItem/getAllOutgoingAbstractMessages"/> </genClasses> <genClasses ecoreClass="FSM.ecore#//Guard"> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//Guard/guard"/> </genClasses> + <genClasses ecoreClass="FSM.ecore#//ProtocolSemantics"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//ProtocolSemantics/rules"/> + </genClasses> + <genClasses ecoreClass="FSM.ecore#//SemanticsRule"> + <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference FSM.ecore#//SemanticsRule/msg"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FSM.ecore#//SemanticsRule/followUps"/> + </genClasses> + <genClasses ecoreClass="FSM.ecore#//InSemanticsRule"/> + <genClasses ecoreClass="FSM.ecore#//OutSemanticsRule"/> + <genClasses image="false" ecoreClass="FSM.ecore#//IInterfaceItemOwner"> + <genOperations ecoreOperation="FSM.ecore#//IInterfaceItemOwner/getAbstractInterfaceItems"/> + <genOperations ecoreOperation="FSM.ecore#//IInterfaceItemOwner/getAllAbstractInterfaceItems"/> + </genClasses> </genPackages> </genmodel:GenModel> diff --git a/plugins/org.eclipse.etrice.core.fsm/plugin.properties b/plugins/org.eclipse.etrice.core.fsm/plugin.properties new file mode 100644 index 000000000..6523b87e7 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/plugin.properties @@ -0,0 +1,4 @@ +# + +pluginName = FSM Model +providerName = www.example.org diff --git a/plugins/org.eclipse.etrice.core.fsm/pom.xml b/plugins/org.eclipse.etrice.core.fsm/pom.xml new file mode 100644 index 000000000..baf209f5f --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/pom.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.eclipse.etrice</groupId> + <artifactId>java-generator</artifactId> + <version>0.5.0-SNAPSHOT</version> + <relativePath>../../releng/org.eclipse.etrice.parent/pom.xml</relativePath> + </parent> + + <artifactId>org.eclipse.etrice.core.fsm</artifactId> + <packaging>eclipse-plugin</packaging> +</project> diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/FSM.xtextbin b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/FSM.xtextbin Binary files differindex e30851275..51b10b98b 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/FSM.xtextbin +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/FSM.xtextbin diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/AbstractInterfaceItem.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/AbstractInterfaceItem.java index 9a58e47a1..6c63e7035 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/AbstractInterfaceItem.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/AbstractInterfaceItem.java @@ -2,6 +2,8 @@ */ package org.eclipse.etrice.core.fsm.fSM; +import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EObject; /** @@ -53,4 +55,28 @@ public interface AbstractInterfaceItem extends EObject */ void setName(String value); + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * @generated + */ + ProtocolSemantics getSemantics(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * @generated + */ + EList<AbstractMessage> getAllIncomingAbstractMessages(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * @generated + */ + EList<AbstractMessage> getAllOutgoingAbstractMessages(); + } // AbstractInterfaceItem diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/DetailCode.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/DetailCode.java index fd6033843..41f6e8a77 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/DetailCode.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/DetailCode.java @@ -27,6 +27,7 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are supported: * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.DetailCode#isUsed <em>Used</em>}</li> * <li>{@link org.eclipse.etrice.core.fsm.fSM.DetailCode#getLines <em>Lines</em>}</li> * </ul> * </p> @@ -38,6 +39,32 @@ import org.eclipse.emf.ecore.EObject; public interface DetailCode extends EObject { /** + * Returns the value of the '<em><b>Used</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Used</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Used</em>' attribute. + * @see #setUsed(boolean) + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getDetailCode_Used() + * @model + * @generated + */ + boolean isUsed(); + + /** + * Sets the value of the '{@link org.eclipse.etrice.core.fsm.fSM.DetailCode#isUsed <em>Used</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Used</em>' attribute. + * @see #isUsed() + * @generated + */ + void setUsed(boolean value); + + /** * Returns the value of the '<em><b>Lines</b></em>' attribute list. * The list contents are of type {@link java.lang.String}. * <!-- begin-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMFactory.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMFactory.java index 7afae9d4f..ba9e5efbe 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMFactory.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMFactory.java @@ -59,22 +59,22 @@ public interface FSMFactory extends EFactory StateGraphItem createStateGraphItem(); /** - * Returns a new object of class '<em>State</em>'. + * Returns a new object of class '<em>State Graph</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return a new object of class '<em>State</em>'. + * @return a new object of class '<em>State Graph</em>'. * @generated */ - State createState(); + StateGraph createStateGraph(); /** - * Returns a new object of class '<em>State Graph</em>'. + * Returns a new object of class '<em>State</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return a new object of class '<em>State Graph</em>'. + * @return a new object of class '<em>State</em>'. * @generated */ - StateGraph createStateGraph(); + State createState(); /** * Returns a new object of class '<em>Simple State</em>'. @@ -320,6 +320,42 @@ public interface FSMFactory extends EFactory Guard createGuard(); /** + * Returns a new object of class '<em>Protocol Semantics</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Protocol Semantics</em>'. + * @generated + */ + ProtocolSemantics createProtocolSemantics(); + + /** + * Returns a new object of class '<em>Semantics Rule</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Semantics Rule</em>'. + * @generated + */ + SemanticsRule createSemanticsRule(); + + /** + * Returns a new object of class '<em>In Semantics Rule</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>In Semantics Rule</em>'. + * @generated + */ + InSemanticsRule createInSemanticsRule(); + + /** + * Returns a new object of class '<em>Out Semantics Rule</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Out Semantics Rule</em>'. + * @generated + */ + OutSemanticsRule createOutSemanticsRule(); + + /** * Returns the package supported by this factory. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMPackage.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMPackage.java index 80a06eb9c..5e71a35f7 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMPackage.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/FSMPackage.java @@ -86,6 +86,25 @@ public interface FSMPackage extends EPackage int FSM_MODEL_FEATURE_COUNT = 1; /** + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner <em>IInterface Item Owner</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getIInterfaceItemOwner() + * @generated + */ + int IINTERFACE_ITEM_OWNER = 37; + + /** + * The number of structural features of the '<em>IInterface Item Owner</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IINTERFACE_ITEM_OWNER_FEATURE_COUNT = 0; + + /** * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.ModelComponentImpl <em>Model Component</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -102,7 +121,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT__ABSTRACT = 0; + int MODEL_COMPONENT__ABSTRACT = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Comm Type</b></em>' attribute. @@ -111,7 +130,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT__COMM_TYPE = 1; + int MODEL_COMPONENT__COMM_TYPE = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 1; /** * The feature id for the '<em><b>Component Name</b></em>' attribute. @@ -120,7 +139,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT__COMPONENT_NAME = 2; + int MODEL_COMPONENT__COMPONENT_NAME = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 2; /** * The feature id for the '<em><b>Base</b></em>' reference. @@ -129,7 +148,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT__BASE = 3; + int MODEL_COMPONENT__BASE = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 3; /** * The feature id for the '<em><b>State Machine</b></em>' containment reference. @@ -138,7 +157,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT__STATE_MACHINE = 4; + int MODEL_COMPONENT__STATE_MACHINE = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 4; /** * The number of structural features of the '<em>Model Component</em>' class. @@ -147,7 +166,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int MODEL_COMPONENT_FEATURE_COUNT = 5; + int MODEL_COMPONENT_FEATURE_COUNT = IINTERFACE_ITEM_OWNER_FEATURE_COUNT + 5; /** * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateGraphItemImpl <em>State Graph Item</em>}' class. @@ -188,132 +207,132 @@ public interface FSMPackage extends EPackage int STATE_GRAPH_NODE_FEATURE_COUNT = STATE_GRAPH_ITEM_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateImpl <em>State</em>}' class. + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl <em>State Graph</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.fsm.fSM.impl.StateImpl - * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getState() + * @see org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getStateGraph() * @generated */ - int STATE = 4; + int STATE_GRAPH = 4; /** - * The feature id for the '<em><b>Docu</b></em>' containment reference. + * The feature id for the '<em><b>States</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE__DOCU = STATE_GRAPH_NODE_FEATURE_COUNT + 0; + int STATE_GRAPH__STATES = 0; /** - * The feature id for the '<em><b>Entry Code</b></em>' containment reference. + * The feature id for the '<em><b>Tr Points</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE__ENTRY_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 1; + int STATE_GRAPH__TR_POINTS = 1; /** - * The feature id for the '<em><b>Exit Code</b></em>' containment reference. + * The feature id for the '<em><b>Ch Points</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE__EXIT_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 2; + int STATE_GRAPH__CH_POINTS = 2; /** - * The feature id for the '<em><b>Do Code</b></em>' containment reference. + * The feature id for the '<em><b>Transitions</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE__DO_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 3; + int STATE_GRAPH__TRANSITIONS = 3; /** - * The feature id for the '<em><b>Subgraph</b></em>' containment reference. + * The feature id for the '<em><b>Refined Transitions</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE__SUBGRAPH = STATE_GRAPH_NODE_FEATURE_COUNT + 4; + int STATE_GRAPH__REFINED_TRANSITIONS = 4; /** - * The number of structural features of the '<em>State</em>' class. + * The number of structural features of the '<em>State Graph</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_FEATURE_COUNT = STATE_GRAPH_NODE_FEATURE_COUNT + 5; + int STATE_GRAPH_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl <em>State Graph</em>}' class. + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateImpl <em>State</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl - * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getStateGraph() + * @see org.eclipse.etrice.core.fsm.fSM.impl.StateImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getState() * @generated */ - int STATE_GRAPH = 5; + int STATE = 5; /** - * The feature id for the '<em><b>States</b></em>' containment reference list. + * The feature id for the '<em><b>Docu</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH__STATES = 0; + int STATE__DOCU = STATE_GRAPH_NODE_FEATURE_COUNT + 0; /** - * The feature id for the '<em><b>Tr Points</b></em>' containment reference list. + * The feature id for the '<em><b>Entry Code</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH__TR_POINTS = 1; + int STATE__ENTRY_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 1; /** - * The feature id for the '<em><b>Ch Points</b></em>' containment reference list. + * The feature id for the '<em><b>Exit Code</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH__CH_POINTS = 2; + int STATE__EXIT_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 2; /** - * The feature id for the '<em><b>Transitions</b></em>' containment reference list. + * The feature id for the '<em><b>Do Code</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH__TRANSITIONS = 3; + int STATE__DO_CODE = STATE_GRAPH_NODE_FEATURE_COUNT + 3; /** - * The feature id for the '<em><b>Refined Transitions</b></em>' containment reference list. + * The feature id for the '<em><b>Subgraph</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH__REFINED_TRANSITIONS = 4; + int STATE__SUBGRAPH = STATE_GRAPH_NODE_FEATURE_COUNT + 4; /** - * The number of structural features of the '<em>State Graph</em>' class. + * The number of structural features of the '<em>State</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int STATE_GRAPH_FEATURE_COUNT = 5; + int STATE_FEATURE_COUNT = STATE_GRAPH_NODE_FEATURE_COUNT + 5; /** * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.SimpleStateImpl <em>Simple State</em>}' class. @@ -472,13 +491,22 @@ public interface FSMPackage extends EPackage int DETAIL_CODE = 8; /** + * The feature id for the '<em><b>Used</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DETAIL_CODE__USED = 0; + + /** * The feature id for the '<em><b>Lines</b></em>' attribute list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ - int DETAIL_CODE__LINES = 0; + int DETAIL_CODE__LINES = 1; /** * The number of structural features of the '<em>Detail Code</em>' class. @@ -487,7 +515,7 @@ public interface FSMPackage extends EPackage * @generated * @ordered */ - int DETAIL_CODE_FEATURE_COUNT = 1; + int DETAIL_CODE_FEATURE_COUNT = 2; /** * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.TrPointImpl <em>Tr Point</em>}' class. @@ -1513,6 +1541,145 @@ public interface FSMPackage extends EPackage int GUARD_FEATURE_COUNT = 1; /** + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.ProtocolSemanticsImpl <em>Protocol Semantics</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.ProtocolSemanticsImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getProtocolSemantics() + * @generated + */ + int PROTOCOL_SEMANTICS = 33; + + /** + * The feature id for the '<em><b>Rules</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROTOCOL_SEMANTICS__RULES = 0; + + /** + * The number of structural features of the '<em>Protocol Semantics</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROTOCOL_SEMANTICS_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl <em>Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getSemanticsRule() + * @generated + */ + int SEMANTICS_RULE = 34; + + /** + * The feature id for the '<em><b>Msg</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SEMANTICS_RULE__MSG = 0; + + /** + * The feature id for the '<em><b>Follow Ups</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SEMANTICS_RULE__FOLLOW_UPS = 1; + + /** + * The number of structural features of the '<em>Semantics Rule</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SEMANTICS_RULE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.InSemanticsRuleImpl <em>In Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.InSemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getInSemanticsRule() + * @generated + */ + int IN_SEMANTICS_RULE = 35; + + /** + * The feature id for the '<em><b>Msg</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IN_SEMANTICS_RULE__MSG = SEMANTICS_RULE__MSG; + + /** + * The feature id for the '<em><b>Follow Ups</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IN_SEMANTICS_RULE__FOLLOW_UPS = SEMANTICS_RULE__FOLLOW_UPS; + + /** + * The number of structural features of the '<em>In Semantics Rule</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IN_SEMANTICS_RULE_FEATURE_COUNT = SEMANTICS_RULE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.OutSemanticsRuleImpl <em>Out Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.OutSemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getOutSemanticsRule() + * @generated + */ + int OUT_SEMANTICS_RULE = 36; + + /** + * The feature id for the '<em><b>Msg</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OUT_SEMANTICS_RULE__MSG = SEMANTICS_RULE__MSG; + + /** + * The feature id for the '<em><b>Follow Ups</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OUT_SEMANTICS_RULE__FOLLOW_UPS = SEMANTICS_RULE__FOLLOW_UPS; + + /** + * The number of structural features of the '<em>Out Semantics Rule</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int OUT_SEMANTICS_RULE_FEATURE_COUNT = SEMANTICS_RULE_FEATURE_COUNT + 0; + + /** * The meta object id for the '{@link org.eclipse.etrice.core.fsm.fSM.ComponentCommunicationType <em>Component Communication Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1520,7 +1687,7 @@ public interface FSMPackage extends EPackage * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getComponentCommunicationType() * @generated */ - int COMPONENT_COMMUNICATION_TYPE = 33; + int COMPONENT_COMMUNICATION_TYPE = 38; /** @@ -1630,134 +1797,134 @@ public interface FSMPackage extends EPackage EClass getStateGraphItem(); /** - * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.State <em>State</em>}'. + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph <em>State Graph</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for class '<em>State</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State + * @return the meta object for class '<em>State Graph</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph * @generated */ - EClass getState(); + EClass getStateGraph(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getDocu <em>Docu</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getStates <em>States</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Docu</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State#getDocu() - * @see #getState() + * @return the meta object for the containment reference list '<em>States</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getStates() + * @see #getStateGraph() * @generated */ - EReference getState_Docu(); + EReference getStateGraph_States(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getEntryCode <em>Entry Code</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getTrPoints <em>Tr Points</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Entry Code</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State#getEntryCode() - * @see #getState() + * @return the meta object for the containment reference list '<em>Tr Points</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getTrPoints() + * @see #getStateGraph() * @generated */ - EReference getState_EntryCode(); + EReference getStateGraph_TrPoints(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getExitCode <em>Exit Code</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getChPoints <em>Ch Points</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Exit Code</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State#getExitCode() - * @see #getState() + * @return the meta object for the containment reference list '<em>Ch Points</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getChPoints() + * @see #getStateGraph() * @generated */ - EReference getState_ExitCode(); + EReference getStateGraph_ChPoints(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getDoCode <em>Do Code</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getTransitions <em>Transitions</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Do Code</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State#getDoCode() - * @see #getState() + * @return the meta object for the containment reference list '<em>Transitions</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getTransitions() + * @see #getStateGraph() * @generated */ - EReference getState_DoCode(); + EReference getStateGraph_Transitions(); /** - * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getSubgraph <em>Subgraph</em>}'. + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getRefinedTransitions <em>Refined Transitions</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Subgraph</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.State#getSubgraph() - * @see #getState() + * @return the meta object for the containment reference list '<em>Refined Transitions</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getRefinedTransitions() + * @see #getStateGraph() * @generated */ - EReference getState_Subgraph(); + EReference getStateGraph_RefinedTransitions(); /** - * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph <em>State Graph</em>}'. + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.State <em>State</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for class '<em>State Graph</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph + * @return the meta object for class '<em>State</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State * @generated */ - EClass getStateGraph(); + EClass getState(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getStates <em>States</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getDocu <em>Docu</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>States</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getStates() - * @see #getStateGraph() + * @return the meta object for the containment reference '<em>Docu</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State#getDocu() + * @see #getState() * @generated */ - EReference getStateGraph_States(); + EReference getState_Docu(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getTrPoints <em>Tr Points</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getEntryCode <em>Entry Code</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Tr Points</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getTrPoints() - * @see #getStateGraph() + * @return the meta object for the containment reference '<em>Entry Code</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State#getEntryCode() + * @see #getState() * @generated */ - EReference getStateGraph_TrPoints(); + EReference getState_EntryCode(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getChPoints <em>Ch Points</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getExitCode <em>Exit Code</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Ch Points</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getChPoints() - * @see #getStateGraph() + * @return the meta object for the containment reference '<em>Exit Code</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State#getExitCode() + * @see #getState() * @generated */ - EReference getStateGraph_ChPoints(); + EReference getState_ExitCode(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getTransitions <em>Transitions</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getDoCode <em>Do Code</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Transitions</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getTransitions() - * @see #getStateGraph() + * @return the meta object for the containment reference '<em>Do Code</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State#getDoCode() + * @see #getState() * @generated */ - EReference getStateGraph_Transitions(); + EReference getState_DoCode(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph#getRefinedTransitions <em>Refined Transitions</em>}'. + * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.fsm.fSM.State#getSubgraph <em>Subgraph</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Refined Transitions</em>'. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph#getRefinedTransitions() - * @see #getStateGraph() + * @return the meta object for the containment reference '<em>Subgraph</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.State#getSubgraph() + * @see #getState() * @generated */ - EReference getStateGraph_RefinedTransitions(); + EReference getState_Subgraph(); /** * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.SimpleState <em>Simple State</em>}'. @@ -1812,6 +1979,17 @@ public interface FSMPackage extends EPackage EClass getDetailCode(); /** + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.fsm.fSM.DetailCode#isUsed <em>Used</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Used</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.DetailCode#isUsed() + * @see #getDetailCode() + * @generated + */ + EAttribute getDetailCode_Used(); + + /** * Returns the meta object for the attribute list '{@link org.eclipse.etrice.core.fsm.fSM.DetailCode#getLines <em>Lines</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2360,6 +2538,89 @@ public interface FSMPackage extends EPackage EReference getGuard_Guard(); /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics <em>Protocol Semantics</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Protocol Semantics</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics + * @generated + */ + EClass getProtocolSemantics(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics#getRules <em>Rules</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Rules</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics#getRules() + * @see #getProtocolSemantics() + * @generated + */ + EReference getProtocolSemantics_Rules(); + + /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule <em>Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Semantics Rule</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.SemanticsRule + * @generated + */ + EClass getSemanticsRule(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getMsg <em>Msg</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Msg</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getMsg() + * @see #getSemanticsRule() + * @generated + */ + EReference getSemanticsRule_Msg(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getFollowUps <em>Follow Ups</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Follow Ups</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getFollowUps() + * @see #getSemanticsRule() + * @generated + */ + EReference getSemanticsRule_FollowUps(); + + /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.InSemanticsRule <em>In Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>In Semantics Rule</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.InSemanticsRule + * @generated + */ + EClass getInSemanticsRule(); + + /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule <em>Out Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Out Semantics Rule</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule + * @generated + */ + EClass getOutSemanticsRule(); + + /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner <em>IInterface Item Owner</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>IInterface Item Owner</em>'. + * @see org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner + * @generated + */ + EClass getIInterfaceItemOwner(); + + /** * Returns the meta object for enum '{@link org.eclipse.etrice.core.fsm.fSM.ComponentCommunicationType <em>Component Communication Type</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -2481,104 +2742,104 @@ public interface FSMPackage extends EPackage EClass STATE_GRAPH_ITEM = eINSTANCE.getStateGraphItem(); /** - * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateImpl <em>State</em>}' class. + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl <em>State Graph</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.fsm.fSM.impl.StateImpl - * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getState() + * @see org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getStateGraph() * @generated */ - EClass STATE = eINSTANCE.getState(); + EClass STATE_GRAPH = eINSTANCE.getStateGraph(); /** - * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature. + * The meta object literal for the '<em><b>States</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE__DOCU = eINSTANCE.getState_Docu(); + EReference STATE_GRAPH__STATES = eINSTANCE.getStateGraph_States(); /** - * The meta object literal for the '<em><b>Entry Code</b></em>' containment reference feature. + * The meta object literal for the '<em><b>Tr Points</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE__ENTRY_CODE = eINSTANCE.getState_EntryCode(); + EReference STATE_GRAPH__TR_POINTS = eINSTANCE.getStateGraph_TrPoints(); /** - * The meta object literal for the '<em><b>Exit Code</b></em>' containment reference feature. + * The meta object literal for the '<em><b>Ch Points</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE__EXIT_CODE = eINSTANCE.getState_ExitCode(); + EReference STATE_GRAPH__CH_POINTS = eINSTANCE.getStateGraph_ChPoints(); /** - * The meta object literal for the '<em><b>Do Code</b></em>' containment reference feature. + * The meta object literal for the '<em><b>Transitions</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE__DO_CODE = eINSTANCE.getState_DoCode(); + EReference STATE_GRAPH__TRANSITIONS = eINSTANCE.getStateGraph_Transitions(); /** - * The meta object literal for the '<em><b>Subgraph</b></em>' containment reference feature. + * The meta object literal for the '<em><b>Refined Transitions</b></em>' containment reference list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE__SUBGRAPH = eINSTANCE.getState_Subgraph(); + EReference STATE_GRAPH__REFINED_TRANSITIONS = eINSTANCE.getStateGraph_RefinedTransitions(); /** - * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl <em>State Graph</em>}' class. + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.StateImpl <em>State</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @see org.eclipse.etrice.core.fsm.fSM.impl.StateGraphImpl - * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getStateGraph() + * @see org.eclipse.etrice.core.fsm.fSM.impl.StateImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getState() * @generated */ - EClass STATE_GRAPH = eINSTANCE.getStateGraph(); + EClass STATE = eINSTANCE.getState(); /** - * The meta object literal for the '<em><b>States</b></em>' containment reference list feature. + * The meta object literal for the '<em><b>Docu</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE_GRAPH__STATES = eINSTANCE.getStateGraph_States(); + EReference STATE__DOCU = eINSTANCE.getState_Docu(); /** - * The meta object literal for the '<em><b>Tr Points</b></em>' containment reference list feature. + * The meta object literal for the '<em><b>Entry Code</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE_GRAPH__TR_POINTS = eINSTANCE.getStateGraph_TrPoints(); + EReference STATE__ENTRY_CODE = eINSTANCE.getState_EntryCode(); /** - * The meta object literal for the '<em><b>Ch Points</b></em>' containment reference list feature. + * The meta object literal for the '<em><b>Exit Code</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE_GRAPH__CH_POINTS = eINSTANCE.getStateGraph_ChPoints(); + EReference STATE__EXIT_CODE = eINSTANCE.getState_ExitCode(); /** - * The meta object literal for the '<em><b>Transitions</b></em>' containment reference list feature. + * The meta object literal for the '<em><b>Do Code</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE_GRAPH__TRANSITIONS = eINSTANCE.getStateGraph_Transitions(); + EReference STATE__DO_CODE = eINSTANCE.getState_DoCode(); /** - * The meta object literal for the '<em><b>Refined Transitions</b></em>' containment reference list feature. + * The meta object literal for the '<em><b>Subgraph</b></em>' containment reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - EReference STATE_GRAPH__REFINED_TRANSITIONS = eINSTANCE.getStateGraph_RefinedTransitions(); + EReference STATE__SUBGRAPH = eINSTANCE.getState_Subgraph(); /** * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.SimpleStateImpl <em>Simple State</em>}' class. @@ -2627,6 +2888,14 @@ public interface FSMPackage extends EPackage EClass DETAIL_CODE = eINSTANCE.getDetailCode(); /** + * The meta object literal for the '<em><b>Used</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute DETAIL_CODE__USED = eINSTANCE.getDetailCode_Used(); + + /** * The meta object literal for the '<em><b>Lines</b></em>' attribute list feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -3091,6 +3360,80 @@ public interface FSMPackage extends EPackage EReference GUARD__GUARD = eINSTANCE.getGuard_Guard(); /** + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.ProtocolSemanticsImpl <em>Protocol Semantics</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.ProtocolSemanticsImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getProtocolSemantics() + * @generated + */ + EClass PROTOCOL_SEMANTICS = eINSTANCE.getProtocolSemantics(); + + /** + * The meta object literal for the '<em><b>Rules</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference PROTOCOL_SEMANTICS__RULES = eINSTANCE.getProtocolSemantics_Rules(); + + /** + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl <em>Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getSemanticsRule() + * @generated + */ + EClass SEMANTICS_RULE = eINSTANCE.getSemanticsRule(); + + /** + * The meta object literal for the '<em><b>Msg</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SEMANTICS_RULE__MSG = eINSTANCE.getSemanticsRule_Msg(); + + /** + * The meta object literal for the '<em><b>Follow Ups</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SEMANTICS_RULE__FOLLOW_UPS = eINSTANCE.getSemanticsRule_FollowUps(); + + /** + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.InSemanticsRuleImpl <em>In Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.InSemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getInSemanticsRule() + * @generated + */ + EClass IN_SEMANTICS_RULE = eINSTANCE.getInSemanticsRule(); + + /** + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.impl.OutSemanticsRuleImpl <em>Out Semantics Rule</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.impl.OutSemanticsRuleImpl + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getOutSemanticsRule() + * @generated + */ + EClass OUT_SEMANTICS_RULE = eINSTANCE.getOutSemanticsRule(); + + /** + * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner <em>IInterface Item Owner</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner + * @see org.eclipse.etrice.core.fsm.fSM.impl.FSMPackageImpl#getIInterfaceItemOwner() + * @generated + */ + EClass IINTERFACE_ITEM_OWNER = eINSTANCE.getIInterfaceItemOwner(); + + /** * The meta object literal for the '{@link org.eclipse.etrice.core.fsm.fSM.ComponentCommunicationType <em>Component Communication Type</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/IInterfaceItemOwner.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/IInterfaceItemOwner.java new file mode 100644 index 000000000..d29f19795 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/IInterfaceItemOwner.java @@ -0,0 +1,37 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IInterface Item Owner</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getIInterfaceItemOwner() + * @model interface="true" abstract="true" + * @generated + */ +public interface IInterfaceItemOwner extends EObject +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * @generated + */ + EList<AbstractInterfaceItem> getAbstractInterfaceItems(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @model kind="operation" + * @generated + */ + EList<AbstractInterfaceItem> getAllAbstractInterfaceItems(); + +} // IInterfaceItemOwner diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/InSemanticsRule.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/InSemanticsRule.java new file mode 100644 index 000000000..27b6ca1eb --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/InSemanticsRule.java @@ -0,0 +1,24 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>In Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * <br>A {@link SemanticsRule} for incoming messages. + * The rule points to an incoming messages and allows follow-up rules. + * + * <!-- end-model-doc --> + * + * + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getInSemanticsRule() + * @model + * @generated + */ +public interface InSemanticsRule extends SemanticsRule +{ +} // InSemanticsRule diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ModelComponent.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ModelComponent.java index 2545d8dcb..f91e0d8d5 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ModelComponent.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ModelComponent.java @@ -2,7 +2,6 @@ */ package org.eclipse.etrice.core.fsm.fSM; -import org.eclipse.emf.ecore.EObject; /** * <!-- begin-user-doc --> @@ -24,7 +23,7 @@ import org.eclipse.emf.ecore.EObject; * @model * @generated */ -public interface ModelComponent extends EObject +public interface ModelComponent extends IInterfaceItemOwner { /** * Returns the value of the '<em><b>Abstract</b></em>' attribute. diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/OutSemanticsRule.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/OutSemanticsRule.java new file mode 100644 index 000000000..8509b92d3 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/OutSemanticsRule.java @@ -0,0 +1,24 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM; + + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Out Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * <br>A {@link SemanticsRule} for outgoing messages. + * The rule points to an outgoing messages and allows follow-up rules. + * + * <!-- end-model-doc --> + * + * + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getOutSemanticsRule() + * @model + * @generated + */ +public interface OutSemanticsRule extends SemanticsRule +{ +} // OutSemanticsRule diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ProtocolSemantics.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ProtocolSemantics.java new file mode 100644 index 000000000..fa49cc088 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/ProtocolSemantics.java @@ -0,0 +1,55 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Protocol Semantics</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * <br>An optional semantics specification as part of a {@link ProtocolClass}. + * The semantic is defined as a <em>legal execution tree</em>. + * This tree is composed of incoming and outgoing messages and each path through + * this tree is a valid sequence of messages exchanged through a port instance. + * + * <p> + * The semantics are composed using {@link SemanticsRule}s. + * </p> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics#getRules <em>Rules</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getProtocolSemantics() + * @model + * @generated + */ +public interface ProtocolSemantics extends EObject +{ + /** + * Returns the value of the '<em><b>Rules</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <br>This is a list of semantic rules. + * + * <!-- end-model-doc --> + * @return the value of the '<em>Rules</em>' containment reference list. + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getProtocolSemantics_Rules() + * @model containment="true" + * @generated + */ + EList<SemanticsRule> getRules(); + +} // ProtocolSemantics diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/SemanticsRule.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/SemanticsRule.java new file mode 100644 index 000000000..7923742a0 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/SemanticsRule.java @@ -0,0 +1,79 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * <br>The super class of + * <ul> + * <li>{@link InSemanticsRule}</li> + * <li>{@link OutSemanticsRule}</li> + * </ul> + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getMsg <em>Msg</em>}</li> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getFollowUps <em>Follow Ups</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getSemanticsRule() + * @model + * @generated + */ +public interface SemanticsRule extends EObject +{ + /** + * Returns the value of the '<em><b>Msg</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <br>The message to which this rule applies. + * + * <!-- end-model-doc --> + * @return the value of the '<em>Msg</em>' reference. + * @see #setMsg(AbstractMessage) + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getSemanticsRule_Msg() + * @model + * @generated + */ + AbstractMessage getMsg(); + + /** + * Sets the value of the '{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule#getMsg <em>Msg</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Msg</em>' reference. + * @see #getMsg() + * @generated + */ + void setMsg(AbstractMessage value); + + /** + * Returns the value of the '<em><b>Follow Ups</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule}. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <br>The possible follow up rules. + * + * <!-- end-model-doc --> + * @return the value of the '<em>Follow Ups</em>' containment reference list. + * @see org.eclipse.etrice.core.fsm.fSM.FSMPackage#getSemanticsRule_FollowUps() + * @model containment="true" + * @generated + */ + EList<SemanticsRule> getFollowUps(); + +} // SemanticsRule diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/AbstractInterfaceItemImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/AbstractInterfaceItemImpl.java index 79ab7cb44..5ded2000b 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/AbstractInterfaceItemImpl.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/AbstractInterfaceItemImpl.java @@ -4,13 +4,17 @@ package org.eclipse.etrice.core.fsm.fSM.impl; import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.etrice.core.fsm.fSM.AbstractInterfaceItem; +import org.eclipse.etrice.core.fsm.fSM.AbstractMessage; import org.eclipse.etrice.core.fsm.fSM.FSMPackage; +import org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics; /** * <!-- begin-user-doc --> @@ -96,6 +100,42 @@ public class AbstractInterfaceItemImpl extends MinimalEObjectImpl.Container impl * <!-- end-user-doc --> * @generated */ + public ProtocolSemantics getSemantics() + { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractMessage> getAllIncomingAbstractMessages() + { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractMessage> getAllOutgoingAbstractMessages() + { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/DetailCodeImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/DetailCodeImpl.java index 0704ec7d0..6d8c471f3 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/DetailCodeImpl.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/DetailCodeImpl.java @@ -4,10 +4,13 @@ package org.eclipse.etrice.core.fsm.fSM.impl; import java.util.Collection; +import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; import org.eclipse.emf.ecore.util.EDataTypeEList; @@ -22,6 +25,7 @@ import org.eclipse.etrice.core.fsm.fSM.FSMPackage; * <p> * The following features are implemented: * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.impl.DetailCodeImpl#isUsed <em>Used</em>}</li> * <li>{@link org.eclipse.etrice.core.fsm.fSM.impl.DetailCodeImpl#getLines <em>Lines</em>}</li> * </ul> * </p> @@ -31,6 +35,26 @@ import org.eclipse.etrice.core.fsm.fSM.FSMPackage; public class DetailCodeImpl extends MinimalEObjectImpl.Container implements DetailCode { /** + * The default value of the '{@link #isUsed() <em>Used</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isUsed() + * @generated + * @ordered + */ + protected static final boolean USED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isUsed() <em>Used</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isUsed() + * @generated + * @ordered + */ + protected boolean used = USED_EDEFAULT; + + /** * The cached value of the '{@link #getLines() <em>Lines</em>}' attribute list. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -66,6 +90,29 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta * <!-- end-user-doc --> * @generated */ + public boolean isUsed() + { + return used; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUsed(boolean newUsed) + { + boolean oldUsed = used; + used = newUsed; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FSMPackage.DETAIL_CODE__USED, oldUsed, used)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EList<String> getLines() { if (lines == null) @@ -85,6 +132,8 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta { switch (featureID) { + case FSMPackage.DETAIL_CODE__USED: + return isUsed(); case FSMPackage.DETAIL_CODE__LINES: return getLines(); } @@ -102,6 +151,9 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta { switch (featureID) { + case FSMPackage.DETAIL_CODE__USED: + setUsed((Boolean)newValue); + return; case FSMPackage.DETAIL_CODE__LINES: getLines().clear(); getLines().addAll((Collection<? extends String>)newValue); @@ -120,6 +172,9 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta { switch (featureID) { + case FSMPackage.DETAIL_CODE__USED: + setUsed(USED_EDEFAULT); + return; case FSMPackage.DETAIL_CODE__LINES: getLines().clear(); return; @@ -137,6 +192,8 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta { switch (featureID) { + case FSMPackage.DETAIL_CODE__USED: + return used != USED_EDEFAULT; case FSMPackage.DETAIL_CODE__LINES: return lines != null && !lines.isEmpty(); } @@ -154,7 +211,9 @@ public class DetailCodeImpl extends MinimalEObjectImpl.Container implements Deta if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lines: "); + result.append(" (used: "); + result.append(used); + result.append(", lines: "); result.append(lines); result.append(')'); return result.toString(); diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMFactoryImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMFactoryImpl.java index a61a0b178..1a7e8f9bf 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMFactoryImpl.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMFactoryImpl.java @@ -69,8 +69,8 @@ public class FSMFactoryImpl extends EFactoryImpl implements FSMFactory case FSMPackage.MODEL_COMPONENT: return createModelComponent(); case FSMPackage.STATE_GRAPH_NODE: return createStateGraphNode(); case FSMPackage.STATE_GRAPH_ITEM: return createStateGraphItem(); - case FSMPackage.STATE: return createState(); case FSMPackage.STATE_GRAPH: return createStateGraph(); + case FSMPackage.STATE: return createState(); case FSMPackage.SIMPLE_STATE: return createSimpleState(); case FSMPackage.REFINED_STATE: return createRefinedState(); case FSMPackage.DETAIL_CODE: return createDetailCode(); @@ -98,6 +98,10 @@ public class FSMFactoryImpl extends EFactoryImpl implements FSMFactory case FSMPackage.ABSTRACT_MESSAGE: return createAbstractMessage(); case FSMPackage.ABSTRACT_INTERFACE_ITEM: return createAbstractInterfaceItem(); case FSMPackage.GUARD: return createGuard(); + case FSMPackage.PROTOCOL_SEMANTICS: return createProtocolSemantics(); + case FSMPackage.SEMANTICS_RULE: return createSemanticsRule(); + case FSMPackage.IN_SEMANTICS_RULE: return createInSemanticsRule(); + case FSMPackage.OUT_SEMANTICS_RULE: return createOutSemanticsRule(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -186,10 +190,10 @@ public class FSMFactoryImpl extends EFactoryImpl implements FSMFactory * <!-- end-user-doc --> * @generated */ - public State createState() + public StateGraph createStateGraph() { - StateImpl state = new StateImpl(); - return state; + StateGraphImpl stateGraph = new StateGraphImpl(); + return stateGraph; } /** @@ -197,10 +201,10 @@ public class FSMFactoryImpl extends EFactoryImpl implements FSMFactory * <!-- end-user-doc --> * @generated */ - public StateGraph createStateGraph() + public State createState() { - StateGraphImpl stateGraph = new StateGraphImpl(); - return stateGraph; + StateImpl state = new StateImpl(); + return state; } /** @@ -505,6 +509,50 @@ public class FSMFactoryImpl extends EFactoryImpl implements FSMFactory * <!-- end-user-doc --> * @generated */ + public ProtocolSemantics createProtocolSemantics() + { + ProtocolSemanticsImpl protocolSemantics = new ProtocolSemanticsImpl(); + return protocolSemantics; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SemanticsRule createSemanticsRule() + { + SemanticsRuleImpl semanticsRule = new SemanticsRuleImpl(); + return semanticsRule; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public InSemanticsRule createInSemanticsRule() + { + InSemanticsRuleImpl inSemanticsRule = new InSemanticsRuleImpl(); + return inSemanticsRule; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public OutSemanticsRule createOutSemanticsRule() + { + OutSemanticsRuleImpl outSemanticsRule = new OutSemanticsRuleImpl(); + return outSemanticsRule; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public ComponentCommunicationType createComponentCommunicationTypeFromString(EDataType eDataType, String initialValue) { ComponentCommunicationType result = ComponentCommunicationType.get(initialValue); diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMPackageImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMPackageImpl.java index 35d285578..94eadb3d1 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMPackageImpl.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/FSMPackageImpl.java @@ -27,12 +27,17 @@ import org.eclipse.etrice.core.fsm.fSM.FSMModel; import org.eclipse.etrice.core.fsm.fSM.FSMPackage; import org.eclipse.etrice.core.fsm.fSM.Guard; import org.eclipse.etrice.core.fsm.fSM.GuardedTransition; +import org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner; +import org.eclipse.etrice.core.fsm.fSM.InSemanticsRule; import org.eclipse.etrice.core.fsm.fSM.InitialTransition; import org.eclipse.etrice.core.fsm.fSM.MessageFromIf; import org.eclipse.etrice.core.fsm.fSM.ModelComponent; import org.eclipse.etrice.core.fsm.fSM.NonInitialTransition; +import org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule; +import org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics; import org.eclipse.etrice.core.fsm.fSM.RefinedState; import org.eclipse.etrice.core.fsm.fSM.RefinedTransition; +import org.eclipse.etrice.core.fsm.fSM.SemanticsRule; import org.eclipse.etrice.core.fsm.fSM.SimpleState; import org.eclipse.etrice.core.fsm.fSM.State; import org.eclipse.etrice.core.fsm.fSM.StateGraph; @@ -90,14 +95,14 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - private EClass stateEClass = null; + private EClass stateGraphEClass = null; /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ - private EClass stateGraphEClass = null; + private EClass stateEClass = null; /** * <!-- begin-user-doc --> @@ -293,6 +298,41 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ + private EClass protocolSemanticsEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass semanticsRuleEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass inSemanticsRuleEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass outSemanticsRuleEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass iInterfaceItemOwnerEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ private EEnum componentCommunicationTypeEEnum = null; /** @@ -466,9 +506,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EClass getState() + public EClass getStateGraph() { - return stateEClass; + return stateGraphEClass; } /** @@ -476,9 +516,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getState_Docu() + public EReference getStateGraph_States() { - return (EReference)stateEClass.getEStructuralFeatures().get(0); + return (EReference)stateGraphEClass.getEStructuralFeatures().get(0); } /** @@ -486,9 +526,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getState_EntryCode() + public EReference getStateGraph_TrPoints() { - return (EReference)stateEClass.getEStructuralFeatures().get(1); + return (EReference)stateGraphEClass.getEStructuralFeatures().get(1); } /** @@ -496,9 +536,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getState_ExitCode() + public EReference getStateGraph_ChPoints() { - return (EReference)stateEClass.getEStructuralFeatures().get(2); + return (EReference)stateGraphEClass.getEStructuralFeatures().get(2); } /** @@ -506,9 +546,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getState_DoCode() + public EReference getStateGraph_Transitions() { - return (EReference)stateEClass.getEStructuralFeatures().get(3); + return (EReference)stateGraphEClass.getEStructuralFeatures().get(3); } /** @@ -516,9 +556,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getState_Subgraph() + public EReference getStateGraph_RefinedTransitions() { - return (EReference)stateEClass.getEStructuralFeatures().get(4); + return (EReference)stateGraphEClass.getEStructuralFeatures().get(4); } /** @@ -526,9 +566,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EClass getStateGraph() + public EClass getState() { - return stateGraphEClass; + return stateEClass; } /** @@ -536,9 +576,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getStateGraph_States() + public EReference getState_Docu() { - return (EReference)stateGraphEClass.getEStructuralFeatures().get(0); + return (EReference)stateEClass.getEStructuralFeatures().get(0); } /** @@ -546,9 +586,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getStateGraph_TrPoints() + public EReference getState_EntryCode() { - return (EReference)stateGraphEClass.getEStructuralFeatures().get(1); + return (EReference)stateEClass.getEStructuralFeatures().get(1); } /** @@ -556,9 +596,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getStateGraph_ChPoints() + public EReference getState_ExitCode() { - return (EReference)stateGraphEClass.getEStructuralFeatures().get(2); + return (EReference)stateEClass.getEStructuralFeatures().get(2); } /** @@ -566,9 +606,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getStateGraph_Transitions() + public EReference getState_DoCode() { - return (EReference)stateGraphEClass.getEStructuralFeatures().get(3); + return (EReference)stateEClass.getEStructuralFeatures().get(3); } /** @@ -576,9 +616,9 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EReference getStateGraph_RefinedTransitions() + public EReference getState_Subgraph() { - return (EReference)stateGraphEClass.getEStructuralFeatures().get(4); + return (EReference)stateEClass.getEStructuralFeatures().get(4); } /** @@ -636,7 +676,7 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ - public EAttribute getDetailCode_Lines() + public EAttribute getDetailCode_Used() { return (EAttribute)detailCodeEClass.getEStructuralFeatures().get(0); } @@ -646,6 +686,16 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ + public EAttribute getDetailCode_Lines() + { + return (EAttribute)detailCodeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EClass getTrPoint() { return trPointEClass; @@ -1156,6 +1206,86 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage * <!-- end-user-doc --> * @generated */ + public EClass getProtocolSemantics() + { + return protocolSemanticsEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getProtocolSemantics_Rules() + { + return (EReference)protocolSemanticsEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSemanticsRule() + { + return semanticsRuleEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSemanticsRule_Msg() + { + return (EReference)semanticsRuleEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSemanticsRule_FollowUps() + { + return (EReference)semanticsRuleEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getInSemanticsRule() + { + return inSemanticsRuleEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getOutSemanticsRule() + { + return outSemanticsRuleEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getIInterfaceItemOwner() + { + return iInterfaceItemOwnerEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EEnum getComponentCommunicationType() { return componentCommunicationTypeEEnum; @@ -1205,13 +1335,6 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage stateGraphItemEClass = createEClass(STATE_GRAPH_ITEM); - stateEClass = createEClass(STATE); - createEReference(stateEClass, STATE__DOCU); - createEReference(stateEClass, STATE__ENTRY_CODE); - createEReference(stateEClass, STATE__EXIT_CODE); - createEReference(stateEClass, STATE__DO_CODE); - createEReference(stateEClass, STATE__SUBGRAPH); - stateGraphEClass = createEClass(STATE_GRAPH); createEReference(stateGraphEClass, STATE_GRAPH__STATES); createEReference(stateGraphEClass, STATE_GRAPH__TR_POINTS); @@ -1219,6 +1342,13 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage createEReference(stateGraphEClass, STATE_GRAPH__TRANSITIONS); createEReference(stateGraphEClass, STATE_GRAPH__REFINED_TRANSITIONS); + stateEClass = createEClass(STATE); + createEReference(stateEClass, STATE__DOCU); + createEReference(stateEClass, STATE__ENTRY_CODE); + createEReference(stateEClass, STATE__EXIT_CODE); + createEReference(stateEClass, STATE__DO_CODE); + createEReference(stateEClass, STATE__SUBGRAPH); + simpleStateEClass = createEClass(SIMPLE_STATE); createEAttribute(simpleStateEClass, SIMPLE_STATE__NAME); @@ -1226,6 +1356,7 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage createEReference(refinedStateEClass, REFINED_STATE__TARGET); detailCodeEClass = createEClass(DETAIL_CODE); + createEAttribute(detailCodeEClass, DETAIL_CODE__USED); createEAttribute(detailCodeEClass, DETAIL_CODE__LINES); trPointEClass = createEClass(TR_POINT); @@ -1303,6 +1434,19 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage guardEClass = createEClass(GUARD); createEReference(guardEClass, GUARD__GUARD); + protocolSemanticsEClass = createEClass(PROTOCOL_SEMANTICS); + createEReference(protocolSemanticsEClass, PROTOCOL_SEMANTICS__RULES); + + semanticsRuleEClass = createEClass(SEMANTICS_RULE); + createEReference(semanticsRuleEClass, SEMANTICS_RULE__MSG); + createEReference(semanticsRuleEClass, SEMANTICS_RULE__FOLLOW_UPS); + + inSemanticsRuleEClass = createEClass(IN_SEMANTICS_RULE); + + outSemanticsRuleEClass = createEClass(OUT_SEMANTICS_RULE); + + iInterfaceItemOwnerEClass = createEClass(IINTERFACE_ITEM_OWNER); + // Create enums componentCommunicationTypeEEnum = createEEnum(COMPONENT_COMMUNICATION_TYPE); } @@ -1339,6 +1483,7 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage // Set bounds for type parameters // Add supertypes to classes + modelComponentEClass.getESuperTypes().add(this.getIInterfaceItemOwner()); stateGraphNodeEClass.getESuperTypes().add(this.getStateGraphItem()); stateEClass.getESuperTypes().add(this.getStateGraphNode()); simpleStateEClass.getESuperTypes().add(this.getState()); @@ -1360,6 +1505,8 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage trPointTerminalEClass.getESuperTypes().add(this.getTransitionTerminal()); subStateTrPointTerminalEClass.getESuperTypes().add(this.getTransitionTerminal()); choicepointTerminalEClass.getESuperTypes().add(this.getTransitionTerminal()); + inSemanticsRuleEClass.getESuperTypes().add(this.getSemanticsRule()); + outSemanticsRuleEClass.getESuperTypes().add(this.getSemanticsRule()); // Initialize classes and features; add operations and parameters initEClass(fsmModelEClass, FSMModel.class, "FSMModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -1378,6 +1525,13 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage addEOperation(stateGraphItemEClass, ecorePackage.getEString(), "getName", 0, 1, IS_UNIQUE, IS_ORDERED); + initEClass(stateGraphEClass, StateGraph.class, "StateGraph", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getStateGraph_States(), this.getState(), null, "states", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getStateGraph_TrPoints(), this.getTrPoint(), null, "trPoints", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getStateGraph_ChPoints(), this.getChoicePoint(), null, "chPoints", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getStateGraph_Transitions(), this.getTransition(), null, "transitions", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getStateGraph_RefinedTransitions(), this.getRefinedTransition(), null, "refinedTransitions", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(stateEClass, State.class, "State", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getState_Docu(), theBasePackage.getDocumentation(), null, "docu", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getState_EntryCode(), this.getDetailCode(), null, "entryCode", null, 0, 1, State.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -1387,13 +1541,6 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage addEOperation(stateEClass, ecorePackage.getEString(), "getName", 0, 1, IS_UNIQUE, IS_ORDERED); - initEClass(stateGraphEClass, StateGraph.class, "StateGraph", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getStateGraph_States(), this.getState(), null, "states", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getStateGraph_TrPoints(), this.getTrPoint(), null, "trPoints", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getStateGraph_ChPoints(), this.getChoicePoint(), null, "chPoints", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getStateGraph_Transitions(), this.getTransition(), null, "transitions", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getStateGraph_RefinedTransitions(), this.getRefinedTransition(), null, "refinedTransitions", null, 0, -1, StateGraph.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEClass(simpleStateEClass, SimpleState.class, "SimpleState", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getSimpleState_Name(), ecorePackage.getEString(), "name", null, 0, 1, SimpleState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -1401,6 +1548,7 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage initEReference(getRefinedState_Target(), this.getState(), null, "target", null, 0, 1, RefinedState.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(detailCodeEClass, DetailCode.class, "DetailCode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDetailCode_Used(), ecorePackage.getEBoolean(), "used", null, 0, 1, DetailCode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEAttribute(getDetailCode_Lines(), ecorePackage.getEString(), "lines", null, 0, -1, DetailCode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(trPointEClass, TrPoint.class, "TrPoint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -1475,9 +1623,32 @@ public class FSMPackageImpl extends EPackageImpl implements FSMPackage initEClass(abstractInterfaceItemEClass, AbstractInterfaceItem.class, "AbstractInterfaceItem", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getAbstractInterfaceItem_Name(), ecorePackage.getEString(), "name", null, 0, 1, AbstractInterfaceItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + addEOperation(abstractInterfaceItemEClass, this.getProtocolSemantics(), "getSemantics", 0, 1, IS_UNIQUE, IS_ORDERED); + + addEOperation(abstractInterfaceItemEClass, this.getAbstractMessage(), "getAllIncomingAbstractMessages", 0, -1, IS_UNIQUE, IS_ORDERED); + + addEOperation(abstractInterfaceItemEClass, this.getAbstractMessage(), "getAllOutgoingAbstractMessages", 0, -1, IS_UNIQUE, IS_ORDERED); + initEClass(guardEClass, Guard.class, "Guard", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getGuard_Guard(), this.getDetailCode(), null, "guard", null, 0, 1, Guard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(protocolSemanticsEClass, ProtocolSemantics.class, "ProtocolSemantics", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getProtocolSemantics_Rules(), this.getSemanticsRule(), null, "rules", null, 0, -1, ProtocolSemantics.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(semanticsRuleEClass, SemanticsRule.class, "SemanticsRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getSemanticsRule_Msg(), this.getAbstractMessage(), null, "msg", null, 0, 1, SemanticsRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getSemanticsRule_FollowUps(), this.getSemanticsRule(), null, "followUps", null, 0, -1, SemanticsRule.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(inSemanticsRuleEClass, InSemanticsRule.class, "InSemanticsRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(outSemanticsRuleEClass, OutSemanticsRule.class, "OutSemanticsRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(iInterfaceItemOwnerEClass, IInterfaceItemOwner.class, "IInterfaceItemOwner", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + addEOperation(iInterfaceItemOwnerEClass, this.getAbstractInterfaceItem(), "getAbstractInterfaceItems", 0, -1, IS_UNIQUE, IS_ORDERED); + + addEOperation(iInterfaceItemOwnerEClass, this.getAbstractInterfaceItem(), "getAllAbstractInterfaceItems", 0, -1, IS_UNIQUE, IS_ORDERED); + // Initialize enums and add enum literals initEEnum(componentCommunicationTypeEEnum, ComponentCommunicationType.class, "ComponentCommunicationType"); addEEnumLiteral(componentCommunicationTypeEEnum, ComponentCommunicationType.EVENT_DRIVEN); diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/InSemanticsRuleImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/InSemanticsRuleImpl.java new file mode 100644 index 000000000..53d9da49f --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/InSemanticsRuleImpl.java @@ -0,0 +1,42 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.etrice.core.fsm.fSM.FSMPackage; +import org.eclipse.etrice.core.fsm.fSM.InSemanticsRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>In Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class InSemanticsRuleImpl extends SemanticsRuleImpl implements InSemanticsRule +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected InSemanticsRuleImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return FSMPackage.Literals.IN_SEMANTICS_RULE; + } + +} //InSemanticsRuleImpl diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ModelComponentImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ModelComponentImpl.java index 26b1ffa50..d49309442 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ModelComponentImpl.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ModelComponentImpl.java @@ -5,12 +5,15 @@ package org.eclipse.etrice.core.fsm.fSM.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; + import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import org.eclipse.emf.ecore.impl.ENotificationImpl; import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.etrice.core.fsm.fSM.AbstractInterfaceItem; import org.eclipse.etrice.core.fsm.fSM.ComponentCommunicationType; import org.eclipse.etrice.core.fsm.fSM.FSMPackage; import org.eclipse.etrice.core.fsm.fSM.ModelComponent; @@ -301,6 +304,30 @@ public class ModelComponentImpl extends MinimalEObjectImpl.Container implements * <!-- end-user-doc --> * @generated */ + public EList<AbstractInterfaceItem> getAbstractInterfaceItems() + { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<AbstractInterfaceItem> getAllAbstractInterfaceItems() + { + // TODO: implement this method + // Ensure that you remove @generated or mark it @generated NOT + throw new UnsupportedOperationException(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/OutSemanticsRuleImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/OutSemanticsRuleImpl.java new file mode 100644 index 000000000..16442c479 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/OutSemanticsRuleImpl.java @@ -0,0 +1,42 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM.impl; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.etrice.core.fsm.fSM.FSMPackage; +import org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Out Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * <p> + * </p> + * + * @generated + */ +public class OutSemanticsRuleImpl extends SemanticsRuleImpl implements OutSemanticsRule +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected OutSemanticsRuleImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return FSMPackage.Literals.OUT_SEMANTICS_RULE; + } + +} //OutSemanticsRuleImpl diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ProtocolSemanticsImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ProtocolSemanticsImpl.java new file mode 100644 index 000000000..d5158e287 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/ProtocolSemanticsImpl.java @@ -0,0 +1,167 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.etrice.core.fsm.fSM.FSMPackage; +import org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics; +import org.eclipse.etrice.core.fsm.fSM.SemanticsRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Protocol Semantics</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.impl.ProtocolSemanticsImpl#getRules <em>Rules</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ProtocolSemanticsImpl extends MinimalEObjectImpl.Container implements ProtocolSemantics +{ + /** + * The cached value of the '{@link #getRules() <em>Rules</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRules() + * @generated + * @ordered + */ + protected EList<SemanticsRule> rules; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ProtocolSemanticsImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return FSMPackage.Literals.PROTOCOL_SEMANTICS; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<SemanticsRule> getRules() + { + if (rules == null) + { + rules = new EObjectContainmentEList<SemanticsRule>(SemanticsRule.class, this, FSMPackage.PROTOCOL_SEMANTICS__RULES); + } + return rules; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case FSMPackage.PROTOCOL_SEMANTICS__RULES: + return ((InternalEList<?>)getRules()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case FSMPackage.PROTOCOL_SEMANTICS__RULES: + return getRules(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case FSMPackage.PROTOCOL_SEMANTICS__RULES: + getRules().clear(); + getRules().addAll((Collection<? extends SemanticsRule>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case FSMPackage.PROTOCOL_SEMANTICS__RULES: + getRules().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case FSMPackage.PROTOCOL_SEMANTICS__RULES: + return rules != null && !rules.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ProtocolSemanticsImpl diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/SemanticsRuleImpl.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/SemanticsRuleImpl.java new file mode 100644 index 000000000..1d410a7ca --- /dev/null +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/impl/SemanticsRuleImpl.java @@ -0,0 +1,234 @@ +/** + */ +package org.eclipse.etrice.core.fsm.fSM.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.etrice.core.fsm.fSM.AbstractMessage; +import org.eclipse.etrice.core.fsm.fSM.FSMPackage; +import org.eclipse.etrice.core.fsm.fSM.SemanticsRule; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Semantics Rule</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl#getMsg <em>Msg</em>}</li> + * <li>{@link org.eclipse.etrice.core.fsm.fSM.impl.SemanticsRuleImpl#getFollowUps <em>Follow Ups</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SemanticsRuleImpl extends MinimalEObjectImpl.Container implements SemanticsRule +{ + /** + * The cached value of the '{@link #getMsg() <em>Msg</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMsg() + * @generated + * @ordered + */ + protected AbstractMessage msg; + + /** + * The cached value of the '{@link #getFollowUps() <em>Follow Ups</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFollowUps() + * @generated + * @ordered + */ + protected EList<SemanticsRule> followUps; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SemanticsRuleImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return FSMPackage.Literals.SEMANTICS_RULE; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractMessage getMsg() + { + if (msg != null && msg.eIsProxy()) + { + InternalEObject oldMsg = (InternalEObject)msg; + msg = (AbstractMessage)eResolveProxy(oldMsg); + if (msg != oldMsg) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, FSMPackage.SEMANTICS_RULE__MSG, oldMsg, msg)); + } + } + return msg; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AbstractMessage basicGetMsg() + { + return msg; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMsg(AbstractMessage newMsg) + { + AbstractMessage oldMsg = msg; + msg = newMsg; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FSMPackage.SEMANTICS_RULE__MSG, oldMsg, msg)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<SemanticsRule> getFollowUps() + { + if (followUps == null) + { + followUps = new EObjectContainmentEList<SemanticsRule>(SemanticsRule.class, this, FSMPackage.SEMANTICS_RULE__FOLLOW_UPS); + } + return followUps; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case FSMPackage.SEMANTICS_RULE__FOLLOW_UPS: + return ((InternalEList<?>)getFollowUps()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case FSMPackage.SEMANTICS_RULE__MSG: + if (resolve) return getMsg(); + return basicGetMsg(); + case FSMPackage.SEMANTICS_RULE__FOLLOW_UPS: + return getFollowUps(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case FSMPackage.SEMANTICS_RULE__MSG: + setMsg((AbstractMessage)newValue); + return; + case FSMPackage.SEMANTICS_RULE__FOLLOW_UPS: + getFollowUps().clear(); + getFollowUps().addAll((Collection<? extends SemanticsRule>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case FSMPackage.SEMANTICS_RULE__MSG: + setMsg((AbstractMessage)null); + return; + case FSMPackage.SEMANTICS_RULE__FOLLOW_UPS: + getFollowUps().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case FSMPackage.SEMANTICS_RULE__MSG: + return msg != null; + case FSMPackage.SEMANTICS_RULE__FOLLOW_UPS: + return followUps != null && !followUps.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //SemanticsRuleImpl diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMAdapterFactory.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMAdapterFactory.java index 786df2c7c..e24b4f3bc 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMAdapterFactory.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMAdapterFactory.java @@ -95,14 +95,14 @@ public class FSMAdapterFactory extends AdapterFactoryImpl return createStateGraphItemAdapter(); } @Override - public Adapter caseState(State object) + public Adapter caseStateGraph(StateGraph object) { - return createStateAdapter(); + return createStateGraphAdapter(); } @Override - public Adapter caseStateGraph(StateGraph object) + public Adapter caseState(State object) { - return createStateGraphAdapter(); + return createStateAdapter(); } @Override public Adapter caseSimpleState(SimpleState object) @@ -240,6 +240,31 @@ public class FSMAdapterFactory extends AdapterFactoryImpl return createGuardAdapter(); } @Override + public Adapter caseProtocolSemantics(ProtocolSemantics object) + { + return createProtocolSemanticsAdapter(); + } + @Override + public Adapter caseSemanticsRule(SemanticsRule object) + { + return createSemanticsRuleAdapter(); + } + @Override + public Adapter caseInSemanticsRule(InSemanticsRule object) + { + return createInSemanticsRuleAdapter(); + } + @Override + public Adapter caseOutSemanticsRule(OutSemanticsRule object) + { + return createOutSemanticsRuleAdapter(); + } + @Override + public Adapter caseIInterfaceItemOwner(IInterfaceItemOwner object) + { + return createIInterfaceItemOwnerAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -322,31 +347,31 @@ public class FSMAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.State <em>State</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph <em>State Graph</em>}'. * <!-- begin-user-doc --> * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> * @return the new adapter. - * @see org.eclipse.etrice.core.fsm.fSM.State + * @see org.eclipse.etrice.core.fsm.fSM.StateGraph * @generated */ - public Adapter createStateAdapter() + public Adapter createStateGraphAdapter() { return null; } /** - * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.StateGraph <em>State Graph</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.State <em>State</em>}'. * <!-- begin-user-doc --> * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> * @return the new adapter. - * @see org.eclipse.etrice.core.fsm.fSM.StateGraph + * @see org.eclipse.etrice.core.fsm.fSM.State * @generated */ - public Adapter createStateGraphAdapter() + public Adapter createStateAdapter() { return null; } @@ -757,6 +782,81 @@ public class FSMAdapterFactory extends AdapterFactoryImpl } /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics <em>Protocol Semantics</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics + * @generated + */ + public Adapter createProtocolSemanticsAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.SemanticsRule <em>Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.fsm.fSM.SemanticsRule + * @generated + */ + public Adapter createSemanticsRuleAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.InSemanticsRule <em>In Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.fsm.fSM.InSemanticsRule + * @generated + */ + public Adapter createInSemanticsRuleAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule <em>Out Semantics Rule</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule + * @generated + */ + public Adapter createOutSemanticsRuleAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner <em>IInterface Item Owner</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.fsm.fSM.IInterfaceItemOwner + * @generated + */ + public Adapter createIInterfaceItemOwnerAdapter() + { + return null; + } + + /** * Creates a new adapter for the default case. * <!-- begin-user-doc --> * This default implementation returns null. diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMSwitch.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMSwitch.java index c71568a5c..4e4638c33 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMSwitch.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/fSM/util/FSMSwitch.java @@ -83,6 +83,7 @@ public class FSMSwitch<T> extends Switch<T> { ModelComponent modelComponent = (ModelComponent)theEObject; T result = caseModelComponent(modelComponent); + if (result == null) result = caseIInterfaceItemOwner(modelComponent); if (result == null) result = defaultCase(theEObject); return result; } @@ -101,6 +102,13 @@ public class FSMSwitch<T> extends Switch<T> if (result == null) result = defaultCase(theEObject); return result; } + case FSMPackage.STATE_GRAPH: + { + StateGraph stateGraph = (StateGraph)theEObject; + T result = caseStateGraph(stateGraph); + if (result == null) result = defaultCase(theEObject); + return result; + } case FSMPackage.STATE: { State state = (State)theEObject; @@ -110,13 +118,6 @@ public class FSMSwitch<T> extends Switch<T> if (result == null) result = defaultCase(theEObject); return result; } - case FSMPackage.STATE_GRAPH: - { - StateGraph stateGraph = (StateGraph)theEObject; - T result = caseStateGraph(stateGraph); - if (result == null) result = defaultCase(theEObject); - return result; - } case FSMPackage.SIMPLE_STATE: { SimpleState simpleState = (SimpleState)theEObject; @@ -351,6 +352,43 @@ public class FSMSwitch<T> extends Switch<T> if (result == null) result = defaultCase(theEObject); return result; } + case FSMPackage.PROTOCOL_SEMANTICS: + { + ProtocolSemantics protocolSemantics = (ProtocolSemantics)theEObject; + T result = caseProtocolSemantics(protocolSemantics); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FSMPackage.SEMANTICS_RULE: + { + SemanticsRule semanticsRule = (SemanticsRule)theEObject; + T result = caseSemanticsRule(semanticsRule); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FSMPackage.IN_SEMANTICS_RULE: + { + InSemanticsRule inSemanticsRule = (InSemanticsRule)theEObject; + T result = caseInSemanticsRule(inSemanticsRule); + if (result == null) result = caseSemanticsRule(inSemanticsRule); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FSMPackage.OUT_SEMANTICS_RULE: + { + OutSemanticsRule outSemanticsRule = (OutSemanticsRule)theEObject; + T result = caseOutSemanticsRule(outSemanticsRule); + if (result == null) result = caseSemanticsRule(outSemanticsRule); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FSMPackage.IINTERFACE_ITEM_OWNER: + { + IInterfaceItemOwner iInterfaceItemOwner = (IInterfaceItemOwner)theEObject; + T result = caseIInterfaceItemOwner(iInterfaceItemOwner); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -420,33 +458,33 @@ public class FSMSwitch<T> extends Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>State</em>'. + * Returns the result of interpreting the object as an instance of '<em>State Graph</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>State</em>'. + * @return the result of interpreting the object as an instance of '<em>State Graph</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseState(State object) + public T caseStateGraph(StateGraph object) { return null; } /** - * Returns the result of interpreting the object as an instance of '<em>State Graph</em>'. + * Returns the result of interpreting the object as an instance of '<em>State</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>State Graph</em>'. + * @return the result of interpreting the object as an instance of '<em>State</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseStateGraph(StateGraph object) + public T caseState(State object) { return null; } @@ -884,6 +922,86 @@ public class FSMSwitch<T> extends Switch<T> } /** + * Returns the result of interpreting the object as an instance of '<em>Protocol Semantics</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Protocol Semantics</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseProtocolSemantics(ProtocolSemantics object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Semantics Rule</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Semantics Rule</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSemanticsRule(SemanticsRule object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>In Semantics Rule</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>In Semantics Rule</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseInSemanticsRule(InSemanticsRule object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Out Semantics Rule</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Out Semantics Rule</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseOutSemanticsRule(OutSemanticsRule object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IInterface Item Owner</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>IInterface Item Owner</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIInterfaceItemOwner(IInterfaceItemOwner object) + { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. * <!-- begin-user-doc --> * This implementation returns null; diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g index 1e8eca3d2..ede6b0b4f 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g @@ -308,46 +308,6 @@ ruleStateGraphNode returns [EObject current=null] -// Entry rule entryRuleState -entryRuleState returns [EObject current=null] - : - { newCompositeNode(grammarAccess.getStateRule()); } - iv_ruleState=ruleState - { $current=$iv_ruleState.current; } - EOF -; - -// Rule State -ruleState returns [EObject current=null] - @init { enterRule(); - } - @after { leaveRule(); }: -( - { - newCompositeNode(grammarAccess.getStateAccess().getSimpleStateParserRuleCall_0()); - } - this_SimpleState_0=ruleSimpleState - { - $current = $this_SimpleState_0.current; - afterParserOrEnumRuleCall(); - } - - | - { - newCompositeNode(grammarAccess.getStateAccess().getRefinedStateParserRuleCall_1()); - } - this_RefinedState_1=ruleRefinedState - { - $current = $this_RefinedState_1.current; - afterParserOrEnumRuleCall(); - } -) -; - - - - - // Entry rule entryRuleStateGraph entryRuleStateGraph returns [EObject current=null] : @@ -610,6 +570,46 @@ ruleStateMachine returns [EObject current=null] +// Entry rule entryRuleState +entryRuleState returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getStateRule()); } + iv_ruleState=ruleState + { $current=$iv_ruleState.current; } + EOF +; + +// Rule State +ruleState returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getStateAccess().getSimpleStateParserRuleCall_0()); + } + this_SimpleState_0=ruleSimpleState + { + $current = $this_SimpleState_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getStateAccess().getRefinedStateParserRuleCall_1()); + } + this_RefinedState_1=ruleRefinedState + { + $current = $this_RefinedState_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + // Entry rule entryRuleSimpleState entryRuleSimpleState returns [EObject current=null] : @@ -941,11 +941,22 @@ ruleDetailCode returns [EObject current=null] grammarAccess.getDetailCodeAccess().getDetailCodeAction_0(), $current); } -) otherlv_1='{' +)( +( + lv_used_1_0= '{' { - newLeafNode(otherlv_1, grammarAccess.getDetailCodeAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(lv_used_1_0, grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); } -( + + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDetailCodeRule()); + } + setWithLastConsumed($current, "used", true, "{"); + } + +) +)( ( lv_lines_2_0=RULE_STRING { @@ -2612,6 +2623,274 @@ ruleGuard returns [EObject current=null] +// Entry rule entryRuleSemanticsRule +entryRuleSemanticsRule returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getSemanticsRuleRule()); } + iv_ruleSemanticsRule=ruleSemanticsRule + { $current=$iv_ruleSemanticsRule.current; } + EOF +; + +// Rule SemanticsRule +ruleSemanticsRule returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getSemanticsRuleAccess().getInSemanticsRuleParserRuleCall_0()); + } + this_InSemanticsRule_0=ruleInSemanticsRule + { + $current = $this_InSemanticsRule_0.current; + afterParserOrEnumRuleCall(); + } + + | + { + newCompositeNode(grammarAccess.getSemanticsRuleAccess().getOutSemanticsRuleParserRuleCall_1()); + } + this_OutSemanticsRule_1=ruleOutSemanticsRule + { + $current = $this_OutSemanticsRule_1.current; + afterParserOrEnumRuleCall(); + } +) +; + + + + + +// Entry rule entryRuleInSemanticsRule +entryRuleInSemanticsRule returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getInSemanticsRuleRule()); } + iv_ruleInSemanticsRule=ruleInSemanticsRule + { $current=$iv_ruleInSemanticsRule.current; } + EOF +; + +// Rule InSemanticsRule +ruleInSemanticsRule returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='in' + { + newLeafNode(otherlv_0, grammarAccess.getInSemanticsRuleAccess().getInKeyword_0()); + } + otherlv_1=':' + { + newLeafNode(otherlv_1, grammarAccess.getInSemanticsRuleAccess().getColonKeyword_1()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getInSemanticsRuleRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getInSemanticsRuleAccess().getMsgAbstractMessageCrossReference_2_0()); + } + +) +)( otherlv_3='->' + { + newLeafNode(otherlv_3, grammarAccess.getInSemanticsRuleAccess().getHyphenMinusGreaterThanSignKeyword_3_0()); + } +(( +( + { + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0()); + } + lv_followUps_4_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_4_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +) + |( otherlv_5='(' + { + newLeafNode(otherlv_5, grammarAccess.getInSemanticsRuleAccess().getLeftParenthesisKeyword_3_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0()); + } + lv_followUps_6_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_6_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_7=',' + { + newLeafNode(otherlv_7, grammarAccess.getInSemanticsRuleAccess().getCommaKeyword_3_1_1_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0()); + } + lv_followUps_8_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_8_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +))+ otherlv_9=')' + { + newLeafNode(otherlv_9, grammarAccess.getInSemanticsRuleAccess().getRightParenthesisKeyword_3_1_1_3()); + } +)))?) +; + + + + + +// Entry rule entryRuleOutSemanticsRule +entryRuleOutSemanticsRule returns [EObject current=null] + : + { newCompositeNode(grammarAccess.getOutSemanticsRuleRule()); } + iv_ruleOutSemanticsRule=ruleOutSemanticsRule + { $current=$iv_ruleOutSemanticsRule.current; } + EOF +; + +// Rule OutSemanticsRule +ruleOutSemanticsRule returns [EObject current=null] + @init { enterRule(); + } + @after { leaveRule(); }: +( otherlv_0='out' + { + newLeafNode(otherlv_0, grammarAccess.getOutSemanticsRuleAccess().getOutKeyword_0()); + } + otherlv_1=':' + { + newLeafNode(otherlv_1, grammarAccess.getOutSemanticsRuleAccess().getColonKeyword_1()); + } +( +( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getOutSemanticsRuleRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getOutSemanticsRuleAccess().getMsgAbstractMessageCrossReference_2_0()); + } + +) +)( otherlv_3='->' + { + newLeafNode(otherlv_3, grammarAccess.getOutSemanticsRuleAccess().getHyphenMinusGreaterThanSignKeyword_3_0()); + } +(( +( + { + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0()); + } + lv_followUps_4_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_4_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +) + |( otherlv_5='(' + { + newLeafNode(otherlv_5, grammarAccess.getOutSemanticsRuleAccess().getLeftParenthesisKeyword_3_1_1_0()); + } +( +( + { + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0()); + } + lv_followUps_6_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_6_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +)( otherlv_7=',' + { + newLeafNode(otherlv_7, grammarAccess.getOutSemanticsRuleAccess().getCommaKeyword_3_1_1_2_0()); + } +( +( + { + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0()); + } + lv_followUps_8_0=ruleSemanticsRule { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + $current, + "followUps", + lv_followUps_8_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + } + +) +))+ otherlv_9=')' + { + newLeafNode(otherlv_9, grammarAccess.getOutSemanticsRuleAccess().getRightParenthesisKeyword_3_1_1_3()); + } +)))?) +; + + + + + + + // Entry rule entryRuleKeyValue entryRuleKeyValue returns [EObject current=null] : diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.tokens b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.tokens index 026dfb221..421183d6c 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.tokens +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.tokens @@ -1,6 +1,9 @@ +T__68=68 +T__69=69 RULE_EXP=8 RULE_ID=4 T__66=66 +T__67=67 T__64=64 T__29=29 T__65=65 @@ -56,44 +59,49 @@ T__32=32 T__33=33 T__34=34 T__35=35 +T__70=70 T__36=36 T__37=37 T__38=38 T__39=39 RULE_WS=11 +'out'=50 'ModelComponent'=14 'RefinedTransition'=39 '>'=45 -'sync'=62 +'sync'=66 'Transition'=30 'TransitionPoint'=26 -'+'=56 -'.'=58 -'true'=55 +'+'=60 +'.'=62 +'true'=59 'extends'=15 'action'=34 '{'=16 'StateMachine'=18 'ExitPoint'=28 -'ptCharacter'=66 +'ptCharacter'=70 'my'=40 -'eventdriven'=59 +'eventdriven'=63 ':'=31 +'('=47 'guard'=37 'exit'=21 -'-'=57 -'ptReal'=65 +'-'=61 +'ptReal'=69 'of'=41 'cp'=42 -','=50 -'ptBoolean'=63 -']'=53 +','=48 +'in'=46 +'ptBoolean'=67 +']'=57 +'async'=65 '|'=44 -'async'=61 'State'=19 -'.*'=51 -'='=46 +'.*'=55 +'='=51 'subgraph'=23 +')'=49 'initial'=32 'entry'=20 '->'=33 @@ -103,15 +111,15 @@ RULE_WS=11 '}'=17 'abstract'=13 'EntryPoint'=27 -'optional'=47 +'optional'=52 'handler'=25 'cond'=38 -'false'=54 +'false'=58 '<'=43 -'datadriven'=60 +'datadriven'=64 'or'=36 'RefinedState'=24 -'attribute'=49 -'['=52 -'ptInteger'=64 -'mandatory'=48 +'attribute'=54 +'['=56 +'ptInteger'=68 +'mandatory'=53 diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMLexer.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMLexer.java index 6bf094aa1..c14891bf7 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMLexer.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMLexer.java @@ -12,9 +12,12 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalFSMLexer extends Lexer { + public static final int T__68=68; + public static final int T__69=69; + public static final int T__66=66; public static final int RULE_EXP=8; public static final int RULE_ID=4; - public static final int T__66=66; + public static final int T__67=67; public static final int T__29=29; public static final int T__64=64; public static final int T__28=28; @@ -72,6 +75,7 @@ public class InternalFSMLexer extends Lexer { public static final int T__34=34; public static final int T__35=35; public static final int T__36=36; + public static final int T__70=70; public static final int T__37=37; public static final int T__38=38; public static final int T__39=39; @@ -782,10 +786,11 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:44:7: ( '=' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:44:9: '=' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:44:7: ( 'in' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:44:9: 'in' { - match('='); + match("in"); + } @@ -802,11 +807,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:45:7: ( 'optional' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:45:9: 'optional' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:45:7: ( '(' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:45:9: '(' { - match("optional"); - + match('('); } @@ -823,11 +827,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:46:7: ( 'mandatory' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:46:9: 'mandatory' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:46:7: ( ',' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:46:9: ',' { - match("mandatory"); - + match(','); } @@ -844,11 +847,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__49; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:47:7: ( 'attribute' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:47:9: 'attribute' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:47:7: ( ')' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:47:9: ')' { - match("attribute"); - + match(')'); } @@ -865,10 +867,11 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__50; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:48:7: ( ',' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:48:9: ',' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:48:7: ( 'out' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:48:9: 'out' { - match(','); + match("out"); + } @@ -885,11 +888,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__51; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:49:7: ( '.*' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:49:9: '.*' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:49:7: ( '=' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:49:9: '=' { - match(".*"); - + match('='); } @@ -906,10 +908,11 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__52; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:50:7: ( '[' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:50:9: '[' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:50:7: ( 'optional' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:50:9: 'optional' { - match('['); + match("optional"); + } @@ -926,10 +929,11 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__53; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:51:7: ( ']' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:51:9: ']' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:51:7: ( 'mandatory' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:51:9: 'mandatory' { - match(']'); + match("mandatory"); + } @@ -946,10 +950,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__54; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:52:7: ( 'false' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:52:9: 'false' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:52:7: ( 'attribute' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:52:9: 'attribute' { - match("false"); + match("attribute"); } @@ -967,10 +971,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__55; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:53:7: ( 'true' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:53:9: 'true' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:53:7: ( '.*' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:53:9: '.*' { - match("true"); + match(".*"); } @@ -988,10 +992,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__56; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:54:7: ( '+' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:54:9: '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:54:7: ( '[' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:54:9: '[' { - match('+'); + match('['); } @@ -1008,10 +1012,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__57; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:55:7: ( '-' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:55:9: '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:55:7: ( ']' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:55:9: ']' { - match('-'); + match(']'); } @@ -1028,10 +1032,11 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__58; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:56:7: ( '.' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:56:9: '.' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:56:7: ( 'false' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:56:9: 'false' { - match('.'); + match("false"); + } @@ -1048,10 +1053,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__59; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:57:7: ( 'eventdriven' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:57:9: 'eventdriven' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:57:7: ( 'true' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:57:9: 'true' { - match("eventdriven"); + match("true"); } @@ -1069,11 +1074,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__60; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:58:7: ( 'datadriven' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:58:9: 'datadriven' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:58:7: ( '+' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:58:9: '+' { - match("datadriven"); - + match('+'); } @@ -1090,11 +1094,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__61; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:59:7: ( 'async' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:59:9: 'async' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:59:7: ( '-' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:59:9: '-' { - match("async"); - + match('-'); } @@ -1111,11 +1114,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__62; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:60:7: ( 'sync' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:60:9: 'sync' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:60:7: ( '.' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:60:9: '.' { - match("sync"); - + match('.'); } @@ -1132,10 +1134,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__63; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:61:7: ( 'ptBoolean' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:61:9: 'ptBoolean' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:61:7: ( 'eventdriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:61:9: 'eventdriven' { - match("ptBoolean"); + match("eventdriven"); } @@ -1153,10 +1155,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__64; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:62:7: ( 'ptInteger' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:62:9: 'ptInteger' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:62:7: ( 'datadriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:62:9: 'datadriven' { - match("ptInteger"); + match("datadriven"); } @@ -1174,10 +1176,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__65; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:63:7: ( 'ptReal' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:63:9: 'ptReal' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:63:7: ( 'async' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:63:9: 'async' { - match("ptReal"); + match("async"); } @@ -1195,10 +1197,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = T__66; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:64:7: ( 'ptCharacter' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:64:9: 'ptCharacter' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:64:7: ( 'sync' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:64:9: 'sync' { - match("ptCharacter"); + match("sync"); } @@ -1211,13 +1213,97 @@ public class InternalFSMLexer extends Lexer { } // $ANTLR end "T__66" + // $ANTLR start "T__67" + public final void mT__67() throws RecognitionException { + try { + int _type = T__67; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:65:7: ( 'ptBoolean' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:65:9: 'ptBoolean' + { + match("ptBoolean"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__67" + + // $ANTLR start "T__68" + public final void mT__68() throws RecognitionException { + try { + int _type = T__68; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:66:7: ( 'ptInteger' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:66:9: 'ptInteger' + { + match("ptInteger"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__68" + + // $ANTLR start "T__69" + public final void mT__69() throws RecognitionException { + try { + int _type = T__69; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:67:7: ( 'ptReal' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:67:9: 'ptReal' + { + match("ptReal"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__69" + + // $ANTLR start "T__70" + public final void mT__70() throws RecognitionException { + try { + int _type = T__70; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:68:7: ( 'ptCharacter' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:68:9: 'ptCharacter' + { + match("ptCharacter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__70" + // $ANTLR start "RULE_EXP" public final void mRULE_EXP() throws RecognitionException { try { int _type = RULE_EXP; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3868:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3868:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4147:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4147:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -1228,7 +1314,7 @@ public class InternalFSMLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3868:22: ( '+' | '-' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4147:22: ( '+' | '-' )? int alt1=2; int LA1_0 = input.LA(1); @@ -1254,7 +1340,7 @@ public class InternalFSMLexer extends Lexer { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3868:33: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4147:33: ( '0' .. '9' )+ int cnt2=0; loop2: do { @@ -1268,7 +1354,7 @@ public class InternalFSMLexer extends Lexer { switch (alt2) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3868:34: '0' .. '9' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4147:34: '0' .. '9' { matchRange('0','9'); @@ -1300,10 +1386,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_HEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:12: ( '0x' | '0X' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:12: ( '0x' | '0X' ) int alt3=2; int LA3_0 = input.LA(1); @@ -1331,7 +1417,7 @@ public class InternalFSMLexer extends Lexer { } switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:13: '0x' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:13: '0x' { match("0x"); @@ -1339,7 +1425,7 @@ public class InternalFSMLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:18: '0X' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:18: '0X' { match("0X"); @@ -1349,7 +1435,7 @@ public class InternalFSMLexer extends Lexer { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3870:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4149:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ int cnt4=0; loop4: do { @@ -1403,10 +1489,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3872:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3872:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4151:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4151:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3872:11: ( '^' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4151:11: ( '^' )? int alt5=2; int LA5_0 = input.LA(1); @@ -1415,7 +1501,7 @@ public class InternalFSMLexer extends Lexer { } switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3872:11: '^' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4151:11: '^' { match('^'); @@ -1433,7 +1519,7 @@ public class InternalFSMLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3872:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4151:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop6: do { int alt6=2; @@ -1482,10 +1568,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3874:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3874:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4153:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4153:12: ( '0' .. '9' )+ { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3874:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4153:12: ( '0' .. '9' )+ int cnt7=0; loop7: do { @@ -1499,7 +1585,7 @@ public class InternalFSMLexer extends Lexer { switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3874:13: '0' .. '9' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4153:13: '0' .. '9' { matchRange('0','9'); @@ -1531,10 +1617,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt10=2; int LA10_0 = input.LA(1); @@ -1552,10 +1638,10 @@ public class InternalFSMLexer extends Lexer { } switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* loop8: do { int alt8=3; @@ -1571,7 +1657,7 @@ public class InternalFSMLexer extends Lexer { switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1587,7 +1673,7 @@ public class InternalFSMLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:66: ~ ( ( '\\\\' | '\"' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1612,10 +1698,10 @@ public class InternalFSMLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* loop9: do { int alt9=3; @@ -1631,7 +1717,7 @@ public class InternalFSMLexer extends Lexer { switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -1647,7 +1733,7 @@ public class InternalFSMLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3876:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4155:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1690,12 +1776,12 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3878:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3878:19: '/*' ( options {greedy=false; } : . )* '*/' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4157:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4157:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3878:24: ( options {greedy=false; } : . )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4157:24: ( options {greedy=false; } : . )* loop11: do { int alt11=2; @@ -1720,7 +1806,7 @@ public class InternalFSMLexer extends Lexer { switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3878:52: . + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4157:52: . { matchAny(); @@ -1750,12 +1836,12 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:24: (~ ( ( '\\n' | '\\r' ) ) )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:24: (~ ( ( '\\n' | '\\r' ) ) )* loop12: do { int alt12=2; @@ -1768,7 +1854,7 @@ public class InternalFSMLexer extends Lexer { switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:24: ~ ( ( '\\n' | '\\r' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159: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(); @@ -1788,7 +1874,7 @@ public class InternalFSMLexer extends Lexer { } } while (true); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:40: ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:40: ( ( '\\r' )? '\\n' )? int alt14=2; int LA14_0 = input.LA(1); @@ -1797,9 +1883,9 @@ public class InternalFSMLexer extends Lexer { } switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:41: ( '\\r' )? '\\n' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:41: ( '\\r' )? '\\n' { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:41: ( '\\r' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:41: ( '\\r' )? int alt13=2; int LA13_0 = input.LA(1); @@ -1808,7 +1894,7 @@ public class InternalFSMLexer extends Lexer { } switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:41: '\\r' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4159:41: '\\r' { match('\r'); @@ -1840,10 +1926,10 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3882:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3882:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4161:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4161:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3882:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4161:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt15=0; loop15: do { @@ -1897,8 +1983,8 @@ public class InternalFSMLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3884:16: ( . ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3884:18: . + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4163:16: ( . ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4163:18: . { matchAny(); @@ -1913,8 +1999,8 @@ public class InternalFSMLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt16=63; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt16=67; alt16 = dfa16.predict(input); switch (alt16) { case 1 : @@ -2296,63 +2382,91 @@ public class InternalFSMLexer extends Lexer { } break; case 55 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:334: RULE_EXP + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:334: T__67 { - mRULE_EXP(); + mT__67(); } break; case 56 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:343: RULE_HEX + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:340: T__68 { - mRULE_HEX(); + mT__68(); } break; case 57 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:352: RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:346: T__69 { - mRULE_ID(); + mT__69(); } break; case 58 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:360: RULE_INT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:352: T__70 { - mRULE_INT(); + mT__70(); } break; case 59 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:369: RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:358: RULE_EXP { - mRULE_STRING(); + mRULE_EXP(); } break; case 60 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:381: RULE_ML_COMMENT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:367: RULE_HEX { - mRULE_ML_COMMENT(); + mRULE_HEX(); } break; case 61 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:397: RULE_SL_COMMENT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:376: RULE_ID { - mRULE_SL_COMMENT(); + mRULE_ID(); } break; case 62 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:413: RULE_WS + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:384: RULE_INT { - mRULE_WS(); + mRULE_INT(); } break; case 63 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:421: RULE_ANY_OTHER + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:393: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 64 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:405: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 65 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:421: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 66 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:437: RULE_WS + { + mRULE_WS(); + + } + break; + case 67 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1:445: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -2366,185 +2480,189 @@ public class InternalFSMLexer extends Lexer { protected DFA16 dfa16 = new DFA16(this); static final String DFA16_eotS = - "\1\uffff\3\56\2\uffff\10\56\1\uffff\1\56\1\105\5\56\5\uffff\1\125"+ - "\2\uffff\1\56\1\uffff\1\56\1\134\1\51\2\uffff\3\51\2\uffff\4\56"+ - "\1\uffff\4\56\1\64\3\uffff\1\56\1\153\11\56\1\uffff\1\56\2\uffff"+ - "\1\56\1\170\1\171\3\56\1\175\1\176\1\56\11\uffff\1\56\1\uffff\1"+ - "\56\6\uffff\12\56\1\uffff\14\56\2\uffff\3\56\2\uffff\14\56\1\u00aa"+ - "\5\56\1\u00b0\10\56\1\u00b9\2\56\1\u00bc\11\56\1\u00c6\2\56\1\uffff"+ - "\1\u00c9\1\56\1\u00cc\2\56\1\uffff\10\56\1\uffff\1\56\1\u00d8\1"+ - "\uffff\1\56\1\u00da\5\56\1\u00e0\1\56\1\uffff\2\56\1\uffff\2\56"+ - "\1\uffff\13\56\1\uffff\1\56\1\uffff\2\56\1\u00f4\2\56\1\uffff\2"+ - "\56\1\u00f9\5\56\1\u0100\4\56\1\u0105\5\56\1\uffff\1\56\1\u010c"+ - "\2\56\1\uffff\3\56\1\u0112\2\56\1\uffff\4\56\1\uffff\1\u0119\1\u011a"+ - "\4\56\1\uffff\1\u011f\4\56\1\uffff\4\56\1\u0128\1\56\2\uffff\1\u012a"+ - "\1\u012b\1\u012c\1\56\1\uffff\3\56\1\u0131\2\56\1\u0135\1\u0136"+ - "\1\uffff\1\56\3\uffff\2\56\1\u013a\1\56\1\uffff\3\56\2\uffff\1\u013f"+ - "\1\u0140\1\56\1\uffff\1\u0142\1\u0143\2\56\2\uffff\1\56\2\uffff"+ - "\2\56\1\u0149\2\56\1\uffff\1\56\1\u014d\1\56\1\uffff\1\u014f\1\uffff"; + "\1\uffff\3\60\2\uffff\10\60\1\uffff\1\60\1\107\5\60\7\uffff\1\132"+ + "\2\uffff\1\60\1\uffff\1\60\1\141\1\53\2\uffff\3\53\2\uffff\4\60"+ + "\1\uffff\4\60\1\66\3\uffff\1\60\1\160\11\60\1\uffff\1\173\2\uffff"+ + "\1\60\1\176\1\177\4\60\1\u0084\1\u0085\1\60\13\uffff\1\60\1\uffff"+ + "\1\60\6\uffff\12\60\1\uffff\12\60\1\uffff\2\60\2\uffff\1\u00a2\3"+ + "\60\2\uffff\14\60\1\u00b2\5\60\1\u00b8\10\60\1\u00c1\1\uffff\2\60"+ + "\1\u00c4\11\60\1\u00ce\2\60\1\uffff\1\u00d1\1\60\1\u00d4\2\60\1"+ + "\uffff\10\60\1\uffff\1\60\1\u00e0\1\uffff\1\60\1\u00e2\5\60\1\u00e8"+ + "\1\60\1\uffff\2\60\1\uffff\2\60\1\uffff\13\60\1\uffff\1\60\1\uffff"+ + "\2\60\1\u00fc\2\60\1\uffff\2\60\1\u0101\5\60\1\u0108\4\60\1\u010d"+ + "\5\60\1\uffff\1\60\1\u0114\2\60\1\uffff\3\60\1\u011a\2\60\1\uffff"+ + "\4\60\1\uffff\1\u0121\1\u0122\4\60\1\uffff\1\u0127\4\60\1\uffff"+ + "\4\60\1\u0130\1\60\2\uffff\1\u0132\1\u0133\1\u0134\1\60\1\uffff"+ + "\3\60\1\u0139\2\60\1\u013d\1\u013e\1\uffff\1\60\3\uffff\2\60\1\u0142"+ + "\1\60\1\uffff\3\60\2\uffff\1\u0147\1\u0148\1\60\1\uffff\1\u014a"+ + "\1\u014b\2\60\2\uffff\1\60\2\uffff\2\60\1\u0151\2\60\1\uffff\1\60"+ + "\1\u0155\1\60\1\uffff\1\u0157\1\uffff"; static final String DFA16_eofS = - "\u0150\uffff"; + "\u0158\uffff"; static final String DFA16_minS = "\1\0\1\142\1\157\1\53\2\uffff\1\164\1\141\1\165\1\145\1\141\1\162"+ - "\1\53\1\150\1\uffff\1\156\1\76\1\162\1\146\1\165\1\157\1\141\5\uffff"+ + "\1\53\1\150\1\uffff\1\156\1\76\1\162\1\146\1\165\1\157\1\141\7\uffff"+ "\1\52\2\uffff\1\141\1\uffff\1\164\1\130\1\101\2\uffff\2\0\1\52\2"+ "\uffff\1\163\2\164\1\171\1\uffff\1\144\1\151\1\164\1\145\1\60\3"+ "\uffff\1\141\1\60\1\164\1\142\1\156\1\146\1\156\1\141\1\164\1\151"+ - "\1\157\1\uffff\1\151\2\uffff\1\151\2\60\1\164\1\141\1\156\2\60\1"+ - "\156\11\uffff\1\154\1\uffff\1\102\6\uffff\1\164\1\151\1\162\1\156"+ + "\1\157\1\uffff\1\60\2\uffff\1\151\2\60\2\164\1\141\1\156\2\60\1"+ + "\156\13\uffff\1\154\1\uffff\1\102\6\uffff\1\164\1\151\1\162\1\156"+ "\2\145\1\164\1\162\1\156\1\164\1\uffff\1\141\1\147\1\143\1\151\1"+ - "\144\1\156\1\162\1\164\1\151\1\164\1\147\1\145\2\uffff\1\151\1\162"+ - "\1\144\2\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1\157\1"+ - "\151\1\143\1\154\1\156\1\60\1\171\1\164\1\145\1\144\1\162\1\60\1"+ - "\156\1\154\1\163\1\171\1\120\1\143\1\151\1\147\1\60\1\157\1\144"+ - "\1\60\1\141\1\145\1\157\1\164\3\141\1\156\1\142\1\60\1\103\1\144"+ - "\1\uffff\1\60\1\144\1\60\1\162\1\141\1\uffff\2\145\1\151\1\120\1"+ - "\157\1\145\1\141\1\145\1\uffff\1\156\1\60\1\uffff\1\164\1\60\1\154"+ - "\1\145\1\154\1\162\1\143\1\60\1\165\1\uffff\1\157\1\163\1\uffff"+ - "\1\162\1\141\1\uffff\1\151\1\160\1\144\1\162\1\164\1\157\1\151\1"+ - "\120\1\154\1\162\1\141\1\uffff\1\157\1\uffff\1\145\1\147\1\60\1"+ - "\141\1\164\1\uffff\1\164\1\155\1\60\1\151\1\143\1\166\1\150\1\123"+ - "\1\60\2\151\1\156\1\157\1\60\1\163\1\154\1\162\1\141\1\145\1\uffff"+ - "\1\143\1\60\1\145\1\160\1\uffff\1\166\1\150\1\145\1\60\1\164\1\162"+ - "\1\uffff\1\157\1\156\1\164\1\151\1\uffff\2\60\1\171\1\156\1\162"+ - "\1\164\1\uffff\1\60\1\157\1\145\1\151\1\156\1\uffff\2\141\1\156"+ - "\1\164\1\60\1\156\2\uffff\3\60\1\145\1\uffff\3\156\1\60\1\164\1"+ - "\156\2\60\1\uffff\1\164\3\uffff\1\162\1\145\1\60\1\145\1\uffff\1"+ - "\145\1\163\1\157\2\uffff\2\60\1\156\1\uffff\2\60\2\151\2\uffff\1"+ - "\164\2\uffff\1\164\1\156\1\60\1\151\1\164\1\uffff\1\157\1\60\1\156"+ - "\1\uffff\1\60\1\uffff"; + "\144\1\156\1\162\1\164\1\151\1\164\1\uffff\1\147\1\145\2\uffff\1"+ + "\60\1\151\1\162\1\144\2\uffff\1\144\1\163\1\157\1\156\1\145\1\150"+ + "\1\162\1\157\1\151\1\143\1\154\1\156\1\60\1\171\1\164\1\145\1\144"+ + "\1\162\1\60\1\156\1\154\1\163\1\171\1\120\1\143\1\151\1\147\1\60"+ + "\1\uffff\1\157\1\144\1\60\1\141\1\145\1\157\1\164\3\141\1\156\1"+ + "\142\1\60\1\103\1\144\1\uffff\1\60\1\144\1\60\1\162\1\141\1\uffff"+ + "\2\145\1\151\1\120\1\157\1\145\1\141\1\145\1\uffff\1\156\1\60\1"+ + "\uffff\1\164\1\60\1\154\1\145\1\154\1\162\1\143\1\60\1\165\1\uffff"+ + "\1\157\1\163\1\uffff\1\162\1\141\1\uffff\1\151\1\160\1\144\1\162"+ + "\1\164\1\157\1\151\1\120\1\154\1\162\1\141\1\uffff\1\157\1\uffff"+ + "\1\145\1\147\1\60\1\141\1\164\1\uffff\1\164\1\155\1\60\1\151\1\143"+ + "\1\166\1\150\1\123\1\60\2\151\1\156\1\157\1\60\1\163\1\154\1\162"+ + "\1\141\1\145\1\uffff\1\143\1\60\1\145\1\160\1\uffff\1\166\1\150"+ + "\1\145\1\60\1\164\1\162\1\uffff\1\157\1\156\1\164\1\151\1\uffff"+ + "\2\60\1\171\1\156\1\162\1\164\1\uffff\1\60\1\157\1\145\1\151\1\156"+ + "\1\uffff\2\141\1\156\1\164\1\60\1\156\2\uffff\3\60\1\145\1\uffff"+ + "\3\156\1\60\1\164\1\156\2\60\1\uffff\1\164\3\uffff\1\162\1\145\1"+ + "\60\1\145\1\uffff\1\145\1\163\1\157\2\uffff\2\60\1\156\1\uffff\2"+ + "\60\2\151\2\uffff\1\164\2\uffff\1\164\1\156\1\60\1\151\1\164\1\uffff"+ + "\1\157\1\60\1\156\1\uffff\1\60\1\uffff"; static final String DFA16_maxS = "\1\uffff\1\164\1\157\1\170\2\uffff\1\164\1\157\1\171\1\145\1\141"+ - "\1\162\1\170\1\150\1\uffff\1\156\1\76\2\162\1\165\1\160\1\171\5"+ + "\1\162\1\170\1\150\1\uffff\1\156\1\76\1\162\2\165\1\160\1\171\7"+ "\uffff\1\52\2\uffff\1\141\1\uffff\1\164\1\170\1\172\2\uffff\2\uffff"+ "\1\57\2\uffff\1\163\2\164\1\171\1\uffff\1\144\2\164\1\145\1\172"+ "\3\uffff\1\141\1\172\1\164\1\142\1\156\1\146\1\156\1\141\1\164\1"+ - "\151\1\157\1\uffff\1\151\2\uffff\1\165\2\172\1\164\1\141\1\156\2"+ - "\172\1\156\11\uffff\1\154\1\uffff\1\122\6\uffff\1\164\1\151\1\162"+ + "\151\1\157\1\uffff\1\172\2\uffff\1\165\2\172\2\164\1\141\1\156\2"+ + "\172\1\156\13\uffff\1\154\1\uffff\1\122\6\uffff\1\164\1\151\1\162"+ "\1\156\2\145\1\164\1\162\1\156\1\164\1\uffff\1\141\1\147\1\143\1"+ - "\151\1\144\1\156\1\162\1\164\1\151\1\164\1\147\1\145\2\uffff\1\151"+ - "\1\162\1\144\2\uffff\1\144\1\163\1\157\1\156\1\145\1\150\1\162\1"+ - "\157\1\151\1\143\1\154\1\156\1\172\1\171\1\164\1\145\1\144\1\162"+ - "\1\172\1\156\1\154\1\163\1\171\1\120\1\143\1\151\1\147\1\172\1\157"+ - "\1\144\1\172\1\141\1\145\1\157\1\164\3\141\1\156\1\142\1\172\1\103"+ - "\1\144\1\uffff\1\172\1\144\1\172\1\162\1\141\1\uffff\2\145\1\151"+ - "\1\120\1\157\1\145\1\141\1\145\1\uffff\1\156\1\172\1\uffff\1\164"+ - "\1\172\1\154\1\145\1\154\1\162\1\143\1\172\1\165\1\uffff\1\157\1"+ - "\163\1\uffff\1\162\1\141\1\uffff\1\151\1\160\1\144\1\162\1\164\1"+ - "\157\1\151\1\120\1\154\1\162\1\141\1\uffff\1\157\1\uffff\1\145\1"+ - "\147\1\172\1\141\1\164\1\uffff\1\164\1\155\1\172\1\151\1\143\1\166"+ - "\1\150\1\124\1\172\2\151\1\156\1\157\1\172\1\163\1\154\1\162\1\141"+ - "\1\145\1\uffff\1\143\1\172\1\145\1\160\1\uffff\1\166\1\150\1\145"+ - "\1\172\1\164\1\162\1\uffff\1\157\1\156\1\164\1\151\1\uffff\2\172"+ - "\1\171\1\156\1\162\1\164\1\uffff\1\172\1\157\1\145\1\151\1\156\1"+ - "\uffff\2\141\1\156\1\164\1\172\1\156\2\uffff\3\172\1\145\1\uffff"+ - "\3\156\1\172\1\164\1\156\2\172\1\uffff\1\164\3\uffff\1\162\1\145"+ - "\1\172\1\145\1\uffff\1\145\1\163\1\157\2\uffff\2\172\1\156\1\uffff"+ - "\2\172\2\151\2\uffff\1\164\2\uffff\1\164\1\156\1\172\1\151\1\164"+ - "\1\uffff\1\157\1\172\1\156\1\uffff\1\172\1\uffff"; + "\151\1\144\1\156\1\162\1\164\1\151\1\164\1\uffff\1\147\1\145\2\uffff"+ + "\1\172\1\151\1\162\1\144\2\uffff\1\144\1\163\1\157\1\156\1\145\1"+ + "\150\1\162\1\157\1\151\1\143\1\154\1\156\1\172\1\171\1\164\1\145"+ + "\1\144\1\162\1\172\1\156\1\154\1\163\1\171\1\120\1\143\1\151\1\147"+ + "\1\172\1\uffff\1\157\1\144\1\172\1\141\1\145\1\157\1\164\3\141\1"+ + "\156\1\142\1\172\1\103\1\144\1\uffff\1\172\1\144\1\172\1\162\1\141"+ + "\1\uffff\2\145\1\151\1\120\1\157\1\145\1\141\1\145\1\uffff\1\156"+ + "\1\172\1\uffff\1\164\1\172\1\154\1\145\1\154\1\162\1\143\1\172\1"+ + "\165\1\uffff\1\157\1\163\1\uffff\1\162\1\141\1\uffff\1\151\1\160"+ + "\1\144\1\162\1\164\1\157\1\151\1\120\1\154\1\162\1\141\1\uffff\1"+ + "\157\1\uffff\1\145\1\147\1\172\1\141\1\164\1\uffff\1\164\1\155\1"+ + "\172\1\151\1\143\1\166\1\150\1\124\1\172\2\151\1\156\1\157\1\172"+ + "\1\163\1\154\1\162\1\141\1\145\1\uffff\1\143\1\172\1\145\1\160\1"+ + "\uffff\1\166\1\150\1\145\1\172\1\164\1\162\1\uffff\1\157\1\156\1"+ + "\164\1\151\1\uffff\2\172\1\171\1\156\1\162\1\164\1\uffff\1\172\1"+ + "\157\1\145\1\151\1\156\1\uffff\2\141\1\156\1\164\1\172\1\156\2\uffff"+ + "\3\172\1\145\1\uffff\3\156\1\172\1\164\1\156\2\172\1\uffff\1\164"+ + "\3\uffff\1\162\1\145\1\172\1\145\1\uffff\1\145\1\163\1\157\2\uffff"+ + "\2\172\1\156\1\uffff\2\172\2\151\2\uffff\1\164\2\uffff\1\164\1\156"+ + "\1\172\1\151\1\164\1\uffff\1\157\1\172\1\156\1\uffff\1\172\1\uffff"; static final String DFA16_acceptS = - "\4\uffff\1\4\1\5\10\uffff\1\23\7\uffff\1\37\1\40\1\41\1\42\1\46"+ - "\1\uffff\1\50\1\51\1\uffff\1\54\3\uffff\1\71\1\72\3\uffff\1\76\1"+ - "\77\4\uffff\1\71\5\uffff\1\67\1\4\1\5\13\uffff\1\23\1\uffff\1\25"+ - "\1\55\11\uffff\1\37\1\40\1\41\1\42\1\46\1\47\1\56\1\50\1\51\1\uffff"+ - "\1\54\1\uffff\1\70\1\72\1\73\1\74\1\75\1\76\12\uffff\1\12\14\uffff"+ - "\1\30\1\35\3\uffff\1\36\1\34\53\uffff\1\11\5\uffff\1\62\10\uffff"+ - "\1\53\2\uffff\1\32\11\uffff\1\61\2\uffff\1\10\2\uffff\1\7\13\uffff"+ - "\1\31\1\uffff\1\52\5\uffff\1\26\23\uffff\1\65\4\uffff\1\3\6\uffff"+ - "\1\15\4\uffff\1\24\6\uffff\1\1\5\uffff\1\13\6\uffff\1\27\1\43\4"+ - "\uffff\1\45\10\uffff\1\20\1\uffff\1\44\1\63\1\64\4\uffff\1\60\3"+ - "\uffff\1\22\1\17\3\uffff\1\57\4\uffff\1\21\1\66\1\uffff\1\6\1\14"+ - "\5\uffff\1\2\3\uffff\1\16\1\uffff\1\33"; + "\4\uffff\1\4\1\5\10\uffff\1\23\7\uffff\1\37\1\40\1\41\1\43\1\44"+ + "\1\45\1\47\1\uffff\1\54\1\55\1\uffff\1\60\3\uffff\1\75\1\76\3\uffff"+ + "\1\102\1\103\4\uffff\1\75\5\uffff\1\73\1\4\1\5\13\uffff\1\23\1\uffff"+ + "\1\25\1\61\12\uffff\1\37\1\40\1\41\1\43\1\44\1\45\1\47\1\53\1\62"+ + "\1\54\1\55\1\uffff\1\60\1\uffff\1\74\1\76\1\77\1\100\1\101\1\102"+ + "\12\uffff\1\12\12\uffff\1\42\2\uffff\1\30\1\35\4\uffff\1\36\1\34"+ + "\34\uffff\1\46\17\uffff\1\11\5\uffff\1\66\10\uffff\1\57\2\uffff"+ + "\1\32\11\uffff\1\65\2\uffff\1\10\2\uffff\1\7\13\uffff\1\31\1\uffff"+ + "\1\56\5\uffff\1\26\23\uffff\1\71\4\uffff\1\3\6\uffff\1\15\4\uffff"+ + "\1\24\6\uffff\1\1\5\uffff\1\13\6\uffff\1\27\1\50\4\uffff\1\52\10"+ + "\uffff\1\20\1\uffff\1\51\1\67\1\70\4\uffff\1\64\3\uffff\1\22\1\17"+ + "\3\uffff\1\63\4\uffff\1\21\1\72\1\uffff\1\6\1\14\5\uffff\1\2\3\uffff"+ + "\1\16\1\uffff\1\33"; static final String DFA16_specialS = - "\1\2\44\uffff\1\0\1\1\u0129\uffff}>"; + "\1\1\46\uffff\1\0\1\2\u012f\uffff}>"; static final String[] DFA16_transitionS = { - "\11\51\2\50\2\51\1\50\22\51\1\50\1\51\1\45\4\51\1\46\3\51\1"+ - "\37\1\32\1\20\1\33\1\47\1\41\11\44\1\16\1\51\1\26\1\31\1\30"+ - "\2\51\2\43\1\15\1\43\1\14\7\43\1\2\4\43\1\11\1\6\1\13\6\43\1"+ - "\34\1\51\1\35\1\42\1\43\1\51\1\1\1\43\1\24\1\7\1\3\1\36\1\23"+ - "\1\12\1\17\3\43\1\25\1\43\1\22\1\40\2\43\1\10\1\21\6\43\1\4"+ - "\1\27\1\5\uff82\51", - "\1\52\1\53\17\uffff\1\55\1\54", - "\1\57", - "\1\64\1\uffff\1\64\2\uffff\12\63\64\uffff\1\61\7\uffff\1\62"+ - "\1\uffff\1\60", - "", - "", - "\1\67", - "\1\71\15\uffff\1\70", - "\1\72\3\uffff\1\73", - "\1\74", - "\1\75", + "\11\53\2\52\2\53\1\52\22\53\1\52\1\53\1\47\4\53\1\50\1\31\1"+ + "\33\1\53\1\41\1\32\1\20\1\35\1\51\1\43\11\46\1\16\1\53\1\26"+ + "\1\34\1\30\2\53\2\45\1\15\1\45\1\14\7\45\1\2\4\45\1\11\1\6\1"+ + "\13\6\45\1\36\1\53\1\37\1\44\1\45\1\53\1\1\1\45\1\24\1\7\1\3"+ + "\1\40\1\23\1\12\1\17\3\45\1\25\1\45\1\22\1\42\2\45\1\10\1\21"+ + "\6\45\1\4\1\27\1\5\uff82\53", + "\1\54\1\55\17\uffff\1\57\1\56", + "\1\61", + "\1\66\1\uffff\1\66\2\uffff\12\65\64\uffff\1\63\7\uffff\1\64"+ + "\1\uffff\1\62", + "", + "", + "\1\71", + "\1\73\15\uffff\1\72", + "\1\74\3\uffff\1\75", "\1\76", - "\1\64\1\uffff\1\64\2\uffff\12\63\64\uffff\1\77\11\uffff\1"+ - "\100", - "\1\101", - "", + "\1\77", + "\1\100", + "\1\66\1\uffff\1\66\2\uffff\12\65\64\uffff\1\101\11\uffff\1"+ + "\102", "\1\103", - "\1\104", + "", + "\1\105", "\1\106", - "\1\110\11\uffff\1\111\1\uffff\1\107", - "\1\112", - "\1\113\1\114", - "\1\116\27\uffff\1\115", + "\1\110", + "\1\112\11\uffff\1\114\1\uffff\1\111\2\uffff\1\113", + "\1\115", + "\1\116\1\117", + "\1\121\27\uffff\1\120", + "", "", "", "", "", "", - "\1\124", "", + "\1\131", "", - "\1\130", "", - "\1\132", - "\1\133\37\uffff\1\133", - "\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\135", "", + "\1\137", + "\1\140\37\uffff\1\140", + "\32\60\4\uffff\1\60\1\uffff\32\60", "", - "\0\135", - "\0\135", - "\1\136\4\uffff\1\137", "", + "\0\142", + "\0\142", + "\1\143\4\uffff\1\144", "", - "\1\141", - "\1\142", - "\1\143", - "\1\144", "", - "\1\145", - "\1\147\12\uffff\1\146", + "\1\146", + "\1\147", "\1\150", "\1\151", - "\12\63\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "", - "", "", "\1\152", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\154", + "\1\154\12\uffff\1\153", "\1\155", "\1\156", + "\12\65\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "", + "", + "", "\1\157", - "\1\160", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\161", "\1\162", "\1\163", "\1\164", - "", "\1\165", + "\1\166", + "\1\167", + "\1\170", + "\1\171", "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\10\60\1\172\21\60", "", - "\1\166\13\uffff\1\167", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\172", - "\1\173", - "\1\174", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\177", "", + "\1\174\13\uffff\1\175", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0080", + "\1\u0081", + "\1\u0082", + "\1\u0083", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0086", "", "", "", @@ -2553,26 +2671,21 @@ public class InternalFSMLexer extends Lexer { "", "", "", - "\1\u0080", "", - "\1\u0081\1\u0084\5\uffff\1\u0082\10\uffff\1\u0083", + "", + "", + "\1\u0087", + "", + "\1\u0088\1\u008b\5\uffff\1\u0089\10\uffff\1\u008a", "", "", "", "", "", "", - "\1\u0085", - "\1\u0086", - "\1\u0087", - "\1\u0088", - "\1\u0089", - "\1\u008a", - "\1\u008b", "\1\u008c", "\1\u008d", "\1\u008e", - "", "\1\u008f", "\1\u0090", "\1\u0091", @@ -2580,228 +2693,239 @@ public class InternalFSMLexer extends Lexer { "\1\u0093", "\1\u0094", "\1\u0095", + "", "\1\u0096", "\1\u0097", "\1\u0098", "\1\u0099", "\1\u009a", - "", - "", "\1\u009b", "\1\u009c", "\1\u009d", - "", - "", "\1\u009e", "\1\u009f", + "", "\1\u00a0", "\1\u00a1", - "\1\u00a2", + "", + "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00a3", "\1\u00a4", "\1\u00a5", + "", + "", "\1\u00a6", "\1\u00a7", "\1\u00a8", "\1\u00a9", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00aa", "\1\u00ab", "\1\u00ac", "\1\u00ad", "\1\u00ae", "\1\u00af", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00b0", "\1\u00b1", - "\1\u00b2", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00b3", "\1\u00b4", "\1\u00b5", "\1\u00b6", "\1\u00b7", - "\1\u00b8", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u00b9", "\1\u00ba", "\1\u00bb", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00bc", "\1\u00bd", "\1\u00be", "\1\u00bf", "\1\u00c0", - "\1\u00c1", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "", "\1\u00c2", "\1\u00c3", - "\1\u00c4", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00c5", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00c6", "\1\u00c7", "\1\u00c8", - "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00c9", "\1\u00ca", - "\12\56\7\uffff\14\56\1\u00cb\15\56\4\uffff\1\56\1\uffff\32"+ - "\56", + "\1\u00cb", + "\1\u00cc", "\1\u00cd", - "\1\u00ce", - "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00cf", "\1\u00d0", - "\1\u00d1", + "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00d2", - "\1\u00d3", - "\1\u00d4", + "\12\60\7\uffff\14\60\1\u00d3\15\60\4\uffff\1\60\1\uffff\32"+ + "\60", "\1\u00d5", "\1\u00d6", "", "\1\u00d7", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "", + "\1\u00d8", "\1\u00d9", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00da", "\1\u00db", "\1\u00dc", "\1\u00dd", "\1\u00de", + "", "\1\u00df", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u00e1", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "", - "\1\u00e2", + "\1\u00e1", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00e3", - "", "\1\u00e4", "\1\u00e5", - "", "\1\u00e6", "\1\u00e7", - "\1\u00e8", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00e9", + "", "\1\u00ea", "\1\u00eb", + "", "\1\u00ec", "\1\u00ed", + "", "\1\u00ee", "\1\u00ef", "\1\u00f0", - "", "\1\u00f1", - "", "\1\u00f2", "\1\u00f3", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u00f4", "\1\u00f5", "\1\u00f6", - "", "\1\u00f7", "\1\u00f8", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\1\u00f9", + "", "\1\u00fa", "\1\u00fb", - "\1\u00fc", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u00fd", - "\1\u00fe\1\u00ff", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u0101", + "\1\u00fe", + "", + "\1\u00ff", + "\1\u0100", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u0102", "\1\u0103", "\1\u0104", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u0106", - "\1\u0107", - "\1\u0108", + "\1\u0105", + "\1\u0106\1\u0107", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u0109", "\1\u010a", - "", "\1\u010b", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u010d", + "\1\u010c", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u010e", - "", "\1\u010f", "\1\u0110", "\1\u0111", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u0113", - "\1\u0114", + "\1\u0112", "", + "\1\u0113", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u0115", "\1\u0116", + "", "\1\u0117", "\1\u0118", - "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0119", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u011b", "\1\u011c", + "", "\1\u011d", "\1\u011e", - "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u011f", "\1\u0120", - "\1\u0121", - "\1\u0122", - "\1\u0123", "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0123", "\1\u0124", "\1\u0125", "\1\u0126", - "\1\u0127", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u0129", "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0128", + "\1\u0129", + "\1\u012a", + "\1\u012b", "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u012c", "\1\u012d", - "", "\1\u012e", "\1\u012f", - "\1\u0130", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u0132", - "\1\u0133", - "\12\56\7\uffff\17\56\1\u0134\12\56\4\uffff\1\56\1\uffff\32"+ - "\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "", - "\1\u0137", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0131", "", "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0135", "", + "\1\u0136", + "\1\u0137", "\1\u0138", - "\1\u0139", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u013a", "\1\u013b", + "\12\60\7\uffff\17\60\1\u013c\12\60\4\uffff\1\60\1\uffff\32"+ + "\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "", + "\1\u013f", "", - "\1\u013c", - "\1\u013d", - "\1\u013e", "", "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u0140", "\1\u0141", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0143", "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", "\1\u0144", "\1\u0145", - "", - "", "\1\u0146", "", "", - "\1\u0147", - "\1\u0148", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", - "\1\u014a", - "\1\u014b", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0149", "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "\1\u014c", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "\1\u014d", + "", + "", "\1\u014e", "", - "\12\56\7\uffff\32\56\4\uffff\1\56\1\uffff\32\56", + "", + "\1\u014f", + "\1\u0150", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0152", + "\1\u0153", + "", + "\1\u0154", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", + "\1\u0156", + "", + "\12\60\7\uffff\32\60\4\uffff\1\60\1\uffff\32\60", "" }; @@ -2835,33 +2959,23 @@ public class InternalFSMLexer extends Lexer { this.transition = DFA16_transition; } public String getDescription() { - return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA16_37 = input.LA(1); + int LA16_39 = input.LA(1); s = -1; - if ( ((LA16_37>='\u0000' && LA16_37<='\uFFFF')) ) {s = 93;} + if ( ((LA16_39>='\u0000' && LA16_39<='\uFFFF')) ) {s = 98;} - else s = 41; + else s = 43; if ( s>=0 ) return s; break; case 1 : - int LA16_38 = input.LA(1); - - s = -1; - if ( ((LA16_38>='\u0000' && LA16_38<='\uFFFF')) ) {s = 93;} - - else s = 41; - - if ( s>=0 ) return s; - break; - case 2 : int LA16_0 = input.LA(1); s = -1; @@ -2913,39 +3027,53 @@ public class InternalFSMLexer extends Lexer { else if ( (LA16_0=='>') ) {s = 24;} - else if ( (LA16_0=='=') ) {s = 25;} + else if ( (LA16_0=='(') ) {s = 25;} else if ( (LA16_0==',') ) {s = 26;} - else if ( (LA16_0=='.') ) {s = 27;} + else if ( (LA16_0==')') ) {s = 27;} + + else if ( (LA16_0=='=') ) {s = 28;} + + else if ( (LA16_0=='.') ) {s = 29;} - else if ( (LA16_0=='[') ) {s = 28;} + else if ( (LA16_0=='[') ) {s = 30;} - else if ( (LA16_0==']') ) {s = 29;} + else if ( (LA16_0==']') ) {s = 31;} - else if ( (LA16_0=='f') ) {s = 30;} + else if ( (LA16_0=='f') ) {s = 32;} - else if ( (LA16_0=='+') ) {s = 31;} + else if ( (LA16_0=='+') ) {s = 33;} - else if ( (LA16_0=='p') ) {s = 32;} + else if ( (LA16_0=='p') ) {s = 34;} - else if ( (LA16_0=='0') ) {s = 33;} + else if ( (LA16_0=='0') ) {s = 35;} - else if ( (LA16_0=='^') ) {s = 34;} + else if ( (LA16_0=='^') ) {s = 36;} - else if ( ((LA16_0>='A' && LA16_0<='B')||LA16_0=='D'||(LA16_0>='F' && LA16_0<='L')||(LA16_0>='N' && LA16_0<='Q')||(LA16_0>='U' && LA16_0<='Z')||LA16_0=='_'||LA16_0=='b'||(LA16_0>='j' && LA16_0<='l')||LA16_0=='n'||(LA16_0>='q' && LA16_0<='r')||(LA16_0>='u' && LA16_0<='z')) ) {s = 35;} + else if ( ((LA16_0>='A' && LA16_0<='B')||LA16_0=='D'||(LA16_0>='F' && LA16_0<='L')||(LA16_0>='N' && LA16_0<='Q')||(LA16_0>='U' && LA16_0<='Z')||LA16_0=='_'||LA16_0=='b'||(LA16_0>='j' && LA16_0<='l')||LA16_0=='n'||(LA16_0>='q' && LA16_0<='r')||(LA16_0>='u' && LA16_0<='z')) ) {s = 37;} - else if ( ((LA16_0>='1' && LA16_0<='9')) ) {s = 36;} + else if ( ((LA16_0>='1' && LA16_0<='9')) ) {s = 38;} - else if ( (LA16_0=='\"') ) {s = 37;} + else if ( (LA16_0=='\"') ) {s = 39;} - else if ( (LA16_0=='\'') ) {s = 38;} + else if ( (LA16_0=='\'') ) {s = 40;} - else if ( (LA16_0=='/') ) {s = 39;} + else if ( (LA16_0=='/') ) {s = 41;} - else if ( ((LA16_0>='\t' && LA16_0<='\n')||LA16_0=='\r'||LA16_0==' ') ) {s = 40;} + else if ( ((LA16_0>='\t' && LA16_0<='\n')||LA16_0=='\r'||LA16_0==' ') ) {s = 42;} + + else if ( ((LA16_0>='\u0000' && LA16_0<='\b')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\u001F')||LA16_0=='!'||(LA16_0>='#' && LA16_0<='&')||LA16_0=='*'||LA16_0==';'||(LA16_0>='?' && LA16_0<='@')||LA16_0=='\\'||LA16_0=='`'||(LA16_0>='~' && LA16_0<='\uFFFF')) ) {s = 43;} + + if ( s>=0 ) return s; + break; + case 2 : + int LA16_40 = input.LA(1); + + s = -1; + if ( ((LA16_40>='\u0000' && LA16_40<='\uFFFF')) ) {s = 98;} - else if ( ((LA16_0>='\u0000' && LA16_0<='\b')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\u001F')||LA16_0=='!'||(LA16_0>='#' && LA16_0<='&')||(LA16_0>='(' && LA16_0<='*')||LA16_0==';'||(LA16_0>='?' && LA16_0<='@')||LA16_0=='\\'||LA16_0=='`'||(LA16_0>='~' && LA16_0<='\uFFFF')) ) {s = 41;} + else s = 43; if ( s>=0 ) return s; break; diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMParser.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMParser.java index f9ca8abdb..8842361df 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMParser.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSMParser.java @@ -22,11 +22,14 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalFSMParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract'", "'ModelComponent'", "'extends'", "'{'", "'}'", "'StateMachine'", "'State'", "'entry'", "'exit'", "'do'", "'subgraph'", "'RefinedState'", "'handler'", "'TransitionPoint'", "'EntryPoint'", "'ExitPoint'", "'ChoicePoint'", "'Transition'", "':'", "'initial'", "'->'", "'action'", "'triggers'", "'or'", "'guard'", "'cond'", "'RefinedTransition'", "'my'", "'of'", "'cp'", "'<'", "'|'", "'>'", "'='", "'optional'", "'mandatory'", "'attribute'", "','", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'eventdriven'", "'datadriven'", "'async'", "'sync'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract'", "'ModelComponent'", "'extends'", "'{'", "'}'", "'StateMachine'", "'State'", "'entry'", "'exit'", "'do'", "'subgraph'", "'RefinedState'", "'handler'", "'TransitionPoint'", "'EntryPoint'", "'ExitPoint'", "'ChoicePoint'", "'Transition'", "':'", "'initial'", "'->'", "'action'", "'triggers'", "'or'", "'guard'", "'cond'", "'RefinedTransition'", "'my'", "'of'", "'cp'", "'<'", "'|'", "'>'", "'in'", "'('", "','", "')'", "'out'", "'='", "'optional'", "'mandatory'", "'attribute'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'eventdriven'", "'datadriven'", "'async'", "'sync'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" }; + public static final int T__68=68; + public static final int T__69=69; public static final int RULE_EXP=8; public static final int RULE_ID=4; public static final int T__66=66; + public static final int T__67=67; public static final int T__64=64; public static final int T__29=29; public static final int T__65=65; @@ -83,6 +86,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { public static final int T__33=33; public static final int T__34=34; public static final int T__35=35; + public static final int T__70=70; public static final int T__36=36; public static final int T__37=37; public static final int T__38=38; @@ -183,7 +187,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { int alt1=2; int LA1_0 = input.LA(1); - if ( ((LA1_0>=13 && LA1_0<=14)||(LA1_0>=59 && LA1_0<=62)) ) { + if ( ((LA1_0>=13 && LA1_0<=14)||(LA1_0>=63 && LA1_0<=66)) ) { alt1=1; } @@ -323,7 +327,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { if ( LA2_0 ==13 && getUnorderedGroupHelper().canSelect(grammarAccess.getModelComponentAccess().getUnorderedGroup_0(), 0) ) { alt2=1; } - else if ( LA2_0 >=59 && LA2_0<=62 && getUnorderedGroupHelper().canSelect(grammarAccess.getModelComponentAccess().getUnorderedGroup_0(), 1) ) { + else if ( LA2_0 >=63 && LA2_0<=66 && getUnorderedGroupHelper().canSelect(grammarAccess.getModelComponentAccess().getUnorderedGroup_0(), 1) ) { alt2=2; } @@ -760,133 +764,8 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleStateGraphNode" - // $ANTLR start "entryRuleState" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:312:1: entryRuleState returns [EObject current=null] : iv_ruleState= ruleState EOF ; - public final EObject entryRuleState() throws RecognitionException { - EObject current = null; - - EObject iv_ruleState = null; - - - try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:313:2: (iv_ruleState= ruleState EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:314:2: iv_ruleState= ruleState EOF - { - newCompositeNode(grammarAccess.getStateRule()); - pushFollow(FOLLOW_ruleState_in_entryRuleState669); - iv_ruleState=ruleState(); - - state._fsp--; - - current =iv_ruleState; - match(input,EOF,FOLLOW_EOF_in_entryRuleState679); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "entryRuleState" - - - // $ANTLR start "ruleState" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:321:1: ruleState returns [EObject current=null] : (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) ; - public final EObject ruleState() throws RecognitionException { - EObject current = null; - - EObject this_SimpleState_0 = null; - - EObject this_RefinedState_1 = null; - - - enterRule(); - - try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:324:28: ( (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:1: (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) - { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:1: (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) - int alt5=2; - int LA5_0 = input.LA(1); - - if ( (LA5_0==19) ) { - alt5=1; - } - else if ( (LA5_0==24) ) { - alt5=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:326:5: this_SimpleState_0= ruleSimpleState - { - - newCompositeNode(grammarAccess.getStateAccess().getSimpleStateParserRuleCall_0()); - - pushFollow(FOLLOW_ruleSimpleState_in_ruleState726); - this_SimpleState_0=ruleSimpleState(); - - state._fsp--; - - - current = this_SimpleState_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:336:5: this_RefinedState_1= ruleRefinedState - { - - newCompositeNode(grammarAccess.getStateAccess().getRefinedStateParserRuleCall_1()); - - pushFollow(FOLLOW_ruleRefinedState_in_ruleState753); - this_RefinedState_1=ruleRefinedState(); - - state._fsp--; - - - current = this_RefinedState_1; - afterParserOrEnumRuleCall(); - - - } - break; - - } - - - } - - leaveRule(); - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end "ruleState" - - // $ANTLR start "entryRuleStateGraph" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:352:1: entryRuleStateGraph returns [EObject current=null] : iv_ruleStateGraph= ruleStateGraph EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:312:1: entryRuleStateGraph returns [EObject current=null] : iv_ruleStateGraph= ruleStateGraph EOF ; public final EObject entryRuleStateGraph() throws RecognitionException { EObject current = null; @@ -894,17 +773,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:353:2: (iv_ruleStateGraph= ruleStateGraph EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:354:2: iv_ruleStateGraph= ruleStateGraph EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:313:2: (iv_ruleStateGraph= ruleStateGraph EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:314:2: iv_ruleStateGraph= ruleStateGraph EOF { newCompositeNode(grammarAccess.getStateGraphRule()); - pushFollow(FOLLOW_ruleStateGraph_in_entryRuleStateGraph788); + pushFollow(FOLLOW_ruleStateGraph_in_entryRuleStateGraph669); iv_ruleStateGraph=ruleStateGraph(); state._fsp--; current =iv_ruleStateGraph; - match(input,EOF,FOLLOW_EOF_in_entryRuleStateGraph798); + match(input,EOF,FOLLOW_EOF_in_entryRuleStateGraph679); } @@ -922,7 +801,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStateGraph" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:361:1: ruleStateGraph returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:321:1: ruleStateGraph returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) ; public final EObject ruleStateGraph() throws RecognitionException { EObject current = null; @@ -942,14 +821,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:364:28: ( ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:365:1: ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:324:28: ( ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:1: ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:365:1: ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:365:2: () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:1: ( () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:2: () otherlv_1= '{' ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* otherlv_7= '}' { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:365:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:366:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:325:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:326:5: { current = forceCreateModelElement( @@ -959,19 +838,19 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleStateGraph844); + otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleStateGraph725); newLeafNode(otherlv_1, grammarAccess.getStateGraphAccess().getLeftCurlyBracketKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:375:1: ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* - loop6: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:335:1: ( ( (lv_states_2_0= ruleState ) ) | ( (lv_trPoints_3_0= ruleTrPoint ) ) | ( (lv_chPoints_4_0= ruleChoicePoint ) ) | ( (lv_transitions_5_0= ruleTransition ) ) | ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) )* + loop5: do { - int alt6=6; + int alt5=6; switch ( input.LA(1) ) { case 19: case 24: { - alt6=1; + alt5=1; } break; case 25: @@ -979,41 +858,41 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { case 27: case 28: { - alt6=2; + alt5=2; } break; case 29: { - alt6=3; + alt5=3; } break; case 30: { - alt6=4; + alt5=4; } break; case 39: { - alt6=5; + alt5=5; } break; } - switch (alt6) { + switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:375:2: ( (lv_states_2_0= ruleState ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:335:2: ( (lv_states_2_0= ruleState ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:375:2: ( (lv_states_2_0= ruleState ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:376:1: (lv_states_2_0= ruleState ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:335:2: ( (lv_states_2_0= ruleState ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:336:1: (lv_states_2_0= ruleState ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:376:1: (lv_states_2_0= ruleState ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:377:3: lv_states_2_0= ruleState + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:336:1: (lv_states_2_0= ruleState ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:337:3: lv_states_2_0= ruleState { newCompositeNode(grammarAccess.getStateGraphAccess().getStatesStateParserRuleCall_2_0_0()); - pushFollow(FOLLOW_ruleState_in_ruleStateGraph866); + pushFollow(FOLLOW_ruleState_in_ruleStateGraph747); lv_states_2_0=ruleState(); state._fsp--; @@ -1039,18 +918,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:394:6: ( (lv_trPoints_3_0= ruleTrPoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:354:6: ( (lv_trPoints_3_0= ruleTrPoint ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:394:6: ( (lv_trPoints_3_0= ruleTrPoint ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:395:1: (lv_trPoints_3_0= ruleTrPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:354:6: ( (lv_trPoints_3_0= ruleTrPoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:355:1: (lv_trPoints_3_0= ruleTrPoint ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:395:1: (lv_trPoints_3_0= ruleTrPoint ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:396:3: lv_trPoints_3_0= ruleTrPoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:355:1: (lv_trPoints_3_0= ruleTrPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:356:3: lv_trPoints_3_0= ruleTrPoint { newCompositeNode(grammarAccess.getStateGraphAccess().getTrPointsTrPointParserRuleCall_2_1_0()); - pushFollow(FOLLOW_ruleTrPoint_in_ruleStateGraph893); + pushFollow(FOLLOW_ruleTrPoint_in_ruleStateGraph774); lv_trPoints_3_0=ruleTrPoint(); state._fsp--; @@ -1076,18 +955,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:413:6: ( (lv_chPoints_4_0= ruleChoicePoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:373:6: ( (lv_chPoints_4_0= ruleChoicePoint ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:413:6: ( (lv_chPoints_4_0= ruleChoicePoint ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:414:1: (lv_chPoints_4_0= ruleChoicePoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:373:6: ( (lv_chPoints_4_0= ruleChoicePoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:374:1: (lv_chPoints_4_0= ruleChoicePoint ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:414:1: (lv_chPoints_4_0= ruleChoicePoint ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:415:3: lv_chPoints_4_0= ruleChoicePoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:374:1: (lv_chPoints_4_0= ruleChoicePoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:375:3: lv_chPoints_4_0= ruleChoicePoint { newCompositeNode(grammarAccess.getStateGraphAccess().getChPointsChoicePointParserRuleCall_2_2_0()); - pushFollow(FOLLOW_ruleChoicePoint_in_ruleStateGraph920); + pushFollow(FOLLOW_ruleChoicePoint_in_ruleStateGraph801); lv_chPoints_4_0=ruleChoicePoint(); state._fsp--; @@ -1113,18 +992,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:432:6: ( (lv_transitions_5_0= ruleTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:392:6: ( (lv_transitions_5_0= ruleTransition ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:432:6: ( (lv_transitions_5_0= ruleTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:433:1: (lv_transitions_5_0= ruleTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:392:6: ( (lv_transitions_5_0= ruleTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:393:1: (lv_transitions_5_0= ruleTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:433:1: (lv_transitions_5_0= ruleTransition ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:434:3: lv_transitions_5_0= ruleTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:393:1: (lv_transitions_5_0= ruleTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:394:3: lv_transitions_5_0= ruleTransition { newCompositeNode(grammarAccess.getStateGraphAccess().getTransitionsTransitionParserRuleCall_2_3_0()); - pushFollow(FOLLOW_ruleTransition_in_ruleStateGraph947); + pushFollow(FOLLOW_ruleTransition_in_ruleStateGraph828); lv_transitions_5_0=ruleTransition(); state._fsp--; @@ -1150,18 +1029,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 5 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:451:6: ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:411:6: ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:451:6: ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:452:1: (lv_refinedTransitions_6_0= ruleRefinedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:411:6: ( (lv_refinedTransitions_6_0= ruleRefinedTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:412:1: (lv_refinedTransitions_6_0= ruleRefinedTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:452:1: (lv_refinedTransitions_6_0= ruleRefinedTransition ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:453:3: lv_refinedTransitions_6_0= ruleRefinedTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:412:1: (lv_refinedTransitions_6_0= ruleRefinedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:413:3: lv_refinedTransitions_6_0= ruleRefinedTransition { newCompositeNode(grammarAccess.getStateGraphAccess().getRefinedTransitionsRefinedTransitionParserRuleCall_2_4_0()); - pushFollow(FOLLOW_ruleRefinedTransition_in_ruleStateGraph974); + pushFollow(FOLLOW_ruleRefinedTransition_in_ruleStateGraph855); lv_refinedTransitions_6_0=ruleRefinedTransition(); state._fsp--; @@ -1188,11 +1067,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; default : - break loop6; + break loop5; } } while (true); - otherlv_7=(Token)match(input,17,FOLLOW_17_in_ruleStateGraph988); + otherlv_7=(Token)match(input,17,FOLLOW_17_in_ruleStateGraph869); newLeafNode(otherlv_7, grammarAccess.getStateGraphAccess().getRightCurlyBracketKeyword_3()); @@ -1217,7 +1096,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStateMachine" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:481:1: entryRuleStateMachine returns [EObject current=null] : iv_ruleStateMachine= ruleStateMachine EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:441:1: entryRuleStateMachine returns [EObject current=null] : iv_ruleStateMachine= ruleStateMachine EOF ; public final EObject entryRuleStateMachine() throws RecognitionException { EObject current = null; @@ -1225,17 +1104,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:482:2: (iv_ruleStateMachine= ruleStateMachine EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:483:2: iv_ruleStateMachine= ruleStateMachine EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:442:2: (iv_ruleStateMachine= ruleStateMachine EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:443:2: iv_ruleStateMachine= ruleStateMachine EOF { newCompositeNode(grammarAccess.getStateMachineRule()); - pushFollow(FOLLOW_ruleStateMachine_in_entryRuleStateMachine1024); + pushFollow(FOLLOW_ruleStateMachine_in_entryRuleStateMachine905); iv_ruleStateMachine=ruleStateMachine(); state._fsp--; current =iv_ruleStateMachine; - match(input,EOF,FOLLOW_EOF_in_entryRuleStateMachine1034); + match(input,EOF,FOLLOW_EOF_in_entryRuleStateMachine915); } @@ -1253,7 +1132,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStateMachine" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:490:1: ruleStateMachine returns [EObject current=null] : ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:450:1: ruleStateMachine returns [EObject current=null] : ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) ; public final EObject ruleStateMachine() throws RecognitionException { EObject current = null; @@ -1274,14 +1153,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:493:28: ( ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:494:1: ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:453:28: ( ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:454:1: ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:494:1: ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:494:2: () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:454:1: ( () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:454:2: () otherlv_1= 'StateMachine' otherlv_2= '{' ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* otherlv_8= '}' { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:494:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:495:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:454:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:455:5: { current = forceCreateModelElement( @@ -1291,23 +1170,23 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,18,FOLLOW_18_in_ruleStateMachine1080); + otherlv_1=(Token)match(input,18,FOLLOW_18_in_ruleStateMachine961); newLeafNode(otherlv_1, grammarAccess.getStateMachineAccess().getStateMachineKeyword_1()); - otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleStateMachine1092); + otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleStateMachine973); newLeafNode(otherlv_2, grammarAccess.getStateMachineAccess().getLeftCurlyBracketKeyword_2()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:508:1: ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* - loop7: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:468:1: ( ( (lv_states_3_0= ruleState ) ) | ( (lv_trPoints_4_0= ruleTrPoint ) ) | ( (lv_chPoints_5_0= ruleChoicePoint ) ) | ( (lv_transitions_6_0= ruleTransition ) ) | ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) )* + loop6: do { - int alt7=6; + int alt6=6; switch ( input.LA(1) ) { case 19: case 24: { - alt7=1; + alt6=1; } break; case 25: @@ -1315,41 +1194,41 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { case 27: case 28: { - alt7=2; + alt6=2; } break; case 29: { - alt7=3; + alt6=3; } break; case 30: { - alt7=4; + alt6=4; } break; case 39: { - alt7=5; + alt6=5; } break; } - switch (alt7) { + switch (alt6) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:508:2: ( (lv_states_3_0= ruleState ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:468:2: ( (lv_states_3_0= ruleState ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:508:2: ( (lv_states_3_0= ruleState ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:509:1: (lv_states_3_0= ruleState ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:468:2: ( (lv_states_3_0= ruleState ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:469:1: (lv_states_3_0= ruleState ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:509:1: (lv_states_3_0= ruleState ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:510:3: lv_states_3_0= ruleState + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:469:1: (lv_states_3_0= ruleState ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:470:3: lv_states_3_0= ruleState { newCompositeNode(grammarAccess.getStateMachineAccess().getStatesStateParserRuleCall_3_0_0()); - pushFollow(FOLLOW_ruleState_in_ruleStateMachine1114); + pushFollow(FOLLOW_ruleState_in_ruleStateMachine995); lv_states_3_0=ruleState(); state._fsp--; @@ -1375,18 +1254,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:527:6: ( (lv_trPoints_4_0= ruleTrPoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:487:6: ( (lv_trPoints_4_0= ruleTrPoint ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:527:6: ( (lv_trPoints_4_0= ruleTrPoint ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:528:1: (lv_trPoints_4_0= ruleTrPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:487:6: ( (lv_trPoints_4_0= ruleTrPoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:488:1: (lv_trPoints_4_0= ruleTrPoint ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:528:1: (lv_trPoints_4_0= ruleTrPoint ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:529:3: lv_trPoints_4_0= ruleTrPoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:488:1: (lv_trPoints_4_0= ruleTrPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:489:3: lv_trPoints_4_0= ruleTrPoint { newCompositeNode(grammarAccess.getStateMachineAccess().getTrPointsTrPointParserRuleCall_3_1_0()); - pushFollow(FOLLOW_ruleTrPoint_in_ruleStateMachine1141); + pushFollow(FOLLOW_ruleTrPoint_in_ruleStateMachine1022); lv_trPoints_4_0=ruleTrPoint(); state._fsp--; @@ -1412,18 +1291,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:546:6: ( (lv_chPoints_5_0= ruleChoicePoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:506:6: ( (lv_chPoints_5_0= ruleChoicePoint ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:546:6: ( (lv_chPoints_5_0= ruleChoicePoint ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:547:1: (lv_chPoints_5_0= ruleChoicePoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:506:6: ( (lv_chPoints_5_0= ruleChoicePoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:507:1: (lv_chPoints_5_0= ruleChoicePoint ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:547:1: (lv_chPoints_5_0= ruleChoicePoint ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:548:3: lv_chPoints_5_0= ruleChoicePoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:507:1: (lv_chPoints_5_0= ruleChoicePoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:508:3: lv_chPoints_5_0= ruleChoicePoint { newCompositeNode(grammarAccess.getStateMachineAccess().getChPointsChoicePointParserRuleCall_3_2_0()); - pushFollow(FOLLOW_ruleChoicePoint_in_ruleStateMachine1168); + pushFollow(FOLLOW_ruleChoicePoint_in_ruleStateMachine1049); lv_chPoints_5_0=ruleChoicePoint(); state._fsp--; @@ -1449,18 +1328,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:565:6: ( (lv_transitions_6_0= ruleTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:525:6: ( (lv_transitions_6_0= ruleTransition ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:565:6: ( (lv_transitions_6_0= ruleTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:566:1: (lv_transitions_6_0= ruleTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:525:6: ( (lv_transitions_6_0= ruleTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:526:1: (lv_transitions_6_0= ruleTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:566:1: (lv_transitions_6_0= ruleTransition ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:567:3: lv_transitions_6_0= ruleTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:526:1: (lv_transitions_6_0= ruleTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:527:3: lv_transitions_6_0= ruleTransition { newCompositeNode(grammarAccess.getStateMachineAccess().getTransitionsTransitionParserRuleCall_3_3_0()); - pushFollow(FOLLOW_ruleTransition_in_ruleStateMachine1195); + pushFollow(FOLLOW_ruleTransition_in_ruleStateMachine1076); lv_transitions_6_0=ruleTransition(); state._fsp--; @@ -1486,18 +1365,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 5 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:584:6: ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:544:6: ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:584:6: ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:585:1: (lv_refinedTransitions_7_0= ruleRefinedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:544:6: ( (lv_refinedTransitions_7_0= ruleRefinedTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:545:1: (lv_refinedTransitions_7_0= ruleRefinedTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:585:1: (lv_refinedTransitions_7_0= ruleRefinedTransition ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:586:3: lv_refinedTransitions_7_0= ruleRefinedTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:545:1: (lv_refinedTransitions_7_0= ruleRefinedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:546:3: lv_refinedTransitions_7_0= ruleRefinedTransition { newCompositeNode(grammarAccess.getStateMachineAccess().getRefinedTransitionsRefinedTransitionParserRuleCall_3_4_0()); - pushFollow(FOLLOW_ruleRefinedTransition_in_ruleStateMachine1222); + pushFollow(FOLLOW_ruleRefinedTransition_in_ruleStateMachine1103); lv_refinedTransitions_7_0=ruleRefinedTransition(); state._fsp--; @@ -1524,11 +1403,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; default : - break loop7; + break loop6; } } while (true); - otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleStateMachine1236); + otherlv_8=(Token)match(input,17,FOLLOW_17_in_ruleStateMachine1117); newLeafNode(otherlv_8, grammarAccess.getStateMachineAccess().getRightCurlyBracketKeyword_4()); @@ -1552,6 +1431,131 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleStateMachine" + // $ANTLR start "entryRuleState" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:574:1: entryRuleState returns [EObject current=null] : iv_ruleState= ruleState EOF ; + public final EObject entryRuleState() throws RecognitionException { + EObject current = null; + + EObject iv_ruleState = null; + + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:575:2: (iv_ruleState= ruleState EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:576:2: iv_ruleState= ruleState EOF + { + newCompositeNode(grammarAccess.getStateRule()); + pushFollow(FOLLOW_ruleState_in_entryRuleState1153); + iv_ruleState=ruleState(); + + state._fsp--; + + current =iv_ruleState; + match(input,EOF,FOLLOW_EOF_in_entryRuleState1163); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleState" + + + // $ANTLR start "ruleState" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:583:1: ruleState returns [EObject current=null] : (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) ; + public final EObject ruleState() throws RecognitionException { + EObject current = null; + + EObject this_SimpleState_0 = null; + + EObject this_RefinedState_1 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:586:28: ( (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:587:1: (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:587:1: (this_SimpleState_0= ruleSimpleState | this_RefinedState_1= ruleRefinedState ) + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==19) ) { + alt7=1; + } + else if ( (LA7_0==24) ) { + alt7=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); + + throw nvae; + } + switch (alt7) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:588:5: this_SimpleState_0= ruleSimpleState + { + + newCompositeNode(grammarAccess.getStateAccess().getSimpleStateParserRuleCall_0()); + + pushFollow(FOLLOW_ruleSimpleState_in_ruleState1210); + this_SimpleState_0=ruleSimpleState(); + + state._fsp--; + + + current = this_SimpleState_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:598:5: this_RefinedState_1= ruleRefinedState + { + + newCompositeNode(grammarAccess.getStateAccess().getRefinedStateParserRuleCall_1()); + + pushFollow(FOLLOW_ruleRefinedState_in_ruleState1237); + this_RefinedState_1=ruleRefinedState(); + + state._fsp--; + + + current = this_RefinedState_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleState" + + // $ANTLR start "entryRuleSimpleState" // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:614:1: entryRuleSimpleState returns [EObject current=null] : iv_ruleSimpleState= ruleSimpleState EOF ; public final EObject entryRuleSimpleState() throws RecognitionException { @@ -1655,7 +1659,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { int alt8=2; int LA8_0 = input.LA(1); - if ( (LA8_0==52) ) { + if ( (LA8_0==56) ) { alt8=1; } switch (alt8) { @@ -2050,7 +2054,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { int alt14=2; int LA14_0 = input.LA(1); - if ( (LA14_0==52) ) { + if ( (LA14_0==56) ) { alt14=1; } switch (alt14) { @@ -2361,22 +2365,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDetailCode" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:934:1: ruleDetailCode returns [EObject current=null] : ( () otherlv_1= '{' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:934:1: ruleDetailCode returns [EObject current=null] : ( () ( (lv_used_1_0= '{' ) ) ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) ; public final EObject ruleDetailCode() throws RecognitionException { EObject current = null; - Token otherlv_1=null; + Token lv_used_1_0=null; Token lv_lines_2_0=null; Token otherlv_3=null; enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:937:28: ( ( () otherlv_1= '{' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:1: ( () otherlv_1= '{' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:937:28: ( ( () ( (lv_used_1_0= '{' ) ) ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:1: ( () ( (lv_used_1_0= '{' ) ) ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:1: ( () otherlv_1= '{' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:2: () otherlv_1= '{' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:1: ( () ( (lv_used_1_0= '{' ) ) ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:2: () ( (lv_used_1_0= '{' ) ) ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= '}' { // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:938:2: () // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:939:5: @@ -2389,11 +2393,29 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleDetailCode1922); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:944:2: ( (lv_used_1_0= '{' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:945:1: (lv_used_1_0= '{' ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:945:1: (lv_used_1_0= '{' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:946:3: lv_used_1_0= '{' + { + lv_used_1_0=(Token)match(input,16,FOLLOW_16_in_ruleDetailCode1928); - newLeafNode(otherlv_1, grammarAccess.getDetailCodeAccess().getLeftCurlyBracketKeyword_1()); + newLeafNode(lv_used_1_0, grammarAccess.getDetailCodeAccess().getUsedLeftCurlyBracketKeyword_1_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:948:1: ( (lv_lines_2_0= RULE_STRING ) )* + + if (current==null) { + current = createModelElement(grammarAccess.getDetailCodeRule()); + } + setWithLastConsumed(current, "used", true, "{"); + + + } + + + } + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:959:2: ( (lv_lines_2_0= RULE_STRING ) )* loop19: do { int alt19=2; @@ -2406,12 +2428,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { switch (alt19) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:949:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:960:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:949:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:950:3: lv_lines_2_0= RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:960:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:961:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDetailCode1939); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDetailCode1958); newLeafNode(lv_lines_2_0, grammarAccess.getDetailCodeAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -2437,7 +2459,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleDetailCode1957); + otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleDetailCode1976); newLeafNode(otherlv_3, grammarAccess.getDetailCodeAccess().getRightCurlyBracketKeyword_3()); @@ -2462,7 +2484,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTrPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:978:1: entryRuleTrPoint returns [EObject current=null] : iv_ruleTrPoint= ruleTrPoint EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:989:1: entryRuleTrPoint returns [EObject current=null] : iv_ruleTrPoint= ruleTrPoint EOF ; public final EObject entryRuleTrPoint() throws RecognitionException { EObject current = null; @@ -2470,17 +2492,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:979:2: (iv_ruleTrPoint= ruleTrPoint EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:980:2: iv_ruleTrPoint= ruleTrPoint EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:990:2: (iv_ruleTrPoint= ruleTrPoint EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:991:2: iv_ruleTrPoint= ruleTrPoint EOF { newCompositeNode(grammarAccess.getTrPointRule()); - pushFollow(FOLLOW_ruleTrPoint_in_entryRuleTrPoint1993); + pushFollow(FOLLOW_ruleTrPoint_in_entryRuleTrPoint2012); iv_ruleTrPoint=ruleTrPoint(); state._fsp--; current =iv_ruleTrPoint; - match(input,EOF,FOLLOW_EOF_in_entryRuleTrPoint2003); + match(input,EOF,FOLLOW_EOF_in_entryRuleTrPoint2022); } @@ -2498,7 +2520,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTrPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:987:1: ruleTrPoint returns [EObject current=null] : (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:998:1: ruleTrPoint returns [EObject current=null] : (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) ; public final EObject ruleTrPoint() throws RecognitionException { EObject current = null; @@ -2512,10 +2534,10 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:990:28: ( (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:991:1: (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1001:28: ( (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1002:1: (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:991:1: (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1002:1: (this_TransitionPoint_0= ruleTransitionPoint | this_EntryPoint_1= ruleEntryPoint | this_ExitPoint_2= ruleExitPoint ) int alt20=3; switch ( input.LA(1) ) { case 25: @@ -2543,12 +2565,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { switch (alt20) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:992:5: this_TransitionPoint_0= ruleTransitionPoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1003:5: this_TransitionPoint_0= ruleTransitionPoint { newCompositeNode(grammarAccess.getTrPointAccess().getTransitionPointParserRuleCall_0()); - pushFollow(FOLLOW_ruleTransitionPoint_in_ruleTrPoint2050); + pushFollow(FOLLOW_ruleTransitionPoint_in_ruleTrPoint2069); this_TransitionPoint_0=ruleTransitionPoint(); state._fsp--; @@ -2561,12 +2583,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1002:5: this_EntryPoint_1= ruleEntryPoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1013:5: this_EntryPoint_1= ruleEntryPoint { newCompositeNode(grammarAccess.getTrPointAccess().getEntryPointParserRuleCall_1()); - pushFollow(FOLLOW_ruleEntryPoint_in_ruleTrPoint2077); + pushFollow(FOLLOW_ruleEntryPoint_in_ruleTrPoint2096); this_EntryPoint_1=ruleEntryPoint(); state._fsp--; @@ -2579,12 +2601,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1012:5: this_ExitPoint_2= ruleExitPoint + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1023:5: this_ExitPoint_2= ruleExitPoint { newCompositeNode(grammarAccess.getTrPointAccess().getExitPointParserRuleCall_2()); - pushFollow(FOLLOW_ruleExitPoint_in_ruleTrPoint2104); + pushFollow(FOLLOW_ruleExitPoint_in_ruleTrPoint2123); this_ExitPoint_2=ruleExitPoint(); state._fsp--; @@ -2617,7 +2639,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTransitionPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1028:1: entryRuleTransitionPoint returns [EObject current=null] : iv_ruleTransitionPoint= ruleTransitionPoint EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1039:1: entryRuleTransitionPoint returns [EObject current=null] : iv_ruleTransitionPoint= ruleTransitionPoint EOF ; public final EObject entryRuleTransitionPoint() throws RecognitionException { EObject current = null; @@ -2625,17 +2647,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1029:2: (iv_ruleTransitionPoint= ruleTransitionPoint EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1030:2: iv_ruleTransitionPoint= ruleTransitionPoint EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1040:2: (iv_ruleTransitionPoint= ruleTransitionPoint EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1041:2: iv_ruleTransitionPoint= ruleTransitionPoint EOF { newCompositeNode(grammarAccess.getTransitionPointRule()); - pushFollow(FOLLOW_ruleTransitionPoint_in_entryRuleTransitionPoint2139); + pushFollow(FOLLOW_ruleTransitionPoint_in_entryRuleTransitionPoint2158); iv_ruleTransitionPoint=ruleTransitionPoint(); state._fsp--; current =iv_ruleTransitionPoint; - match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionPoint2149); + match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionPoint2168); } @@ -2653,7 +2675,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTransitionPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1037:1: ruleTransitionPoint returns [EObject current=null] : ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1048:1: ruleTransitionPoint returns [EObject current=null] : ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) ; public final EObject ruleTransitionPoint() throws RecognitionException { EObject current = null; @@ -2664,13 +2686,13 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1040:28: ( ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1041:1: ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1051:28: ( ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1052:1: ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1041:1: ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1041:2: ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1052:1: ( ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1052:2: ( (lv_handler_0_0= 'handler' ) )? otherlv_1= 'TransitionPoint' ( (lv_name_2_0= RULE_ID ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1041:2: ( (lv_handler_0_0= 'handler' ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1052:2: ( (lv_handler_0_0= 'handler' ) )? int alt21=2; int LA21_0 = input.LA(1); @@ -2679,12 +2701,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt21) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1042:1: (lv_handler_0_0= 'handler' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1053:1: (lv_handler_0_0= 'handler' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1042:1: (lv_handler_0_0= 'handler' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1043:3: lv_handler_0_0= 'handler' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1053:1: (lv_handler_0_0= 'handler' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1054:3: lv_handler_0_0= 'handler' { - lv_handler_0_0=(Token)match(input,25,FOLLOW_25_in_ruleTransitionPoint2192); + lv_handler_0_0=(Token)match(input,25,FOLLOW_25_in_ruleTransitionPoint2211); newLeafNode(lv_handler_0_0, grammarAccess.getTransitionPointAccess().getHandlerHandlerKeyword_0_0()); @@ -2703,17 +2725,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleTransitionPoint2218); + otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleTransitionPoint2237); newLeafNode(otherlv_1, grammarAccess.getTransitionPointAccess().getTransitionPointKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1060:1: ( (lv_name_2_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1061:1: (lv_name_2_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1071:1: ( (lv_name_2_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1072:1: (lv_name_2_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1061:1: (lv_name_2_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1062:3: lv_name_2_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1072:1: (lv_name_2_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1073:3: lv_name_2_0= RULE_ID { - lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTransitionPoint2235); + lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTransitionPoint2254); newLeafNode(lv_name_2_0, grammarAccess.getTransitionPointAccess().getNameIDTerminalRuleCall_2_0()); @@ -2754,7 +2776,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleEntryPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1086:1: entryRuleEntryPoint returns [EObject current=null] : iv_ruleEntryPoint= ruleEntryPoint EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1097:1: entryRuleEntryPoint returns [EObject current=null] : iv_ruleEntryPoint= ruleEntryPoint EOF ; public final EObject entryRuleEntryPoint() throws RecognitionException { EObject current = null; @@ -2762,17 +2784,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1087:2: (iv_ruleEntryPoint= ruleEntryPoint EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1088:2: iv_ruleEntryPoint= ruleEntryPoint EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1098:2: (iv_ruleEntryPoint= ruleEntryPoint EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1099:2: iv_ruleEntryPoint= ruleEntryPoint EOF { newCompositeNode(grammarAccess.getEntryPointRule()); - pushFollow(FOLLOW_ruleEntryPoint_in_entryRuleEntryPoint2276); + pushFollow(FOLLOW_ruleEntryPoint_in_entryRuleEntryPoint2295); iv_ruleEntryPoint=ruleEntryPoint(); state._fsp--; current =iv_ruleEntryPoint; - match(input,EOF,FOLLOW_EOF_in_entryRuleEntryPoint2286); + match(input,EOF,FOLLOW_EOF_in_entryRuleEntryPoint2305); } @@ -2790,7 +2812,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleEntryPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1095:1: ruleEntryPoint returns [EObject current=null] : (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1106:1: ruleEntryPoint returns [EObject current=null] : (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) ; public final EObject ruleEntryPoint() throws RecognitionException { EObject current = null; @@ -2800,23 +2822,23 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1098:28: ( (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1099:1: (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1109:28: ( (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1110:1: (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1099:1: (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1099:3: otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1110:1: (otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1110:3: otherlv_0= 'EntryPoint' ( (lv_name_1_0= RULE_ID ) ) { - otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleEntryPoint2323); + otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleEntryPoint2342); newLeafNode(otherlv_0, grammarAccess.getEntryPointAccess().getEntryPointKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1103:1: ( (lv_name_1_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1104:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1114:1: ( (lv_name_1_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1115:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1104:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1105:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1115:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1116:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntryPoint2340); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEntryPoint2359); newLeafNode(lv_name_1_0, grammarAccess.getEntryPointAccess().getNameIDTerminalRuleCall_1_0()); @@ -2857,7 +2879,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleExitPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1129:1: entryRuleExitPoint returns [EObject current=null] : iv_ruleExitPoint= ruleExitPoint EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1140:1: entryRuleExitPoint returns [EObject current=null] : iv_ruleExitPoint= ruleExitPoint EOF ; public final EObject entryRuleExitPoint() throws RecognitionException { EObject current = null; @@ -2865,17 +2887,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1130:2: (iv_ruleExitPoint= ruleExitPoint EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1131:2: iv_ruleExitPoint= ruleExitPoint EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1141:2: (iv_ruleExitPoint= ruleExitPoint EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1142:2: iv_ruleExitPoint= ruleExitPoint EOF { newCompositeNode(grammarAccess.getExitPointRule()); - pushFollow(FOLLOW_ruleExitPoint_in_entryRuleExitPoint2381); + pushFollow(FOLLOW_ruleExitPoint_in_entryRuleExitPoint2400); iv_ruleExitPoint=ruleExitPoint(); state._fsp--; current =iv_ruleExitPoint; - match(input,EOF,FOLLOW_EOF_in_entryRuleExitPoint2391); + match(input,EOF,FOLLOW_EOF_in_entryRuleExitPoint2410); } @@ -2893,7 +2915,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleExitPoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1138:1: ruleExitPoint returns [EObject current=null] : (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1149:1: ruleExitPoint returns [EObject current=null] : (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) ; public final EObject ruleExitPoint() throws RecognitionException { EObject current = null; @@ -2903,23 +2925,23 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1141:28: ( (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1142:1: (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1152:28: ( (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1153:1: (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1142:1: (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1142:3: otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1153:1: (otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1153:3: otherlv_0= 'ExitPoint' ( (lv_name_1_0= RULE_ID ) ) { - otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleExitPoint2428); + otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleExitPoint2447); newLeafNode(otherlv_0, grammarAccess.getExitPointAccess().getExitPointKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1146:1: ( (lv_name_1_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1147:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1157:1: ( (lv_name_1_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1158:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1147:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1148:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1158:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1159:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleExitPoint2445); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleExitPoint2464); newLeafNode(lv_name_1_0, grammarAccess.getExitPointAccess().getNameIDTerminalRuleCall_1_0()); @@ -2960,7 +2982,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleChoicePoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1172:1: entryRuleChoicePoint returns [EObject current=null] : iv_ruleChoicePoint= ruleChoicePoint EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1183:1: entryRuleChoicePoint returns [EObject current=null] : iv_ruleChoicePoint= ruleChoicePoint EOF ; public final EObject entryRuleChoicePoint() throws RecognitionException { EObject current = null; @@ -2968,17 +2990,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1173:2: (iv_ruleChoicePoint= ruleChoicePoint EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1174:2: iv_ruleChoicePoint= ruleChoicePoint EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1184:2: (iv_ruleChoicePoint= ruleChoicePoint EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1185:2: iv_ruleChoicePoint= ruleChoicePoint EOF { newCompositeNode(grammarAccess.getChoicePointRule()); - pushFollow(FOLLOW_ruleChoicePoint_in_entryRuleChoicePoint2486); + pushFollow(FOLLOW_ruleChoicePoint_in_entryRuleChoicePoint2505); iv_ruleChoicePoint=ruleChoicePoint(); state._fsp--; current =iv_ruleChoicePoint; - match(input,EOF,FOLLOW_EOF_in_entryRuleChoicePoint2496); + match(input,EOF,FOLLOW_EOF_in_entryRuleChoicePoint2515); } @@ -2996,7 +3018,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleChoicePoint" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1181:1: ruleChoicePoint returns [EObject current=null] : (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1192:1: ruleChoicePoint returns [EObject current=null] : (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) ; public final EObject ruleChoicePoint() throws RecognitionException { EObject current = null; @@ -3008,23 +3030,23 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1184:28: ( (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1185:1: (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1195:28: ( (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1196:1: (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1185:1: (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1185:3: otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1196:1: (otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1196:3: otherlv_0= 'ChoicePoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_docu_2_0= ruleDocumentation ) )? { - otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleChoicePoint2533); + otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleChoicePoint2552); newLeafNode(otherlv_0, grammarAccess.getChoicePointAccess().getChoicePointKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1189:1: ( (lv_name_1_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1190:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1200:1: ( (lv_name_1_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1201:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1190:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1191:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1201:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1202:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChoicePoint2550); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChoicePoint2569); newLeafNode(lv_name_1_0, grammarAccess.getChoicePointAccess().getNameIDTerminalRuleCall_1_0()); @@ -3044,24 +3066,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1207:2: ( (lv_docu_2_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1218:2: ( (lv_docu_2_0= ruleDocumentation ) )? int alt22=2; int LA22_0 = input.LA(1); - if ( (LA22_0==52) ) { + if ( (LA22_0==56) ) { alt22=1; } switch (alt22) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1208:1: (lv_docu_2_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1219:1: (lv_docu_2_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1208:1: (lv_docu_2_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1209:3: lv_docu_2_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1219:1: (lv_docu_2_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1220:3: lv_docu_2_0= ruleDocumentation { newCompositeNode(grammarAccess.getChoicePointAccess().getDocuDocumentationParserRuleCall_2_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleChoicePoint2576); + pushFollow(FOLLOW_ruleDocumentation_in_ruleChoicePoint2595); lv_docu_2_0=ruleDocumentation(); state._fsp--; @@ -3107,7 +3129,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1233:1: entryRuleTransition returns [EObject current=null] : iv_ruleTransition= ruleTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1244:1: entryRuleTransition returns [EObject current=null] : iv_ruleTransition= ruleTransition EOF ; public final EObject entryRuleTransition() throws RecognitionException { EObject current = null; @@ -3115,17 +3137,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1234:2: (iv_ruleTransition= ruleTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1235:2: iv_ruleTransition= ruleTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1245:2: (iv_ruleTransition= ruleTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1246:2: iv_ruleTransition= ruleTransition EOF { newCompositeNode(grammarAccess.getTransitionRule()); - pushFollow(FOLLOW_ruleTransition_in_entryRuleTransition2613); + pushFollow(FOLLOW_ruleTransition_in_entryRuleTransition2632); iv_ruleTransition=ruleTransition(); state._fsp--; current =iv_ruleTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleTransition2623); + match(input,EOF,FOLLOW_EOF_in_entryRuleTransition2642); } @@ -3143,7 +3165,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1242:1: ruleTransition returns [EObject current=null] : (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1253:1: ruleTransition returns [EObject current=null] : (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) ; public final EObject ruleTransition() throws RecognitionException { EObject current = null; @@ -3155,10 +3177,10 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1245:28: ( (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1246:1: (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1256:28: ( (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1257:1: (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1246:1: (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1257:1: (this_InitialTransition_0= ruleInitialTransition | this_NonInitialTransition_1= ruleNonInitialTransition ) int alt23=2; int LA23_0 = input.LA(1); @@ -3222,12 +3244,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt23) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1247:5: this_InitialTransition_0= ruleInitialTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1258:5: this_InitialTransition_0= ruleInitialTransition { newCompositeNode(grammarAccess.getTransitionAccess().getInitialTransitionParserRuleCall_0()); - pushFollow(FOLLOW_ruleInitialTransition_in_ruleTransition2670); + pushFollow(FOLLOW_ruleInitialTransition_in_ruleTransition2689); this_InitialTransition_0=ruleInitialTransition(); state._fsp--; @@ -3240,12 +3262,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1257:5: this_NonInitialTransition_1= ruleNonInitialTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1268:5: this_NonInitialTransition_1= ruleNonInitialTransition { newCompositeNode(grammarAccess.getTransitionAccess().getNonInitialTransitionParserRuleCall_1()); - pushFollow(FOLLOW_ruleNonInitialTransition_in_ruleTransition2697); + pushFollow(FOLLOW_ruleNonInitialTransition_in_ruleTransition2716); this_NonInitialTransition_1=ruleNonInitialTransition(); state._fsp--; @@ -3278,7 +3300,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNonInitialTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1273:1: entryRuleNonInitialTransition returns [EObject current=null] : iv_ruleNonInitialTransition= ruleNonInitialTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1284:1: entryRuleNonInitialTransition returns [EObject current=null] : iv_ruleNonInitialTransition= ruleNonInitialTransition EOF ; public final EObject entryRuleNonInitialTransition() throws RecognitionException { EObject current = null; @@ -3286,17 +3308,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1274:2: (iv_ruleNonInitialTransition= ruleNonInitialTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1275:2: iv_ruleNonInitialTransition= ruleNonInitialTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1285:2: (iv_ruleNonInitialTransition= ruleNonInitialTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1286:2: iv_ruleNonInitialTransition= ruleNonInitialTransition EOF { newCompositeNode(grammarAccess.getNonInitialTransitionRule()); - pushFollow(FOLLOW_ruleNonInitialTransition_in_entryRuleNonInitialTransition2732); + pushFollow(FOLLOW_ruleNonInitialTransition_in_entryRuleNonInitialTransition2751); iv_ruleNonInitialTransition=ruleNonInitialTransition(); state._fsp--; current =iv_ruleNonInitialTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleNonInitialTransition2742); + match(input,EOF,FOLLOW_EOF_in_entryRuleNonInitialTransition2761); } @@ -3314,7 +3336,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNonInitialTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1282:1: ruleNonInitialTransition returns [EObject current=null] : (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1293:1: ruleNonInitialTransition returns [EObject current=null] : (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) ; public final EObject ruleNonInitialTransition() throws RecognitionException { EObject current = null; @@ -3328,20 +3350,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1285:28: ( (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1286:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1296:28: ( (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1297:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1286:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1297:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition ) int alt24=3; alt24 = dfa24.predict(input); switch (alt24) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1287:5: this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1298:5: this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition { newCompositeNode(grammarAccess.getNonInitialTransitionAccess().getTransitionChainStartTransitionParserRuleCall_0()); - pushFollow(FOLLOW_ruleTransitionChainStartTransition_in_ruleNonInitialTransition2789); + pushFollow(FOLLOW_ruleTransitionChainStartTransition_in_ruleNonInitialTransition2808); this_TransitionChainStartTransition_0=ruleTransitionChainStartTransition(); state._fsp--; @@ -3354,12 +3376,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1297:5: this_ContinuationTransition_1= ruleContinuationTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1308:5: this_ContinuationTransition_1= ruleContinuationTransition { newCompositeNode(grammarAccess.getNonInitialTransitionAccess().getContinuationTransitionParserRuleCall_1()); - pushFollow(FOLLOW_ruleContinuationTransition_in_ruleNonInitialTransition2816); + pushFollow(FOLLOW_ruleContinuationTransition_in_ruleNonInitialTransition2835); this_ContinuationTransition_1=ruleContinuationTransition(); state._fsp--; @@ -3372,12 +3394,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1307:5: this_CPBranchTransition_2= ruleCPBranchTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1318:5: this_CPBranchTransition_2= ruleCPBranchTransition { newCompositeNode(grammarAccess.getNonInitialTransitionAccess().getCPBranchTransitionParserRuleCall_2()); - pushFollow(FOLLOW_ruleCPBranchTransition_in_ruleNonInitialTransition2843); + pushFollow(FOLLOW_ruleCPBranchTransition_in_ruleNonInitialTransition2862); this_CPBranchTransition_2=ruleCPBranchTransition(); state._fsp--; @@ -3410,7 +3432,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTransitionChainStartTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1323:1: entryRuleTransitionChainStartTransition returns [EObject current=null] : iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1334:1: entryRuleTransitionChainStartTransition returns [EObject current=null] : iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF ; public final EObject entryRuleTransitionChainStartTransition() throws RecognitionException { EObject current = null; @@ -3418,17 +3440,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1324:2: (iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1325:2: iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1335:2: (iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1336:2: iv_ruleTransitionChainStartTransition= ruleTransitionChainStartTransition EOF { newCompositeNode(grammarAccess.getTransitionChainStartTransitionRule()); - pushFollow(FOLLOW_ruleTransitionChainStartTransition_in_entryRuleTransitionChainStartTransition2878); + pushFollow(FOLLOW_ruleTransitionChainStartTransition_in_entryRuleTransitionChainStartTransition2897); iv_ruleTransitionChainStartTransition=ruleTransitionChainStartTransition(); state._fsp--; current =iv_ruleTransitionChainStartTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionChainStartTransition2888); + match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionChainStartTransition2907); } @@ -3446,7 +3468,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTransitionChainStartTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1332:1: ruleTransitionChainStartTransition returns [EObject current=null] : (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1343:1: ruleTransitionChainStartTransition returns [EObject current=null] : (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) ; public final EObject ruleTransitionChainStartTransition() throws RecognitionException { EObject current = null; @@ -3458,20 +3480,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1335:28: ( (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1336:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1346:28: ( (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1347:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1336:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1347:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition ) int alt25=2; alt25 = dfa25.predict(input); switch (alt25) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1337:5: this_TriggeredTransition_0= ruleTriggeredTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1348:5: this_TriggeredTransition_0= ruleTriggeredTransition { newCompositeNode(grammarAccess.getTransitionChainStartTransitionAccess().getTriggeredTransitionParserRuleCall_0()); - pushFollow(FOLLOW_ruleTriggeredTransition_in_ruleTransitionChainStartTransition2935); + pushFollow(FOLLOW_ruleTriggeredTransition_in_ruleTransitionChainStartTransition2954); this_TriggeredTransition_0=ruleTriggeredTransition(); state._fsp--; @@ -3484,12 +3506,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1347:5: this_GuardedTransition_1= ruleGuardedTransition + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1358:5: this_GuardedTransition_1= ruleGuardedTransition { newCompositeNode(grammarAccess.getTransitionChainStartTransitionAccess().getGuardedTransitionParserRuleCall_1()); - pushFollow(FOLLOW_ruleGuardedTransition_in_ruleTransitionChainStartTransition2962); + pushFollow(FOLLOW_ruleGuardedTransition_in_ruleTransitionChainStartTransition2981); this_GuardedTransition_1=ruleGuardedTransition(); state._fsp--; @@ -3522,7 +3544,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInitialTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1363:1: entryRuleInitialTransition returns [EObject current=null] : iv_ruleInitialTransition= ruleInitialTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1374:1: entryRuleInitialTransition returns [EObject current=null] : iv_ruleInitialTransition= ruleInitialTransition EOF ; public final EObject entryRuleInitialTransition() throws RecognitionException { EObject current = null; @@ -3530,17 +3552,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1364:2: (iv_ruleInitialTransition= ruleInitialTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1365:2: iv_ruleInitialTransition= ruleInitialTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1375:2: (iv_ruleInitialTransition= ruleInitialTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1376:2: iv_ruleInitialTransition= ruleInitialTransition EOF { newCompositeNode(grammarAccess.getInitialTransitionRule()); - pushFollow(FOLLOW_ruleInitialTransition_in_entryRuleInitialTransition2997); + pushFollow(FOLLOW_ruleInitialTransition_in_entryRuleInitialTransition3016); iv_ruleInitialTransition=ruleInitialTransition(); state._fsp--; current =iv_ruleInitialTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleInitialTransition3007); + match(input,EOF,FOLLOW_EOF_in_entryRuleInitialTransition3026); } @@ -3558,7 +3580,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInitialTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1372:1: ruleInitialTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1383:1: ruleInitialTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) ; public final EObject ruleInitialTransition() throws RecognitionException { EObject current = null; @@ -3580,17 +3602,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1375:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1376:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1386:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1387:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1376:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1376:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1387:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1387:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' otherlv_3= 'initial' otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleInitialTransition3044); + otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleInitialTransition3063); newLeafNode(otherlv_0, grammarAccess.getInitialTransitionAccess().getTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1380:1: ( (lv_name_1_0= RULE_ID ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1391:1: ( (lv_name_1_0= RULE_ID ) )? int alt26=2; int LA26_0 = input.LA(1); @@ -3599,12 +3621,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt26) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1381:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1392:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1381:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1382:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1392:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1393:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInitialTransition3061); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInitialTransition3080); newLeafNode(lv_name_1_0, grammarAccess.getInitialTransitionAccess().getNameIDTerminalRuleCall_1_0()); @@ -3627,28 +3649,28 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleInitialTransition3079); + otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleInitialTransition3098); newLeafNode(otherlv_2, grammarAccess.getInitialTransitionAccess().getColonKeyword_2()); - otherlv_3=(Token)match(input,32,FOLLOW_32_in_ruleInitialTransition3091); + otherlv_3=(Token)match(input,32,FOLLOW_32_in_ruleInitialTransition3110); newLeafNode(otherlv_3, grammarAccess.getInitialTransitionAccess().getInitialKeyword_3()); - otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleInitialTransition3103); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleInitialTransition3122); newLeafNode(otherlv_4, grammarAccess.getInitialTransitionAccess().getHyphenMinusGreaterThanSignKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1410:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1411:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1421:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1422:1: (lv_to_5_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1411:1: (lv_to_5_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1412:3: lv_to_5_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1422:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1423:3: lv_to_5_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getInitialTransitionAccess().getToTransitionTerminalParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleInitialTransition3124); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleInitialTransition3143); lv_to_5_0=ruleTransitionTerminal(); state._fsp--; @@ -3670,24 +3692,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1428:2: ( (lv_docu_6_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1439:2: ( (lv_docu_6_0= ruleDocumentation ) )? int alt27=2; int LA27_0 = input.LA(1); - if ( (LA27_0==52) ) { + if ( (LA27_0==56) ) { alt27=1; } switch (alt27) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1429:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1440:1: (lv_docu_6_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1429:1: (lv_docu_6_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1430:3: lv_docu_6_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1440:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1441:3: lv_docu_6_0= ruleDocumentation { newCompositeNode(grammarAccess.getInitialTransitionAccess().getDocuDocumentationParserRuleCall_6_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleInitialTransition3145); + pushFollow(FOLLOW_ruleDocumentation_in_ruleInitialTransition3164); lv_docu_6_0=ruleDocumentation(); state._fsp--; @@ -3712,11 +3734,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleInitialTransition3158); + otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleInitialTransition3177); newLeafNode(otherlv_7, grammarAccess.getInitialTransitionAccess().getLeftCurlyBracketKeyword_7()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1450:1: (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1461:1: (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? int alt28=2; int LA28_0 = input.LA(1); @@ -3725,22 +3747,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt28) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1450:3: otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1461:3: otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) { - otherlv_8=(Token)match(input,34,FOLLOW_34_in_ruleInitialTransition3171); + otherlv_8=(Token)match(input,34,FOLLOW_34_in_ruleInitialTransition3190); newLeafNode(otherlv_8, grammarAccess.getInitialTransitionAccess().getActionKeyword_8_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1454:1: ( (lv_action_9_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1455:1: (lv_action_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1465:1: ( (lv_action_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1466:1: (lv_action_9_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1455:1: (lv_action_9_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1456:3: lv_action_9_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1466:1: (lv_action_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1467:3: lv_action_9_0= ruleDetailCode { newCompositeNode(grammarAccess.getInitialTransitionAccess().getActionDetailCodeParserRuleCall_8_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleInitialTransition3192); + pushFollow(FOLLOW_ruleDetailCode_in_ruleInitialTransition3211); lv_action_9_0=ruleDetailCode(); state._fsp--; @@ -3768,7 +3790,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_10=(Token)match(input,17,FOLLOW_17_in_ruleInitialTransition3206); + otherlv_10=(Token)match(input,17,FOLLOW_17_in_ruleInitialTransition3225); newLeafNode(otherlv_10, grammarAccess.getInitialTransitionAccess().getRightCurlyBracketKeyword_9()); @@ -3793,7 +3815,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleContinuationTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1484:1: entryRuleContinuationTransition returns [EObject current=null] : iv_ruleContinuationTransition= ruleContinuationTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1495:1: entryRuleContinuationTransition returns [EObject current=null] : iv_ruleContinuationTransition= ruleContinuationTransition EOF ; public final EObject entryRuleContinuationTransition() throws RecognitionException { EObject current = null; @@ -3801,17 +3823,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1485:2: (iv_ruleContinuationTransition= ruleContinuationTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1486:2: iv_ruleContinuationTransition= ruleContinuationTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1496:2: (iv_ruleContinuationTransition= ruleContinuationTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1497:2: iv_ruleContinuationTransition= ruleContinuationTransition EOF { newCompositeNode(grammarAccess.getContinuationTransitionRule()); - pushFollow(FOLLOW_ruleContinuationTransition_in_entryRuleContinuationTransition3242); + pushFollow(FOLLOW_ruleContinuationTransition_in_entryRuleContinuationTransition3261); iv_ruleContinuationTransition=ruleContinuationTransition(); state._fsp--; current =iv_ruleContinuationTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleContinuationTransition3252); + match(input,EOF,FOLLOW_EOF_in_entryRuleContinuationTransition3271); } @@ -3829,7 +3851,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleContinuationTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1493:1: ruleContinuationTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1504:1: ruleContinuationTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) ; public final EObject ruleContinuationTransition() throws RecognitionException { EObject current = null; @@ -3852,17 +3874,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1496:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1497:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1507:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1508:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1497:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1497:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1508:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1508:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleContinuationTransition3289); + otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleContinuationTransition3308); newLeafNode(otherlv_0, grammarAccess.getContinuationTransitionAccess().getTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1501:1: ( (lv_name_1_0= RULE_ID ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1512:1: ( (lv_name_1_0= RULE_ID ) )? int alt29=2; int LA29_0 = input.LA(1); @@ -3871,12 +3893,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt29) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1502:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1513:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1502:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1503:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1513:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1514:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleContinuationTransition3306); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleContinuationTransition3325); newLeafNode(lv_name_1_0, grammarAccess.getContinuationTransitionAccess().getNameIDTerminalRuleCall_1_0()); @@ -3899,20 +3921,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleContinuationTransition3324); + otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleContinuationTransition3343); newLeafNode(otherlv_2, grammarAccess.getContinuationTransitionAccess().getColonKeyword_2()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1523:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1524:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1534:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1535:1: (lv_from_3_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1524:1: (lv_from_3_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1525:3: lv_from_3_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1535:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1536:3: lv_from_3_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getContinuationTransitionAccess().getFromTransitionTerminalParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3345); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3364); lv_from_3_0=ruleTransitionTerminal(); state._fsp--; @@ -3934,20 +3956,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleContinuationTransition3357); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleContinuationTransition3376); newLeafNode(otherlv_4, grammarAccess.getContinuationTransitionAccess().getHyphenMinusGreaterThanSignKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1545:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1546:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1556:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1557:1: (lv_to_5_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1546:1: (lv_to_5_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1547:3: lv_to_5_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1557:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1558:3: lv_to_5_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getContinuationTransitionAccess().getToTransitionTerminalParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3378); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3397); lv_to_5_0=ruleTransitionTerminal(); state._fsp--; @@ -3969,24 +3991,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1563:2: ( (lv_docu_6_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1574:2: ( (lv_docu_6_0= ruleDocumentation ) )? int alt30=2; int LA30_0 = input.LA(1); - if ( (LA30_0==52) ) { + if ( (LA30_0==56) ) { alt30=1; } switch (alt30) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1564:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1575:1: (lv_docu_6_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1564:1: (lv_docu_6_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1565:3: lv_docu_6_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1575:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1576:3: lv_docu_6_0= ruleDocumentation { newCompositeNode(grammarAccess.getContinuationTransitionAccess().getDocuDocumentationParserRuleCall_6_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleContinuationTransition3399); + pushFollow(FOLLOW_ruleDocumentation_in_ruleContinuationTransition3418); lv_docu_6_0=ruleDocumentation(); state._fsp--; @@ -4011,7 +4033,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1581:3: (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1592:3: (otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' )? int alt32=2; int LA32_0 = input.LA(1); @@ -4020,13 +4042,13 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt32) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1581:5: otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1592:5: otherlv_7= '{' (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? otherlv_10= '}' { - otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleContinuationTransition3413); + otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleContinuationTransition3432); newLeafNode(otherlv_7, grammarAccess.getContinuationTransitionAccess().getLeftCurlyBracketKeyword_7_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1585:1: (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1596:1: (otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) )? int alt31=2; int LA31_0 = input.LA(1); @@ -4035,22 +4057,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt31) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1585:3: otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1596:3: otherlv_8= 'action' ( (lv_action_9_0= ruleDetailCode ) ) { - otherlv_8=(Token)match(input,34,FOLLOW_34_in_ruleContinuationTransition3426); + otherlv_8=(Token)match(input,34,FOLLOW_34_in_ruleContinuationTransition3445); newLeafNode(otherlv_8, grammarAccess.getContinuationTransitionAccess().getActionKeyword_7_1_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1589:1: ( (lv_action_9_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1590:1: (lv_action_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1600:1: ( (lv_action_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1601:1: (lv_action_9_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1590:1: (lv_action_9_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1591:3: lv_action_9_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1601:1: (lv_action_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1602:3: lv_action_9_0= ruleDetailCode { newCompositeNode(grammarAccess.getContinuationTransitionAccess().getActionDetailCodeParserRuleCall_7_1_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleContinuationTransition3447); + pushFollow(FOLLOW_ruleDetailCode_in_ruleContinuationTransition3466); lv_action_9_0=ruleDetailCode(); state._fsp--; @@ -4078,7 +4100,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_10=(Token)match(input,17,FOLLOW_17_in_ruleContinuationTransition3461); + otherlv_10=(Token)match(input,17,FOLLOW_17_in_ruleContinuationTransition3480); newLeafNode(otherlv_10, grammarAccess.getContinuationTransitionAccess().getRightCurlyBracketKeyword_7_2()); @@ -4109,7 +4131,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTriggeredTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1619:1: entryRuleTriggeredTransition returns [EObject current=null] : iv_ruleTriggeredTransition= ruleTriggeredTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1630:1: entryRuleTriggeredTransition returns [EObject current=null] : iv_ruleTriggeredTransition= ruleTriggeredTransition EOF ; public final EObject entryRuleTriggeredTransition() throws RecognitionException { EObject current = null; @@ -4117,17 +4139,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1620:2: (iv_ruleTriggeredTransition= ruleTriggeredTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1621:2: iv_ruleTriggeredTransition= ruleTriggeredTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1631:2: (iv_ruleTriggeredTransition= ruleTriggeredTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1632:2: iv_ruleTriggeredTransition= ruleTriggeredTransition EOF { newCompositeNode(grammarAccess.getTriggeredTransitionRule()); - pushFollow(FOLLOW_ruleTriggeredTransition_in_entryRuleTriggeredTransition3499); + pushFollow(FOLLOW_ruleTriggeredTransition_in_entryRuleTriggeredTransition3518); iv_ruleTriggeredTransition=ruleTriggeredTransition(); state._fsp--; current =iv_ruleTriggeredTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleTriggeredTransition3509); + match(input,EOF,FOLLOW_EOF_in_entryRuleTriggeredTransition3528); } @@ -4145,7 +4167,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTriggeredTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1628:1: ruleTriggeredTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1639:1: ruleTriggeredTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) ; public final EObject ruleTriggeredTransition() throws RecognitionException { EObject current = null; @@ -4176,17 +4198,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1631:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1632:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1642:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1643:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1632:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1632:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1643:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1643:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'triggers' otherlv_9= '{' ( (lv_triggers_10_0= ruleTrigger ) ) (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* otherlv_13= '}' (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? otherlv_16= '}' { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleTriggeredTransition3546); + otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleTriggeredTransition3565); newLeafNode(otherlv_0, grammarAccess.getTriggeredTransitionAccess().getTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1636:1: ( (lv_name_1_0= RULE_ID ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1647:1: ( (lv_name_1_0= RULE_ID ) )? int alt33=2; int LA33_0 = input.LA(1); @@ -4195,12 +4217,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt33) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1637:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1648:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1637:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1638:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1648:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1649:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTriggeredTransition3563); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTriggeredTransition3582); newLeafNode(lv_name_1_0, grammarAccess.getTriggeredTransitionAccess().getNameIDTerminalRuleCall_1_0()); @@ -4223,20 +4245,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleTriggeredTransition3581); + otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleTriggeredTransition3600); newLeafNode(otherlv_2, grammarAccess.getTriggeredTransitionAccess().getColonKeyword_2()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1658:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1659:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1669:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1670:1: (lv_from_3_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1659:1: (lv_from_3_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1660:3: lv_from_3_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1670:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1671:3: lv_from_3_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getFromTransitionTerminalParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3602); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3621); lv_from_3_0=ruleTransitionTerminal(); state._fsp--; @@ -4258,20 +4280,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleTriggeredTransition3614); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleTriggeredTransition3633); newLeafNode(otherlv_4, grammarAccess.getTriggeredTransitionAccess().getHyphenMinusGreaterThanSignKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1680:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1681:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1691:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1692:1: (lv_to_5_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1681:1: (lv_to_5_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1682:3: lv_to_5_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1692:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1693:3: lv_to_5_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getToTransitionTerminalParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3635); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3654); lv_to_5_0=ruleTransitionTerminal(); state._fsp--; @@ -4293,24 +4315,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1698:2: ( (lv_docu_6_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1709:2: ( (lv_docu_6_0= ruleDocumentation ) )? int alt34=2; int LA34_0 = input.LA(1); - if ( (LA34_0==52) ) { + if ( (LA34_0==56) ) { alt34=1; } switch (alt34) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1699:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1710:1: (lv_docu_6_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1699:1: (lv_docu_6_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1700:3: lv_docu_6_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1710:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1711:3: lv_docu_6_0= ruleDocumentation { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getDocuDocumentationParserRuleCall_6_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleTriggeredTransition3656); + pushFollow(FOLLOW_ruleDocumentation_in_ruleTriggeredTransition3675); lv_docu_6_0=ruleDocumentation(); state._fsp--; @@ -4335,28 +4357,28 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleTriggeredTransition3669); + otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleTriggeredTransition3688); newLeafNode(otherlv_7, grammarAccess.getTriggeredTransitionAccess().getLeftCurlyBracketKeyword_7()); - otherlv_8=(Token)match(input,35,FOLLOW_35_in_ruleTriggeredTransition3681); + otherlv_8=(Token)match(input,35,FOLLOW_35_in_ruleTriggeredTransition3700); newLeafNode(otherlv_8, grammarAccess.getTriggeredTransitionAccess().getTriggersKeyword_8()); - otherlv_9=(Token)match(input,16,FOLLOW_16_in_ruleTriggeredTransition3693); + otherlv_9=(Token)match(input,16,FOLLOW_16_in_ruleTriggeredTransition3712); newLeafNode(otherlv_9, grammarAccess.getTriggeredTransitionAccess().getLeftCurlyBracketKeyword_9()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1728:1: ( (lv_triggers_10_0= ruleTrigger ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1729:1: (lv_triggers_10_0= ruleTrigger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1739:1: ( (lv_triggers_10_0= ruleTrigger ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1740:1: (lv_triggers_10_0= ruleTrigger ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1729:1: (lv_triggers_10_0= ruleTrigger ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1730:3: lv_triggers_10_0= ruleTrigger + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1740:1: (lv_triggers_10_0= ruleTrigger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1741:3: lv_triggers_10_0= ruleTrigger { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getTriggersTriggerParserRuleCall_10_0()); - pushFollow(FOLLOW_ruleTrigger_in_ruleTriggeredTransition3714); + pushFollow(FOLLOW_ruleTrigger_in_ruleTriggeredTransition3733); lv_triggers_10_0=ruleTrigger(); state._fsp--; @@ -4378,7 +4400,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1746:2: (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1757:2: (otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) )* loop35: do { int alt35=2; @@ -4391,22 +4413,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { switch (alt35) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1746:4: otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1757:4: otherlv_11= 'or' ( (lv_triggers_12_0= ruleTrigger ) ) { - otherlv_11=(Token)match(input,36,FOLLOW_36_in_ruleTriggeredTransition3727); + otherlv_11=(Token)match(input,36,FOLLOW_36_in_ruleTriggeredTransition3746); newLeafNode(otherlv_11, grammarAccess.getTriggeredTransitionAccess().getOrKeyword_11_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1750:1: ( (lv_triggers_12_0= ruleTrigger ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1751:1: (lv_triggers_12_0= ruleTrigger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1761:1: ( (lv_triggers_12_0= ruleTrigger ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1762:1: (lv_triggers_12_0= ruleTrigger ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1751:1: (lv_triggers_12_0= ruleTrigger ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1752:3: lv_triggers_12_0= ruleTrigger + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1762:1: (lv_triggers_12_0= ruleTrigger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1763:3: lv_triggers_12_0= ruleTrigger { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getTriggersTriggerParserRuleCall_11_1_0()); - pushFollow(FOLLOW_ruleTrigger_in_ruleTriggeredTransition3748); + pushFollow(FOLLOW_ruleTrigger_in_ruleTriggeredTransition3767); lv_triggers_12_0=ruleTrigger(); state._fsp--; @@ -4437,11 +4459,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_13=(Token)match(input,17,FOLLOW_17_in_ruleTriggeredTransition3762); + otherlv_13=(Token)match(input,17,FOLLOW_17_in_ruleTriggeredTransition3781); newLeafNode(otherlv_13, grammarAccess.getTriggeredTransitionAccess().getRightCurlyBracketKeyword_12()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1772:1: (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1783:1: (otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) )? int alt36=2; int LA36_0 = input.LA(1); @@ -4450,22 +4472,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt36) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1772:3: otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1783:3: otherlv_14= 'action' ( (lv_action_15_0= ruleDetailCode ) ) { - otherlv_14=(Token)match(input,34,FOLLOW_34_in_ruleTriggeredTransition3775); + otherlv_14=(Token)match(input,34,FOLLOW_34_in_ruleTriggeredTransition3794); newLeafNode(otherlv_14, grammarAccess.getTriggeredTransitionAccess().getActionKeyword_13_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1776:1: ( (lv_action_15_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1777:1: (lv_action_15_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1787:1: ( (lv_action_15_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1788:1: (lv_action_15_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1777:1: (lv_action_15_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1778:3: lv_action_15_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1788:1: (lv_action_15_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1789:3: lv_action_15_0= ruleDetailCode { newCompositeNode(grammarAccess.getTriggeredTransitionAccess().getActionDetailCodeParserRuleCall_13_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleTriggeredTransition3796); + pushFollow(FOLLOW_ruleDetailCode_in_ruleTriggeredTransition3815); lv_action_15_0=ruleDetailCode(); state._fsp--; @@ -4493,7 +4515,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_16=(Token)match(input,17,FOLLOW_17_in_ruleTriggeredTransition3810); + otherlv_16=(Token)match(input,17,FOLLOW_17_in_ruleTriggeredTransition3829); newLeafNode(otherlv_16, grammarAccess.getTriggeredTransitionAccess().getRightCurlyBracketKeyword_14()); @@ -4518,7 +4540,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleGuardedTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1806:1: entryRuleGuardedTransition returns [EObject current=null] : iv_ruleGuardedTransition= ruleGuardedTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1817:1: entryRuleGuardedTransition returns [EObject current=null] : iv_ruleGuardedTransition= ruleGuardedTransition EOF ; public final EObject entryRuleGuardedTransition() throws RecognitionException { EObject current = null; @@ -4526,17 +4548,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1807:2: (iv_ruleGuardedTransition= ruleGuardedTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1808:2: iv_ruleGuardedTransition= ruleGuardedTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1818:2: (iv_ruleGuardedTransition= ruleGuardedTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1819:2: iv_ruleGuardedTransition= ruleGuardedTransition EOF { newCompositeNode(grammarAccess.getGuardedTransitionRule()); - pushFollow(FOLLOW_ruleGuardedTransition_in_entryRuleGuardedTransition3846); + pushFollow(FOLLOW_ruleGuardedTransition_in_entryRuleGuardedTransition3865); iv_ruleGuardedTransition=ruleGuardedTransition(); state._fsp--; current =iv_ruleGuardedTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleGuardedTransition3856); + match(input,EOF,FOLLOW_EOF_in_entryRuleGuardedTransition3875); } @@ -4554,7 +4576,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleGuardedTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1815:1: ruleGuardedTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1826:1: ruleGuardedTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ; public final EObject ruleGuardedTransition() throws RecognitionException { EObject current = null; @@ -4580,17 +4602,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1818:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1819:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1829:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1830:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1819:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1819:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1830:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1830:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'guard' ( (lv_guard_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleGuardedTransition3893); + otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleGuardedTransition3912); newLeafNode(otherlv_0, grammarAccess.getGuardedTransitionAccess().getTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1823:1: ( (lv_name_1_0= RULE_ID ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1834:1: ( (lv_name_1_0= RULE_ID ) )? int alt37=2; int LA37_0 = input.LA(1); @@ -4599,12 +4621,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt37) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1824:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1835:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1824:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1825:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1835:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1836:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGuardedTransition3910); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleGuardedTransition3929); newLeafNode(lv_name_1_0, grammarAccess.getGuardedTransitionAccess().getNameIDTerminalRuleCall_1_0()); @@ -4627,20 +4649,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleGuardedTransition3928); + otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleGuardedTransition3947); newLeafNode(otherlv_2, grammarAccess.getGuardedTransitionAccess().getColonKeyword_2()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1845:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1846:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1856:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1857:1: (lv_from_3_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1846:1: (lv_from_3_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1847:3: lv_from_3_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1857:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1858:3: lv_from_3_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getGuardedTransitionAccess().getFromTransitionTerminalParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3949); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3968); lv_from_3_0=ruleTransitionTerminal(); state._fsp--; @@ -4662,20 +4684,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleGuardedTransition3961); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleGuardedTransition3980); newLeafNode(otherlv_4, grammarAccess.getGuardedTransitionAccess().getHyphenMinusGreaterThanSignKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1867:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1868:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1878:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1879:1: (lv_to_5_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1868:1: (lv_to_5_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1869:3: lv_to_5_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1879:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1880:3: lv_to_5_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getGuardedTransitionAccess().getToTransitionTerminalParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3982); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition4001); lv_to_5_0=ruleTransitionTerminal(); state._fsp--; @@ -4697,24 +4719,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1885:2: ( (lv_docu_6_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1896:2: ( (lv_docu_6_0= ruleDocumentation ) )? int alt38=2; int LA38_0 = input.LA(1); - if ( (LA38_0==52) ) { + if ( (LA38_0==56) ) { alt38=1; } switch (alt38) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1886:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1897:1: (lv_docu_6_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1886:1: (lv_docu_6_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1887:3: lv_docu_6_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1897:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1898:3: lv_docu_6_0= ruleDocumentation { newCompositeNode(grammarAccess.getGuardedTransitionAccess().getDocuDocumentationParserRuleCall_6_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleGuardedTransition4003); + pushFollow(FOLLOW_ruleDocumentation_in_ruleGuardedTransition4022); lv_docu_6_0=ruleDocumentation(); state._fsp--; @@ -4739,24 +4761,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleGuardedTransition4016); + otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleGuardedTransition4035); newLeafNode(otherlv_7, grammarAccess.getGuardedTransitionAccess().getLeftCurlyBracketKeyword_7()); - otherlv_8=(Token)match(input,37,FOLLOW_37_in_ruleGuardedTransition4028); + otherlv_8=(Token)match(input,37,FOLLOW_37_in_ruleGuardedTransition4047); newLeafNode(otherlv_8, grammarAccess.getGuardedTransitionAccess().getGuardKeyword_8()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1911:1: ( (lv_guard_9_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1912:1: (lv_guard_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1922:1: ( (lv_guard_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1923:1: (lv_guard_9_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1912:1: (lv_guard_9_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1913:3: lv_guard_9_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1923:1: (lv_guard_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1924:3: lv_guard_9_0= ruleDetailCode { newCompositeNode(grammarAccess.getGuardedTransitionAccess().getGuardDetailCodeParserRuleCall_9_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleGuardedTransition4049); + pushFollow(FOLLOW_ruleDetailCode_in_ruleGuardedTransition4068); lv_guard_9_0=ruleDetailCode(); state._fsp--; @@ -4778,7 +4800,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1929:2: (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1940:2: (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? int alt39=2; int LA39_0 = input.LA(1); @@ -4787,22 +4809,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt39) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1929:4: otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1940:4: otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) { - otherlv_10=(Token)match(input,34,FOLLOW_34_in_ruleGuardedTransition4062); + otherlv_10=(Token)match(input,34,FOLLOW_34_in_ruleGuardedTransition4081); newLeafNode(otherlv_10, grammarAccess.getGuardedTransitionAccess().getActionKeyword_10_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1933:1: ( (lv_action_11_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1934:1: (lv_action_11_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1944:1: ( (lv_action_11_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1945:1: (lv_action_11_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1934:1: (lv_action_11_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1935:3: lv_action_11_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1945:1: (lv_action_11_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1946:3: lv_action_11_0= ruleDetailCode { newCompositeNode(grammarAccess.getGuardedTransitionAccess().getActionDetailCodeParserRuleCall_10_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleGuardedTransition4083); + pushFollow(FOLLOW_ruleDetailCode_in_ruleGuardedTransition4102); lv_action_11_0=ruleDetailCode(); state._fsp--; @@ -4830,7 +4852,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleGuardedTransition4097); + otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleGuardedTransition4116); newLeafNode(otherlv_12, grammarAccess.getGuardedTransitionAccess().getRightCurlyBracketKeyword_11()); @@ -4855,7 +4877,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleCPBranchTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1963:1: entryRuleCPBranchTransition returns [EObject current=null] : iv_ruleCPBranchTransition= ruleCPBranchTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1974:1: entryRuleCPBranchTransition returns [EObject current=null] : iv_ruleCPBranchTransition= ruleCPBranchTransition EOF ; public final EObject entryRuleCPBranchTransition() throws RecognitionException { EObject current = null; @@ -4863,17 +4885,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1964:2: (iv_ruleCPBranchTransition= ruleCPBranchTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1965:2: iv_ruleCPBranchTransition= ruleCPBranchTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1975:2: (iv_ruleCPBranchTransition= ruleCPBranchTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1976:2: iv_ruleCPBranchTransition= ruleCPBranchTransition EOF { newCompositeNode(grammarAccess.getCPBranchTransitionRule()); - pushFollow(FOLLOW_ruleCPBranchTransition_in_entryRuleCPBranchTransition4133); + pushFollow(FOLLOW_ruleCPBranchTransition_in_entryRuleCPBranchTransition4152); iv_ruleCPBranchTransition=ruleCPBranchTransition(); state._fsp--; current =iv_ruleCPBranchTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleCPBranchTransition4143); + match(input,EOF,FOLLOW_EOF_in_entryRuleCPBranchTransition4162); } @@ -4891,7 +4913,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleCPBranchTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1972:1: ruleCPBranchTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1983:1: ruleCPBranchTransition returns [EObject current=null] : (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ; public final EObject ruleCPBranchTransition() throws RecognitionException { EObject current = null; @@ -4917,17 +4939,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1975:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1976:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1986:28: ( (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1987:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1976:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1976:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1987:1: (otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1987:3: otherlv_0= 'Transition' ( (lv_name_1_0= RULE_ID ) )? otherlv_2= ':' ( (lv_from_3_0= ruleTransitionTerminal ) ) otherlv_4= '->' ( (lv_to_5_0= ruleTransitionTerminal ) ) ( (lv_docu_6_0= ruleDocumentation ) )? otherlv_7= '{' otherlv_8= 'cond' ( (lv_condition_9_0= ruleDetailCode ) ) (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? otherlv_12= '}' { - otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleCPBranchTransition4180); + otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleCPBranchTransition4199); newLeafNode(otherlv_0, grammarAccess.getCPBranchTransitionAccess().getTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1980:1: ( (lv_name_1_0= RULE_ID ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1991:1: ( (lv_name_1_0= RULE_ID ) )? int alt40=2; int LA40_0 = input.LA(1); @@ -4936,12 +4958,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt40) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1981:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1992:1: (lv_name_1_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1981:1: (lv_name_1_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1982:3: lv_name_1_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1992:1: (lv_name_1_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:1993:3: lv_name_1_0= RULE_ID { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCPBranchTransition4197); + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleCPBranchTransition4216); newLeafNode(lv_name_1_0, grammarAccess.getCPBranchTransitionAccess().getNameIDTerminalRuleCall_1_0()); @@ -4964,20 +4986,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleCPBranchTransition4215); + otherlv_2=(Token)match(input,31,FOLLOW_31_in_ruleCPBranchTransition4234); newLeafNode(otherlv_2, grammarAccess.getCPBranchTransitionAccess().getColonKeyword_2()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2002:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2003:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2013:1: ( (lv_from_3_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2014:1: (lv_from_3_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2003:1: (lv_from_3_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2004:3: lv_from_3_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2014:1: (lv_from_3_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2015:3: lv_from_3_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getCPBranchTransitionAccess().getFromTransitionTerminalParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4236); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4255); lv_from_3_0=ruleTransitionTerminal(); state._fsp--; @@ -4999,20 +5021,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleCPBranchTransition4248); + otherlv_4=(Token)match(input,33,FOLLOW_33_in_ruleCPBranchTransition4267); newLeafNode(otherlv_4, grammarAccess.getCPBranchTransitionAccess().getHyphenMinusGreaterThanSignKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2024:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2025:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2035:1: ( (lv_to_5_0= ruleTransitionTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2036:1: (lv_to_5_0= ruleTransitionTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2025:1: (lv_to_5_0= ruleTransitionTerminal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2026:3: lv_to_5_0= ruleTransitionTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2036:1: (lv_to_5_0= ruleTransitionTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2037:3: lv_to_5_0= ruleTransitionTerminal { newCompositeNode(grammarAccess.getCPBranchTransitionAccess().getToTransitionTerminalParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4269); + pushFollow(FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4288); lv_to_5_0=ruleTransitionTerminal(); state._fsp--; @@ -5034,24 +5056,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2042:2: ( (lv_docu_6_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2053:2: ( (lv_docu_6_0= ruleDocumentation ) )? int alt41=2; int LA41_0 = input.LA(1); - if ( (LA41_0==52) ) { + if ( (LA41_0==56) ) { alt41=1; } switch (alt41) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2043:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2054:1: (lv_docu_6_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2043:1: (lv_docu_6_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2044:3: lv_docu_6_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2054:1: (lv_docu_6_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2055:3: lv_docu_6_0= ruleDocumentation { newCompositeNode(grammarAccess.getCPBranchTransitionAccess().getDocuDocumentationParserRuleCall_6_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleCPBranchTransition4290); + pushFollow(FOLLOW_ruleDocumentation_in_ruleCPBranchTransition4309); lv_docu_6_0=ruleDocumentation(); state._fsp--; @@ -5076,24 +5098,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleCPBranchTransition4303); + otherlv_7=(Token)match(input,16,FOLLOW_16_in_ruleCPBranchTransition4322); newLeafNode(otherlv_7, grammarAccess.getCPBranchTransitionAccess().getLeftCurlyBracketKeyword_7()); - otherlv_8=(Token)match(input,38,FOLLOW_38_in_ruleCPBranchTransition4315); + otherlv_8=(Token)match(input,38,FOLLOW_38_in_ruleCPBranchTransition4334); newLeafNode(otherlv_8, grammarAccess.getCPBranchTransitionAccess().getCondKeyword_8()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2068:1: ( (lv_condition_9_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2069:1: (lv_condition_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2079:1: ( (lv_condition_9_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2080:1: (lv_condition_9_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2069:1: (lv_condition_9_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2070:3: lv_condition_9_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2080:1: (lv_condition_9_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2081:3: lv_condition_9_0= ruleDetailCode { newCompositeNode(grammarAccess.getCPBranchTransitionAccess().getConditionDetailCodeParserRuleCall_9_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4336); + pushFollow(FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4355); lv_condition_9_0=ruleDetailCode(); state._fsp--; @@ -5115,7 +5137,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2086:2: (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2097:2: (otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) )? int alt42=2; int LA42_0 = input.LA(1); @@ -5124,22 +5146,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt42) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2086:4: otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2097:4: otherlv_10= 'action' ( (lv_action_11_0= ruleDetailCode ) ) { - otherlv_10=(Token)match(input,34,FOLLOW_34_in_ruleCPBranchTransition4349); + otherlv_10=(Token)match(input,34,FOLLOW_34_in_ruleCPBranchTransition4368); newLeafNode(otherlv_10, grammarAccess.getCPBranchTransitionAccess().getActionKeyword_10_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2090:1: ( (lv_action_11_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2091:1: (lv_action_11_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2101:1: ( (lv_action_11_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2102:1: (lv_action_11_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2091:1: (lv_action_11_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2092:3: lv_action_11_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2102:1: (lv_action_11_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2103:3: lv_action_11_0= ruleDetailCode { newCompositeNode(grammarAccess.getCPBranchTransitionAccess().getActionDetailCodeParserRuleCall_10_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4370); + pushFollow(FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4389); lv_action_11_0=ruleDetailCode(); state._fsp--; @@ -5167,7 +5189,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleCPBranchTransition4384); + otherlv_12=(Token)match(input,17,FOLLOW_17_in_ruleCPBranchTransition4403); newLeafNode(otherlv_12, grammarAccess.getCPBranchTransitionAccess().getRightCurlyBracketKeyword_11()); @@ -5192,7 +5214,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRefinedTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2120:1: entryRuleRefinedTransition returns [EObject current=null] : iv_ruleRefinedTransition= ruleRefinedTransition EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2131:1: entryRuleRefinedTransition returns [EObject current=null] : iv_ruleRefinedTransition= ruleRefinedTransition EOF ; public final EObject entryRuleRefinedTransition() throws RecognitionException { EObject current = null; @@ -5200,17 +5222,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2121:2: (iv_ruleRefinedTransition= ruleRefinedTransition EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2122:2: iv_ruleRefinedTransition= ruleRefinedTransition EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2132:2: (iv_ruleRefinedTransition= ruleRefinedTransition EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2133:2: iv_ruleRefinedTransition= ruleRefinedTransition EOF { newCompositeNode(grammarAccess.getRefinedTransitionRule()); - pushFollow(FOLLOW_ruleRefinedTransition_in_entryRuleRefinedTransition4420); + pushFollow(FOLLOW_ruleRefinedTransition_in_entryRuleRefinedTransition4439); iv_ruleRefinedTransition=ruleRefinedTransition(); state._fsp--; current =iv_ruleRefinedTransition; - match(input,EOF,FOLLOW_EOF_in_entryRuleRefinedTransition4430); + match(input,EOF,FOLLOW_EOF_in_entryRuleRefinedTransition4449); } @@ -5228,7 +5250,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRefinedTransition" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2129:1: ruleRefinedTransition returns [EObject current=null] : (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2140:1: ruleRefinedTransition returns [EObject current=null] : (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) ; public final EObject ruleRefinedTransition() throws RecognitionException { EObject current = null; @@ -5244,21 +5266,21 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2132:28: ( (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2133:1: (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2143:28: ( (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2144:1: (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2133:1: (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2133:3: otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2144:1: (otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2144:3: otherlv_0= 'RefinedTransition' ( ( ruleFQN ) ) ( (lv_docu_2_0= ruleDocumentation ) )? otherlv_3= '{' otherlv_4= 'action' ( (lv_action_5_0= ruleDetailCode ) ) otherlv_6= '}' { - otherlv_0=(Token)match(input,39,FOLLOW_39_in_ruleRefinedTransition4467); + otherlv_0=(Token)match(input,39,FOLLOW_39_in_ruleRefinedTransition4486); newLeafNode(otherlv_0, grammarAccess.getRefinedTransitionAccess().getRefinedTransitionKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2137:1: ( ( ruleFQN ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2138:1: ( ruleFQN ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2148:1: ( ( ruleFQN ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2149:1: ( ruleFQN ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2138:1: ( ruleFQN ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2139:3: ruleFQN + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2149:1: ( ruleFQN ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2150:3: ruleFQN { if (current==null) { @@ -5268,7 +5290,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getRefinedTransitionAccess().getTargetTransitionCrossReference_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleRefinedTransition4490); + pushFollow(FOLLOW_ruleFQN_in_ruleRefinedTransition4509); ruleFQN(); state._fsp--; @@ -5282,24 +5304,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2152:2: ( (lv_docu_2_0= ruleDocumentation ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2163:2: ( (lv_docu_2_0= ruleDocumentation ) )? int alt43=2; int LA43_0 = input.LA(1); - if ( (LA43_0==52) ) { + if ( (LA43_0==56) ) { alt43=1; } switch (alt43) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2153:1: (lv_docu_2_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2164:1: (lv_docu_2_0= ruleDocumentation ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2153:1: (lv_docu_2_0= ruleDocumentation ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2154:3: lv_docu_2_0= ruleDocumentation + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2164:1: (lv_docu_2_0= ruleDocumentation ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2165:3: lv_docu_2_0= ruleDocumentation { newCompositeNode(grammarAccess.getRefinedTransitionAccess().getDocuDocumentationParserRuleCall_2_0()); - pushFollow(FOLLOW_ruleDocumentation_in_ruleRefinedTransition4511); + pushFollow(FOLLOW_ruleDocumentation_in_ruleRefinedTransition4530); lv_docu_2_0=ruleDocumentation(); state._fsp--; @@ -5324,24 +5346,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleRefinedTransition4524); + otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleRefinedTransition4543); newLeafNode(otherlv_3, grammarAccess.getRefinedTransitionAccess().getLeftCurlyBracketKeyword_3()); - otherlv_4=(Token)match(input,34,FOLLOW_34_in_ruleRefinedTransition4536); + otherlv_4=(Token)match(input,34,FOLLOW_34_in_ruleRefinedTransition4555); newLeafNode(otherlv_4, grammarAccess.getRefinedTransitionAccess().getActionKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2178:1: ( (lv_action_5_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2179:1: (lv_action_5_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2189:1: ( (lv_action_5_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2190:1: (lv_action_5_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2179:1: (lv_action_5_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2180:3: lv_action_5_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2190:1: (lv_action_5_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2191:3: lv_action_5_0= ruleDetailCode { newCompositeNode(grammarAccess.getRefinedTransitionAccess().getActionDetailCodeParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleRefinedTransition4557); + pushFollow(FOLLOW_ruleDetailCode_in_ruleRefinedTransition4576); lv_action_5_0=ruleDetailCode(); state._fsp--; @@ -5363,7 +5385,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_6=(Token)match(input,17,FOLLOW_17_in_ruleRefinedTransition4569); + otherlv_6=(Token)match(input,17,FOLLOW_17_in_ruleRefinedTransition4588); newLeafNode(otherlv_6, grammarAccess.getRefinedTransitionAccess().getRightCurlyBracketKeyword_6()); @@ -5388,7 +5410,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTransitionTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2208:1: entryRuleTransitionTerminal returns [EObject current=null] : iv_ruleTransitionTerminal= ruleTransitionTerminal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2219:1: entryRuleTransitionTerminal returns [EObject current=null] : iv_ruleTransitionTerminal= ruleTransitionTerminal EOF ; public final EObject entryRuleTransitionTerminal() throws RecognitionException { EObject current = null; @@ -5396,17 +5418,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2209:2: (iv_ruleTransitionTerminal= ruleTransitionTerminal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2210:2: iv_ruleTransitionTerminal= ruleTransitionTerminal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2220:2: (iv_ruleTransitionTerminal= ruleTransitionTerminal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2221:2: iv_ruleTransitionTerminal= ruleTransitionTerminal EOF { newCompositeNode(grammarAccess.getTransitionTerminalRule()); - pushFollow(FOLLOW_ruleTransitionTerminal_in_entryRuleTransitionTerminal4605); + pushFollow(FOLLOW_ruleTransitionTerminal_in_entryRuleTransitionTerminal4624); iv_ruleTransitionTerminal=ruleTransitionTerminal(); state._fsp--; current =iv_ruleTransitionTerminal; - match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionTerminal4615); + match(input,EOF,FOLLOW_EOF_in_entryRuleTransitionTerminal4634); } @@ -5424,7 +5446,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTransitionTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2217:1: ruleTransitionTerminal returns [EObject current=null] : (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2228:1: ruleTransitionTerminal returns [EObject current=null] : (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) ; public final EObject ruleTransitionTerminal() throws RecognitionException { EObject current = null; @@ -5440,22 +5462,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2220:28: ( (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2221:1: (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2231:28: ( (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2232:1: (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2221:1: (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2232:1: (this_StateTerminal_0= ruleStateTerminal | this_TrPointTerminal_1= ruleTrPointTerminal | this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal | this_ChoicepointTerminal_3= ruleChoicepointTerminal ) int alt44=4; switch ( input.LA(1) ) { case RULE_ID: { int LA44_1 = input.LA(2); - if ( (LA44_1==EOF||(LA44_1>=16 && LA44_1<=17)||LA44_1==19||(LA44_1>=24 && LA44_1<=30)||LA44_1==33||LA44_1==39||LA44_1==52) ) { - alt44=1; - } - else if ( (LA44_1==41) ) { + if ( (LA44_1==41) ) { alt44=3; } + else if ( (LA44_1==EOF||(LA44_1>=16 && LA44_1<=17)||LA44_1==19||(LA44_1>=24 && LA44_1<=30)||LA44_1==33||LA44_1==39||LA44_1==56) ) { + alt44=1; + } else { NoViableAltException nvae = new NoViableAltException("", 44, 1, input); @@ -5483,12 +5505,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { switch (alt44) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2222:5: this_StateTerminal_0= ruleStateTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2233:5: this_StateTerminal_0= ruleStateTerminal { newCompositeNode(grammarAccess.getTransitionTerminalAccess().getStateTerminalParserRuleCall_0()); - pushFollow(FOLLOW_ruleStateTerminal_in_ruleTransitionTerminal4662); + pushFollow(FOLLOW_ruleStateTerminal_in_ruleTransitionTerminal4681); this_StateTerminal_0=ruleStateTerminal(); state._fsp--; @@ -5501,12 +5523,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2232:5: this_TrPointTerminal_1= ruleTrPointTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2243:5: this_TrPointTerminal_1= ruleTrPointTerminal { newCompositeNode(grammarAccess.getTransitionTerminalAccess().getTrPointTerminalParserRuleCall_1()); - pushFollow(FOLLOW_ruleTrPointTerminal_in_ruleTransitionTerminal4689); + pushFollow(FOLLOW_ruleTrPointTerminal_in_ruleTransitionTerminal4708); this_TrPointTerminal_1=ruleTrPointTerminal(); state._fsp--; @@ -5519,12 +5541,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2242:5: this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2253:5: this_SubStateTrPointTerminal_2= ruleSubStateTrPointTerminal { newCompositeNode(grammarAccess.getTransitionTerminalAccess().getSubStateTrPointTerminalParserRuleCall_2()); - pushFollow(FOLLOW_ruleSubStateTrPointTerminal_in_ruleTransitionTerminal4716); + pushFollow(FOLLOW_ruleSubStateTrPointTerminal_in_ruleTransitionTerminal4735); this_SubStateTrPointTerminal_2=ruleSubStateTrPointTerminal(); state._fsp--; @@ -5537,12 +5559,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2252:5: this_ChoicepointTerminal_3= ruleChoicepointTerminal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2263:5: this_ChoicepointTerminal_3= ruleChoicepointTerminal { newCompositeNode(grammarAccess.getTransitionTerminalAccess().getChoicepointTerminalParserRuleCall_3()); - pushFollow(FOLLOW_ruleChoicepointTerminal_in_ruleTransitionTerminal4743); + pushFollow(FOLLOW_ruleChoicepointTerminal_in_ruleTransitionTerminal4762); this_ChoicepointTerminal_3=ruleChoicepointTerminal(); state._fsp--; @@ -5575,7 +5597,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStateTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2268:1: entryRuleStateTerminal returns [EObject current=null] : iv_ruleStateTerminal= ruleStateTerminal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2279:1: entryRuleStateTerminal returns [EObject current=null] : iv_ruleStateTerminal= ruleStateTerminal EOF ; public final EObject entryRuleStateTerminal() throws RecognitionException { EObject current = null; @@ -5583,17 +5605,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2269:2: (iv_ruleStateTerminal= ruleStateTerminal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2270:2: iv_ruleStateTerminal= ruleStateTerminal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2280:2: (iv_ruleStateTerminal= ruleStateTerminal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2281:2: iv_ruleStateTerminal= ruleStateTerminal EOF { newCompositeNode(grammarAccess.getStateTerminalRule()); - pushFollow(FOLLOW_ruleStateTerminal_in_entryRuleStateTerminal4778); + pushFollow(FOLLOW_ruleStateTerminal_in_entryRuleStateTerminal4797); iv_ruleStateTerminal=ruleStateTerminal(); state._fsp--; current =iv_ruleStateTerminal; - match(input,EOF,FOLLOW_EOF_in_entryRuleStateTerminal4788); + match(input,EOF,FOLLOW_EOF_in_entryRuleStateTerminal4807); } @@ -5611,7 +5633,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStateTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2277:1: ruleStateTerminal returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2288:1: ruleStateTerminal returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleStateTerminal() throws RecognitionException { EObject current = null; @@ -5620,21 +5642,21 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2280:28: ( ( (otherlv_0= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2281:1: ( (otherlv_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2291:28: ( ( (otherlv_0= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2292:1: ( (otherlv_0= RULE_ID ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2281:1: ( (otherlv_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2282:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2292:1: ( (otherlv_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2293:1: (otherlv_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2282:1: (otherlv_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2283:3: otherlv_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2293:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2294:3: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getStateTerminalRule()); } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStateTerminal4832); + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleStateTerminal4851); newLeafNode(otherlv_0, grammarAccess.getStateTerminalAccess().getStateStateCrossReference_0()); @@ -5662,7 +5684,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTrPointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2302:1: entryRuleTrPointTerminal returns [EObject current=null] : iv_ruleTrPointTerminal= ruleTrPointTerminal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2313:1: entryRuleTrPointTerminal returns [EObject current=null] : iv_ruleTrPointTerminal= ruleTrPointTerminal EOF ; public final EObject entryRuleTrPointTerminal() throws RecognitionException { EObject current = null; @@ -5670,17 +5692,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2303:2: (iv_ruleTrPointTerminal= ruleTrPointTerminal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2304:2: iv_ruleTrPointTerminal= ruleTrPointTerminal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2314:2: (iv_ruleTrPointTerminal= ruleTrPointTerminal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2315:2: iv_ruleTrPointTerminal= ruleTrPointTerminal EOF { newCompositeNode(grammarAccess.getTrPointTerminalRule()); - pushFollow(FOLLOW_ruleTrPointTerminal_in_entryRuleTrPointTerminal4867); + pushFollow(FOLLOW_ruleTrPointTerminal_in_entryRuleTrPointTerminal4886); iv_ruleTrPointTerminal=ruleTrPointTerminal(); state._fsp--; current =iv_ruleTrPointTerminal; - match(input,EOF,FOLLOW_EOF_in_entryRuleTrPointTerminal4877); + match(input,EOF,FOLLOW_EOF_in_entryRuleTrPointTerminal4896); } @@ -5698,7 +5720,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTrPointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2311:1: ruleTrPointTerminal returns [EObject current=null] : (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2322:1: ruleTrPointTerminal returns [EObject current=null] : (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) ; public final EObject ruleTrPointTerminal() throws RecognitionException { EObject current = null; @@ -5708,28 +5730,28 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2314:28: ( (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2315:1: (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2325:28: ( (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2326:1: (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2315:1: (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2315:3: otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2326:1: (otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2326:3: otherlv_0= 'my' ( (otherlv_1= RULE_ID ) ) { - otherlv_0=(Token)match(input,40,FOLLOW_40_in_ruleTrPointTerminal4914); + otherlv_0=(Token)match(input,40,FOLLOW_40_in_ruleTrPointTerminal4933); newLeafNode(otherlv_0, grammarAccess.getTrPointTerminalAccess().getMyKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2319:1: ( (otherlv_1= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2320:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2330:1: ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2331:1: (otherlv_1= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2320:1: (otherlv_1= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2321:3: otherlv_1= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2331:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2332:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getTrPointTerminalRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTrPointTerminal4934); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTrPointTerminal4953); newLeafNode(otherlv_1, grammarAccess.getTrPointTerminalAccess().getTrPointTrPointCrossReference_1_0()); @@ -5760,7 +5782,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSubStateTrPointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2340:1: entryRuleSubStateTrPointTerminal returns [EObject current=null] : iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2351:1: entryRuleSubStateTrPointTerminal returns [EObject current=null] : iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF ; public final EObject entryRuleSubStateTrPointTerminal() throws RecognitionException { EObject current = null; @@ -5768,17 +5790,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2341:2: (iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2342:2: iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2352:2: (iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2353:2: iv_ruleSubStateTrPointTerminal= ruleSubStateTrPointTerminal EOF { newCompositeNode(grammarAccess.getSubStateTrPointTerminalRule()); - pushFollow(FOLLOW_ruleSubStateTrPointTerminal_in_entryRuleSubStateTrPointTerminal4970); + pushFollow(FOLLOW_ruleSubStateTrPointTerminal_in_entryRuleSubStateTrPointTerminal4989); iv_ruleSubStateTrPointTerminal=ruleSubStateTrPointTerminal(); state._fsp--; current =iv_ruleSubStateTrPointTerminal; - match(input,EOF,FOLLOW_EOF_in_entryRuleSubStateTrPointTerminal4980); + match(input,EOF,FOLLOW_EOF_in_entryRuleSubStateTrPointTerminal4999); } @@ -5796,7 +5818,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSubStateTrPointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2349:1: ruleSubStateTrPointTerminal returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2360:1: ruleSubStateTrPointTerminal returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) ; public final EObject ruleSubStateTrPointTerminal() throws RecognitionException { EObject current = null; @@ -5807,24 +5829,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2352:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2353:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2363:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2364:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2353:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2353:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2364:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2364:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= 'of' ( (otherlv_2= RULE_ID ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2353:2: ( (otherlv_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2354:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2364:2: ( (otherlv_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2365:1: (otherlv_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2354:1: (otherlv_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2355:3: otherlv_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2365:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2366:3: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getSubStateTrPointTerminalRule()); } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5025); + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5044); newLeafNode(otherlv_0, grammarAccess.getSubStateTrPointTerminalAccess().getTrPointTrPointCrossReference_0_0()); @@ -5834,22 +5856,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleSubStateTrPointTerminal5037); + otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleSubStateTrPointTerminal5056); newLeafNode(otherlv_1, grammarAccess.getSubStateTrPointTerminalAccess().getOfKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2370:1: ( (otherlv_2= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2371:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2381:1: ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2382:1: (otherlv_2= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2371:1: (otherlv_2= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2372:3: otherlv_2= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2382:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2383:3: otherlv_2= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getSubStateTrPointTerminalRule()); } - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5057); + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5076); newLeafNode(otherlv_2, grammarAccess.getSubStateTrPointTerminalAccess().getStateStateCrossReference_2_0()); @@ -5880,7 +5902,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleChoicepointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2391:1: entryRuleChoicepointTerminal returns [EObject current=null] : iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2402:1: entryRuleChoicepointTerminal returns [EObject current=null] : iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF ; public final EObject entryRuleChoicepointTerminal() throws RecognitionException { EObject current = null; @@ -5888,17 +5910,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2392:2: (iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2393:2: iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2403:2: (iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2404:2: iv_ruleChoicepointTerminal= ruleChoicepointTerminal EOF { newCompositeNode(grammarAccess.getChoicepointTerminalRule()); - pushFollow(FOLLOW_ruleChoicepointTerminal_in_entryRuleChoicepointTerminal5093); + pushFollow(FOLLOW_ruleChoicepointTerminal_in_entryRuleChoicepointTerminal5112); iv_ruleChoicepointTerminal=ruleChoicepointTerminal(); state._fsp--; current =iv_ruleChoicepointTerminal; - match(input,EOF,FOLLOW_EOF_in_entryRuleChoicepointTerminal5103); + match(input,EOF,FOLLOW_EOF_in_entryRuleChoicepointTerminal5122); } @@ -5916,7 +5938,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleChoicepointTerminal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2400:1: ruleChoicepointTerminal returns [EObject current=null] : (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2411:1: ruleChoicepointTerminal returns [EObject current=null] : (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) ; public final EObject ruleChoicepointTerminal() throws RecognitionException { EObject current = null; @@ -5926,28 +5948,28 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2403:28: ( (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2404:1: (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2414:28: ( (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2415:1: (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2404:1: (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2404:3: otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2415:1: (otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2415:3: otherlv_0= 'cp' ( (otherlv_1= RULE_ID ) ) { - otherlv_0=(Token)match(input,42,FOLLOW_42_in_ruleChoicepointTerminal5140); + otherlv_0=(Token)match(input,42,FOLLOW_42_in_ruleChoicepointTerminal5159); newLeafNode(otherlv_0, grammarAccess.getChoicepointTerminalAccess().getCpKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2408:1: ( (otherlv_1= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2409:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2419:1: ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2420:1: (otherlv_1= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2409:1: (otherlv_1= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2410:3: otherlv_1= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2420:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2421:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getChoicepointTerminalRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChoicepointTerminal5160); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleChoicepointTerminal5179); newLeafNode(otherlv_1, grammarAccess.getChoicepointTerminalAccess().getCpChoicePointCrossReference_1_0()); @@ -5978,7 +6000,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleTrigger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2429:1: entryRuleTrigger returns [EObject current=null] : iv_ruleTrigger= ruleTrigger EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2440:1: entryRuleTrigger returns [EObject current=null] : iv_ruleTrigger= ruleTrigger EOF ; public final EObject entryRuleTrigger() throws RecognitionException { EObject current = null; @@ -5986,17 +6008,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2430:2: (iv_ruleTrigger= ruleTrigger EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2431:2: iv_ruleTrigger= ruleTrigger EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2441:2: (iv_ruleTrigger= ruleTrigger EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2442:2: iv_ruleTrigger= ruleTrigger EOF { newCompositeNode(grammarAccess.getTriggerRule()); - pushFollow(FOLLOW_ruleTrigger_in_entryRuleTrigger5196); + pushFollow(FOLLOW_ruleTrigger_in_entryRuleTrigger5215); iv_ruleTrigger=ruleTrigger(); state._fsp--; current =iv_ruleTrigger; - match(input,EOF,FOLLOW_EOF_in_entryRuleTrigger5206); + match(input,EOF,FOLLOW_EOF_in_entryRuleTrigger5225); } @@ -6014,7 +6036,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleTrigger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2438:1: ruleTrigger returns [EObject current=null] : (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2449:1: ruleTrigger returns [EObject current=null] : (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) ; public final EObject ruleTrigger() throws RecognitionException { EObject current = null; @@ -6031,26 +6053,26 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2441:28: ( (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2442:1: (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2452:28: ( (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2453:1: (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2442:1: (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2442:3: otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2453:1: (otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2453:3: otherlv_0= '<' ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* ( (lv_guard_4_0= ruleGuard ) )? otherlv_5= '>' { - otherlv_0=(Token)match(input,43,FOLLOW_43_in_ruleTrigger5243); + otherlv_0=(Token)match(input,43,FOLLOW_43_in_ruleTrigger5262); newLeafNode(otherlv_0, grammarAccess.getTriggerAccess().getLessThanSignKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2446:1: ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2447:1: (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2457:1: ( (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2458:1: (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2447:1: (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2448:3: lv_msgFromIfPairs_1_0= ruleMessageFromIf + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2458:1: (lv_msgFromIfPairs_1_0= ruleMessageFromIf ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2459:3: lv_msgFromIfPairs_1_0= ruleMessageFromIf { newCompositeNode(grammarAccess.getTriggerAccess().getMsgFromIfPairsMessageFromIfParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleMessageFromIf_in_ruleTrigger5264); + pushFollow(FOLLOW_ruleMessageFromIf_in_ruleTrigger5283); lv_msgFromIfPairs_1_0=ruleMessageFromIf(); state._fsp--; @@ -6072,7 +6094,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2464:2: (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2475:2: (otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) )* loop45: do { int alt45=2; @@ -6085,22 +6107,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { switch (alt45) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2464:4: otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2475:4: otherlv_2= '|' ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) { - otherlv_2=(Token)match(input,44,FOLLOW_44_in_ruleTrigger5277); + otherlv_2=(Token)match(input,44,FOLLOW_44_in_ruleTrigger5296); newLeafNode(otherlv_2, grammarAccess.getTriggerAccess().getVerticalLineKeyword_2_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2468:1: ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2469:1: (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2479:1: ( (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2480:1: (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2469:1: (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2470:3: lv_msgFromIfPairs_3_0= ruleMessageFromIf + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2480:1: (lv_msgFromIfPairs_3_0= ruleMessageFromIf ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2481:3: lv_msgFromIfPairs_3_0= ruleMessageFromIf { newCompositeNode(grammarAccess.getTriggerAccess().getMsgFromIfPairsMessageFromIfParserRuleCall_2_1_0()); - pushFollow(FOLLOW_ruleMessageFromIf_in_ruleTrigger5298); + pushFollow(FOLLOW_ruleMessageFromIf_in_ruleTrigger5317); lv_msgFromIfPairs_3_0=ruleMessageFromIf(); state._fsp--; @@ -6131,7 +6153,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } } while (true); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2486:4: ( (lv_guard_4_0= ruleGuard ) )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2497:4: ( (lv_guard_4_0= ruleGuard ) )? int alt46=2; int LA46_0 = input.LA(1); @@ -6140,15 +6162,15 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } switch (alt46) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2487:1: (lv_guard_4_0= ruleGuard ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2498:1: (lv_guard_4_0= ruleGuard ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2487:1: (lv_guard_4_0= ruleGuard ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2488:3: lv_guard_4_0= ruleGuard + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2498:1: (lv_guard_4_0= ruleGuard ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2499:3: lv_guard_4_0= ruleGuard { newCompositeNode(grammarAccess.getTriggerAccess().getGuardGuardParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleGuard_in_ruleTrigger5321); + pushFollow(FOLLOW_ruleGuard_in_ruleTrigger5340); lv_guard_4_0=ruleGuard(); state._fsp--; @@ -6173,7 +6195,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,45,FOLLOW_45_in_ruleTrigger5334); + otherlv_5=(Token)match(input,45,FOLLOW_45_in_ruleTrigger5353); newLeafNode(otherlv_5, grammarAccess.getTriggerAccess().getGreaterThanSignKeyword_4()); @@ -6198,7 +6220,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMessageFromIf" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2516:1: entryRuleMessageFromIf returns [EObject current=null] : iv_ruleMessageFromIf= ruleMessageFromIf EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2527:1: entryRuleMessageFromIf returns [EObject current=null] : iv_ruleMessageFromIf= ruleMessageFromIf EOF ; public final EObject entryRuleMessageFromIf() throws RecognitionException { EObject current = null; @@ -6206,17 +6228,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2517:2: (iv_ruleMessageFromIf= ruleMessageFromIf EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2518:2: iv_ruleMessageFromIf= ruleMessageFromIf EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2528:2: (iv_ruleMessageFromIf= ruleMessageFromIf EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2529:2: iv_ruleMessageFromIf= ruleMessageFromIf EOF { newCompositeNode(grammarAccess.getMessageFromIfRule()); - pushFollow(FOLLOW_ruleMessageFromIf_in_entryRuleMessageFromIf5370); + pushFollow(FOLLOW_ruleMessageFromIf_in_entryRuleMessageFromIf5389); iv_ruleMessageFromIf=ruleMessageFromIf(); state._fsp--; current =iv_ruleMessageFromIf; - match(input,EOF,FOLLOW_EOF_in_entryRuleMessageFromIf5380); + match(input,EOF,FOLLOW_EOF_in_entryRuleMessageFromIf5399); } @@ -6234,7 +6256,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMessageFromIf" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2525:1: ruleMessageFromIf returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2536:1: ruleMessageFromIf returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) ; public final EObject ruleMessageFromIf() throws RecognitionException { EObject current = null; @@ -6245,24 +6267,24 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2528:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2529:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2539:28: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2540:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2529:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2529:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2540:1: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2540:2: ( (otherlv_0= RULE_ID ) ) otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2529:2: ( (otherlv_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2530:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2540:2: ( (otherlv_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2541:1: (otherlv_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2530:1: (otherlv_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2531:3: otherlv_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2541:1: (otherlv_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2542:3: otherlv_0= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getMessageFromIfRule()); } - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleMessageFromIf5425); + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleMessageFromIf5444); newLeafNode(otherlv_0, grammarAccess.getMessageFromIfAccess().getMessageAbstractMessageCrossReference_0_0()); @@ -6272,22 +6294,22 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleMessageFromIf5437); + otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleMessageFromIf5456); newLeafNode(otherlv_1, grammarAccess.getMessageFromIfAccess().getColonKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2546:1: ( (otherlv_2= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2547:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2557:1: ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2558:1: (otherlv_2= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2547:1: (otherlv_2= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2548:3: otherlv_2= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2558:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2559:3: otherlv_2= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getMessageFromIfRule()); } - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleMessageFromIf5457); + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleMessageFromIf5476); newLeafNode(otherlv_2, grammarAccess.getMessageFromIfAccess().getFromAbstractInterfaceItemCrossReference_2_0()); @@ -6318,7 +6340,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleGuard" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2571:1: entryRuleGuard returns [EObject current=null] : iv_ruleGuard= ruleGuard EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2582:1: entryRuleGuard returns [EObject current=null] : iv_ruleGuard= ruleGuard EOF ; public final EObject entryRuleGuard() throws RecognitionException { EObject current = null; @@ -6326,17 +6348,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2572:2: (iv_ruleGuard= ruleGuard EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2573:2: iv_ruleGuard= ruleGuard EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2583:2: (iv_ruleGuard= ruleGuard EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2584:2: iv_ruleGuard= ruleGuard EOF { newCompositeNode(grammarAccess.getGuardRule()); - pushFollow(FOLLOW_ruleGuard_in_entryRuleGuard5497); + pushFollow(FOLLOW_ruleGuard_in_entryRuleGuard5516); iv_ruleGuard=ruleGuard(); state._fsp--; current =iv_ruleGuard; - match(input,EOF,FOLLOW_EOF_in_entryRuleGuard5507); + match(input,EOF,FOLLOW_EOF_in_entryRuleGuard5526); } @@ -6354,7 +6376,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleGuard" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2580:1: ruleGuard returns [EObject current=null] : (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2591:1: ruleGuard returns [EObject current=null] : (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) ; public final EObject ruleGuard() throws RecognitionException { EObject current = null; @@ -6365,26 +6387,26 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2583:28: ( (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2584:1: (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2594:28: ( (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2595:1: (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2584:1: (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2584:3: otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2595:1: (otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2595:3: otherlv_0= 'guard' ( (lv_guard_1_0= ruleDetailCode ) ) { - otherlv_0=(Token)match(input,37,FOLLOW_37_in_ruleGuard5544); + otherlv_0=(Token)match(input,37,FOLLOW_37_in_ruleGuard5563); newLeafNode(otherlv_0, grammarAccess.getGuardAccess().getGuardKeyword_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2588:1: ( (lv_guard_1_0= ruleDetailCode ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2589:1: (lv_guard_1_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2599:1: ( (lv_guard_1_0= ruleDetailCode ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2600:1: (lv_guard_1_0= ruleDetailCode ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2589:1: (lv_guard_1_0= ruleDetailCode ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2590:3: lv_guard_1_0= ruleDetailCode + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2600:1: (lv_guard_1_0= ruleDetailCode ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2601:3: lv_guard_1_0= ruleDetailCode { newCompositeNode(grammarAccess.getGuardAccess().getGuardDetailCodeParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleDetailCode_in_ruleGuard5565); + pushFollow(FOLLOW_ruleDetailCode_in_ruleGuard5584); lv_guard_1_0=ruleDetailCode(); state._fsp--; @@ -6426,8 +6448,745 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleGuard" + // $ANTLR start "entryRuleSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2627:1: entryRuleSemanticsRule returns [EObject current=null] : iv_ruleSemanticsRule= ruleSemanticsRule EOF ; + public final EObject entryRuleSemanticsRule() throws RecognitionException { + EObject current = null; + + EObject iv_ruleSemanticsRule = null; + + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2628:2: (iv_ruleSemanticsRule= ruleSemanticsRule EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2629:2: iv_ruleSemanticsRule= ruleSemanticsRule EOF + { + newCompositeNode(grammarAccess.getSemanticsRuleRule()); + pushFollow(FOLLOW_ruleSemanticsRule_in_entryRuleSemanticsRule5622); + iv_ruleSemanticsRule=ruleSemanticsRule(); + + state._fsp--; + + current =iv_ruleSemanticsRule; + match(input,EOF,FOLLOW_EOF_in_entryRuleSemanticsRule5632); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleSemanticsRule" + + + // $ANTLR start "ruleSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2636:1: ruleSemanticsRule returns [EObject current=null] : (this_InSemanticsRule_0= ruleInSemanticsRule | this_OutSemanticsRule_1= ruleOutSemanticsRule ) ; + public final EObject ruleSemanticsRule() throws RecognitionException { + EObject current = null; + + EObject this_InSemanticsRule_0 = null; + + EObject this_OutSemanticsRule_1 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2639:28: ( (this_InSemanticsRule_0= ruleInSemanticsRule | this_OutSemanticsRule_1= ruleOutSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2640:1: (this_InSemanticsRule_0= ruleInSemanticsRule | this_OutSemanticsRule_1= ruleOutSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2640:1: (this_InSemanticsRule_0= ruleInSemanticsRule | this_OutSemanticsRule_1= ruleOutSemanticsRule ) + int alt47=2; + int LA47_0 = input.LA(1); + + if ( (LA47_0==46) ) { + alt47=1; + } + else if ( (LA47_0==50) ) { + alt47=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 47, 0, input); + + throw nvae; + } + switch (alt47) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2641:5: this_InSemanticsRule_0= ruleInSemanticsRule + { + + newCompositeNode(grammarAccess.getSemanticsRuleAccess().getInSemanticsRuleParserRuleCall_0()); + + pushFollow(FOLLOW_ruleInSemanticsRule_in_ruleSemanticsRule5679); + this_InSemanticsRule_0=ruleInSemanticsRule(); + + state._fsp--; + + + current = this_InSemanticsRule_0; + afterParserOrEnumRuleCall(); + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2651:5: this_OutSemanticsRule_1= ruleOutSemanticsRule + { + + newCompositeNode(grammarAccess.getSemanticsRuleAccess().getOutSemanticsRuleParserRuleCall_1()); + + pushFollow(FOLLOW_ruleOutSemanticsRule_in_ruleSemanticsRule5706); + this_OutSemanticsRule_1=ruleOutSemanticsRule(); + + state._fsp--; + + + current = this_OutSemanticsRule_1; + afterParserOrEnumRuleCall(); + + + } + break; + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSemanticsRule" + + + // $ANTLR start "entryRuleInSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2667:1: entryRuleInSemanticsRule returns [EObject current=null] : iv_ruleInSemanticsRule= ruleInSemanticsRule EOF ; + public final EObject entryRuleInSemanticsRule() throws RecognitionException { + EObject current = null; + + EObject iv_ruleInSemanticsRule = null; + + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2668:2: (iv_ruleInSemanticsRule= ruleInSemanticsRule EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2669:2: iv_ruleInSemanticsRule= ruleInSemanticsRule EOF + { + newCompositeNode(grammarAccess.getInSemanticsRuleRule()); + pushFollow(FOLLOW_ruleInSemanticsRule_in_entryRuleInSemanticsRule5741); + iv_ruleInSemanticsRule=ruleInSemanticsRule(); + + state._fsp--; + + current =iv_ruleInSemanticsRule; + match(input,EOF,FOLLOW_EOF_in_entryRuleInSemanticsRule5751); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleInSemanticsRule" + + + // $ANTLR start "ruleInSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2676:1: ruleInSemanticsRule returns [EObject current=null] : (otherlv_0= 'in' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) ; + public final EObject ruleInSemanticsRule() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + EObject lv_followUps_4_0 = null; + + EObject lv_followUps_6_0 = null; + + EObject lv_followUps_8_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2679:28: ( (otherlv_0= 'in' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2680:1: (otherlv_0= 'in' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2680:1: (otherlv_0= 'in' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2680:3: otherlv_0= 'in' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? + { + otherlv_0=(Token)match(input,46,FOLLOW_46_in_ruleInSemanticsRule5788); + + newLeafNode(otherlv_0, grammarAccess.getInSemanticsRuleAccess().getInKeyword_0()); + + otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleInSemanticsRule5800); + + newLeafNode(otherlv_1, grammarAccess.getInSemanticsRuleAccess().getColonKeyword_1()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2688:1: ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2689:1: (otherlv_2= RULE_ID ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2689:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2690:3: otherlv_2= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getInSemanticsRuleRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInSemanticsRule5820); + + newLeafNode(otherlv_2, grammarAccess.getInSemanticsRuleAccess().getMsgAbstractMessageCrossReference_2_0()); + + + } + + + } + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2701:2: (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? + int alt50=2; + int LA50_0 = input.LA(1); + + if ( (LA50_0==33) ) { + alt50=1; + } + switch (alt50) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2701:4: otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) + { + otherlv_3=(Token)match(input,33,FOLLOW_33_in_ruleInSemanticsRule5833); + + newLeafNode(otherlv_3, grammarAccess.getInSemanticsRuleAccess().getHyphenMinusGreaterThanSignKeyword_3_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2705:1: ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) + int alt49=2; + int LA49_0 = input.LA(1); + + if ( (LA49_0==46||LA49_0==50) ) { + alt49=1; + } + else if ( (LA49_0==47) ) { + alt49=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 49, 0, input); + + throw nvae; + } + switch (alt49) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2705:2: ( (lv_followUps_4_0= ruleSemanticsRule ) ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2705:2: ( (lv_followUps_4_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2706:1: (lv_followUps_4_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2706:1: (lv_followUps_4_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2707:3: lv_followUps_4_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5855); + lv_followUps_4_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_4_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2724:6: (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2724:6: (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2724:8: otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' + { + otherlv_5=(Token)match(input,47,FOLLOW_47_in_ruleInSemanticsRule5874); + + newLeafNode(otherlv_5, grammarAccess.getInSemanticsRuleAccess().getLeftParenthesisKeyword_3_1_1_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2728:1: ( (lv_followUps_6_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2729:1: (lv_followUps_6_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2729:1: (lv_followUps_6_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2730:3: lv_followUps_6_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5895); + lv_followUps_6_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_6_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2746:2: (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ + int cnt48=0; + loop48: + do { + int alt48=2; + int LA48_0 = input.LA(1); + + if ( (LA48_0==48) ) { + alt48=1; + } + + + switch (alt48) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2746:4: otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) + { + otherlv_7=(Token)match(input,48,FOLLOW_48_in_ruleInSemanticsRule5908); + + newLeafNode(otherlv_7, grammarAccess.getInSemanticsRuleAccess().getCommaKeyword_3_1_1_2_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2750:1: ( (lv_followUps_8_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2751:1: (lv_followUps_8_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2751:1: (lv_followUps_8_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2752:3: lv_followUps_8_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getInSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5929); + lv_followUps_8_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getInSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_8_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + if ( cnt48 >= 1 ) break loop48; + EarlyExitException eee = + new EarlyExitException(48, input); + throw eee; + } + cnt48++; + } while (true); + + otherlv_9=(Token)match(input,49,FOLLOW_49_in_ruleInSemanticsRule5943); + + newLeafNode(otherlv_9, grammarAccess.getInSemanticsRuleAccess().getRightParenthesisKeyword_3_1_1_3()); + + + } + + + } + break; + + } + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleInSemanticsRule" + + + // $ANTLR start "entryRuleOutSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2780:1: entryRuleOutSemanticsRule returns [EObject current=null] : iv_ruleOutSemanticsRule= ruleOutSemanticsRule EOF ; + public final EObject entryRuleOutSemanticsRule() throws RecognitionException { + EObject current = null; + + EObject iv_ruleOutSemanticsRule = null; + + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2781:2: (iv_ruleOutSemanticsRule= ruleOutSemanticsRule EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2782:2: iv_ruleOutSemanticsRule= ruleOutSemanticsRule EOF + { + newCompositeNode(grammarAccess.getOutSemanticsRuleRule()); + pushFollow(FOLLOW_ruleOutSemanticsRule_in_entryRuleOutSemanticsRule5983); + iv_ruleOutSemanticsRule=ruleOutSemanticsRule(); + + state._fsp--; + + current =iv_ruleOutSemanticsRule; + match(input,EOF,FOLLOW_EOF_in_entryRuleOutSemanticsRule5993); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleOutSemanticsRule" + + + // $ANTLR start "ruleOutSemanticsRule" + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2789:1: ruleOutSemanticsRule returns [EObject current=null] : (otherlv_0= 'out' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) ; + public final EObject ruleOutSemanticsRule() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_9=null; + EObject lv_followUps_4_0 = null; + + EObject lv_followUps_6_0 = null; + + EObject lv_followUps_8_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2792:28: ( (otherlv_0= 'out' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2793:1: (otherlv_0= 'out' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2793:1: (otherlv_0= 'out' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2793:3: otherlv_0= 'out' otherlv_1= ':' ( (otherlv_2= RULE_ID ) ) (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? + { + otherlv_0=(Token)match(input,50,FOLLOW_50_in_ruleOutSemanticsRule6030); + + newLeafNode(otherlv_0, grammarAccess.getOutSemanticsRuleAccess().getOutKeyword_0()); + + otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleOutSemanticsRule6042); + + newLeafNode(otherlv_1, grammarAccess.getOutSemanticsRuleAccess().getColonKeyword_1()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2801:1: ( (otherlv_2= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2802:1: (otherlv_2= RULE_ID ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2802:1: (otherlv_2= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2803:3: otherlv_2= RULE_ID + { + + if (current==null) { + current = createModelElement(grammarAccess.getOutSemanticsRuleRule()); + } + + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleOutSemanticsRule6062); + + newLeafNode(otherlv_2, grammarAccess.getOutSemanticsRuleAccess().getMsgAbstractMessageCrossReference_2_0()); + + + } + + + } + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2814:2: (otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) )? + int alt53=2; + int LA53_0 = input.LA(1); + + if ( (LA53_0==33) ) { + alt53=1; + } + switch (alt53) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2814:4: otherlv_3= '->' ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) + { + otherlv_3=(Token)match(input,33,FOLLOW_33_in_ruleOutSemanticsRule6075); + + newLeafNode(otherlv_3, grammarAccess.getOutSemanticsRuleAccess().getHyphenMinusGreaterThanSignKeyword_3_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2818:1: ( ( (lv_followUps_4_0= ruleSemanticsRule ) ) | (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) ) + int alt52=2; + int LA52_0 = input.LA(1); + + if ( (LA52_0==46||LA52_0==50) ) { + alt52=1; + } + else if ( (LA52_0==47) ) { + alt52=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 52, 0, input); + + throw nvae; + } + switch (alt52) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2818:2: ( (lv_followUps_4_0= ruleSemanticsRule ) ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2818:2: ( (lv_followUps_4_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2819:1: (lv_followUps_4_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2819:1: (lv_followUps_4_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2820:3: lv_followUps_4_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6097); + lv_followUps_4_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_4_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2837:6: (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2837:6: (otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2837:8: otherlv_5= '(' ( (lv_followUps_6_0= ruleSemanticsRule ) ) (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ otherlv_9= ')' + { + otherlv_5=(Token)match(input,47,FOLLOW_47_in_ruleOutSemanticsRule6116); + + newLeafNode(otherlv_5, grammarAccess.getOutSemanticsRuleAccess().getLeftParenthesisKeyword_3_1_1_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2841:1: ( (lv_followUps_6_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2842:1: (lv_followUps_6_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2842:1: (lv_followUps_6_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2843:3: lv_followUps_6_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6137); + lv_followUps_6_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_6_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2859:2: (otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) )+ + int cnt51=0; + loop51: + do { + int alt51=2; + int LA51_0 = input.LA(1); + + if ( (LA51_0==48) ) { + alt51=1; + } + + + switch (alt51) { + case 1 : + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2859:4: otherlv_7= ',' ( (lv_followUps_8_0= ruleSemanticsRule ) ) + { + otherlv_7=(Token)match(input,48,FOLLOW_48_in_ruleOutSemanticsRule6150); + + newLeafNode(otherlv_7, grammarAccess.getOutSemanticsRuleAccess().getCommaKeyword_3_1_1_2_0()); + + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2863:1: ( (lv_followUps_8_0= ruleSemanticsRule ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2864:1: (lv_followUps_8_0= ruleSemanticsRule ) + { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2864:1: (lv_followUps_8_0= ruleSemanticsRule ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2865:3: lv_followUps_8_0= ruleSemanticsRule + { + + newCompositeNode(grammarAccess.getOutSemanticsRuleAccess().getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0()); + + pushFollow(FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6171); + lv_followUps_8_0=ruleSemanticsRule(); + + state._fsp--; + + + if (current==null) { + current = createModelElementForParent(grammarAccess.getOutSemanticsRuleRule()); + } + add( + current, + "followUps", + lv_followUps_8_0, + "SemanticsRule"); + afterParserOrEnumRuleCall(); + + + } + + + } + + + } + break; + + default : + if ( cnt51 >= 1 ) break loop51; + EarlyExitException eee = + new EarlyExitException(51, input); + throw eee; + } + cnt51++; + } while (true); + + otherlv_9=(Token)match(input,49,FOLLOW_49_in_ruleOutSemanticsRule6185); + + newLeafNode(otherlv_9, grammarAccess.getOutSemanticsRuleAccess().getRightParenthesisKeyword_3_1_1_3()); + + + } + + + } + break; + + } + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleOutSemanticsRule" + + // $ANTLR start "entryRuleKeyValue" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2616:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2895:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; public final EObject entryRuleKeyValue() throws RecognitionException { EObject current = null; @@ -6435,17 +7194,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2617:2: (iv_ruleKeyValue= ruleKeyValue EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2618:2: iv_ruleKeyValue= ruleKeyValue EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2896:2: (iv_ruleKeyValue= ruleKeyValue EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2897:2: iv_ruleKeyValue= ruleKeyValue EOF { newCompositeNode(grammarAccess.getKeyValueRule()); - pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue5603); + pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue6227); iv_ruleKeyValue=ruleKeyValue(); state._fsp--; current =iv_ruleKeyValue; - match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue5613); + match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue6237); } @@ -6463,7 +7222,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleKeyValue" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2625:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2904: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; @@ -6475,19 +7234,19 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2628:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2629:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2907:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2908:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2629:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2629:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2908:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2908:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2629:2: ( (lv_key_0_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2630:1: (lv_key_0_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2908:2: ( (lv_key_0_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2909:1: (lv_key_0_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2630:1: (lv_key_0_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2631:3: lv_key_0_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2909:1: (lv_key_0_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2910:3: lv_key_0_0= RULE_ID { - lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue5655); + lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue6279); newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); @@ -6507,20 +7266,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleKeyValue5672); + otherlv_1=(Token)match(input,51,FOLLOW_51_in_ruleKeyValue6296); newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2651:1: ( (lv_value_2_0= ruleLiteral ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2652:1: (lv_value_2_0= ruleLiteral ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2930:1: ( (lv_value_2_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2931:1: (lv_value_2_0= ruleLiteral ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2652:1: (lv_value_2_0= ruleLiteral ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2653:3: lv_value_2_0= ruleLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2931:1: (lv_value_2_0= ruleLiteral ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2932:3: lv_value_2_0= ruleLiteral { newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); - pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue5693); + pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue6317); lv_value_2_0=ruleLiteral(); state._fsp--; @@ -6563,7 +7322,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationTargetType" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2679:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2958:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; public final String entryRuleAnnotationTargetType() throws RecognitionException { String current = null; @@ -6571,17 +7330,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2680:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2681:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2959:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2960:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF { newCompositeNode(grammarAccess.getAnnotationTargetTypeRule()); - pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType5732); + pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType6356); iv_ruleAnnotationTargetType=ruleAnnotationTargetType(); state._fsp--; current =iv_ruleAnnotationTargetType.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType5743); + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType6367); } @@ -6599,7 +7358,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationTargetType" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2688:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2967:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; public final AntlrDatatypeRuleToken ruleAnnotationTargetType() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -6608,10 +7367,10 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2691:28: (this_ID_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2692:5: this_ID_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2970:28: (this_ID_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2971:5: this_ID_0= RULE_ID { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType5782); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType6406); current.merge(this_ID_0); @@ -6636,7 +7395,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2707:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2986:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; public final EObject entryRuleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -6644,17 +7403,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2708:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2709:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2987:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2988:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute5826); + pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute6450); iv_ruleAnnotationAttribute=ruleAnnotationAttribute(); state._fsp--; current =iv_ruleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute5836); + match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute6460); } @@ -6672,7 +7431,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2716:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2995:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; public final EObject ruleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -6684,119 +7443,119 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2719:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2720:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2998:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2999:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2720:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) - int alt47=2; - int LA47_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2999:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + int alt54=2; + int LA54_0 = input.LA(1); - if ( (LA47_0==47) ) { - int LA47_1 = input.LA(2); + if ( (LA54_0==52) ) { + int LA54_1 = input.LA(2); - if ( (LA47_1==49) ) { - int LA47_3 = input.LA(3); + if ( (LA54_1==54) ) { + int LA54_3 = input.LA(3); - if ( (LA47_3==RULE_ID) ) { - int LA47_4 = input.LA(4); + if ( (LA54_3==RULE_ID) ) { + int LA54_4 = input.LA(4); - if ( (LA47_4==31) ) { - int LA47_5 = input.LA(5); + if ( (LA54_4==31) ) { + int LA54_5 = input.LA(5); - if ( ((LA47_5>=63 && LA47_5<=66)) ) { - alt47=1; + if ( (LA54_5==16) ) { + alt54=2; } - else if ( (LA47_5==16) ) { - alt47=2; + else if ( ((LA54_5>=67 && LA54_5<=70)) ) { + alt54=1; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 5, input); + new NoViableAltException("", 54, 5, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 4, input); + new NoViableAltException("", 54, 4, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 3, input); + new NoViableAltException("", 54, 3, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 1, input); + new NoViableAltException("", 54, 1, input); throw nvae; } } - else if ( (LA47_0==48) ) { - int LA47_2 = input.LA(2); + else if ( (LA54_0==53) ) { + int LA54_2 = input.LA(2); - if ( (LA47_2==49) ) { - int LA47_3 = input.LA(3); + if ( (LA54_2==54) ) { + int LA54_3 = input.LA(3); - if ( (LA47_3==RULE_ID) ) { - int LA47_4 = input.LA(4); + if ( (LA54_3==RULE_ID) ) { + int LA54_4 = input.LA(4); - if ( (LA47_4==31) ) { - int LA47_5 = input.LA(5); + if ( (LA54_4==31) ) { + int LA54_5 = input.LA(5); - if ( ((LA47_5>=63 && LA47_5<=66)) ) { - alt47=1; + if ( (LA54_5==16) ) { + alt54=2; } - else if ( (LA47_5==16) ) { - alt47=2; + else if ( ((LA54_5>=67 && LA54_5<=70)) ) { + alt54=1; } else { NoViableAltException nvae = - new NoViableAltException("", 47, 5, input); + new NoViableAltException("", 54, 5, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 4, input); + new NoViableAltException("", 54, 4, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 3, input); + new NoViableAltException("", 54, 3, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 2, input); + new NoViableAltException("", 54, 2, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 47, 0, input); + new NoViableAltException("", 54, 0, input); throw nvae; } - switch (alt47) { + switch (alt54) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2721:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3000:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute5883); + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute6507); this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute(); state._fsp--; @@ -6809,12 +7568,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2731:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3010:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute5910); + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute6534); this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute(); state._fsp--; @@ -6847,7 +7606,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2747:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3026:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; public final EObject entryRuleSimpleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -6855,17 +7614,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2748:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2749:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3027:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3028:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute5945); + pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute6569); iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute(); state._fsp--; current =iv_ruleSimpleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute5955); + match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute6579); } @@ -6883,7 +7642,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2756:1: ruleSimpleAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3035: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; @@ -6898,39 +7657,39 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2759: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3038: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) - int alt48=2; - int LA48_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt55=2; + int LA55_0 = input.LA(1); - if ( (LA48_0==47) ) { - alt48=1; + if ( (LA55_0==52) ) { + alt55=1; } - else if ( (LA48_0==48) ) { - alt48=2; + else if ( (LA55_0==53) ) { + alt55=2; } else { NoViableAltException nvae = - new NoViableAltException("", 48, 0, input); + new NoViableAltException("", 55, 0, input); throw nvae; } - switch (alt48) { + switch (alt55) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2760:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2761:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3039:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3040:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2761:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2762:3: lv_optional_0_0= 'optional' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3040:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3041:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,47,FOLLOW_47_in_ruleSimpleAnnotationAttribute5999); + lv_optional_0_0=(Token)match(input,52,FOLLOW_52_in_ruleSimpleAnnotationAttribute6623); newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -6950,9 +7709,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2776:7: otherlv_1= 'mandatory' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3055:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,48,FOLLOW_48_in_ruleSimpleAnnotationAttribute6030); + otherlv_1=(Token)match(input,53,FOLLOW_53_in_ruleSimpleAnnotationAttribute6654); newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -6962,17 +7721,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleSimpleAnnotationAttribute6043); + otherlv_2=(Token)match(input,54,FOLLOW_54_in_ruleSimpleAnnotationAttribute6667); newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2784:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2785:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3063:1: ( (lv_name_3_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3064:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2785:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2786:3: lv_name_3_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3064:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3065:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute6060); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute6684); newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -6992,20 +7751,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleSimpleAnnotationAttribute6077); + otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleSimpleAnnotationAttribute6701); newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2806:1: ( (lv_type_5_0= ruleLiteralType ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2807:1: (lv_type_5_0= ruleLiteralType ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3085:1: ( (lv_type_5_0= ruleLiteralType ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3086:1: (lv_type_5_0= ruleLiteralType ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2807:1: (lv_type_5_0= ruleLiteralType ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2808:3: lv_type_5_0= ruleLiteralType + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3086:1: (lv_type_5_0= ruleLiteralType ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3087:3: lv_type_5_0= ruleLiteralType { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); - pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute6098); + pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute6722); lv_type_5_0=ruleLiteralType(); state._fsp--; @@ -7048,7 +7807,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2832:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3111:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; public final EObject entryRuleEnumAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -7056,17 +7815,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2833:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2834:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3112:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3113:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF { newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute6134); + pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute6758); iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute(); state._fsp--; current =iv_ruleEnumAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute6144); + match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute6768); } @@ -7084,7 +7843,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2841:1: ruleEnumAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3120: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; @@ -7102,39 +7861,39 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2844: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3123: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124: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.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) - int alt49=2; - int LA49_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + int alt56=2; + int LA56_0 = input.LA(1); - if ( (LA49_0==47) ) { - alt49=1; + if ( (LA56_0==52) ) { + alt56=1; } - else if ( (LA49_0==48) ) { - alt49=2; + else if ( (LA56_0==53) ) { + alt56=2; } else { NoViableAltException nvae = - new NoViableAltException("", 49, 0, input); + new NoViableAltException("", 56, 0, input); throw nvae; } - switch (alt49) { + switch (alt56) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2845:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2846:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3124:3: ( (lv_optional_0_0= 'optional' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3125:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2846:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2847:3: lv_optional_0_0= 'optional' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3125:1: (lv_optional_0_0= 'optional' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3126:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,47,FOLLOW_47_in_ruleEnumAnnotationAttribute6188); + lv_optional_0_0=(Token)match(input,52,FOLLOW_52_in_ruleEnumAnnotationAttribute6812); newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -7154,9 +7913,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2861:7: otherlv_1= 'mandatory' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3140:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,48,FOLLOW_48_in_ruleEnumAnnotationAttribute6219); + otherlv_1=(Token)match(input,53,FOLLOW_53_in_ruleEnumAnnotationAttribute6843); newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -7166,17 +7925,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleEnumAnnotationAttribute6232); + otherlv_2=(Token)match(input,54,FOLLOW_54_in_ruleEnumAnnotationAttribute6856); newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2869:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2870:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3148:1: ( (lv_name_3_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3149:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2870:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2871:3: lv_name_3_0= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3149:1: (lv_name_3_0= RULE_ID ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3150:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute6249); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute6873); newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -7196,21 +7955,21 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleEnumAnnotationAttribute6266); + otherlv_4=(Token)match(input,31,FOLLOW_31_in_ruleEnumAnnotationAttribute6890); newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); - otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleEnumAnnotationAttribute6278); + otherlv_5=(Token)match(input,16,FOLLOW_16_in_ruleEnumAnnotationAttribute6902); newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2895:1: ( (lv_values_6_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2896:1: (lv_values_6_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3174:1: ( (lv_values_6_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3175:1: (lv_values_6_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2896:1: (lv_values_6_0= RULE_STRING ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2897:3: lv_values_6_0= RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3175:1: (lv_values_6_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3176:3: lv_values_6_0= RULE_STRING { - lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6295); + lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6919); newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); @@ -7230,32 +7989,32 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2913:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* - loop50: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3192:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* + loop57: do { - int alt50=2; - int LA50_0 = input.LA(1); + int alt57=2; + int LA57_0 = input.LA(1); - if ( (LA50_0==50) ) { - alt50=1; + if ( (LA57_0==48) ) { + alt57=1; } - switch (alt50) { + switch (alt57) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2913:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3192:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) { - otherlv_7=(Token)match(input,50,FOLLOW_50_in_ruleEnumAnnotationAttribute6313); + otherlv_7=(Token)match(input,48,FOLLOW_48_in_ruleEnumAnnotationAttribute6937); newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2917:1: ( (lv_values_8_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2918:1: (lv_values_8_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3196:1: ( (lv_values_8_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3197:1: (lv_values_8_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2918:1: (lv_values_8_0= RULE_STRING ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2919:3: lv_values_8_0= RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3197:1: (lv_values_8_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3198:3: lv_values_8_0= RULE_STRING { - lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6330); + lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6954); newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); @@ -7280,11 +8039,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; default : - break loop50; + break loop57; } } while (true); - otherlv_9=(Token)match(input,17,FOLLOW_17_in_ruleEnumAnnotationAttribute6349); + otherlv_9=(Token)match(input,17,FOLLOW_17_in_ruleEnumAnnotationAttribute6973); newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); @@ -7309,7 +8068,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleImportedFQN" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2949:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3228:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; public final String entryRuleImportedFQN() throws RecognitionException { String current = null; @@ -7317,17 +8076,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2950:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2951:2: iv_ruleImportedFQN= ruleImportedFQN EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3229:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3230:2: iv_ruleImportedFQN= ruleImportedFQN EOF { newCompositeNode(grammarAccess.getImportedFQNRule()); - pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN6388); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN7012); iv_ruleImportedFQN=ruleImportedFQN(); state._fsp--; current =iv_ruleImportedFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN6399); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN7023); } @@ -7345,7 +8104,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleImportedFQN" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2958:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3237:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -7356,16 +8115,16 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2961:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2962:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3240:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3241:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2962:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2963:5: this_FQN_0= ruleFQN (kw= '.*' )? + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3241:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3242:5: this_FQN_0= ruleFQN (kw= '.*' )? { newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN6446); + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN7070); this_FQN_0=ruleFQN(); state._fsp--; @@ -7376,18 +8135,18 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2973:1: (kw= '.*' )? - int alt51=2; - int LA51_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3252:1: (kw= '.*' )? + int alt58=2; + int LA58_0 = input.LA(1); - if ( (LA51_0==51) ) { - alt51=1; + if ( (LA58_0==55) ) { + alt58=1; } - switch (alt51) { + switch (alt58) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2974:2: kw= '.*' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3253:2: kw= '.*' { - kw=(Token)match(input,51,FOLLOW_51_in_ruleImportedFQN6465); + kw=(Token)match(input,55,FOLLOW_55_in_ruleImportedFQN7089); current.merge(kw); newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); @@ -7419,7 +8178,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2987:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3266:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; public final EObject entryRuleDocumentation() throws RecognitionException { EObject current = null; @@ -7427,17 +8186,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2988:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2989:2: iv_ruleDocumentation= ruleDocumentation EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3267:2: (iv_ruleDocumentation= ruleDocumentation EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3268:2: iv_ruleDocumentation= ruleDocumentation EOF { newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation6507); + pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation7131); iv_ruleDocumentation=ruleDocumentation(); state._fsp--; current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation6517); + match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation7141); } @@ -7455,7 +8214,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2996:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3275: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; @@ -7466,14 +8225,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:2999:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3000:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3278:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3279:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3000:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3000:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3279:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3279:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3000:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3001:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3279:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3280:5: { current = forceCreateModelElement( @@ -7483,29 +8242,29 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,52,FOLLOW_52_in_ruleDocumentation6563); + otherlv_1=(Token)match(input,56,FOLLOW_56_in_ruleDocumentation7187); newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3010:1: ( (lv_lines_2_0= RULE_STRING ) )* - loop52: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3289:1: ( (lv_lines_2_0= RULE_STRING ) )* + loop59: do { - int alt52=2; - int LA52_0 = input.LA(1); + int alt59=2; + int LA59_0 = input.LA(1); - if ( (LA52_0==RULE_STRING) ) { - alt52=1; + if ( (LA59_0==RULE_STRING) ) { + alt59=1; } - switch (alt52) { + switch (alt59) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3011:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3290:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3011:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3012:3: lv_lines_2_0= RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3290:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3291:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation6580); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation7204); newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -7527,11 +8286,11 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; default : - break loop52; + break loop59; } } while (true); - otherlv_3=(Token)match(input,53,FOLLOW_53_in_ruleDocumentation6598); + otherlv_3=(Token)match(input,57,FOLLOW_57_in_ruleDocumentation7222); newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); @@ -7556,7 +8315,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3044:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3323:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -7564,17 +8323,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3045:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3046:2: iv_ruleLiteral= ruleLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3324:2: (iv_ruleLiteral= ruleLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3325:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral6638); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral7262); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral6648); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral7272); } @@ -7592,7 +8351,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3053:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3332: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; @@ -7606,47 +8365,47 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3056:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3057:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3335:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3336:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3057:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) - int alt53=3; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3336:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + int alt60=3; switch ( input.LA(1) ) { - case 54: - case 55: + case 58: + case 59: { - alt53=1; + alt60=1; } break; case RULE_INT: case RULE_HEX: - case 56: - case 57: - case 58: + case 60: + case 61: + case 62: { - alt53=2; + alt60=2; } break; case RULE_STRING: { - alt53=3; + alt60=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 53, 0, input); + new NoViableAltException("", 60, 0, input); throw nvae; } - switch (alt53) { + switch (alt60) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3058:5: this_BooleanLiteral_0= ruleBooleanLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3337:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral6695); + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral7319); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -7659,12 +8418,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3068:5: this_NumberLiteral_1= ruleNumberLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3347:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral6722); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral7346); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -7677,12 +8436,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3078:5: this_StringLiteral_2= ruleStringLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3357:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral6749); + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral7373); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -7715,7 +8474,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBooleanLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3094:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3373:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -7723,17 +8482,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3095:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3096:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3374:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3375:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6784); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral7408); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral6794); + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral7418); } @@ -7751,7 +8510,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBooleanLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3103:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3382:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -7761,14 +8520,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3106:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3107:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3385:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3386:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3107:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3107:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3386:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3386:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3107:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3108:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3386:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3387:5: { current = forceCreateModelElement( @@ -7778,27 +8537,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3113:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) - int alt54=2; - int LA54_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3392:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + int alt61=2; + int LA61_0 = input.LA(1); - if ( (LA54_0==54) ) { - alt54=1; + if ( (LA61_0==58) ) { + alt61=1; } - else if ( (LA54_0==55) ) { - alt54=2; + else if ( (LA61_0==59) ) { + alt61=2; } else { NoViableAltException nvae = - new NoViableAltException("", 54, 0, input); + new NoViableAltException("", 61, 0, input); throw nvae; } - switch (alt54) { + switch (alt61) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3113:4: otherlv_1= 'false' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3392:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,54,FOLLOW_54_in_ruleBooleanLiteral6841); + otherlv_1=(Token)match(input,58,FOLLOW_58_in_ruleBooleanLiteral7465); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -7806,15 +8565,15 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3118:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3397:6: ( (lv_isTrue_2_0= 'true' ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3118:6: ( (lv_isTrue_2_0= 'true' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3119:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3397:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3398:1: (lv_isTrue_2_0= 'true' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3119:1: (lv_isTrue_2_0= 'true' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3120:3: lv_isTrue_2_0= 'true' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3398:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3399:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,55,FOLLOW_55_in_ruleBooleanLiteral6865); + lv_isTrue_2_0=(Token)match(input,59,FOLLOW_59_in_ruleBooleanLiteral7489); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -7857,7 +8616,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumberLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3141:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3420:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -7865,17 +8624,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3142:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3143:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3421:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3422:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral6915); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral7539); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral6925); + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral7549); } @@ -7893,7 +8652,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumberLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3150:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3429:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -7905,69 +8664,69 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3153:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3154:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3432:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3433:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3154:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) - int alt55=2; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3433:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + int alt62=2; switch ( input.LA(1) ) { - case 56: + case 60: { - int LA55_1 = input.LA(2); + int LA62_1 = input.LA(2); - if ( (LA55_1==58) ) { - alt55=2; - } - else if ( (LA55_1==RULE_INT) ) { - int LA55_3 = input.LA(3); + if ( (LA62_1==RULE_INT) ) { + int LA62_3 = input.LA(3); - if ( (LA55_3==58) ) { - alt55=2; + if ( (LA62_3==62) ) { + alt62=2; } - else if ( (LA55_3==EOF) ) { - alt55=1; + else if ( (LA62_3==EOF) ) { + alt62=1; } else { NoViableAltException nvae = - new NoViableAltException("", 55, 3, input); + new NoViableAltException("", 62, 3, input); throw nvae; } } + else if ( (LA62_1==62) ) { + alt62=2; + } else { NoViableAltException nvae = - new NoViableAltException("", 55, 1, input); + new NoViableAltException("", 62, 1, input); throw nvae; } } break; - case 57: + case 61: { - int LA55_2 = input.LA(2); + int LA62_2 = input.LA(2); - if ( (LA55_2==RULE_INT) ) { - int LA55_3 = input.LA(3); + if ( (LA62_2==RULE_INT) ) { + int LA62_3 = input.LA(3); - if ( (LA55_3==58) ) { - alt55=2; + if ( (LA62_3==62) ) { + alt62=2; } - else if ( (LA55_3==EOF) ) { - alt55=1; + else if ( (LA62_3==EOF) ) { + alt62=1; } else { NoViableAltException nvae = - new NoViableAltException("", 55, 3, input); + new NoViableAltException("", 62, 3, input); throw nvae; } } - else if ( (LA55_2==58) ) { - alt55=2; + else if ( (LA62_2==62) ) { + alt62=2; } else { NoViableAltException nvae = - new NoViableAltException("", 55, 2, input); + new NoViableAltException("", 62, 2, input); throw nvae; } @@ -7975,17 +8734,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; case RULE_INT: { - int LA55_3 = input.LA(2); + int LA62_3 = input.LA(2); - if ( (LA55_3==58) ) { - alt55=2; + if ( (LA62_3==62) ) { + alt62=2; } - else if ( (LA55_3==EOF) ) { - alt55=1; + else if ( (LA62_3==EOF) ) { + alt62=1; } else { NoViableAltException nvae = - new NoViableAltException("", 55, 3, input); + new NoViableAltException("", 62, 3, input); throw nvae; } @@ -7993,29 +8752,29 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; case RULE_HEX: { - alt55=1; + alt62=1; } break; - case 58: + case 62: { - alt55=2; + alt62=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 55, 0, input); + new NoViableAltException("", 62, 0, input); throw nvae; } - switch (alt55) { + switch (alt62) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3155:5: this_IntLiteral_0= ruleIntLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3434:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral6972); + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral7596); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -8028,12 +8787,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3165:5: this_RealLiteral_1= ruleRealLiteral + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3444:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral6999); + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral7623); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -8066,7 +8825,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRealLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3181:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3460:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -8074,17 +8833,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3182:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3183:2: iv_ruleRealLiteral= ruleRealLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3461:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3462:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral7034); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral7658); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral7044); + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral7668); } @@ -8102,7 +8861,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRealLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3190:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3469:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -8112,14 +8871,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3193:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3194:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3472:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3473:1: ( () ( (lv_value_1_0= ruleReal ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3194:1: ( () ( (lv_value_1_0= ruleReal ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3194:2: () ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3473:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3473:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3194:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3195:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3473:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3474:5: { current = forceCreateModelElement( @@ -8129,16 +8888,16 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3200:2: ( (lv_value_1_0= ruleReal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3201:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3479:2: ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3480:1: (lv_value_1_0= ruleReal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3201:1: (lv_value_1_0= ruleReal ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3202:3: lv_value_1_0= ruleReal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3480:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3481:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral7099); + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral7723); lv_value_1_0=ruleReal(); state._fsp--; @@ -8181,7 +8940,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleIntLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3226:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3505:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -8189,17 +8948,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3227:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3228:2: iv_ruleIntLiteral= ruleIntLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3506:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3507:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral7135); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral7759); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral7145); + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral7769); } @@ -8217,7 +8976,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIntLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3235:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3514:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -8227,14 +8986,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3238:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3239:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3517:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3518:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3239:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3239:2: () ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3518:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3518:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3239:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3240:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3518:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3519:5: { current = forceCreateModelElement( @@ -8244,16 +9003,16 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3245:2: ( (lv_value_1_0= ruleInteger ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3246:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3524:2: ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3525:1: (lv_value_1_0= ruleInteger ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3246:1: (lv_value_1_0= ruleInteger ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3247:3: lv_value_1_0= ruleInteger + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3525:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3526:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral7200); + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral7824); lv_value_1_0=ruleInteger(); state._fsp--; @@ -8296,7 +9055,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3271:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3550:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -8304,17 +9063,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3272:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3273:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3551:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3552:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral7236); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral7860); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral7246); + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral7870); } @@ -8332,7 +9091,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3280:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3559:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -8341,14 +9100,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3283:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3284:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3562:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3563:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3284:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3284:2: () ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3563:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3563:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3284:2: () - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3285:5: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3563:2: () + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3564:5: { current = forceCreateModelElement( @@ -8358,13 +9117,13 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3290:2: ( (lv_value_1_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3291:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3569:2: ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3570:1: (lv_value_1_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3291:1: (lv_value_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3292:3: lv_value_1_0= RULE_STRING + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3570:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3571:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral7297); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral7921); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -8405,7 +9164,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3316:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3595:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -8413,17 +9172,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3317:2: (iv_ruleInteger= ruleInteger EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3318:2: iv_ruleInteger= ruleInteger EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3596:2: (iv_ruleInteger= ruleInteger EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3597:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger7339); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger7963); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger7350); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger7974); } @@ -8441,7 +9200,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3325:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3604:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8453,33 +9212,33 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3328:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3329:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3607:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3608:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3329:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) - int alt56=2; - int LA56_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3608:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + int alt63=2; + int LA63_0 = input.LA(1); - if ( (LA56_0==RULE_INT||(LA56_0>=56 && LA56_0<=57)) ) { - alt56=1; + if ( (LA63_0==RULE_INT||(LA63_0>=60 && LA63_0<=61)) ) { + alt63=1; } - else if ( (LA56_0==RULE_HEX) ) { - alt56=2; + else if ( (LA63_0==RULE_HEX) ) { + alt63=2; } else { NoViableAltException nvae = - new NoViableAltException("", 56, 0, input); + new NoViableAltException("", 63, 0, input); throw nvae; } - switch (alt56) { + switch (alt63) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3330:5: this_SignedInteger_0= ruleSignedInteger + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3609:5: this_SignedInteger_0= ruleSignedInteger { newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); - pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger7397); + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger8021); this_SignedInteger_0=ruleSignedInteger(); state._fsp--; @@ -8494,12 +9253,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3342:5: this_Hexadecimal_1= ruleHexadecimal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3621:5: this_Hexadecimal_1= ruleHexadecimal { newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger7430); + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger8054); this_Hexadecimal_1=ruleHexadecimal(); state._fsp--; @@ -8534,7 +9293,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSignedInteger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3360:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3639:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; public final String entryRuleSignedInteger() throws RecognitionException { String current = null; @@ -8545,17 +9304,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3364:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3365:2: iv_ruleSignedInteger= ruleSignedInteger EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3643:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3644:2: iv_ruleSignedInteger= ruleSignedInteger EOF { newCompositeNode(grammarAccess.getSignedIntegerRule()); - pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger7482); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger8106); iv_ruleSignedInteger=ruleSignedInteger(); state._fsp--; current =iv_ruleSignedInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger7493); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger8117); } @@ -8576,7 +9335,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSignedInteger" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3375:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3654:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8587,27 +9346,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3379:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3380:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3658:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3659:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3380:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3380:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3659:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3659:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3380:2: (kw= '+' | kw= '-' )? - int alt57=3; - int LA57_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3659:2: (kw= '+' | kw= '-' )? + int alt64=3; + int LA64_0 = input.LA(1); - if ( (LA57_0==56) ) { - alt57=1; + if ( (LA64_0==60) ) { + alt64=1; } - else if ( (LA57_0==57) ) { - alt57=2; + else if ( (LA64_0==61) ) { + alt64=2; } - switch (alt57) { + switch (alt64) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3381:2: kw= '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3660:2: kw= '+' { - kw=(Token)match(input,56,FOLLOW_56_in_ruleSignedInteger7536); + kw=(Token)match(input,60,FOLLOW_60_in_ruleSignedInteger8160); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); @@ -8616,9 +9375,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3388:2: kw= '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3667:2: kw= '-' { - kw=(Token)match(input,57,FOLLOW_57_in_ruleSignedInteger7555); + kw=(Token)match(input,61,FOLLOW_61_in_ruleSignedInteger8179); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); @@ -8629,7 +9388,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger7572); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger8196); current.merge(this_INT_2); @@ -8660,7 +9419,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleHexadecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3411:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3690:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; public final String entryRuleHexadecimal() throws RecognitionException { String current = null; @@ -8671,17 +9430,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3415:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3416:2: iv_ruleHexadecimal= ruleHexadecimal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3694:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3695:2: iv_ruleHexadecimal= ruleHexadecimal EOF { newCompositeNode(grammarAccess.getHexadecimalRule()); - pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal7628); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal8252); iv_ruleHexadecimal=ruleHexadecimal(); state._fsp--; current =iv_ruleHexadecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal7639); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal8263); } @@ -8702,7 +9461,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleHexadecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3426:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3705:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8712,10 +9471,10 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3430:28: (this_HEX_0= RULE_HEX ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3431:5: this_HEX_0= RULE_HEX + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3709:28: (this_HEX_0= RULE_HEX ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3710:5: this_HEX_0= RULE_HEX { - this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal7682); + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal8306); current.merge(this_HEX_0); @@ -8743,7 +9502,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3449:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3728:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -8751,17 +9510,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3450:2: (iv_ruleReal= ruleReal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3451:2: iv_ruleReal= ruleReal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3729:2: (iv_ruleReal= ruleReal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3730:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal7731); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal8355); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal7742); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal8366); } @@ -8779,7 +9538,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3458:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3737:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -8795,20 +9554,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3461:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3462:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3740:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3741:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3462:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) - int alt58=4; - alt58 = dfa58.predict(input); - switch (alt58) { + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3741:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + int alt65=4; + alt65 = dfa65.predict(input); + switch (alt65) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3463:5: this_Decimal_0= ruleDecimal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3742:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal7789); + pushFollow(FOLLOW_ruleDecimal_in_ruleReal8413); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -8823,12 +9582,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3475:5: this_DotDecimal_1= ruleDotDecimal + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3754:5: this_DotDecimal_1= ruleDotDecimal { newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal7822); + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal8446); this_DotDecimal_1=ruleDotDecimal(); state._fsp--; @@ -8843,12 +9602,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3487:5: this_DecimalDot_2= ruleDecimalDot + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3766:5: this_DecimalDot_2= ruleDecimalDot { newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); - pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal7855); + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal8479); this_DecimalDot_2=ruleDecimalDot(); state._fsp--; @@ -8863,12 +9622,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3499:5: this_DecimalExp_3= ruleDecimalExp + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3778:5: this_DecimalExp_3= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal7888); + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal8512); this_DecimalExp_3=ruleDecimalExp(); state._fsp--; @@ -8903,7 +9662,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3517:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3796:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -8914,17 +9673,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3521:2: (iv_ruleDecimal= ruleDecimal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3522:2: iv_ruleDecimal= ruleDecimal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3800:2: (iv_ruleDecimal= ruleDecimal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3801:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal7940); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal8564); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal7951); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal8575); } @@ -8945,7 +9704,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3532:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3811: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(); @@ -8957,27 +9716,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3536:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3537:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3815:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3537:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3537:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3537:2: (kw= '+' | kw= '-' )? - int alt59=3; - int LA59_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:2: (kw= '+' | kw= '-' )? + int alt66=3; + int LA66_0 = input.LA(1); - if ( (LA59_0==56) ) { - alt59=1; + if ( (LA66_0==60) ) { + alt66=1; } - else if ( (LA59_0==57) ) { - alt59=2; + else if ( (LA66_0==61) ) { + alt66=2; } - switch (alt59) { + switch (alt66) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3538:2: kw= '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3817:2: kw= '+' { - kw=(Token)match(input,56,FOLLOW_56_in_ruleDecimal7994); + kw=(Token)match(input,60,FOLLOW_60_in_ruleDecimal8618); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -8986,9 +9745,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3545:2: kw= '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3824:2: kw= '-' { - kw=(Token)match(input,57,FOLLOW_57_in_ruleDecimal8013); + kw=(Token)match(input,61,FOLLOW_61_in_ruleDecimal8637); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -8999,19 +9758,19 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal8030); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal8654); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,58,FOLLOW_58_in_ruleDecimal8048); + kw=(Token)match(input,62,FOLLOW_62_in_ruleDecimal8672); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal8063); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal8687); current.merge(this_INT_4); @@ -9042,7 +9801,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDotDecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3581:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3860:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; public final String entryRuleDotDecimal() throws RecognitionException { String current = null; @@ -9053,17 +9812,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3585:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3586:2: iv_ruleDotDecimal= ruleDotDecimal EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3864:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3865:2: iv_ruleDotDecimal= ruleDotDecimal EOF { newCompositeNode(grammarAccess.getDotDecimalRule()); - pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal8119); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal8743); iv_ruleDotDecimal=ruleDotDecimal(); state._fsp--; current =iv_ruleDotDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal8130); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal8754); } @@ -9084,7 +9843,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDotDecimal" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3596:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3875:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -9095,27 +9854,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3600:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3601:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3879:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3601:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3601:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3601:2: (kw= '+' | kw= '-' )? - int alt60=3; - int LA60_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3880:2: (kw= '+' | kw= '-' )? + int alt67=3; + int LA67_0 = input.LA(1); - if ( (LA60_0==56) ) { - alt60=1; + if ( (LA67_0==60) ) { + alt67=1; } - else if ( (LA60_0==57) ) { - alt60=2; + else if ( (LA67_0==61) ) { + alt67=2; } - switch (alt60) { + switch (alt67) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3602:2: kw= '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3881:2: kw= '+' { - kw=(Token)match(input,56,FOLLOW_56_in_ruleDotDecimal8173); + kw=(Token)match(input,60,FOLLOW_60_in_ruleDotDecimal8797); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); @@ -9124,9 +9883,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3609:2: kw= '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3888:2: kw= '-' { - kw=(Token)match(input,57,FOLLOW_57_in_ruleDotDecimal8192); + kw=(Token)match(input,61,FOLLOW_61_in_ruleDotDecimal8816); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -9137,12 +9896,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - kw=(Token)match(input,58,FOLLOW_58_in_ruleDotDecimal8207); + kw=(Token)match(input,62,FOLLOW_62_in_ruleDotDecimal8831); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal8222); + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal8846); current.merge(this_INT_3); @@ -9173,7 +9932,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalDot" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3638:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3917:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; public final String entryRuleDecimalDot() throws RecognitionException { String current = null; @@ -9184,17 +9943,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3642:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3643:2: iv_ruleDecimalDot= ruleDecimalDot EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3921:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3922:2: iv_ruleDecimalDot= ruleDecimalDot EOF { newCompositeNode(grammarAccess.getDecimalDotRule()); - pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot8278); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot8902); iv_ruleDecimalDot=ruleDecimalDot(); state._fsp--; current =iv_ruleDecimalDot.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot8289); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot8913); } @@ -9215,7 +9974,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalDot" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3653:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3932:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -9226,27 +9985,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3657:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3658:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3936:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3937:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3658:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3658:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3937:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3937:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3658:2: (kw= '+' | kw= '-' )? - int alt61=3; - int LA61_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3937:2: (kw= '+' | kw= '-' )? + int alt68=3; + int LA68_0 = input.LA(1); - if ( (LA61_0==56) ) { - alt61=1; + if ( (LA68_0==60) ) { + alt68=1; } - else if ( (LA61_0==57) ) { - alt61=2; + else if ( (LA68_0==61) ) { + alt68=2; } - switch (alt61) { + switch (alt68) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3659:2: kw= '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3938:2: kw= '+' { - kw=(Token)match(input,56,FOLLOW_56_in_ruleDecimalDot8332); + kw=(Token)match(input,60,FOLLOW_60_in_ruleDecimalDot8956); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); @@ -9255,9 +10014,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3666:2: kw= '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3945:2: kw= '-' { - kw=(Token)match(input,57,FOLLOW_57_in_ruleDecimalDot8351); + kw=(Token)match(input,61,FOLLOW_61_in_ruleDecimalDot8975); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); @@ -9268,14 +10027,14 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot8368); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot8992); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,58,FOLLOW_58_in_ruleDecimalDot8386); + kw=(Token)match(input,62,FOLLOW_62_in_ruleDecimalDot9010); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); @@ -9304,7 +10063,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalExp" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3695:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3974:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -9315,17 +10074,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3699:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3700:2: iv_ruleDecimalExp= ruleDecimalExp EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3978:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3979:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp8437); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp9061); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp8448); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp9072); } @@ -9346,7 +10105,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3710:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3989:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -9359,27 +10118,27 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3714:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3715:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3993:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3994:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3715:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3715:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3994:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3994:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3715:2: (kw= '+' | kw= '-' )? - int alt62=3; - int LA62_0 = input.LA(1); + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3994:2: (kw= '+' | kw= '-' )? + int alt69=3; + int LA69_0 = input.LA(1); - if ( (LA62_0==56) ) { - alt62=1; + if ( (LA69_0==60) ) { + alt69=1; } - else if ( (LA62_0==57) ) { - alt62=2; + else if ( (LA69_0==61) ) { + alt69=2; } - switch (alt62) { + switch (alt69) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3716:2: kw= '+' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3995:2: kw= '+' { - kw=(Token)match(input,56,FOLLOW_56_in_ruleDecimalExp8491); + kw=(Token)match(input,60,FOLLOW_60_in_ruleDecimalExp9115); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -9388,9 +10147,9 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3723:2: kw= '-' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4002:2: kw= '-' { - kw=(Token)match(input,57,FOLLOW_57_in_ruleDecimalExp8510); + kw=(Token)match(input,61,FOLLOW_61_in_ruleDecimalExp9134); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -9401,26 +10160,26 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp8527); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp9151); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,58,FOLLOW_58_in_ruleDecimalExp8545); + kw=(Token)match(input,62,FOLLOW_62_in_ruleDecimalExp9169); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp8560); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp9184); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); - this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp8580); + this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp9204); current.merge(this_EXP_5); @@ -9451,7 +10210,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3766:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4045:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; public final String entryRuleFQN() throws RecognitionException { String current = null; @@ -9459,17 +10218,17 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3767:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3768:2: iv_ruleFQN= ruleFQN EOF + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4046:2: (iv_ruleFQN= ruleFQN EOF ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4047:2: iv_ruleFQN= ruleFQN EOF { newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN8630); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN9254); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN8641); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN9265); } @@ -9487,7 +10246,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3775:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4054: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(); @@ -9498,40 +10257,40 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3778:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3779:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4057:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4058:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3779:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3779:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4058:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4058:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN8681); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN9305); current.merge(this_ID_0); newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3786:1: (kw= '.' this_ID_2= RULE_ID )* - loop63: + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4065:1: (kw= '.' this_ID_2= RULE_ID )* + loop70: do { - int alt63=2; - int LA63_0 = input.LA(1); + int alt70=2; + int LA70_0 = input.LA(1); - if ( (LA63_0==58) ) { - alt63=1; + if ( (LA70_0==62) ) { + alt70=1; } - switch (alt63) { + switch (alt70) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3787:2: kw= '.' this_ID_2= RULE_ID + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4066:2: kw= '.' this_ID_2= RULE_ID { - kw=(Token)match(input,58,FOLLOW_58_in_ruleFQN8700); + kw=(Token)match(input,62,FOLLOW_62_in_ruleFQN9324); current.merge(kw); newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN8715); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN9339); current.merge(this_ID_2); @@ -9543,7 +10302,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { break; default : - break loop63; + break loop70; } } while (true); @@ -9568,7 +10327,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleComponentCommunicationType" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3807:1: ruleComponentCommunicationType returns [Enumerator current=null] : ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4086:1: ruleComponentCommunicationType returns [Enumerator current=null] : ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) ; public final Enumerator ruleComponentCommunicationType() throws RecognitionException { Enumerator current = null; @@ -9579,47 +10338,47 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3809:28: ( ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3810:1: ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4088:28: ( ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4089:1: ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3810:1: ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) - int alt64=4; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4089:1: ( (enumLiteral_0= 'eventdriven' ) | (enumLiteral_1= 'datadriven' ) | (enumLiteral_2= 'async' ) | (enumLiteral_3= 'sync' ) ) + int alt71=4; switch ( input.LA(1) ) { - case 59: + case 63: { - alt64=1; + alt71=1; } break; - case 60: + case 64: { - alt64=2; + alt71=2; } break; - case 61: + case 65: { - alt64=3; + alt71=3; } break; - case 62: + case 66: { - alt64=4; + alt71=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 64, 0, input); + new NoViableAltException("", 71, 0, input); throw nvae; } - switch (alt64) { + switch (alt71) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3810:2: (enumLiteral_0= 'eventdriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4089:2: (enumLiteral_0= 'eventdriven' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3810:2: (enumLiteral_0= 'eventdriven' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3810:4: enumLiteral_0= 'eventdriven' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4089:2: (enumLiteral_0= 'eventdriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4089:4: enumLiteral_0= 'eventdriven' { - enumLiteral_0=(Token)match(input,59,FOLLOW_59_in_ruleComponentCommunicationType8776); + enumLiteral_0=(Token)match(input,63,FOLLOW_63_in_ruleComponentCommunicationType9400); current = grammarAccess.getComponentCommunicationTypeAccess().getEVENT_DRIVENEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getComponentCommunicationTypeAccess().getEVENT_DRIVENEnumLiteralDeclaration_0()); @@ -9631,12 +10390,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:6: (enumLiteral_1= 'datadriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4095:6: (enumLiteral_1= 'datadriven' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:6: (enumLiteral_1= 'datadriven' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3816:8: enumLiteral_1= 'datadriven' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4095:6: (enumLiteral_1= 'datadriven' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4095:8: enumLiteral_1= 'datadriven' { - enumLiteral_1=(Token)match(input,60,FOLLOW_60_in_ruleComponentCommunicationType8793); + enumLiteral_1=(Token)match(input,64,FOLLOW_64_in_ruleComponentCommunicationType9417); current = grammarAccess.getComponentCommunicationTypeAccess().getDATA_DRIVENEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getComponentCommunicationTypeAccess().getDATA_DRIVENEnumLiteralDeclaration_1()); @@ -9648,12 +10407,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3822:6: (enumLiteral_2= 'async' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4101:6: (enumLiteral_2= 'async' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3822:6: (enumLiteral_2= 'async' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3822:8: enumLiteral_2= 'async' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4101:6: (enumLiteral_2= 'async' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4101:8: enumLiteral_2= 'async' { - enumLiteral_2=(Token)match(input,61,FOLLOW_61_in_ruleComponentCommunicationType8810); + enumLiteral_2=(Token)match(input,65,FOLLOW_65_in_ruleComponentCommunicationType9434); current = grammarAccess.getComponentCommunicationTypeAccess().getASYNCHRONOUSEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getComponentCommunicationTypeAccess().getASYNCHRONOUSEnumLiteralDeclaration_2()); @@ -9665,12 +10424,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3828:6: (enumLiteral_3= 'sync' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4107:6: (enumLiteral_3= 'sync' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3828:6: (enumLiteral_3= 'sync' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3828:8: enumLiteral_3= 'sync' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4107:6: (enumLiteral_3= 'sync' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4107:8: enumLiteral_3= 'sync' { - enumLiteral_3=(Token)match(input,62,FOLLOW_62_in_ruleComponentCommunicationType8827); + enumLiteral_3=(Token)match(input,66,FOLLOW_66_in_ruleComponentCommunicationType9451); current = grammarAccess.getComponentCommunicationTypeAccess().getSYNCHRONOUSEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getComponentCommunicationTypeAccess().getSYNCHRONOUSEnumLiteralDeclaration_3()); @@ -9702,7 +10461,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteralType" - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3838:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4117: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; @@ -9713,47 +10472,47 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3840:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3841:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4119:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4120:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3841:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) - int alt65=4; + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4120:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + int alt72=4; switch ( input.LA(1) ) { - case 63: + case 67: { - alt65=1; + alt72=1; } break; - case 64: + case 68: { - alt65=2; + alt72=2; } break; - case 65: + case 69: { - alt65=3; + alt72=3; } break; - case 66: + case 70: { - alt65=4; + alt72=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 65, 0, input); + new NoViableAltException("", 72, 0, input); throw nvae; } - switch (alt65) { + switch (alt72) { case 1 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3841:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4120:2: (enumLiteral_0= 'ptBoolean' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3841:2: (enumLiteral_0= 'ptBoolean' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3841:4: enumLiteral_0= 'ptBoolean' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4120:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4120:4: enumLiteral_0= 'ptBoolean' { - enumLiteral_0=(Token)match(input,63,FOLLOW_63_in_ruleLiteralType8872); + enumLiteral_0=(Token)match(input,67,FOLLOW_67_in_ruleLiteralType9496); current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); @@ -9765,12 +10524,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3847:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4126:6: (enumLiteral_1= 'ptInteger' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3847:6: (enumLiteral_1= 'ptInteger' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3847:8: enumLiteral_1= 'ptInteger' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4126:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4126:8: enumLiteral_1= 'ptInteger' { - enumLiteral_1=(Token)match(input,64,FOLLOW_64_in_ruleLiteralType8889); + enumLiteral_1=(Token)match(input,68,FOLLOW_68_in_ruleLiteralType9513); current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); @@ -9782,12 +10541,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3853:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4132:6: (enumLiteral_2= 'ptReal' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3853:6: (enumLiteral_2= 'ptReal' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3853:8: enumLiteral_2= 'ptReal' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4132:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4132:8: enumLiteral_2= 'ptReal' { - enumLiteral_2=(Token)match(input,65,FOLLOW_65_in_ruleLiteralType8906); + enumLiteral_2=(Token)match(input,69,FOLLOW_69_in_ruleLiteralType9530); current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); @@ -9799,12 +10558,12 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3859:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4138:6: (enumLiteral_3= 'ptCharacter' ) { - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3859:6: (enumLiteral_3= 'ptCharacter' ) - // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:3859:8: enumLiteral_3= 'ptCharacter' + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4138:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/parser/antlr/internal/InternalFSM.g:4138:8: enumLiteral_3= 'ptCharacter' { - enumLiteral_3=(Token)match(input,66,FOLLOW_66_in_ruleLiteralType8923); + enumLiteral_3=(Token)match(input,70,FOLLOW_70_in_ruleLiteralType9547); current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); @@ -9839,19 +10598,19 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { protected DFA24 dfa24 = new DFA24(this); protected DFA25 dfa25 = new DFA25(this); - protected DFA58 dfa58 = new DFA58(this); + protected DFA65 dfa65 = new DFA65(this); static final String DFA24_eotS = "\32\uffff"; static final String DFA24_eofS = - "\14\uffff\1\21\6\uffff\2\21\1\uffff\1\21\2\uffff\1\21"; + "\13\uffff\1\22\7\uffff\3\22\1\uffff\1\22\2\uffff"; static final String DFA24_minS = - "\1\36\1\4\1\37\1\4\1\41\4\4\3\41\1\20\2\4\1\5\1\21\1\uffff\1\4"+ - "\2\20\1\5\1\20\2\uffff\1\20"; + "\1\36\1\4\1\37\1\4\1\41\4\4\2\41\1\20\2\4\1\41\1\4\1\5\1\21\1\uffff"+ + "\3\20\1\5\1\20\2\uffff"; static final String DFA24_maxS = - "\1\36\2\37\1\52\1\51\3\4\1\52\3\41\1\64\2\4\1\65\1\46\1\uffff\1"+ - "\4\2\64\1\65\1\47\2\uffff\1\64"; + "\1\36\2\37\1\52\1\51\2\4\1\52\1\4\2\41\1\70\2\4\1\41\1\4\1\71\1"+ + "\46\1\uffff\3\70\1\71\1\47\2\uffff"; static final String DFA24_acceptS = - "\21\uffff\1\2\5\uffff\1\1\1\3\1\uffff"; + "\22\uffff\1\2\5\uffff\1\1\1\3"; static final String DFA24_specialS = "\32\uffff}>"; static final String[] DFA24_transitionS = { @@ -9859,32 +10618,32 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { "\1\2\32\uffff\1\3", "\1\3", "\1\4\43\uffff\1\5\1\uffff\1\6", - "\1\10\7\uffff\1\7", + "\1\7\7\uffff\1\10", "\1\11", "\1\12", - "\1\13", - "\1\14\43\uffff\1\15\1\uffff\1\16", - "\1\10", - "\1\10", - "\1\10", - "\1\20\1\21\1\uffff\1\21\4\uffff\7\21\10\uffff\1\21\1\uffff"+ - "\1\22\12\uffff\1\17", + "\1\13\43\uffff\1\14\1\uffff\1\15", + "\1\16", + "\1\7", + "\1\7", + "\1\21\1\22\1\uffff\1\22\4\uffff\7\22\10\uffff\1\22\1\uffff"+ + "\1\17\16\uffff\1\20", "\1\23", "\1\24", - "\1\25\57\uffff\1\26", - "\1\21\20\uffff\1\21\1\27\1\uffff\1\27\1\30", - "", - "\1\31", - "\1\20\1\21\1\uffff\1\21\4\uffff\7\21\10\uffff\1\21\14\uffff"+ - "\1\17", - "\1\20\1\21\1\uffff\1\21\4\uffff\7\21\10\uffff\1\21\14\uffff"+ - "\1\17", - "\1\25\57\uffff\1\26", - "\1\20\1\21\1\uffff\1\21\4\uffff\7\21\10\uffff\1\21", + "\1\7", + "\1\25", + "\1\26\63\uffff\1\27", + "\1\22\20\uffff\1\22\1\30\1\uffff\1\30\1\31", "", + "\1\21\1\22\1\uffff\1\22\4\uffff\7\22\10\uffff\1\22\20\uffff"+ + "\1\20", + "\1\21\1\22\1\uffff\1\22\4\uffff\7\22\10\uffff\1\22\20\uffff"+ + "\1\20", + "\1\21\1\22\1\uffff\1\22\4\uffff\7\22\10\uffff\1\22\20\uffff"+ + "\1\20", + "\1\26\63\uffff\1\27", + "\1\21\1\22\1\uffff\1\22\4\uffff\7\22\10\uffff\1\22", "", - "\1\20\1\21\1\uffff\1\21\4\uffff\7\21\10\uffff\1\21\14\uffff"+ - "\1\17" + "" }; static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS); @@ -9917,7 +10676,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { this.transition = DFA24_transition; } public String getDescription() { - return "1286:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition )"; + return "1297:1: (this_TransitionChainStartTransition_0= ruleTransitionChainStartTransition | this_ContinuationTransition_1= ruleContinuationTransition | this_CPBranchTransition_2= ruleCPBranchTransition )"; } } static final String DFA25_eotS = @@ -9925,13 +10684,13 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { static final String DFA25_eofS = "\31\uffff"; static final String DFA25_minS = - "\1\36\1\4\1\37\1\4\1\41\4\4\2\41\1\20\2\4\1\41\1\4\1\5\1\43\3\20"+ - "\1\5\1\20\2\uffff"; + "\1\36\1\4\1\37\1\4\1\41\4\4\2\41\1\20\2\4\1\41\1\5\1\43\1\4\2\20"+ + "\1\5\1\20\2\uffff\1\20"; static final String DFA25_maxS = - "\1\36\2\37\1\52\1\51\2\4\1\52\1\4\2\41\1\64\2\4\1\41\1\4\1\65\1"+ - "\45\3\64\1\65\1\20\2\uffff"; + "\1\36\2\37\1\52\1\51\2\4\1\52\1\4\2\41\1\70\2\4\1\41\1\71\1\45"+ + "\1\4\2\70\1\71\1\20\2\uffff\1\70"; static final String DFA25_acceptS = - "\27\uffff\1\1\1\2"; + "\26\uffff\1\2\1\1\1\uffff"; static final String DFA25_specialS = "\31\uffff}>"; static final String[] DFA25_transitionS = { @@ -9946,20 +10705,20 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { "\1\16", "\1\7", "\1\7", - "\1\21\30\uffff\1\17\12\uffff\1\20", + "\1\20\30\uffff\1\21\16\uffff\1\17", "\1\22", "\1\23", "\1\7", - "\1\24", - "\1\25\57\uffff\1\26", - "\1\27\1\uffff\1\30", - "\1\21\43\uffff\1\20", - "\1\21\43\uffff\1\20", - "\1\21\43\uffff\1\20", - "\1\25\57\uffff\1\26", - "\1\21", + "\1\24\63\uffff\1\25", + "\1\27\1\uffff\1\26", + "\1\30", + "\1\20\47\uffff\1\17", + "\1\20\47\uffff\1\17", + "\1\24\63\uffff\1\25", + "\1\20", "", - "" + "", + "\1\20\47\uffff\1\17" }; static final short[] DFA25_eot = DFA.unpackEncodedString(DFA25_eotS); @@ -9992,76 +10751,76 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { this.transition = DFA25_transition; } public String getDescription() { - return "1336:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition )"; + return "1347:1: (this_TriggeredTransition_0= ruleTriggeredTransition | this_GuardedTransition_1= ruleGuardedTransition )"; } } - static final String DFA58_eotS = + static final String DFA65_eotS = "\12\uffff"; - static final String DFA58_eofS = - "\5\uffff\1\7\1\10\3\uffff"; - static final String DFA58_minS = - "\3\6\1\72\1\uffff\1\6\1\10\3\uffff"; - static final String DFA58_maxS = - "\4\72\1\uffff\1\6\1\10\3\uffff"; - static final String DFA58_acceptS = - "\4\uffff\1\2\2\uffff\1\3\1\1\1\4"; - static final String DFA58_specialS = + static final String DFA65_eofS = + "\5\uffff\1\7\1\11\3\uffff"; + static final String DFA65_minS = + "\3\6\1\76\1\uffff\1\6\1\10\3\uffff"; + static final String DFA65_maxS = + "\4\76\1\uffff\1\6\1\10\3\uffff"; + static final String DFA65_acceptS = + "\4\uffff\1\2\2\uffff\1\3\1\4\1\1"; + static final String DFA65_specialS = "\12\uffff}>"; - static final String[] DFA58_transitionS = { - "\1\3\61\uffff\1\1\1\2\1\4", - "\1\3\63\uffff\1\4", - "\1\3\63\uffff\1\4", + static final String[] DFA65_transitionS = { + "\1\3\65\uffff\1\1\1\2\1\4", + "\1\3\67\uffff\1\4", + "\1\3\67\uffff\1\4", "\1\5", "", "\1\6", - "\1\11", + "\1\10", "", "", "" }; - static final short[] DFA58_eot = DFA.unpackEncodedString(DFA58_eotS); - static final short[] DFA58_eof = DFA.unpackEncodedString(DFA58_eofS); - static final char[] DFA58_min = DFA.unpackEncodedStringToUnsignedChars(DFA58_minS); - static final char[] DFA58_max = DFA.unpackEncodedStringToUnsignedChars(DFA58_maxS); - static final short[] DFA58_accept = DFA.unpackEncodedString(DFA58_acceptS); - static final short[] DFA58_special = DFA.unpackEncodedString(DFA58_specialS); - static final short[][] DFA58_transition; + static final short[] DFA65_eot = DFA.unpackEncodedString(DFA65_eotS); + static final short[] DFA65_eof = DFA.unpackEncodedString(DFA65_eofS); + static final char[] DFA65_min = DFA.unpackEncodedStringToUnsignedChars(DFA65_minS); + static final char[] DFA65_max = DFA.unpackEncodedStringToUnsignedChars(DFA65_maxS); + static final short[] DFA65_accept = DFA.unpackEncodedString(DFA65_acceptS); + static final short[] DFA65_special = DFA.unpackEncodedString(DFA65_specialS); + static final short[][] DFA65_transition; static { - int numStates = DFA58_transitionS.length; - DFA58_transition = new short[numStates][]; + int numStates = DFA65_transitionS.length; + DFA65_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA58_transition[i] = DFA.unpackEncodedString(DFA58_transitionS[i]); + DFA65_transition[i] = DFA.unpackEncodedString(DFA65_transitionS[i]); } } - class DFA58 extends DFA { + class DFA65 extends DFA { - public DFA58(BaseRecognizer recognizer) { + public DFA65(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 58; - this.eot = DFA58_eot; - this.eof = DFA58_eof; - this.min = DFA58_min; - this.max = DFA58_max; - this.accept = DFA58_accept; - this.special = DFA58_special; - this.transition = DFA58_transition; + this.decisionNumber = 65; + this.eot = DFA65_eot; + this.eof = DFA65_eof; + this.min = DFA65_min; + this.max = DFA65_max; + this.accept = DFA65_accept; + this.special = DFA65_special; + this.transition = DFA65_transition; } public String getDescription() { - return "3462:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + return "3741:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; } } public static final BitSet FOLLOW_ruleFSMModel_in_entryRuleFSMModel75 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleFSMModel85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleModelComponent_in_ruleFSMModel130 = new BitSet(new long[]{0x7800000000006002L}); + public static final BitSet FOLLOW_ruleModelComponent_in_ruleFSMModel130 = new BitSet(new long[]{0x8000000000006002L,0x0000000000000007L}); public static final BitSet FOLLOW_ruleModelComponent_in_entryRuleModelComponent166 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleModelComponent176 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_13_in_ruleModelComponent264 = new BitSet(new long[]{0x7800000000006000L}); - public static final BitSet FOLLOW_ruleComponentCommunicationType_in_ruleModelComponent352 = new BitSet(new long[]{0x7800000000006000L}); + public static final BitSet FOLLOW_13_in_ruleModelComponent264 = new BitSet(new long[]{0x8000000000006000L,0x0000000000000007L}); + public static final BitSet FOLLOW_ruleComponentCommunicationType_in_ruleModelComponent352 = new BitSet(new long[]{0x8000000000006000L,0x0000000000000007L}); public static final BitSet FOLLOW_14_in_ruleModelComponent404 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_RULE_ID_in_ruleModelComponent421 = new BitSet(new long[]{0x0000000000048000L}); public static final BitSet FOLLOW_15_in_ruleModelComponent439 = new BitSet(new long[]{0x0000000000000010L}); @@ -10072,33 +10831,33 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_ruleState_in_ruleStateGraphNode578 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleChoicePoint_in_ruleStateGraphNode605 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleTrPoint_in_ruleStateGraphNode632 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleState_in_entryRuleState669 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleState679 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleState_in_ruleState726 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRefinedState_in_ruleState753 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStateGraph_in_entryRuleStateGraph788 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStateGraph798 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_ruleStateGraph844 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleState_in_ruleStateGraph866 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleTrPoint_in_ruleStateGraph893 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleChoicePoint_in_ruleStateGraph920 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleTransition_in_ruleStateGraph947 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleRefinedTransition_in_ruleStateGraph974 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_17_in_ruleStateGraph988 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStateMachine_in_entryRuleStateMachine1024 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStateMachine1034 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_18_in_ruleStateMachine1080 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleStateMachine1092 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleState_in_ruleStateMachine1114 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleTrPoint_in_ruleStateMachine1141 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleChoicePoint_in_ruleStateMachine1168 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleTransition_in_ruleStateMachine1195 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_ruleRefinedTransition_in_ruleStateMachine1222 = new BitSet(new long[]{0x000000807F0A0000L}); - public static final BitSet FOLLOW_17_in_ruleStateMachine1236 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStateGraph_in_entryRuleStateGraph669 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStateGraph679 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_16_in_ruleStateGraph725 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleState_in_ruleStateGraph747 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleTrPoint_in_ruleStateGraph774 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleChoicePoint_in_ruleStateGraph801 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleTransition_in_ruleStateGraph828 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleRefinedTransition_in_ruleStateGraph855 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_17_in_ruleStateGraph869 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStateMachine_in_entryRuleStateMachine905 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStateMachine915 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_18_in_ruleStateMachine961 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleStateMachine973 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleState_in_ruleStateMachine995 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleTrPoint_in_ruleStateMachine1022 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleChoicePoint_in_ruleStateMachine1049 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleTransition_in_ruleStateMachine1076 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_ruleRefinedTransition_in_ruleStateMachine1103 = new BitSet(new long[]{0x000000807F0A0000L}); + public static final BitSet FOLLOW_17_in_ruleStateMachine1117 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleState_in_entryRuleState1153 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleState1163 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSimpleState_in_ruleState1210 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRefinedState_in_ruleState1237 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleSimpleState_in_entryRuleSimpleState1272 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleSimpleState1282 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_19_in_ruleSimpleState1319 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleState1336 = new BitSet(new long[]{0x0010000000010002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleState1336 = new BitSet(new long[]{0x0100000000010002L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleSimpleState1362 = new BitSet(new long[]{0x0000000000010002L}); public static final BitSet FOLLOW_16_in_ruleSimpleState1376 = new BitSet(new long[]{0x0000000000F20000L}); public static final BitSet FOLLOW_20_in_ruleSimpleState1389 = new BitSet(new long[]{0x0000000000010000L}); @@ -10113,7 +10872,7 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_ruleRefinedState_in_entryRuleRefinedState1570 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleRefinedState1580 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_24_in_ruleRefinedState1617 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleRefinedState1640 = new BitSet(new long[]{0x0010000000010000L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleRefinedState1640 = new BitSet(new long[]{0x0100000000010000L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleRefinedState1661 = new BitSet(new long[]{0x0000000000010000L}); public static final BitSet FOLLOW_16_in_ruleRefinedState1674 = new BitSet(new long[]{0x0000000000F20000L}); public static final BitSet FOLLOW_20_in_ruleRefinedState1687 = new BitSet(new long[]{0x0000000000010000L}); @@ -10127,288 +10886,316 @@ public class InternalFSMParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_17_in_ruleRefinedState1830 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleDetailCode_in_entryRuleDetailCode1866 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleDetailCode1876 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_16_in_ruleDetailCode1922 = new BitSet(new long[]{0x0000000000020020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDetailCode1939 = new BitSet(new long[]{0x0000000000020020L}); - public static final BitSet FOLLOW_17_in_ruleDetailCode1957 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTrPoint_in_entryRuleTrPoint1993 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTrPoint2003 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransitionPoint_in_ruleTrPoint2050 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEntryPoint_in_ruleTrPoint2077 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExitPoint_in_ruleTrPoint2104 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransitionPoint_in_entryRuleTransitionPoint2139 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTransitionPoint2149 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_25_in_ruleTransitionPoint2192 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_26_in_ruleTransitionPoint2218 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleTransitionPoint2235 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEntryPoint_in_entryRuleEntryPoint2276 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEntryPoint2286 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_27_in_ruleEntryPoint2323 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEntryPoint2340 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExitPoint_in_entryRuleExitPoint2381 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleExitPoint2391 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleExitPoint2428 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleExitPoint2445 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleChoicePoint_in_entryRuleChoicePoint2486 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleChoicePoint2496 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_29_in_ruleChoicePoint2533 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleChoicePoint2550 = new BitSet(new long[]{0x0010000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleChoicePoint2576 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransition_in_entryRuleTransition2613 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTransition2623 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInitialTransition_in_ruleTransition2670 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNonInitialTransition_in_ruleTransition2697 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNonInitialTransition_in_entryRuleNonInitialTransition2732 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNonInitialTransition2742 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransitionChainStartTransition_in_ruleNonInitialTransition2789 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleContinuationTransition_in_ruleNonInitialTransition2816 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCPBranchTransition_in_ruleNonInitialTransition2843 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransitionChainStartTransition_in_entryRuleTransitionChainStartTransition2878 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTransitionChainStartTransition2888 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTriggeredTransition_in_ruleTransitionChainStartTransition2935 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleGuardedTransition_in_ruleTransitionChainStartTransition2962 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInitialTransition_in_entryRuleInitialTransition2997 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInitialTransition3007 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleInitialTransition3044 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleInitialTransition3061 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleInitialTransition3079 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_32_in_ruleInitialTransition3091 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleInitialTransition3103 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleInitialTransition3124 = new BitSet(new long[]{0x0010000000010000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleInitialTransition3145 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleInitialTransition3158 = new BitSet(new long[]{0x0000000400020000L}); - public static final BitSet FOLLOW_34_in_ruleInitialTransition3171 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleInitialTransition3192 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleInitialTransition3206 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleContinuationTransition_in_entryRuleContinuationTransition3242 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleContinuationTransition3252 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleContinuationTransition3289 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleContinuationTransition3306 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleContinuationTransition3324 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3345 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleContinuationTransition3357 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3378 = new BitSet(new long[]{0x0010000000010002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleContinuationTransition3399 = new BitSet(new long[]{0x0000000000010002L}); - public static final BitSet FOLLOW_16_in_ruleContinuationTransition3413 = new BitSet(new long[]{0x0000000400020000L}); - public static final BitSet FOLLOW_34_in_ruleContinuationTransition3426 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleContinuationTransition3447 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleContinuationTransition3461 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTriggeredTransition_in_entryRuleTriggeredTransition3499 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTriggeredTransition3509 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleTriggeredTransition3546 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleTriggeredTransition3563 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleTriggeredTransition3581 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3602 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleTriggeredTransition3614 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3635 = new BitSet(new long[]{0x0010000000010000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleTriggeredTransition3656 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleTriggeredTransition3669 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleTriggeredTransition3681 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleTriggeredTransition3693 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_ruleTrigger_in_ruleTriggeredTransition3714 = new BitSet(new long[]{0x0000001000020000L}); - public static final BitSet FOLLOW_36_in_ruleTriggeredTransition3727 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_ruleTrigger_in_ruleTriggeredTransition3748 = new BitSet(new long[]{0x0000001000020000L}); - public static final BitSet FOLLOW_17_in_ruleTriggeredTransition3762 = new BitSet(new long[]{0x0000000400020000L}); - public static final BitSet FOLLOW_34_in_ruleTriggeredTransition3775 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleTriggeredTransition3796 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleTriggeredTransition3810 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleGuardedTransition_in_entryRuleGuardedTransition3846 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleGuardedTransition3856 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleGuardedTransition3893 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleGuardedTransition3910 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleGuardedTransition3928 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3949 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleGuardedTransition3961 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3982 = new BitSet(new long[]{0x0010000000010000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleGuardedTransition4003 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleGuardedTransition4016 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_37_in_ruleGuardedTransition4028 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuardedTransition4049 = new BitSet(new long[]{0x0000000400020000L}); - public static final BitSet FOLLOW_34_in_ruleGuardedTransition4062 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuardedTransition4083 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleGuardedTransition4097 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCPBranchTransition_in_entryRuleCPBranchTransition4133 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCPBranchTransition4143 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleCPBranchTransition4180 = new BitSet(new long[]{0x0000000080000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleCPBranchTransition4197 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleCPBranchTransition4215 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4236 = new BitSet(new long[]{0x0000000200000000L}); - public static final BitSet FOLLOW_33_in_ruleCPBranchTransition4248 = new BitSet(new long[]{0x0000050000000010L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4269 = new BitSet(new long[]{0x0010000000010000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleCPBranchTransition4290 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleCPBranchTransition4303 = new BitSet(new long[]{0x0000004000000000L}); - public static final BitSet FOLLOW_38_in_ruleCPBranchTransition4315 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4336 = new BitSet(new long[]{0x0000000400020000L}); - public static final BitSet FOLLOW_34_in_ruleCPBranchTransition4349 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4370 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleCPBranchTransition4384 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRefinedTransition_in_entryRuleRefinedTransition4420 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRefinedTransition4430 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_39_in_ruleRefinedTransition4467 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleRefinedTransition4490 = new BitSet(new long[]{0x0010000000010000L}); - public static final BitSet FOLLOW_ruleDocumentation_in_ruleRefinedTransition4511 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleRefinedTransition4524 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleRefinedTransition4536 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleRefinedTransition4557 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleRefinedTransition4569 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTransitionTerminal_in_entryRuleTransitionTerminal4605 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTransitionTerminal4615 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStateTerminal_in_ruleTransitionTerminal4662 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTrPointTerminal_in_ruleTransitionTerminal4689 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubStateTrPointTerminal_in_ruleTransitionTerminal4716 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleChoicepointTerminal_in_ruleTransitionTerminal4743 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStateTerminal_in_entryRuleStateTerminal4778 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStateTerminal4788 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleStateTerminal4832 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTrPointTerminal_in_entryRuleTrPointTerminal4867 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTrPointTerminal4877 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleTrPointTerminal4914 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleTrPointTerminal4934 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubStateTrPointTerminal_in_entryRuleSubStateTrPointTerminal4970 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSubStateTrPointTerminal4980 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5025 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_41_in_ruleSubStateTrPointTerminal5037 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5057 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleChoicepointTerminal_in_entryRuleChoicepointTerminal5093 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleChoicepointTerminal5103 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_42_in_ruleChoicepointTerminal5140 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleChoicepointTerminal5160 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTrigger_in_entryRuleTrigger5196 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTrigger5206 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_43_in_ruleTrigger5243 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleMessageFromIf_in_ruleTrigger5264 = new BitSet(new long[]{0x0000302000000000L}); - public static final BitSet FOLLOW_44_in_ruleTrigger5277 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleMessageFromIf_in_ruleTrigger5298 = new BitSet(new long[]{0x0000302000000000L}); - public static final BitSet FOLLOW_ruleGuard_in_ruleTrigger5321 = new BitSet(new long[]{0x0000200000000000L}); - public static final BitSet FOLLOW_45_in_ruleTrigger5334 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleMessageFromIf_in_entryRuleMessageFromIf5370 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleMessageFromIf5380 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleMessageFromIf5425 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleMessageFromIf5437 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleMessageFromIf5457 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleGuard_in_entryRuleGuard5497 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleGuard5507 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_37_in_ruleGuard5544 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuard5565 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue5603 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue5613 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue5655 = new BitSet(new long[]{0x0000400000000000L}); - public static final BitSet FOLLOW_46_in_ruleKeyValue5672 = new BitSet(new long[]{0x07C00000000000E0L}); - public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue5693 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType5732 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType5743 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType5782 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute5826 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute5836 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute5883 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute5910 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute5945 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute5955 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_47_in_ruleSimpleAnnotationAttribute5999 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_48_in_ruleSimpleAnnotationAttribute6030 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_49_in_ruleSimpleAnnotationAttribute6043 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute6060 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleSimpleAnnotationAttribute6077 = new BitSet(new long[]{0x8000000000000000L,0x0000000000000007L}); - public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute6098 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute6134 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute6144 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_47_in_ruleEnumAnnotationAttribute6188 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_48_in_ruleEnumAnnotationAttribute6219 = new BitSet(new long[]{0x0002000000000000L}); - public static final BitSet FOLLOW_49_in_ruleEnumAnnotationAttribute6232 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute6249 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_31_in_ruleEnumAnnotationAttribute6266 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleEnumAnnotationAttribute6278 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6295 = new BitSet(new long[]{0x0004000000020000L}); - public static final BitSet FOLLOW_50_in_ruleEnumAnnotationAttribute6313 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6330 = new BitSet(new long[]{0x0004000000020000L}); - public static final BitSet FOLLOW_17_in_ruleEnumAnnotationAttribute6349 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN6388 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN6399 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN6446 = new BitSet(new long[]{0x0008000000000002L}); - public static final BitSet FOLLOW_51_in_ruleImportedFQN6465 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation6507 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation6517 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_52_in_ruleDocumentation6563 = new BitSet(new long[]{0x0020000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation6580 = new BitSet(new long[]{0x0020000000000020L}); - public static final BitSet FOLLOW_53_in_ruleDocumentation6598 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral6638 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral6648 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral6695 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral6722 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral6749 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral6784 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral6794 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_54_in_ruleBooleanLiteral6841 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_55_in_ruleBooleanLiteral6865 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral6915 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral6925 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral6972 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral6999 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral7034 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral7044 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral7099 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral7135 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral7145 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral7200 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral7236 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral7246 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral7297 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger7339 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInteger7350 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger7397 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger7430 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger7482 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger7493 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_56_in_ruleSignedInteger7536 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_57_in_ruleSignedInteger7555 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger7572 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal7628 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal7639 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal7682 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_entryRuleReal7731 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleReal7742 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_ruleReal7789 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal7822 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal7855 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal7888 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal7940 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimal7951 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_56_in_ruleDecimal7994 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_57_in_ruleDecimal8013 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal8030 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_58_in_ruleDecimal8048 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal8063 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal8119 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal8130 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_56_in_ruleDotDecimal8173 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_57_in_ruleDotDecimal8192 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_58_in_ruleDotDecimal8207 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal8222 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot8278 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot8289 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_56_in_ruleDecimalDot8332 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_57_in_ruleDecimalDot8351 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot8368 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_58_in_ruleDecimalDot8386 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp8437 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp8448 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_56_in_ruleDecimalExp8491 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_57_in_ruleDecimalExp8510 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp8527 = new BitSet(new long[]{0x0400000000000000L}); - public static final BitSet FOLLOW_58_in_ruleDecimalExp8545 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp8560 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp8580 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN8630 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN8641 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN8681 = new BitSet(new long[]{0x0400000000000002L}); - public static final BitSet FOLLOW_58_in_ruleFQN8700 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN8715 = new BitSet(new long[]{0x0400000000000002L}); - public static final BitSet FOLLOW_59_in_ruleComponentCommunicationType8776 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_60_in_ruleComponentCommunicationType8793 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_61_in_ruleComponentCommunicationType8810 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_62_in_ruleComponentCommunicationType8827 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_63_in_ruleLiteralType8872 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_64_in_ruleLiteralType8889 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_65_in_ruleLiteralType8906 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_66_in_ruleLiteralType8923 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_16_in_ruleDetailCode1928 = new BitSet(new long[]{0x0000000000020020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDetailCode1958 = new BitSet(new long[]{0x0000000000020020L}); + public static final BitSet FOLLOW_17_in_ruleDetailCode1976 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTrPoint_in_entryRuleTrPoint2012 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTrPoint2022 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransitionPoint_in_ruleTrPoint2069 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEntryPoint_in_ruleTrPoint2096 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleExitPoint_in_ruleTrPoint2123 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransitionPoint_in_entryRuleTransitionPoint2158 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTransitionPoint2168 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_25_in_ruleTransitionPoint2211 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_26_in_ruleTransitionPoint2237 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleTransitionPoint2254 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEntryPoint_in_entryRuleEntryPoint2295 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEntryPoint2305 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_27_in_ruleEntryPoint2342 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleEntryPoint2359 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleExitPoint_in_entryRuleExitPoint2400 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleExitPoint2410 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_28_in_ruleExitPoint2447 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleExitPoint2464 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleChoicePoint_in_entryRuleChoicePoint2505 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleChoicePoint2515 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleChoicePoint2552 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleChoicePoint2569 = new BitSet(new long[]{0x0100000000000002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleChoicePoint2595 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransition_in_entryRuleTransition2632 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTransition2642 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInitialTransition_in_ruleTransition2689 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNonInitialTransition_in_ruleTransition2716 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNonInitialTransition_in_entryRuleNonInitialTransition2751 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNonInitialTransition2761 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransitionChainStartTransition_in_ruleNonInitialTransition2808 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleContinuationTransition_in_ruleNonInitialTransition2835 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleCPBranchTransition_in_ruleNonInitialTransition2862 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransitionChainStartTransition_in_entryRuleTransitionChainStartTransition2897 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTransitionChainStartTransition2907 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTriggeredTransition_in_ruleTransitionChainStartTransition2954 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleGuardedTransition_in_ruleTransitionChainStartTransition2981 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInitialTransition_in_entryRuleInitialTransition3016 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInitialTransition3026 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleInitialTransition3063 = new BitSet(new long[]{0x0000000080000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleInitialTransition3080 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleInitialTransition3098 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_32_in_ruleInitialTransition3110 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleInitialTransition3122 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleInitialTransition3143 = new BitSet(new long[]{0x0100000000010000L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleInitialTransition3164 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleInitialTransition3177 = new BitSet(new long[]{0x0000000400020000L}); + public static final BitSet FOLLOW_34_in_ruleInitialTransition3190 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleInitialTransition3211 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleInitialTransition3225 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleContinuationTransition_in_entryRuleContinuationTransition3261 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleContinuationTransition3271 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleContinuationTransition3308 = new BitSet(new long[]{0x0000000080000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleContinuationTransition3325 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleContinuationTransition3343 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3364 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleContinuationTransition3376 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleContinuationTransition3397 = new BitSet(new long[]{0x0100000000010002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleContinuationTransition3418 = new BitSet(new long[]{0x0000000000010002L}); + public static final BitSet FOLLOW_16_in_ruleContinuationTransition3432 = new BitSet(new long[]{0x0000000400020000L}); + public static final BitSet FOLLOW_34_in_ruleContinuationTransition3445 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleContinuationTransition3466 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleContinuationTransition3480 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTriggeredTransition_in_entryRuleTriggeredTransition3518 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTriggeredTransition3528 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleTriggeredTransition3565 = new BitSet(new long[]{0x0000000080000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleTriggeredTransition3582 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleTriggeredTransition3600 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3621 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleTriggeredTransition3633 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleTriggeredTransition3654 = new BitSet(new long[]{0x0100000000010000L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleTriggeredTransition3675 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleTriggeredTransition3688 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_35_in_ruleTriggeredTransition3700 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleTriggeredTransition3712 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_ruleTrigger_in_ruleTriggeredTransition3733 = new BitSet(new long[]{0x0000001000020000L}); + public static final BitSet FOLLOW_36_in_ruleTriggeredTransition3746 = new BitSet(new long[]{0x0000080000000000L}); + public static final BitSet FOLLOW_ruleTrigger_in_ruleTriggeredTransition3767 = new BitSet(new long[]{0x0000001000020000L}); + public static final BitSet FOLLOW_17_in_ruleTriggeredTransition3781 = new BitSet(new long[]{0x0000000400020000L}); + public static final BitSet FOLLOW_34_in_ruleTriggeredTransition3794 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleTriggeredTransition3815 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleTriggeredTransition3829 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleGuardedTransition_in_entryRuleGuardedTransition3865 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleGuardedTransition3875 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleGuardedTransition3912 = new BitSet(new long[]{0x0000000080000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleGuardedTransition3929 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleGuardedTransition3947 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition3968 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleGuardedTransition3980 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleGuardedTransition4001 = new BitSet(new long[]{0x0100000000010000L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleGuardedTransition4022 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleGuardedTransition4035 = new BitSet(new long[]{0x0000002000000000L}); + public static final BitSet FOLLOW_37_in_ruleGuardedTransition4047 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuardedTransition4068 = new BitSet(new long[]{0x0000000400020000L}); + public static final BitSet FOLLOW_34_in_ruleGuardedTransition4081 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuardedTransition4102 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleGuardedTransition4116 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleCPBranchTransition_in_entryRuleCPBranchTransition4152 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleCPBranchTransition4162 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleCPBranchTransition4199 = new BitSet(new long[]{0x0000000080000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleCPBranchTransition4216 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleCPBranchTransition4234 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4255 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleCPBranchTransition4267 = new BitSet(new long[]{0x0000050000000010L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_ruleCPBranchTransition4288 = new BitSet(new long[]{0x0100000000010000L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleCPBranchTransition4309 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleCPBranchTransition4322 = new BitSet(new long[]{0x0000004000000000L}); + public static final BitSet FOLLOW_38_in_ruleCPBranchTransition4334 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4355 = new BitSet(new long[]{0x0000000400020000L}); + public static final BitSet FOLLOW_34_in_ruleCPBranchTransition4368 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleCPBranchTransition4389 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleCPBranchTransition4403 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRefinedTransition_in_entryRuleRefinedTransition4439 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRefinedTransition4449 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_39_in_ruleRefinedTransition4486 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleRefinedTransition4509 = new BitSet(new long[]{0x0100000000010000L}); + public static final BitSet FOLLOW_ruleDocumentation_in_ruleRefinedTransition4530 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleRefinedTransition4543 = new BitSet(new long[]{0x0000000400000000L}); + public static final BitSet FOLLOW_34_in_ruleRefinedTransition4555 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleRefinedTransition4576 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_17_in_ruleRefinedTransition4588 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTransitionTerminal_in_entryRuleTransitionTerminal4624 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTransitionTerminal4634 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStateTerminal_in_ruleTransitionTerminal4681 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTrPointTerminal_in_ruleTransitionTerminal4708 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSubStateTrPointTerminal_in_ruleTransitionTerminal4735 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleChoicepointTerminal_in_ruleTransitionTerminal4762 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStateTerminal_in_entryRuleStateTerminal4797 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStateTerminal4807 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleStateTerminal4851 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTrPointTerminal_in_entryRuleTrPointTerminal4886 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTrPointTerminal4896 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_40_in_ruleTrPointTerminal4933 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleTrPointTerminal4953 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSubStateTrPointTerminal_in_entryRuleSubStateTrPointTerminal4989 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSubStateTrPointTerminal4999 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5044 = new BitSet(new long[]{0x0000020000000000L}); + public static final BitSet FOLLOW_41_in_ruleSubStateTrPointTerminal5056 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSubStateTrPointTerminal5076 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleChoicepointTerminal_in_entryRuleChoicepointTerminal5112 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleChoicepointTerminal5122 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_42_in_ruleChoicepointTerminal5159 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleChoicepointTerminal5179 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleTrigger_in_entryRuleTrigger5215 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleTrigger5225 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleTrigger5262 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleMessageFromIf_in_ruleTrigger5283 = new BitSet(new long[]{0x0000302000000000L}); + public static final BitSet FOLLOW_44_in_ruleTrigger5296 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleMessageFromIf_in_ruleTrigger5317 = new BitSet(new long[]{0x0000302000000000L}); + public static final BitSet FOLLOW_ruleGuard_in_ruleTrigger5340 = new BitSet(new long[]{0x0000200000000000L}); + public static final BitSet FOLLOW_45_in_ruleTrigger5353 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleMessageFromIf_in_entryRuleMessageFromIf5389 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleMessageFromIf5399 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleMessageFromIf5444 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleMessageFromIf5456 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleMessageFromIf5476 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleGuard_in_entryRuleGuard5516 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleGuard5526 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_37_in_ruleGuard5563 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDetailCode_in_ruleGuard5584 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_entryRuleSemanticsRule5622 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSemanticsRule5632 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInSemanticsRule_in_ruleSemanticsRule5679 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOutSemanticsRule_in_ruleSemanticsRule5706 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInSemanticsRule_in_entryRuleInSemanticsRule5741 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInSemanticsRule5751 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_46_in_ruleInSemanticsRule5788 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleInSemanticsRule5800 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleInSemanticsRule5820 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_33_in_ruleInSemanticsRule5833 = new BitSet(new long[]{0x0004C00000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5855 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_47_in_ruleInSemanticsRule5874 = new BitSet(new long[]{0x0004400000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5895 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_48_in_ruleInSemanticsRule5908 = new BitSet(new long[]{0x0004400000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleInSemanticsRule5929 = new BitSet(new long[]{0x0003000000000000L}); + public static final BitSet FOLLOW_49_in_ruleInSemanticsRule5943 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleOutSemanticsRule_in_entryRuleOutSemanticsRule5983 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleOutSemanticsRule5993 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_50_in_ruleOutSemanticsRule6030 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleOutSemanticsRule6042 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleOutSemanticsRule6062 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_33_in_ruleOutSemanticsRule6075 = new BitSet(new long[]{0x0004C00000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6097 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_47_in_ruleOutSemanticsRule6116 = new BitSet(new long[]{0x0004400000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6137 = new BitSet(new long[]{0x0001000000000000L}); + public static final BitSet FOLLOW_48_in_ruleOutSemanticsRule6150 = new BitSet(new long[]{0x0004400000000000L}); + public static final BitSet FOLLOW_ruleSemanticsRule_in_ruleOutSemanticsRule6171 = new BitSet(new long[]{0x0003000000000000L}); + public static final BitSet FOLLOW_49_in_ruleOutSemanticsRule6185 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue6227 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue6237 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue6279 = new BitSet(new long[]{0x0008000000000000L}); + public static final BitSet FOLLOW_51_in_ruleKeyValue6296 = new BitSet(new long[]{0x7C000000000000E0L}); + public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue6317 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType6356 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType6367 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType6406 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute6450 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute6460 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute6507 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute6534 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute6569 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute6579 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_52_in_ruleSimpleAnnotationAttribute6623 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_53_in_ruleSimpleAnnotationAttribute6654 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_54_in_ruleSimpleAnnotationAttribute6667 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute6684 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleSimpleAnnotationAttribute6701 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000078L}); + public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute6722 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute6758 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute6768 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_52_in_ruleEnumAnnotationAttribute6812 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_53_in_ruleEnumAnnotationAttribute6843 = new BitSet(new long[]{0x0040000000000000L}); + public static final BitSet FOLLOW_54_in_ruleEnumAnnotationAttribute6856 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute6873 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleEnumAnnotationAttribute6890 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_16_in_ruleEnumAnnotationAttribute6902 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6919 = new BitSet(new long[]{0x0001000000020000L}); + public static final BitSet FOLLOW_48_in_ruleEnumAnnotationAttribute6937 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute6954 = new BitSet(new long[]{0x0001000000020000L}); + public static final BitSet FOLLOW_17_in_ruleEnumAnnotationAttribute6973 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN7012 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN7023 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN7070 = new BitSet(new long[]{0x0080000000000002L}); + public static final BitSet FOLLOW_55_in_ruleImportedFQN7089 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation7131 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation7141 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_56_in_ruleDocumentation7187 = new BitSet(new long[]{0x0200000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation7204 = new BitSet(new long[]{0x0200000000000020L}); + public static final BitSet FOLLOW_57_in_ruleDocumentation7222 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral7262 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteral7272 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral7319 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral7346 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral7373 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral7408 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral7418 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_58_in_ruleBooleanLiteral7465 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_59_in_ruleBooleanLiteral7489 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral7539 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral7549 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral7596 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral7623 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral7658 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral7668 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral7723 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral7759 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral7769 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral7824 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral7860 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral7870 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral7921 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger7963 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInteger7974 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger8021 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger8054 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger8106 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger8117 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleSignedInteger8160 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_61_in_ruleSignedInteger8179 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger8196 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal8252 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal8263 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal8306 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_entryRuleReal8355 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleReal8366 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_ruleReal8413 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal8446 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal8479 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal8512 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal8564 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimal8575 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleDecimal8618 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_61_in_ruleDecimal8637 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal8654 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_62_in_ruleDecimal8672 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal8687 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal8743 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal8754 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleDotDecimal8797 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_61_in_ruleDotDecimal8816 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_62_in_ruleDotDecimal8831 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal8846 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot8902 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot8913 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleDecimalDot8956 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_61_in_ruleDecimalDot8975 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot8992 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_62_in_ruleDecimalDot9010 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp9061 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp9072 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_60_in_ruleDecimalExp9115 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_61_in_ruleDecimalExp9134 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp9151 = new BitSet(new long[]{0x4000000000000000L}); + public static final BitSet FOLLOW_62_in_ruleDecimalExp9169 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp9184 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp9204 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN9254 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleFQN9265 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN9305 = new BitSet(new long[]{0x4000000000000002L}); + public static final BitSet FOLLOW_62_in_ruleFQN9324 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN9339 = new BitSet(new long[]{0x4000000000000002L}); + public static final BitSet FOLLOW_63_in_ruleComponentCommunicationType9400 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_64_in_ruleComponentCommunicationType9417 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_65_in_ruleComponentCommunicationType9434 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_66_in_ruleComponentCommunicationType9451 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_67_in_ruleLiteralType9496 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_68_in_ruleLiteralType9513 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_69_in_ruleLiteralType9530 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_70_in_ruleLiteralType9547 = new BitSet(new long[]{0x0000000000000002L}); } diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/serializer/FSMSemanticSequencer.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/serializer/FSMSemanticSequencer.java index 265acce4f..3456cd50f 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/serializer/FSMSemanticSequencer.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/serializer/FSMSemanticSequencer.java @@ -30,9 +30,12 @@ import org.eclipse.etrice.core.fsm.fSM.FSMModel; import org.eclipse.etrice.core.fsm.fSM.FSMPackage; import org.eclipse.etrice.core.fsm.fSM.Guard; import org.eclipse.etrice.core.fsm.fSM.GuardedTransition; +import org.eclipse.etrice.core.fsm.fSM.InSemanticsRule; import org.eclipse.etrice.core.fsm.fSM.InitialTransition; import org.eclipse.etrice.core.fsm.fSM.MessageFromIf; import org.eclipse.etrice.core.fsm.fSM.ModelComponent; +import org.eclipse.etrice.core.fsm.fSM.OutSemanticsRule; +import org.eclipse.etrice.core.fsm.fSM.ProtocolSemantics; import org.eclipse.etrice.core.fsm.fSM.RefinedState; import org.eclipse.etrice.core.fsm.fSM.RefinedTransition; import org.eclipse.etrice.core.fsm.fSM.SimpleState; @@ -235,6 +238,13 @@ public class FSMSemanticSequencer extends BaseSemanticSequencer { return; } else break; + case FSMPackage.IN_SEMANTICS_RULE: + if(context == grammarAccess.getInSemanticsRuleRule() || + context == grammarAccess.getSemanticsRuleRule()) { + sequence_InSemanticsRule(context, (InSemanticsRule) semanticObject); + return; + } + else break; case FSMPackage.INITIAL_TRANSITION: if(context == grammarAccess.getInitialTransitionRule() || context == grammarAccess.getStateGraphItemRule() || @@ -255,6 +265,19 @@ public class FSMSemanticSequencer extends BaseSemanticSequencer { return; } else break; + case FSMPackage.OUT_SEMANTICS_RULE: + if(context == grammarAccess.getOutSemanticsRuleRule() || + context == grammarAccess.getSemanticsRuleRule()) { + sequence_OutSemanticsRule(context, (OutSemanticsRule) semanticObject); + return; + } + else break; + case FSMPackage.PROTOCOL_SEMANTICS: + if(context == grammarAccess.getProtocolSemanticsRule()) { + sequence_ProtocolSemantics(context, (ProtocolSemantics) semanticObject); + return; + } + else break; case FSMPackage.REFINED_STATE: if(context == grammarAccess.getRefinedStateRule() || context == grammarAccess.getStateRule() || @@ -423,7 +446,7 @@ public class FSMSemanticSequencer extends BaseSemanticSequencer { /** * Constraint: - * (lines+=STRING*) + * (used?='{' lines+=STRING*) */ protected void sequence_DetailCode(EObject context, DetailCode semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -505,6 +528,15 @@ public class FSMSemanticSequencer extends BaseSemanticSequencer { /** * Constraint: + * (msg=[AbstractMessage|ID] (followUps+=SemanticsRule | (followUps+=SemanticsRule followUps+=SemanticsRule+))?) + */ + protected void sequence_InSemanticsRule(EObject context, InSemanticsRule semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: * (name=ID? to=TransitionTerminal docu=Documentation? action=DetailCode?) */ protected void sequence_InitialTransition(EObject context, InitialTransition semanticObject) { @@ -542,6 +574,24 @@ public class FSMSemanticSequencer extends BaseSemanticSequencer { /** * Constraint: + * (msg=[AbstractMessage|ID] (followUps+=SemanticsRule | (followUps+=SemanticsRule followUps+=SemanticsRule+))?) + */ + protected void sequence_OutSemanticsRule(EObject context, OutSemanticsRule semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: + * (rules+=SemanticsRule*) + */ + protected void sequence_ProtocolSemantics(EObject context, ProtocolSemantics semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: * ( * target=[State|FQN] * docu=Documentation? diff --git a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/services/FSMGrammarAccess.java b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/services/FSMGrammarAccess.java index 4d264c6e2..4b399a660 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/services/FSMGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.fsm/src-gen/org/eclipse/etrice/core/fsm/services/FSMGrammarAccess.java @@ -53,6 +53,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cStateMachineAssignment_4 = (Assignment)cGroup.eContents().get(4); private final RuleCall cStateMachineStateMachineParserRuleCall_4_0 = (RuleCall)cStateMachineAssignment_4.eContents().get(0); + //// the owner of a state machine. It also implements inheritance //ModelComponent: // (abstract?="abstract"? & commType=ComponentCommunicationType?) "ModelComponent" componentName=ID ("extends" // base=[ModelComponent|FQN])? stateMachine=StateMachine; @@ -115,6 +116,10 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cChoicePointParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cTrPointParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + //// + //// state machine + //// + //// the building blocks of a state machine: nodes and items //StateGraphNode: // State | ChoicePoint | TrPoint; public ParserRule getRule() { return rule; } @@ -152,26 +157,6 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { public RuleCall getTransitionParserRuleCall_1() { return cTransitionParserRuleCall_1; } } - public class StateElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "State"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cSimpleStateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cRefinedStateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //State: - // SimpleState | RefinedState; - public ParserRule getRule() { return rule; } - - //SimpleState | RefinedState - public Alternatives getAlternatives() { return cAlternatives; } - - //SimpleState - public RuleCall getSimpleStateParserRuleCall_0() { return cSimpleStateParserRuleCall_0; } - - //RefinedState - public RuleCall getRefinedStateParserRuleCall_1() { return cRefinedStateParserRuleCall_1; } - } - public class StateGraphElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StateGraph"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -190,6 +175,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cRefinedTransitionsRefinedTransitionParserRuleCall_2_4_0 = (RuleCall)cRefinedTransitionsAssignment_2_4.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + //// state graph and state machine are two rules for the same model class //StateGraph: // {StateGraph} "{" (states+=State | trPoints+=TrPoint | chPoints+=ChoicePoint | transitions+=Transition | // refinedTransitions+=RefinedTransition)* "}"; @@ -318,6 +304,29 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } } + public class StateElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "State"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cSimpleStateParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cRefinedStateParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //// + //// states + //// + //State: + // SimpleState | RefinedState; + public ParserRule getRule() { return rule; } + + //SimpleState | RefinedState + public Alternatives getAlternatives() { return cAlternatives; } + + //SimpleState + public RuleCall getSimpleStateParserRuleCall_0() { return cSimpleStateParserRuleCall_0; } + + //RefinedState + public RuleCall getRefinedStateParserRuleCall_1() { return cRefinedStateParserRuleCall_1; } + } + public class SimpleStateElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SimpleState"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -543,25 +552,29 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DetailCode"); private final Group cGroup = (Group)rule.eContents().get(1); private final Action cDetailCodeAction_0 = (Action)cGroup.eContents().get(0); - private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cUsedAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final Keyword cUsedLeftCurlyBracketKeyword_1_0 = (Keyword)cUsedAssignment_1.eContents().get(0); private final Assignment cLinesAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cLinesSTRINGTerminalRuleCall_2_0 = (RuleCall)cLinesAssignment_2.eContents().get(0); private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); - //// TODOHRR: provide a means to call super class code (cf. ROOM p. 310f) - //// super() keyword or flag like in Trice + //// the detail level (or target language) code + //// the used flag might be used when overriding in derived grammars //DetailCode: - // {DetailCode} "{" lines+=STRING* "}"; + // {DetailCode} used?="{" lines+=STRING* "}"; public ParserRule getRule() { return rule; } - //{DetailCode} "{" lines+=STRING* "}" + //{DetailCode} used?="{" lines+=STRING* "}" public Group getGroup() { return cGroup; } //{DetailCode} public Action getDetailCodeAction_0() { return cDetailCodeAction_0; } + //used?="{" + public Assignment getUsedAssignment_1() { return cUsedAssignment_1; } + //"{" - public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + public Keyword getUsedLeftCurlyBracketKeyword_1_0() { return cUsedLeftCurlyBracketKeyword_1_0; } //lines+=STRING* public Assignment getLinesAssignment_2() { return cLinesAssignment_2; } @@ -580,6 +593,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cEntryPointParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); private final RuleCall cExitPointParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + //// + //// transition points + //// //TrPoint: // TransitionPoint | EntryPoint | ExitPoint; public ParserRule getRule() { return rule; } @@ -686,6 +702,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cDocuAssignment_2 = (Assignment)cGroup.eContents().get(2); private final RuleCall cDocuDocumentationParserRuleCall_2_0 = (RuleCall)cDocuAssignment_2.eContents().get(0); + //// + //// choice point + //// //ChoicePoint: // "ChoicePoint" name=ID docu=Documentation?; public ParserRule getRule() { return rule; } @@ -715,6 +734,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cInitialTransitionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cNonInitialTransitionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + //// + //// transitions + //// //Transition: // InitialTransition | NonInitialTransition; public ParserRule getRule() { return rule; } @@ -1307,6 +1329,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cSubStateTrPointTerminalParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); private final RuleCall cChoicepointTerminalParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + //// + //// transition terminals: start and end points of transitions + //// //TransitionTerminal: // StateTerminal | TrPointTerminal | SubStateTrPointTerminal | ChoicepointTerminal; public ParserRule getRule() { return rule; } @@ -1457,6 +1482,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cGuardGuardParserRuleCall_3_0 = (RuleCall)cGuardAssignment_3.eContents().get(0); private final Keyword cGreaterThanSignKeyword_4 = (Keyword)cGroup.eContents().get(4); + //// + //// transition triggers + //// //Trigger: // "<" msgFromIfPairs+=MessageFromIf ("|" msgFromIfPairs+=MessageFromIf)* guard=Guard? ">"; public ParserRule getRule() { return rule; } @@ -1506,6 +1534,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final CrossReference cFromAbstractInterfaceItemCrossReference_2_0 = (CrossReference)cFromAssignment_2.eContents().get(0); private final RuleCall cFromAbstractInterfaceItemIDTerminalRuleCall_2_0_1 = (RuleCall)cFromAbstractInterfaceItemCrossReference_2_0.eContents().get(1); + //// + //// pairs of (message, interface) are triggering events + //// //MessageFromIf: // message=[AbstractMessage] ":" from=[AbstractInterfaceItem]; public ParserRule getRule() { return rule; } @@ -1590,6 +1621,245 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { //DetailCode public RuleCall getGuardDetailCodeParserRuleCall_1_0() { return cGuardDetailCodeParserRuleCall_1_0; } } + + public class ProtocolSemanticsElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ProtocolSemantics"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cProtocolSemanticsAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cSemanticsKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cRulesAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cRulesSemanticsRuleParserRuleCall_3_0 = (RuleCall)cRulesAssignment_3.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //// + //// semantics for state machine validation + //// + //ProtocolSemantics: + // {ProtocolSemantics} "semantics" "{" rules+=SemanticsRule* "}"; + public ParserRule getRule() { return rule; } + + //{ProtocolSemantics} "semantics" "{" rules+=SemanticsRule* "}" + public Group getGroup() { return cGroup; } + + //{ProtocolSemantics} + public Action getProtocolSemanticsAction_0() { return cProtocolSemanticsAction_0; } + + //"semantics" + public Keyword getSemanticsKeyword_1() { return cSemanticsKeyword_1; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //rules+=SemanticsRule* + public Assignment getRulesAssignment_3() { return cRulesAssignment_3; } + + //SemanticsRule + public RuleCall getRulesSemanticsRuleParserRuleCall_3_0() { return cRulesSemanticsRuleParserRuleCall_3_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class SemanticsRuleElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SemanticsRule"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cInSemanticsRuleParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cOutSemanticsRuleParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //SemanticsRule: + // InSemanticsRule | OutSemanticsRule; + public ParserRule getRule() { return rule; } + + //InSemanticsRule | OutSemanticsRule + public Alternatives getAlternatives() { return cAlternatives; } + + //InSemanticsRule + public RuleCall getInSemanticsRuleParserRuleCall_0() { return cInSemanticsRuleParserRuleCall_0; } + + //OutSemanticsRule + public RuleCall getOutSemanticsRuleParserRuleCall_1() { return cOutSemanticsRuleParserRuleCall_1; } + } + + public class InSemanticsRuleElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InSemanticsRule"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cInKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cMsgAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cMsgAbstractMessageCrossReference_2_0 = (CrossReference)cMsgAssignment_2.eContents().get(0); + private final RuleCall cMsgAbstractMessageIDTerminalRuleCall_2_0_1 = (RuleCall)cMsgAbstractMessageCrossReference_2_0.eContents().get(1); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cHyphenMinusGreaterThanSignKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1); + private final Assignment cFollowUpsAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_0_0 = (RuleCall)cFollowUpsAssignment_3_1_0.eContents().get(0); + private final Group cGroup_3_1_1 = (Group)cAlternatives_3_1.eContents().get(1); + private final Keyword cLeftParenthesisKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0); + private final Assignment cFollowUpsAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0 = (RuleCall)cFollowUpsAssignment_3_1_1_1.eContents().get(0); + private final Group cGroup_3_1_1_2 = (Group)cGroup_3_1_1.eContents().get(2); + private final Keyword cCommaKeyword_3_1_1_2_0 = (Keyword)cGroup_3_1_1_2.eContents().get(0); + private final Assignment cFollowUpsAssignment_3_1_1_2_1 = (Assignment)cGroup_3_1_1_2.eContents().get(1); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0 = (RuleCall)cFollowUpsAssignment_3_1_1_2_1.eContents().get(0); + private final Keyword cRightParenthesisKeyword_3_1_1_3 = (Keyword)cGroup_3_1_1.eContents().get(3); + + //InSemanticsRule: + // "in" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + // followUps+=SemanticsRule)+ ")"))?; + public ParserRule getRule() { return rule; } + + //"in" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + //followUps+=SemanticsRule)+ ")"))? + public Group getGroup() { return cGroup; } + + //"in" + public Keyword getInKeyword_0() { return cInKeyword_0; } + + //":" + public Keyword getColonKeyword_1() { return cColonKeyword_1; } + + //msg=[AbstractMessage] + public Assignment getMsgAssignment_2() { return cMsgAssignment_2; } + + //[AbstractMessage] + public CrossReference getMsgAbstractMessageCrossReference_2_0() { return cMsgAbstractMessageCrossReference_2_0; } + + //ID + public RuleCall getMsgAbstractMessageIDTerminalRuleCall_2_0_1() { return cMsgAbstractMessageIDTerminalRuleCall_2_0_1; } + + //("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")"))? + public Group getGroup_3() { return cGroup_3; } + + //"->" + public Keyword getHyphenMinusGreaterThanSignKeyword_3_0() { return cHyphenMinusGreaterThanSignKeyword_3_0; } + + //followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")" + public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_0() { return cFollowUpsAssignment_3_1_0; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_0_0; } + + //"(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")" + public Group getGroup_3_1_1() { return cGroup_3_1_1; } + + //"(" + public Keyword getLeftParenthesisKeyword_3_1_1_0() { return cLeftParenthesisKeyword_3_1_1_0; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_1_1() { return cFollowUpsAssignment_3_1_1_1; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0; } + + //("," followUps+=SemanticsRule)+ + public Group getGroup_3_1_1_2() { return cGroup_3_1_1_2; } + + //"," + public Keyword getCommaKeyword_3_1_1_2_0() { return cCommaKeyword_3_1_1_2_0; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_1_2_1() { return cFollowUpsAssignment_3_1_1_2_1; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0; } + + //")" + public Keyword getRightParenthesisKeyword_3_1_1_3() { return cRightParenthesisKeyword_3_1_1_3; } + } + + public class OutSemanticsRuleElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OutSemanticsRule"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cOutKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Keyword cColonKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cMsgAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final CrossReference cMsgAbstractMessageCrossReference_2_0 = (CrossReference)cMsgAssignment_2.eContents().get(0); + private final RuleCall cMsgAbstractMessageIDTerminalRuleCall_2_0_1 = (RuleCall)cMsgAbstractMessageCrossReference_2_0.eContents().get(1); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Keyword cHyphenMinusGreaterThanSignKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); + private final Alternatives cAlternatives_3_1 = (Alternatives)cGroup_3.eContents().get(1); + private final Assignment cFollowUpsAssignment_3_1_0 = (Assignment)cAlternatives_3_1.eContents().get(0); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_0_0 = (RuleCall)cFollowUpsAssignment_3_1_0.eContents().get(0); + private final Group cGroup_3_1_1 = (Group)cAlternatives_3_1.eContents().get(1); + private final Keyword cLeftParenthesisKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0); + private final Assignment cFollowUpsAssignment_3_1_1_1 = (Assignment)cGroup_3_1_1.eContents().get(1); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0 = (RuleCall)cFollowUpsAssignment_3_1_1_1.eContents().get(0); + private final Group cGroup_3_1_1_2 = (Group)cGroup_3_1_1.eContents().get(2); + private final Keyword cCommaKeyword_3_1_1_2_0 = (Keyword)cGroup_3_1_1_2.eContents().get(0); + private final Assignment cFollowUpsAssignment_3_1_1_2_1 = (Assignment)cGroup_3_1_1_2.eContents().get(1); + private final RuleCall cFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0 = (RuleCall)cFollowUpsAssignment_3_1_1_2_1.eContents().get(0); + private final Keyword cRightParenthesisKeyword_3_1_1_3 = (Keyword)cGroup_3_1_1.eContents().get(3); + + //OutSemanticsRule: + // "out" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + // followUps+=SemanticsRule)+ ")"))?; + public ParserRule getRule() { return rule; } + + //"out" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + //followUps+=SemanticsRule)+ ")"))? + public Group getGroup() { return cGroup; } + + //"out" + public Keyword getOutKeyword_0() { return cOutKeyword_0; } + + //":" + public Keyword getColonKeyword_1() { return cColonKeyword_1; } + + //msg=[AbstractMessage] + public Assignment getMsgAssignment_2() { return cMsgAssignment_2; } + + //[AbstractMessage] + public CrossReference getMsgAbstractMessageCrossReference_2_0() { return cMsgAbstractMessageCrossReference_2_0; } + + //ID + public RuleCall getMsgAbstractMessageIDTerminalRuleCall_2_0_1() { return cMsgAbstractMessageIDTerminalRuleCall_2_0_1; } + + //("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")"))? + public Group getGroup_3() { return cGroup_3; } + + //"->" + public Keyword getHyphenMinusGreaterThanSignKeyword_3_0() { return cHyphenMinusGreaterThanSignKeyword_3_0; } + + //followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")" + public Alternatives getAlternatives_3_1() { return cAlternatives_3_1; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_0() { return cFollowUpsAssignment_3_1_0; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_0_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_0_0; } + + //"(" followUps+=SemanticsRule ("," followUps+=SemanticsRule)+ ")" + public Group getGroup_3_1_1() { return cGroup_3_1_1; } + + //"(" + public Keyword getLeftParenthesisKeyword_3_1_1_0() { return cLeftParenthesisKeyword_3_1_1_0; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_1_1() { return cFollowUpsAssignment_3_1_1_1; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_1_1_0; } + + //("," followUps+=SemanticsRule)+ + public Group getGroup_3_1_1_2() { return cGroup_3_1_1_2; } + + //"," + public Keyword getCommaKeyword_3_1_1_2_0() { return cCommaKeyword_3_1_1_2_0; } + + //followUps+=SemanticsRule + public Assignment getFollowUpsAssignment_3_1_1_2_1() { return cFollowUpsAssignment_3_1_1_2_1; } + + //SemanticsRule + public RuleCall getFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0() { return cFollowUpsSemanticsRuleParserRuleCall_3_1_1_2_1_0; } + + //")" + public Keyword getRightParenthesisKeyword_3_1_1_3() { return cRightParenthesisKeyword_3_1_1_3; } + } public class ComponentCommunicationTypeElements extends AbstractEnumRuleElementFinder { @@ -1604,6 +1874,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private final EnumLiteralDeclaration cSYNCHRONOUSEnumLiteralDeclaration_3 = (EnumLiteralDeclaration)cAlternatives.eContents().get(3); private final Keyword cSYNCHRONOUSSyncKeyword_3_0 = (Keyword)cSYNCHRONOUSEnumLiteralDeclaration_3.eContents().get(0); + //// the state machine communication type //enum ComponentCommunicationType: // EVENT_DRIVEN="eventdriven" | DATA_DRIVEN="datadriven" | ASYNCHRONOUS="async" | SYNCHRONOUS="sync"; public EnumRule getRule() { return rule; } @@ -1641,9 +1912,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private ModelComponentElements pModelComponent; private StateGraphNodeElements pStateGraphNode; private StateGraphItemElements pStateGraphItem; - private StateElements pState; private StateGraphElements pStateGraph; private StateMachineElements pStateMachine; + private StateElements pState; private SimpleStateElements pSimpleState; private RefinedStateElements pRefinedState; private DetailCodeElements pDetailCode; @@ -1671,6 +1942,10 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { private AbstractMessageElements pAbstractMessage; private AbstractInterfaceItemElements pAbstractInterfaceItem; private GuardElements pGuard; + private ProtocolSemanticsElements pProtocolSemantics; + private SemanticsRuleElements pSemanticsRule; + private InSemanticsRuleElements pInSemanticsRule; + private OutSemanticsRuleElements pOutSemanticsRule; private final Grammar grammar; @@ -1720,6 +1995,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getFSMModelAccess().getRule(); } + //// the state machine communication type //enum ComponentCommunicationType: // EVENT_DRIVEN="eventdriven" | DATA_DRIVEN="datadriven" | ASYNCHRONOUS="async" | SYNCHRONOUS="sync"; public ComponentCommunicationTypeElements getComponentCommunicationTypeAccess() { @@ -1730,6 +2006,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getComponentCommunicationTypeAccess().getRule(); } + //// the owner of a state machine. It also implements inheritance //ModelComponent: // (abstract?="abstract"? & commType=ComponentCommunicationType?) "ModelComponent" componentName=ID ("extends" // base=[ModelComponent|FQN])? stateMachine=StateMachine; @@ -1741,6 +2018,10 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getModelComponentAccess().getRule(); } + //// + //// state machine + //// + //// the building blocks of a state machine: nodes and items //StateGraphNode: // State | ChoicePoint | TrPoint; public StateGraphNodeElements getStateGraphNodeAccess() { @@ -1761,16 +2042,7 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getStateGraphItemAccess().getRule(); } - //State: - // SimpleState | RefinedState; - public StateElements getStateAccess() { - return (pState != null) ? pState : (pState = new StateElements()); - } - - public ParserRule getStateRule() { - return getStateAccess().getRule(); - } - + //// state graph and state machine are two rules for the same model class //StateGraph: // {StateGraph} "{" (states+=State | trPoints+=TrPoint | chPoints+=ChoicePoint | transitions+=Transition | // refinedTransitions+=RefinedTransition)* "}"; @@ -1793,6 +2065,19 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getStateMachineAccess().getRule(); } + //// + //// states + //// + //State: + // SimpleState | RefinedState; + public StateElements getStateAccess() { + return (pState != null) ? pState : (pState = new StateElements()); + } + + public ParserRule getStateRule() { + return getStateAccess().getRule(); + } + //SimpleState: // "State" name=ID docu=Documentation? ("{" ("entry" entryCode=DetailCode)? ("exit" exitCode=DetailCode)? ("do" // doCode=DetailCode)? ("subgraph" subgraph=StateGraph)? "}")?; @@ -1815,10 +2100,10 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getRefinedStateAccess().getRule(); } - //// TODOHRR: provide a means to call super class code (cf. ROOM p. 310f) - //// super() keyword or flag like in Trice + //// the detail level (or target language) code + //// the used flag might be used when overriding in derived grammars //DetailCode: - // {DetailCode} "{" lines+=STRING* "}"; + // {DetailCode} used?="{" lines+=STRING* "}"; public DetailCodeElements getDetailCodeAccess() { return (pDetailCode != null) ? pDetailCode : (pDetailCode = new DetailCodeElements()); } @@ -1827,6 +2112,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getDetailCodeAccess().getRule(); } + //// + //// transition points + //// //TrPoint: // TransitionPoint | EntryPoint | ExitPoint; public TrPointElements getTrPointAccess() { @@ -1867,6 +2155,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getExitPointAccess().getRule(); } + //// + //// choice point + //// //ChoicePoint: // "ChoicePoint" name=ID docu=Documentation?; public ChoicePointElements getChoicePointAccess() { @@ -1877,6 +2168,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getChoicePointAccess().getRule(); } + //// + //// transitions + //// //Transition: // InitialTransition | NonInitialTransition; public TransitionElements getTransitionAccess() { @@ -1973,6 +2267,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getRefinedTransitionAccess().getRule(); } + //// + //// transition terminals: start and end points of transitions + //// //TransitionTerminal: // StateTerminal | TrPointTerminal | SubStateTrPointTerminal | ChoicepointTerminal; public TransitionTerminalElements getTransitionTerminalAccess() { @@ -2023,6 +2320,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getChoicepointTerminalAccess().getRule(); } + //// + //// transition triggers + //// //Trigger: // "<" msgFromIfPairs+=MessageFromIf ("|" msgFromIfPairs+=MessageFromIf)* guard=Guard? ">"; public TriggerElements getTriggerAccess() { @@ -2033,6 +2333,9 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getTriggerAccess().getRule(); } + //// + //// pairs of (message, interface) are triggering events + //// //MessageFromIf: // message=[AbstractMessage] ":" from=[AbstractInterfaceItem]; public MessageFromIfElements getMessageFromIfAccess() { @@ -2073,6 +2376,51 @@ public class FSMGrammarAccess extends AbstractGrammarElementFinder { return getGuardAccess().getRule(); } + //// + //// semantics for state machine validation + //// + //ProtocolSemantics: + // {ProtocolSemantics} "semantics" "{" rules+=SemanticsRule* "}"; + public ProtocolSemanticsElements getProtocolSemanticsAccess() { + return (pProtocolSemantics != null) ? pProtocolSemantics : (pProtocolSemantics = new ProtocolSemanticsElements()); + } + + public ParserRule getProtocolSemanticsRule() { + return getProtocolSemanticsAccess().getRule(); + } + + //SemanticsRule: + // InSemanticsRule | OutSemanticsRule; + public SemanticsRuleElements getSemanticsRuleAccess() { + return (pSemanticsRule != null) ? pSemanticsRule : (pSemanticsRule = new SemanticsRuleElements()); + } + + public ParserRule getSemanticsRuleRule() { + return getSemanticsRuleAccess().getRule(); + } + + //InSemanticsRule: + // "in" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + // followUps+=SemanticsRule)+ ")"))?; + public InSemanticsRuleElements getInSemanticsRuleAccess() { + return (pInSemanticsRule != null) ? pInSemanticsRule : (pInSemanticsRule = new InSemanticsRuleElements()); + } + + public ParserRule getInSemanticsRuleRule() { + return getInSemanticsRuleAccess().getRule(); + } + + //OutSemanticsRule: + // "out" ":" msg=[AbstractMessage] ("->" (followUps+=SemanticsRule | "(" followUps+=SemanticsRule ("," + // followUps+=SemanticsRule)+ ")"))?; + public OutSemanticsRuleElements getOutSemanticsRuleAccess() { + return (pOutSemanticsRule != null) ? pOutSemanticsRule : (pOutSemanticsRule = new OutSemanticsRuleElements()); + } + + public ParserRule getOutSemanticsRuleRule() { + return getOutSemanticsRuleAccess().getRule(); + } + //// ************************************************************** //// AnnotationType and Annotation Rules //Annotation: diff --git a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext index 9befba0de..4d98800ad 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext +++ b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/FSM.xtext @@ -20,25 +20,30 @@ generate fSM "http://www.eclipse.org/etrice/core/fsm/FSM" FSMModel: components+=ModelComponent*; - +// the state machine communication type enum ComponentCommunicationType: EVENT_DRIVEN='eventdriven' | DATA_DRIVEN='datadriven' | ASYNCHRONOUS='async' | SYNCHRONOUS='sync' ; - + +// the owner of a state machine. It also implements inheritance ModelComponent: (abstract?='abstract'? & commType=ComponentCommunicationType?) 'ModelComponent' componentName=ID ('extends' base=[ModelComponent|FQN])? stateMachine=StateMachine ; +// +// state machine +// + +// the building blocks of a state machine: nodes and items StateGraphNode: State | ChoicePoint | TrPoint; StateGraphItem: StateGraphNode | Transition; -State: SimpleState | RefinedState; - +// state graph and state machine are two rules for the same model class StateGraph: {StateGraph} '{' @@ -63,6 +68,12 @@ StateMachine returns StateGraph: )* '}'; +// +// states +// + +State: SimpleState | RefinedState; + SimpleState: 'State' name=ID (docu=Documentation)? ('{' ('entry' entryCode=DetailCode)? @@ -79,14 +90,18 @@ RefinedState: ('subgraph' subgraph=StateGraph)? '}'; -// TODOHRR: provide a means to call super class code (cf. ROOM p. 310f) -// super() keyword or flag like in Trice +// the detail level (or target language) code +// the used flag might be used when overriding in derived grammars DetailCode: {DetailCode} - '{' + used?='{' lines+=STRING* '}'; +// +// transition points +// + TrPoint: TransitionPoint | EntryPoint | ExitPoint; TransitionPoint: @@ -98,9 +113,17 @@ EntryPoint: ExitPoint: 'ExitPoint' name=ID; +// +// choice point +// + ChoicePoint: 'ChoicePoint' name=ID (docu=Documentation)?; +// +// transitions +// + Transition: InitialTransition | NonInitialTransition; NonInitialTransition: TransitionChainStartTransition | ContinuationTransition | CPBranchTransition; TransitionChainStartTransition: TriggeredTransition | GuardedTransition; @@ -154,6 +177,10 @@ RefinedTransition: '}' ; +// +// transition terminals: start and end points of transitions +// + TransitionTerminal: StateTerminal | TrPointTerminal | SubStateTrPointTerminal | ChoicepointTerminal; StateTerminal: @@ -165,11 +192,19 @@ SubStateTrPointTerminal: ChoicepointTerminal: 'cp' cp=[ChoicePoint|ID]; +// +// transition triggers +// + Trigger: '<' msgFromIfPairs+=MessageFromIf ('|' msgFromIfPairs+=MessageFromIf)* (guard=Guard)? '>' ; +// +// pairs of (message, interface) are triggering events +// + MessageFromIf: message=[AbstractMessage|ID] ':' from=[AbstractInterfaceItem|ID] ; @@ -179,3 +214,35 @@ AbstractInterfaceItem: name=ID; Guard: 'guard' guard=DetailCode; + +// +// semantics for state machine validation +// + +ProtocolSemantics: + {ProtocolSemantics} + 'semantics' '{' + rules+=SemanticsRule* + '}'; + +SemanticsRule: InSemanticsRule | OutSemanticsRule; + +InSemanticsRule: 'in' ':' msg=[AbstractMessage|ID] + ('->' + ( + followUps+=SemanticsRule + | + ('(' followUps+=SemanticsRule (',' followUps+=SemanticsRule)+ ')') + ) + )? +; + +OutSemanticsRule: 'out' ':' msg=[AbstractMessage|ID] + ('->' + ( + followUps+=SemanticsRule + | + ('(' followUps+=SemanticsRule (',' followUps+=SemanticsRule)+ ')') + ) + )? +; diff --git a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.xtend b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.xtend index cd4a71e71..f874466f7 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.xtend +++ b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.xtend @@ -519,6 +519,58 @@ class DocuPostprocessor { This is a guard condition specified in the code generator's target language. It has to evaluate to a boolean value. ''') + + //------------------------------------------------------------------ + cls = pckg.getClass("ProtocolSemantics") + cls.setDocumentation(''' + An optional semantics specification as part of a {@link ProtocolClass}. + The semantic is defined as a <em>legal execution tree</em>. + This tree is composed of incoming and outgoing messages and each path through + this tree is a valid sequence of messages exchanged through a port instance. + + <p> + The semantics are composed using {@link SemanticsRule}s. + </p> + ''') + + cls.getReference("rules").setDocumentation( + ''' + This is a list of semantic rules. + ''') + + //------------------------------------------------------------------ + cls = pckg.getClass("SemanticsRule") + cls.setDocumentation(''' + The super class of + <ul> + <li>{@link InSemanticsRule}</li> + <li>{@link OutSemanticsRule}</li> + </ul> + ''') + + cls.getReference("msg").setDocumentation( + ''' + The message to which this rule applies. + ''') + + cls.getReference("followUps").setDocumentation( + ''' + The possible follow up rules. + ''') + + //------------------------------------------------------------------ + cls = pckg.getClass("InSemanticsRule") + cls.setDocumentation(''' + A {@link SemanticsRule} for incoming messages. + The rule points to an incoming messages and allows follow-up rules. + ''') + + //------------------------------------------------------------------ + cls = pckg.getClass("OutSemanticsRule") + cls.setDocumentation(''' + A {@link SemanticsRule} for outgoing messages. + The rule points to an outgoing messages and allows follow-up rules. + ''') } diff --git a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.xtend b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.xtend index 40daa3a35..415cffdec 100644 --- a/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.xtend +++ b/plugins/org.eclipse.etrice.core.fsm/src/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.xtend @@ -41,6 +41,20 @@ class ImplPostprocessor { return ((Transition)this).getName(); return ""; ''') + + val ifItem = fsmPackage.getClass("AbstractInterfaceItem") + ifItem.addOperation("getSemantics", fsmPackage.getEClassifier("ProtocolSemantics")) + ifItem.addOperation("getAllIncomingAbstractMessages", fsmPackage.getEClassifier("AbstractMessage"), -1, null) + ifItem.addOperation("getAllOutgoingAbstractMessages", fsmPackage.getEClassifier("AbstractMessage"), -1, null) + + val itemOwner = fsmPackage.addClass("IInterfaceItemOwner") + itemOwner.setAbstract(true) + itemOwner.setInterface(true) + itemOwner.addOperation("getAbstractInterfaceItems", fsmPackage.getEClassifier("AbstractInterfaceItem"), -1, null) + itemOwner.addOperation("getAllAbstractInterfaceItems", fsmPackage.getEClassifier("AbstractInterfaceItem"), -1, null) + + val comp = fsmPackage.getClass("ModelComponent") + comp.ESuperTypes.add(itemOwner) } } diff --git a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.java b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.java index c2560d5a3..7c2d2e442 100644 --- a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.java +++ b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/DocuPostprocessor.java @@ -648,5 +648,71 @@ public class DocuPostprocessor { _builder_70.append("It has to evaluate to a boolean value."); _builder_70.newLine(); PostprocessingHelpers.setDocumentation(_reference_31, _builder_70.toString()); + EClass _class_30 = PostprocessingHelpers.getClass(pckg, "ProtocolSemantics"); + cls = _class_30; + StringConcatenation _builder_71 = new StringConcatenation(); + _builder_71.append("An optional semantics specification as part of a {@link ProtocolClass}."); + _builder_71.newLine(); + _builder_71.append("The semantic is defined as a <em>legal execution tree</em>."); + _builder_71.newLine(); + _builder_71.append("This tree is composed of incoming and outgoing messages and each path through"); + _builder_71.newLine(); + _builder_71.append("this tree is a valid sequence of messages exchanged through a port instance."); + _builder_71.newLine(); + _builder_71.newLine(); + _builder_71.append("<p>"); + _builder_71.newLine(); + _builder_71.append("The semantics are composed using {@link SemanticsRule}s."); + _builder_71.newLine(); + _builder_71.append("</p>"); + _builder_71.newLine(); + PostprocessingHelpers.setDocumentation(cls, _builder_71.toString()); + EReference _reference_32 = PostprocessingHelpers.getReference(cls, "rules"); + StringConcatenation _builder_72 = new StringConcatenation(); + _builder_72.append("This is a list of semantic rules."); + _builder_72.newLine(); + PostprocessingHelpers.setDocumentation(_reference_32, _builder_72.toString()); + EClass _class_31 = PostprocessingHelpers.getClass(pckg, "SemanticsRule"); + cls = _class_31; + StringConcatenation _builder_73 = new StringConcatenation(); + _builder_73.append("The super class of"); + _builder_73.newLine(); + _builder_73.append("<ul>"); + _builder_73.newLine(); + _builder_73.append(" "); + _builder_73.append("<li>{@link InSemanticsRule}</li>"); + _builder_73.newLine(); + _builder_73.append(" "); + _builder_73.append("<li>{@link OutSemanticsRule}</li>"); + _builder_73.newLine(); + _builder_73.append("</ul>"); + _builder_73.newLine(); + PostprocessingHelpers.setDocumentation(cls, _builder_73.toString()); + EReference _reference_33 = PostprocessingHelpers.getReference(cls, "msg"); + StringConcatenation _builder_74 = new StringConcatenation(); + _builder_74.append("The message to which this rule applies."); + _builder_74.newLine(); + PostprocessingHelpers.setDocumentation(_reference_33, _builder_74.toString()); + EReference _reference_34 = PostprocessingHelpers.getReference(cls, "followUps"); + StringConcatenation _builder_75 = new StringConcatenation(); + _builder_75.append("The possible follow up rules."); + _builder_75.newLine(); + PostprocessingHelpers.setDocumentation(_reference_34, _builder_75.toString()); + EClass _class_32 = PostprocessingHelpers.getClass(pckg, "InSemanticsRule"); + cls = _class_32; + StringConcatenation _builder_76 = new StringConcatenation(); + _builder_76.append("A {@link SemanticsRule} for incoming messages."); + _builder_76.newLine(); + _builder_76.append("The rule points to an incoming messages and allows follow-up rules."); + _builder_76.newLine(); + PostprocessingHelpers.setDocumentation(cls, _builder_76.toString()); + EClass _class_33 = PostprocessingHelpers.getClass(pckg, "OutSemanticsRule"); + cls = _class_33; + StringConcatenation _builder_77 = new StringConcatenation(); + _builder_77.append("A {@link SemanticsRule} for outgoing messages."); + _builder_77.newLine(); + _builder_77.append("The rule points to an outgoing messages and allows follow-up rules."); + _builder_77.newLine(); + PostprocessingHelpers.setDocumentation(cls, _builder_77.toString()); } } diff --git a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.java b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.java index 7070f0bc8..0f2bdeb1f 100644 --- a/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.java +++ b/plugins/org.eclipse.etrice.core.fsm/xtend-gen/org/eclipse/etrice/core/fsm/postprocessing/ImplPostprocessor.java @@ -10,6 +10,7 @@ */ package org.eclipse.etrice.core.fsm.postprocessing; +import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EClassifier; import org.eclipse.emf.ecore.EPackage; @@ -54,7 +55,24 @@ public class ImplPostprocessor { _builder_1.newLine(); _builder_1.append("return \"\";"); _builder_1.newLine(); - _xblockexpression = PostprocessingHelpers.addOperation(stateGraphItem, "getName", _eClassifier_1, Integer.valueOf(1), _builder_1.toString()); + PostprocessingHelpers.addOperation(stateGraphItem, "getName", _eClassifier_1, Integer.valueOf(1), _builder_1.toString()); + final EClass ifItem = PostprocessingHelpers.getClass(fsmPackage, "AbstractInterfaceItem"); + EClassifier _eClassifier_2 = fsmPackage.getEClassifier("ProtocolSemantics"); + PostprocessingHelpers.addOperation(ifItem, "getSemantics", _eClassifier_2); + EClassifier _eClassifier_3 = fsmPackage.getEClassifier("AbstractMessage"); + PostprocessingHelpers.addOperation(ifItem, "getAllIncomingAbstractMessages", _eClassifier_3, Integer.valueOf((-1)), null); + EClassifier _eClassifier_4 = fsmPackage.getEClassifier("AbstractMessage"); + PostprocessingHelpers.addOperation(ifItem, "getAllOutgoingAbstractMessages", _eClassifier_4, Integer.valueOf((-1)), null); + final EClass itemOwner = PostprocessingHelpers.addClass(fsmPackage, "IInterfaceItemOwner"); + itemOwner.setAbstract(true); + itemOwner.setInterface(true); + EClassifier _eClassifier_5 = fsmPackage.getEClassifier("AbstractInterfaceItem"); + PostprocessingHelpers.addOperation(itemOwner, "getAbstractInterfaceItems", _eClassifier_5, Integer.valueOf((-1)), null); + EClassifier _eClassifier_6 = fsmPackage.getEClassifier("AbstractInterfaceItem"); + PostprocessingHelpers.addOperation(itemOwner, "getAllAbstractInterfaceItems", _eClassifier_6, Integer.valueOf((-1)), null); + final EClass comp = PostprocessingHelpers.getClass(fsmPackage, "ModelComponent"); + EList<EClass> _eSuperTypes = comp.getESuperTypes(); + _xblockexpression = _eSuperTypes.add(itemOwner); } return _xblockexpression; } |