Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config')
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore29
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel17
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi147
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java88
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java17
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java36
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java9
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java404
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java76
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java109
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorClassConfigImpl.java9
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorInstanceConfigImpl.java54
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java12
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrConfigImpl.java24
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/BooleanLiteralImpl.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java96
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java27
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java291
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ImportImpl.java12
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/LiteralArrayImpl.java171
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortClassConfigImpl.java171
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortInstanceConfigImpl.java240
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ProtocolClassConfigImpl.java335
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RealLiteralImpl.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RefPathImpl.java3
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/StringLiteralImpl.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java80
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java93
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java31
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java78
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g362
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens38
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java670
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java2520
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java72
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java342
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java36
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext34
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext13
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java77
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java92
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend30
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java53
-rw-r--r--plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java144
48 files changed, 5734 insertions, 1532 deletions
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore
index fd16bd2a3..564faf105 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore
@@ -14,6 +14,11 @@
<details key="body" value="EList&lt;ActorInstanceConfig> list = new org.eclipse.emf.common.util.BasicEList&lt;ActorInstanceConfig>();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;for(ConfigElement element : this.getConfigElements())&#xD;&#xA;&#x9;&#x9;&#x9; &#x9;&#x9;if(element instanceof ActorInstanceConfig)&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;list.add((ActorInstanceConfig) element);&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;return list;"/>
</eAnnotations>
</eOperations>
+ <eOperations name="getProtocolClassConfigs" upperBound="-1" eType="#//ProtocolClassConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="EList&lt;ProtocolClassConfig> list = new org.eclipse.emf.common.util.BasicEList&lt;ProtocolClassConfig>();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;for(ConfigElement element : this.getConfigElements())&#xD;&#xA;&#x9;&#x9;&#x9; &#x9;&#x9;if(element instanceof ProtocolClassConfig)&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;list.add((ProtocolClassConfig) element);&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;return list;"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
eType="#//Import" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="configElements" upperBound="-1"
@@ -31,10 +36,28 @@
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
eType="#//AttrInstanceConfig" containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="ports" upperBound="-1"
+ eType="#//PortInstanceConfig" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProtocolClassConfig" eSuperTypes="#//ConfigElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="protocol" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ProtocolClass"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="regular" eType="#//PortClassConfig"
+ containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conjugated" eType="#//PortClassConfig"
+ containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PortClassConfig">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrClassConfig" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="PortInstanceConfig">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="item" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//InterfaceItem"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrInstanceConfig" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AttrConfig">
<eStructuralFeatures xsi:type="ecore:EReference" name="attribute" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//Attribute"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Literal"
+ <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//LiteralArray"
containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="AttrClassConfig" eSuperTypes="#//AttrConfig">
@@ -52,6 +75,10 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="LiteralArray">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="literals" upperBound="-1"
+ eType="#//Literal" containment="true"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Literal"/>
<eClassifiers xsi:type="ecore:EClass" name="BooleanLiteral" eSuperTypes="#//Literal">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTrue" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel
index ee8f6243c..6c8e52d53 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel
@@ -14,6 +14,7 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ConfigModel/configElements"/>
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getActorClassConfigs"/>
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getActorInstanceConfigs"/>
+ <genOperations ecoreOperation="Config.ecore#//ConfigModel/getProtocolClassConfigs"/>
</genClasses>
<genClasses ecoreClass="Config.ecore#//ConfigElement"/>
<genClasses ecoreClass="Config.ecore#//ActorClassConfig">
@@ -24,6 +25,19 @@
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//ActorInstanceConfig/root"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ActorInstanceConfig/path"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ActorInstanceConfig/attributes"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ActorInstanceConfig/ports"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//ProtocolClassConfig">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//ProtocolClassConfig/protocol"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ProtocolClassConfig/regular"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ProtocolClassConfig/conjugated"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//PortClassConfig">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//PortClassConfig/attributes"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//PortInstanceConfig">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//PortInstanceConfig/item"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//PortInstanceConfig/attributes"/>
</genClasses>
<genClasses ecoreClass="Config.ecore#//AttrConfig">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//AttrConfig/attribute"/>
@@ -41,6 +55,9 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//Import/importedNamespace"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//Import/importURI"/>
</genClasses>
+ <genClasses ecoreClass="Config.ecore#//LiteralArray">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//LiteralArray/literals"/>
+ </genClasses>
<genClasses ecoreClass="Config.ecore#//Literal"/>
<genClasses ecoreClass="Config.ecore#//BooleanLiteral">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//BooleanLiteral/isTrue"/>
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
index 79974c713..d0e14b869 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
@@ -16,7 +16,7 @@
</type>
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" cardinality="*" feature="imports" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</elements>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="configElements" operator="+=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
@@ -30,6 +30,7 @@
<alternatives xsi:type="xtext:Alternatives">
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="ActorClassConfig">
@@ -43,12 +44,12 @@
<type metamodel="/0/@metamodelDeclarations.2">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ActorClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -64,27 +65,101 @@
<type metamodel="/0/@metamodelDeclarations.2">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//SubSystemClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="/"/>
<elements xsi:type="xtext:Assignment" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ </elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="ports" operator="+=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
</rules>
+ <rules xsi:type="xtext:ParserRule" name="ProtocolClassConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//ProtocolClassConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="ProtocolClassConfig"/>
+ <elements xsi:type="xtext:Assignment" feature="protocol" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <type metamodel="/0/@metamodelDeclarations.2">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ProtocolClass"/>
+ </type>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="regular"/>
+ <elements xsi:type="xtext:Assignment" feature="regular" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="conjugate"/>
+ <elements xsi:type="xtext:Assignment" feature="conjugated" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ </elements>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="PortClassConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//PortClassConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Action">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//PortClassConfig"/>
+ </type>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="Port"/>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="PortInstanceConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//PortInstanceConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="InterfaceItem"/>
+ <elements xsi:type="xtext:Assignment" feature="item" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <type metamodel="/0/@metamodelDeclarations.2">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//InterfaceItem"/>
+ </type>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </alternatives>
+ </rules>
<rules xsi:type="xtext:ParserRule" name="AttrConfig">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//AttrConfig"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AttrClassConfig">
@@ -92,7 +167,7 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//AttrClassConfig"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="attr"/>
+ <elements xsi:type="xtext:Keyword" value="Attr"/>
<elements xsi:type="xtext:Assignment" feature="attribute" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.2">
@@ -104,7 +179,7 @@
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
@@ -114,14 +189,14 @@
<elements xsi:type="xtext:Keyword" value="min"/>
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="min" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="max"/>
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="max" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</elements>
</elements>
</elements>
@@ -134,7 +209,7 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//AttrInstanceConfig"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="attr"/>
+ <elements xsi:type="xtext:Keyword" value="Attr"/>
<elements xsi:type="xtext:Assignment" feature="attribute" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.2">
@@ -146,7 +221,7 @@
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
</elements>
</elements>
</alternatives>
@@ -176,7 +251,7 @@
<elements xsi:type="xtext:Alternatives">
<elements xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" feature="importedNamespace" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
</elements>
<elements xsi:type="xtext:Keyword" value="from"/>
</elements>
@@ -192,7 +267,7 @@
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
<elements xsi:type="xtext:Keyword" cardinality="?" value=".*"/>
</alternatives>
</rules>
@@ -208,14 +283,30 @@
</elements>
</alternatives>
</rules>
+ <rules xsi:type="xtext:ParserRule" name="LiteralArray">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//LiteralArray"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" feature="literals" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="*">
+ <elements xsi:type="xtext:Keyword" value=","/>
+ <elements xsi:type="xtext:Assignment" feature="literals" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
+ </elements>
+ </elements>
+ </alternatives>
+ </rules>
<rules xsi:type="xtext:ParserRule" name="Literal">
<type metamodel="/0/@metamodelDeclarations.0">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//Literal"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="BooleanLiteral">
@@ -241,8 +332,8 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//NumberLiteral"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="RealLiteral">
@@ -256,7 +347,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
</elements>
</alternatives>
</rules>
@@ -271,7 +362,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
</elements>
</alternatives>
</rules>
@@ -295,8 +386,8 @@
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="SignedInteger" definesHiddenTokens="true">
@@ -315,17 +406,17 @@
<type metamodel="/0/@metamodelDeclarations.1">
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</type>
- <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
+ <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
</rules>
<rules xsi:type="xtext:ParserRule" name="Real">
<type metamodel="/0/@metamodelDeclarations.1">
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Decimal" definesHiddenTokens="true">
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
index 680fbd299..aa48b185e 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
@@ -1,44 +1,44 @@
-
-package org.eclipse.etrice.core;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.ISetup;
-import org.eclipse.emf.ecore.resource.Resource;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-/**
- * Generated from StandaloneSetup.xpt!
- */
-@SuppressWarnings("all")
-public class ConfigStandaloneSetupGenerated implements ISetup {
-
- public Injector createInjectorAndDoEMFRegistration() {
- org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
-
- Injector injector = createInjector();
- register(injector);
- return injector;
- }
-
- public Injector createInjector() {
- return Guice.createInjector(new org.eclipse.etrice.core.ConfigRuntimeModule());
- }
-
- public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/core/Config")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/core/Config", org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
- }
-
- org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
- org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("config", resourceFactory);
- org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("config", serviceProvider);
-
-
-
-
-
- }
-}
+
+package org.eclipse.etrice.core;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.xtext.ISetup;
+import org.eclipse.emf.ecore.resource.Resource;
+
+import com.google.inject.Guice;
+import com.google.inject.Injector;
+
+/**
+ * Generated from StandaloneSetup.xpt!
+ */
+@SuppressWarnings("all")
+public class ConfigStandaloneSetupGenerated implements ISetup {
+
+ public Injector createInjectorAndDoEMFRegistration() {
+ org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
+
+ Injector injector = createInjector();
+ register(injector);
+ return injector;
+ }
+
+ public Injector createInjector() {
+ return Guice.createInjector(new org.eclipse.etrice.core.ConfigRuntimeModule());
+ }
+
+ public void register(Injector injector) {
+ if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/core/Config")) {
+ EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/core/Config", org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
+ }
+
+ org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
+ org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("config", resourceFactory);
+ org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("config", serviceProvider);
+
+
+
+
+
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java
index 3518c8074..9adbc13de 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ActorInstanceConfig.java
@@ -21,6 +21,7 @@ import org.eclipse.etrice.core.room.SubSystemClass;
* <li>{@link org.eclipse.etrice.core.config.ActorInstanceConfig#getRoot <em>Root</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.ActorInstanceConfig#getPath <em>Path</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.ActorInstanceConfig#getAttributes <em>Attributes</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.ActorInstanceConfig#getPorts <em>Ports</em>}</li>
* </ul>
* </p>
*
@@ -98,4 +99,20 @@ public interface ActorInstanceConfig extends ConfigElement
*/
EList<AttrInstanceConfig> getAttributes();
+ /**
+ * Returns the value of the '<em><b>Ports</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.PortInstanceConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Ports</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Ports</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getActorInstanceConfig_Ports()
+ * @model containment="true"
+ * @generated
+ */
+ EList<PortInstanceConfig> getPorts();
+
} // ActorInstanceConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java
index 8bd3e18c3..a57bcc7a2 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrConfig.java
@@ -64,12 +64,12 @@ public interface AttrConfig extends EObject
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' containment reference.
- * @see #setValue(Literal)
+ * @see #setValue(LiteralArray)
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrConfig_Value()
* @model containment="true"
* @generated
*/
- Literal getValue();
+ LiteralArray getValue();
/**
* Sets the value of the '{@link org.eclipse.etrice.core.config.AttrConfig#getValue <em>Value</em>}' containment reference.
@@ -79,6 +79,6 @@ public interface AttrConfig extends EObject
* @see #getValue()
* @generated
*/
- void setValue(Literal value);
+ void setValue(LiteralArray value);
} // AttrConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
index 4fb7181ea..9313feb2b 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
@@ -63,6 +63,33 @@ public interface ConfigFactory extends EFactory
ActorInstanceConfig createActorInstanceConfig();
/**
+ * Returns a new object of class '<em>Protocol Class Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Protocol Class Config</em>'.
+ * @generated
+ */
+ ProtocolClassConfig createProtocolClassConfig();
+
+ /**
+ * Returns a new object of class '<em>Port Class Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Port Class Config</em>'.
+ * @generated
+ */
+ PortClassConfig createPortClassConfig();
+
+ /**
+ * Returns a new object of class '<em>Port Instance Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Port Instance Config</em>'.
+ * @generated
+ */
+ PortInstanceConfig createPortInstanceConfig();
+
+ /**
* Returns a new object of class '<em>Attr Config</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -108,6 +135,15 @@ public interface ConfigFactory extends EFactory
Import createImport();
/**
+ * Returns a new object of class '<em>Literal Array</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Literal Array</em>'.
+ * @generated
+ */
+ LiteralArray createLiteralArray();
+
+ /**
* Returns a new object of class '<em>Literal</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java
index 55f508022..74481ea13 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java
@@ -79,4 +79,13 @@ public interface ConfigModel extends EObject
*/
EList<ActorInstanceConfig> getActorInstanceConfigs();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='EList<ProtocolClassConfig> list = new org.eclipse.emf.common.util.BasicEList<ProtocolClassConfig>();\r\n\t\t\t\tfor(ConfigElement element : this.getConfigElements())\r\n\t\t\t \t\tif(element instanceof ProtocolClassConfig)\r\n\t\t\t\t\t\tlist.add((ProtocolClassConfig) element);\r\n\t\t\t\treturn list;'"
+ * @generated
+ */
+ EList<ProtocolClassConfig> getProtocolClassConfigs();
+
} // ConfigModel
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java
index 181658036..3c4c1e860 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java
@@ -191,13 +191,133 @@ public interface ConfigPackage extends EPackage
int ACTOR_INSTANCE_CONFIG__ATTRIBUTES = CONFIG_ELEMENT_FEATURE_COUNT + 2;
/**
+ * The feature id for the '<em><b>Ports</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ACTOR_INSTANCE_CONFIG__PORTS = CONFIG_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
* The number of structural features of the '<em>Actor Instance Config</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ACTOR_INSTANCE_CONFIG_FEATURE_COUNT = CONFIG_ELEMENT_FEATURE_COUNT + 3;
+ int ACTOR_INSTANCE_CONFIG_FEATURE_COUNT = CONFIG_ELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl <em>Protocol Class Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getProtocolClassConfig()
+ * @generated
+ */
+ int PROTOCOL_CLASS_CONFIG = 4;
+
+ /**
+ * The feature id for the '<em><b>Protocol</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROTOCOL_CLASS_CONFIG__PROTOCOL = CONFIG_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Regular</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROTOCOL_CLASS_CONFIG__REGULAR = CONFIG_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Conjugated</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROTOCOL_CLASS_CONFIG__CONJUGATED = CONFIG_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Protocol Class Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROTOCOL_CLASS_CONFIG_FEATURE_COUNT = CONFIG_ELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.PortClassConfigImpl <em>Port Class Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.PortClassConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortClassConfig()
+ * @generated
+ */
+ int PORT_CLASS_CONFIG = 5;
+
+ /**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PORT_CLASS_CONFIG__ATTRIBUTES = 0;
+
+ /**
+ * The number of structural features of the '<em>Port Class Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PORT_CLASS_CONFIG_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl <em>Port Instance Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortInstanceConfig()
+ * @generated
+ */
+ int PORT_INSTANCE_CONFIG = 6;
+
+ /**
+ * The feature id for the '<em><b>Item</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PORT_INSTANCE_CONFIG__ITEM = 0;
+
+ /**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PORT_INSTANCE_CONFIG__ATTRIBUTES = 1;
+
+ /**
+ * The number of structural features of the '<em>Port Instance Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PORT_INSTANCE_CONFIG_FEATURE_COUNT = 2;
/**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.AttrConfigImpl <em>Attr Config</em>}' class.
@@ -207,7 +327,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrConfig()
* @generated
*/
- int ATTR_CONFIG = 4;
+ int ATTR_CONFIG = 7;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -244,7 +364,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrClassConfig()
* @generated
*/
- int ATTR_CLASS_CONFIG = 5;
+ int ATTR_CLASS_CONFIG = 8;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -299,7 +419,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrInstanceConfig()
* @generated
*/
- int ATTR_INSTANCE_CONFIG = 6;
+ int ATTR_INSTANCE_CONFIG = 9;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -336,7 +456,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRefPath()
* @generated
*/
- int REF_PATH = 7;
+ int REF_PATH = 10;
/**
* The feature id for the '<em><b>Refs</b></em>' attribute list.
@@ -364,7 +484,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getImport()
* @generated
*/
- int IMPORT = 8;
+ int IMPORT = 11;
/**
* The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
@@ -394,6 +514,34 @@ public interface ConfigPackage extends EPackage
int IMPORT_FEATURE_COUNT = 2;
/**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.LiteralArrayImpl <em>Literal Array</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.LiteralArrayImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteralArray()
+ * @generated
+ */
+ int LITERAL_ARRAY = 12;
+
+ /**
+ * The feature id for the '<em><b>Literals</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LITERAL_ARRAY__LITERALS = 0;
+
+ /**
+ * The number of structural features of the '<em>Literal Array</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int LITERAL_ARRAY_FEATURE_COUNT = 1;
+
+ /**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.LiteralImpl <em>Literal</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -401,7 +549,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteral()
* @generated
*/
- int LITERAL = 9;
+ int LITERAL = 13;
/**
* The number of structural features of the '<em>Literal</em>' class.
@@ -420,7 +568,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getBooleanLiteral()
* @generated
*/
- int BOOLEAN_LITERAL = 10;
+ int BOOLEAN_LITERAL = 14;
/**
* The feature id for the '<em><b>Is True</b></em>' attribute.
@@ -448,7 +596,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getNumberLiteral()
* @generated
*/
- int NUMBER_LITERAL = 11;
+ int NUMBER_LITERAL = 15;
/**
* The number of structural features of the '<em>Number Literal</em>' class.
@@ -467,7 +615,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRealLiteral()
* @generated
*/
- int REAL_LITERAL = 12;
+ int REAL_LITERAL = 16;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -495,7 +643,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getIntLiteral()
* @generated
*/
- int INT_LITERAL = 13;
+ int INT_LITERAL = 17;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -523,7 +671,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getStringLiteral()
* @generated
*/
- int STRING_LITERAL = 14;
+ int STRING_LITERAL = 18;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -662,6 +810,113 @@ public interface ConfigPackage extends EPackage
EReference getActorInstanceConfig_Attributes();
/**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.ActorInstanceConfig#getPorts <em>Ports</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Ports</em>'.
+ * @see org.eclipse.etrice.core.config.ActorInstanceConfig#getPorts()
+ * @see #getActorInstanceConfig()
+ * @generated
+ */
+ EReference getActorInstanceConfig_Ports();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.ProtocolClassConfig <em>Protocol Class Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Protocol Class Config</em>'.
+ * @see org.eclipse.etrice.core.config.ProtocolClassConfig
+ * @generated
+ */
+ EClass getProtocolClassConfig();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getProtocol <em>Protocol</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Protocol</em>'.
+ * @see org.eclipse.etrice.core.config.ProtocolClassConfig#getProtocol()
+ * @see #getProtocolClassConfig()
+ * @generated
+ */
+ EReference getProtocolClassConfig_Protocol();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getRegular <em>Regular</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Regular</em>'.
+ * @see org.eclipse.etrice.core.config.ProtocolClassConfig#getRegular()
+ * @see #getProtocolClassConfig()
+ * @generated
+ */
+ EReference getProtocolClassConfig_Regular();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getConjugated <em>Conjugated</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conjugated</em>'.
+ * @see org.eclipse.etrice.core.config.ProtocolClassConfig#getConjugated()
+ * @see #getProtocolClassConfig()
+ * @generated
+ */
+ EReference getProtocolClassConfig_Conjugated();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.PortClassConfig <em>Port Class Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Port Class Config</em>'.
+ * @see org.eclipse.etrice.core.config.PortClassConfig
+ * @generated
+ */
+ EClass getPortClassConfig();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.PortClassConfig#getAttributes <em>Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Attributes</em>'.
+ * @see org.eclipse.etrice.core.config.PortClassConfig#getAttributes()
+ * @see #getPortClassConfig()
+ * @generated
+ */
+ EReference getPortClassConfig_Attributes();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.PortInstanceConfig <em>Port Instance Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Port Instance Config</em>'.
+ * @see org.eclipse.etrice.core.config.PortInstanceConfig
+ * @generated
+ */
+ EClass getPortInstanceConfig();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.config.PortInstanceConfig#getItem <em>Item</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Item</em>'.
+ * @see org.eclipse.etrice.core.config.PortInstanceConfig#getItem()
+ * @see #getPortInstanceConfig()
+ * @generated
+ */
+ EReference getPortInstanceConfig_Item();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.PortInstanceConfig#getAttributes <em>Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Attributes</em>'.
+ * @see org.eclipse.etrice.core.config.PortInstanceConfig#getAttributes()
+ * @see #getPortInstanceConfig()
+ * @generated
+ */
+ EReference getPortInstanceConfig_Attributes();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.AttrConfig <em>Attr Config</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -789,6 +1044,27 @@ public interface ConfigPackage extends EPackage
EAttribute getImport_ImportURI();
/**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.LiteralArray <em>Literal Array</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Literal Array</em>'.
+ * @see org.eclipse.etrice.core.config.LiteralArray
+ * @generated
+ */
+ EClass getLiteralArray();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.LiteralArray#getLiterals <em>Literals</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Literals</em>'.
+ * @see org.eclipse.etrice.core.config.LiteralArray#getLiterals()
+ * @see #getLiteralArray()
+ * @generated
+ */
+ EReference getLiteralArray_Literals();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.Literal <em>Literal</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1012,6 +1288,92 @@ public interface ConfigPackage extends EPackage
EReference ACTOR_INSTANCE_CONFIG__ATTRIBUTES = eINSTANCE.getActorInstanceConfig_Attributes();
/**
+ * The meta object literal for the '<em><b>Ports</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ACTOR_INSTANCE_CONFIG__PORTS = eINSTANCE.getActorInstanceConfig_Ports();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl <em>Protocol Class Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getProtocolClassConfig()
+ * @generated
+ */
+ EClass PROTOCOL_CLASS_CONFIG = eINSTANCE.getProtocolClassConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Protocol</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTOCOL_CLASS_CONFIG__PROTOCOL = eINSTANCE.getProtocolClassConfig_Protocol();
+
+ /**
+ * The meta object literal for the '<em><b>Regular</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTOCOL_CLASS_CONFIG__REGULAR = eINSTANCE.getProtocolClassConfig_Regular();
+
+ /**
+ * The meta object literal for the '<em><b>Conjugated</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROTOCOL_CLASS_CONFIG__CONJUGATED = eINSTANCE.getProtocolClassConfig_Conjugated();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.PortClassConfigImpl <em>Port Class Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.PortClassConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortClassConfig()
+ * @generated
+ */
+ EClass PORT_CLASS_CONFIG = eINSTANCE.getPortClassConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PORT_CLASS_CONFIG__ATTRIBUTES = eINSTANCE.getPortClassConfig_Attributes();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl <em>Port Instance Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortInstanceConfig()
+ * @generated
+ */
+ EClass PORT_INSTANCE_CONFIG = eINSTANCE.getPortInstanceConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Item</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PORT_INSTANCE_CONFIG__ITEM = eINSTANCE.getPortInstanceConfig_Item();
+
+ /**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PORT_INSTANCE_CONFIG__ATTRIBUTES = eINSTANCE.getPortInstanceConfig_Attributes();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.AttrConfigImpl <em>Attr Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1118,6 +1480,24 @@ public interface ConfigPackage extends EPackage
EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI();
/**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.LiteralArrayImpl <em>Literal Array</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.LiteralArrayImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteralArray()
+ * @generated
+ */
+ EClass LITERAL_ARRAY = eINSTANCE.getLiteralArray();
+
+ /**
+ * The meta object literal for the '<em><b>Literals</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference LITERAL_ARRAY__LITERALS = eINSTANCE.getLiteralArray_Literals();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.LiteralImpl <em>Literal</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java
new file mode 100644
index 000000000..96ace1424
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/LiteralArray.java
@@ -0,0 +1,47 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Literal Array</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.LiteralArray#getLiterals <em>Literals</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getLiteralArray()
+ * @model
+ * @generated
+ */
+public interface LiteralArray extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Literals</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.Literal}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Literals</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Literals</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getLiteralArray_Literals()
+ * @model containment="true"
+ * @generated
+ */
+ EList<Literal> getLiterals();
+
+} // LiteralArray
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java
new file mode 100644
index 000000000..6041023cf
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortClassConfig.java
@@ -0,0 +1,47 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Port Class Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.PortClassConfig#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getPortClassConfig()
+ * @model
+ * @generated
+ */
+public interface PortClassConfig extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.AttrClassConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attributes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getPortClassConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrClassConfig> getAttributes();
+
+} // PortClassConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java
new file mode 100644
index 000000000..15de2b5f9
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/PortInstanceConfig.java
@@ -0,0 +1,76 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.etrice.core.room.InterfaceItem;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Port Instance Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.PortInstanceConfig#getItem <em>Item</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.PortInstanceConfig#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getPortInstanceConfig()
+ * @model
+ * @generated
+ */
+public interface PortInstanceConfig extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Item</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Item</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Item</em>' reference.
+ * @see #setItem(InterfaceItem)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getPortInstanceConfig_Item()
+ * @model
+ * @generated
+ */
+ InterfaceItem getItem();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.PortInstanceConfig#getItem <em>Item</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Item</em>' reference.
+ * @see #getItem()
+ * @generated
+ */
+ void setItem(InterfaceItem value);
+
+ /**
+ * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.AttrInstanceConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attributes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getPortInstanceConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrInstanceConfig> getAttributes();
+
+} // PortInstanceConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java
new file mode 100644
index 000000000..cdaf63618
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ProtocolClassConfig.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.etrice.core.room.ProtocolClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Protocol Class Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getProtocol <em>Protocol</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getRegular <em>Regular</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getConjugated <em>Conjugated</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig()
+ * @model
+ * @generated
+ */
+public interface ProtocolClassConfig extends ConfigElement
+{
+ /**
+ * Returns the value of the '<em><b>Protocol</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Protocol</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Protocol</em>' reference.
+ * @see #setProtocol(ProtocolClass)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Protocol()
+ * @model
+ * @generated
+ */
+ ProtocolClass getProtocol();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getProtocol <em>Protocol</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Protocol</em>' reference.
+ * @see #getProtocol()
+ * @generated
+ */
+ void setProtocol(ProtocolClass value);
+
+ /**
+ * Returns the value of the '<em><b>Regular</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Regular</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Regular</em>' containment reference.
+ * @see #setRegular(PortClassConfig)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Regular()
+ * @model containment="true"
+ * @generated
+ */
+ PortClassConfig getRegular();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getRegular <em>Regular</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Regular</em>' containment reference.
+ * @see #getRegular()
+ * @generated
+ */
+ void setRegular(PortClassConfig value);
+
+ /**
+ * Returns the value of the '<em><b>Conjugated</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conjugated</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conjugated</em>' containment reference.
+ * @see #setConjugated(PortClassConfig)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getProtocolClassConfig_Conjugated()
+ * @model containment="true"
+ * @generated
+ */
+ PortClassConfig getConjugated();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.ProtocolClassConfig#getConjugated <em>Conjugated</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conjugated</em>' containment reference.
+ * @see #getConjugated()
+ * @generated
+ */
+ void setConjugated(PortClassConfig value);
+
+} // ProtocolClassConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorClassConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorClassConfigImpl.java
index f4885bd84..2d4ec73fd 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorClassConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorClassConfigImpl.java
@@ -89,8 +89,7 @@ public class ActorClassConfigImpl extends ConfigElementImpl implements ActorClas
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ActorClass getActor()
+ public ActorClass getActor()
{
if (actor != null && actor.eIsProxy())
{
@@ -120,8 +119,7 @@ public ActorClass getActor()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setActor(ActorClass newActor)
+ public void setActor(ActorClass newActor)
{
ActorClass oldActor = actor;
actor = newActor;
@@ -134,8 +132,7 @@ public void setActor(ActorClass newActor)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<AttrClassConfig> getAttributes()
+ public EList<AttrClassConfig> getAttributes()
{
if (attributes == null)
{
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorInstanceConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorInstanceConfigImpl.java
index 1a9a6ee60..e063b02d0 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorInstanceConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ActorInstanceConfigImpl.java
@@ -24,6 +24,7 @@ import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.etrice.core.config.ActorInstanceConfig;
import org.eclipse.etrice.core.config.AttrInstanceConfig;
import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.room.SubSystemClass;
@@ -38,6 +39,7 @@ import org.eclipse.etrice.core.room.SubSystemClass;
* <li>{@link org.eclipse.etrice.core.config.impl.ActorInstanceConfigImpl#getRoot <em>Root</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.impl.ActorInstanceConfigImpl#getPath <em>Path</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.impl.ActorInstanceConfigImpl#getAttributes <em>Attributes</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.ActorInstanceConfigImpl#getPorts <em>Ports</em>}</li>
* </ul>
* </p>
*
@@ -76,6 +78,16 @@ public class ActorInstanceConfigImpl extends ConfigElementImpl implements ActorI
protected EList<AttrInstanceConfig> attributes;
/**
+ * The cached value of the '{@link #getPorts() <em>Ports</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPorts()
+ * @generated
+ * @ordered
+ */
+ protected EList<PortInstanceConfig> ports;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -101,8 +113,7 @@ public class ActorInstanceConfigImpl extends ConfigElementImpl implements ActorI
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public SubSystemClass getRoot()
+ public SubSystemClass getRoot()
{
if (root != null && root.eIsProxy())
{
@@ -132,8 +143,7 @@ public SubSystemClass getRoot()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setRoot(SubSystemClass newRoot)
+ public void setRoot(SubSystemClass newRoot)
{
SubSystemClass oldRoot = root;
root = newRoot;
@@ -146,8 +156,7 @@ public void setRoot(SubSystemClass newRoot)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public RefPath getPath()
+ public RefPath getPath()
{
return path;
}
@@ -174,8 +183,7 @@ public RefPath getPath()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setPath(RefPath newPath)
+ public void setPath(RefPath newPath)
{
if (newPath != path)
{
@@ -196,8 +204,7 @@ public void setPath(RefPath newPath)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<AttrInstanceConfig> getAttributes()
+ public EList<AttrInstanceConfig> getAttributes()
{
if (attributes == null)
{
@@ -211,6 +218,20 @@ public EList<AttrInstanceConfig> getAttributes()
* <!-- end-user-doc -->
* @generated
*/
+ public EList<PortInstanceConfig> getPorts()
+ {
+ if (ports == null)
+ {
+ ports = new EObjectContainmentEList<PortInstanceConfig>(PortInstanceConfig.class, this, ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS);
+ }
+ return ports;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
@@ -220,6 +241,8 @@ public EList<AttrInstanceConfig> getAttributes()
return basicSetPath(null, msgs);
case ConfigPackage.ACTOR_INSTANCE_CONFIG__ATTRIBUTES:
return ((InternalEList<?>)getAttributes()).basicRemove(otherEnd, msgs);
+ case ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS:
+ return ((InternalEList<?>)getPorts()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -241,6 +264,8 @@ public EList<AttrInstanceConfig> getAttributes()
return getPath();
case ConfigPackage.ACTOR_INSTANCE_CONFIG__ATTRIBUTES:
return getAttributes();
+ case ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS:
+ return getPorts();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -266,6 +291,10 @@ public EList<AttrInstanceConfig> getAttributes()
getAttributes().clear();
getAttributes().addAll((Collection<? extends AttrInstanceConfig>)newValue);
return;
+ case ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS:
+ getPorts().clear();
+ getPorts().addAll((Collection<? extends PortInstanceConfig>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -289,6 +318,9 @@ public EList<AttrInstanceConfig> getAttributes()
case ConfigPackage.ACTOR_INSTANCE_CONFIG__ATTRIBUTES:
getAttributes().clear();
return;
+ case ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS:
+ getPorts().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -309,6 +341,8 @@ public EList<AttrInstanceConfig> getAttributes()
return path != null;
case ConfigPackage.ACTOR_INSTANCE_CONFIG__ATTRIBUTES:
return attributes != null && !attributes.isEmpty();
+ case ConfigPackage.ACTOR_INSTANCE_CONFIG__PORTS:
+ return ports != null && !ports.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
index de83ae8a4..1467d622b 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
@@ -80,8 +80,7 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public NumberLiteral getMin()
+ public NumberLiteral getMin()
{
return min;
}
@@ -108,8 +107,7 @@ public NumberLiteral getMin()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setMin(NumberLiteral newMin)
+ public void setMin(NumberLiteral newMin)
{
if (newMin != min)
{
@@ -130,8 +128,7 @@ public void setMin(NumberLiteral newMin)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public NumberLiteral getMax()
+ public NumberLiteral getMax()
{
return max;
}
@@ -158,8 +155,7 @@ public NumberLiteral getMax()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setMax(NumberLiteral newMax)
+ public void setMax(NumberLiteral newMax)
{
if (newMax != max)
{
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrConfigImpl.java
index eb646bfab..ebc0f0477 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrConfigImpl.java
@@ -17,7 +17,7 @@ import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
import org.eclipse.etrice.core.config.AttrConfig;
import org.eclipse.etrice.core.config.ConfigPackage;
-import org.eclipse.etrice.core.config.Literal;
+import org.eclipse.etrice.core.config.LiteralArray;
import org.eclipse.etrice.core.room.Attribute;
@@ -55,7 +55,7 @@ public class AttrConfigImpl extends MinimalEObjectImpl.Container implements Attr
* @generated
* @ordered
*/
- protected Literal value;
+ protected LiteralArray value;
/**
* <!-- begin-user-doc -->
@@ -83,8 +83,7 @@ public class AttrConfigImpl extends MinimalEObjectImpl.Container implements Attr
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public Attribute getAttribute()
+ public Attribute getAttribute()
{
if (attribute != null && attribute.eIsProxy())
{
@@ -114,8 +113,7 @@ public Attribute getAttribute()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setAttribute(Attribute newAttribute)
+ public void setAttribute(Attribute newAttribute)
{
Attribute oldAttribute = attribute;
attribute = newAttribute;
@@ -128,8 +126,7 @@ public void setAttribute(Attribute newAttribute)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public Literal getValue()
+ public LiteralArray getValue()
{
return value;
}
@@ -139,9 +136,9 @@ public Literal getValue()
* <!-- end-user-doc -->
* @generated
*/
- public NotificationChain basicSetValue(Literal newValue, NotificationChain msgs)
+ public NotificationChain basicSetValue(LiteralArray newValue, NotificationChain msgs)
{
- Literal oldValue = value;
+ LiteralArray oldValue = value;
value = newValue;
if (eNotificationRequired())
{
@@ -156,8 +153,7 @@ public Literal getValue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setValue(Literal newValue)
+ public void setValue(LiteralArray newValue)
{
if (newValue != value)
{
@@ -222,7 +218,7 @@ public void setValue(Literal newValue)
setAttribute((Attribute)newValue);
return;
case ConfigPackage.ATTR_CONFIG__VALUE:
- setValue((Literal)newValue);
+ setValue((LiteralArray)newValue);
return;
}
super.eSet(featureID, newValue);
@@ -242,7 +238,7 @@ public void setValue(Literal newValue)
setAttribute((Attribute)null);
return;
case ConfigPackage.ATTR_CONFIG__VALUE:
- setValue((Literal)null);
+ setValue((LiteralArray)null);
return;
}
super.eUnset(featureID);
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/BooleanLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/BooleanLiteralImpl.java
index 806782607..8a3e86415 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/BooleanLiteralImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/BooleanLiteralImpl.java
@@ -76,8 +76,7 @@ public class BooleanLiteralImpl extends LiteralImpl implements BooleanLiteral
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public boolean isIsTrue()
+ public boolean isIsTrue()
{
return isTrue;
}
@@ -87,8 +86,7 @@ public boolean isIsTrue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setIsTrue(boolean newIsTrue)
+ public void setIsTrue(boolean newIsTrue)
{
boolean oldIsTrue = isTrue;
isTrue = newIsTrue;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
index 1de8f11ad..3d95aa14f 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
@@ -72,11 +72,15 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
case ConfigPackage.CONFIG_ELEMENT: return createConfigElement();
case ConfigPackage.ACTOR_CLASS_CONFIG: return createActorClassConfig();
case ConfigPackage.ACTOR_INSTANCE_CONFIG: return createActorInstanceConfig();
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG: return createProtocolClassConfig();
+ case ConfigPackage.PORT_CLASS_CONFIG: return createPortClassConfig();
+ case ConfigPackage.PORT_INSTANCE_CONFIG: return createPortInstanceConfig();
case ConfigPackage.ATTR_CONFIG: return createAttrConfig();
case ConfigPackage.ATTR_CLASS_CONFIG: return createAttrClassConfig();
case ConfigPackage.ATTR_INSTANCE_CONFIG: return createAttrInstanceConfig();
case ConfigPackage.REF_PATH: return createRefPath();
case ConfigPackage.IMPORT: return createImport();
+ case ConfigPackage.LITERAL_ARRAY: return createLiteralArray();
case ConfigPackage.LITERAL: return createLiteral();
case ConfigPackage.BOOLEAN_LITERAL: return createBooleanLiteral();
case ConfigPackage.NUMBER_LITERAL: return createNumberLiteral();
@@ -93,8 +97,7 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ConfigModel createConfigModel()
+ public ConfigModel createConfigModel()
{
ConfigModelImpl configModel = new ConfigModelImpl();
return configModel;
@@ -105,8 +108,7 @@ public ConfigModel createConfigModel()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ConfigElement createConfigElement()
+ public ConfigElement createConfigElement()
{
ConfigElementImpl configElement = new ConfigElementImpl();
return configElement;
@@ -117,8 +119,7 @@ public ConfigElement createConfigElement()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ActorClassConfig createActorClassConfig()
+ public ActorClassConfig createActorClassConfig()
{
ActorClassConfigImpl actorClassConfig = new ActorClassConfigImpl();
return actorClassConfig;
@@ -129,8 +130,7 @@ public ActorClassConfig createActorClassConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ActorInstanceConfig createActorInstanceConfig()
+ public ActorInstanceConfig createActorInstanceConfig()
{
ActorInstanceConfigImpl actorInstanceConfig = new ActorInstanceConfigImpl();
return actorInstanceConfig;
@@ -141,8 +141,40 @@ public ActorInstanceConfig createActorInstanceConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public AttrConfig createAttrConfig()
+ public ProtocolClassConfig createProtocolClassConfig()
+ {
+ ProtocolClassConfigImpl protocolClassConfig = new ProtocolClassConfigImpl();
+ return protocolClassConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortClassConfig createPortClassConfig()
+ {
+ PortClassConfigImpl portClassConfig = new PortClassConfigImpl();
+ return portClassConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortInstanceConfig createPortInstanceConfig()
+ {
+ PortInstanceConfigImpl portInstanceConfig = new PortInstanceConfigImpl();
+ return portInstanceConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AttrConfig createAttrConfig()
{
AttrConfigImpl attrConfig = new AttrConfigImpl();
return attrConfig;
@@ -153,8 +185,7 @@ public AttrConfig createAttrConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public AttrClassConfig createAttrClassConfig()
+ public AttrClassConfig createAttrClassConfig()
{
AttrClassConfigImpl attrClassConfig = new AttrClassConfigImpl();
return attrClassConfig;
@@ -165,8 +196,7 @@ public AttrClassConfig createAttrClassConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public AttrInstanceConfig createAttrInstanceConfig()
+ public AttrInstanceConfig createAttrInstanceConfig()
{
AttrInstanceConfigImpl attrInstanceConfig = new AttrInstanceConfigImpl();
return attrInstanceConfig;
@@ -177,8 +207,7 @@ public AttrInstanceConfig createAttrInstanceConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public RefPath createRefPath()
+ public RefPath createRefPath()
{
RefPathImpl refPath = new RefPathImpl();
return refPath;
@@ -189,8 +218,7 @@ public RefPath createRefPath()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public Import createImport()
+ public Import createImport()
{
ImportImpl import_ = new ImportImpl();
return import_;
@@ -201,8 +229,18 @@ public Import createImport()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public Literal createLiteral()
+ public LiteralArray createLiteralArray()
+ {
+ LiteralArrayImpl literalArray = new LiteralArrayImpl();
+ return literalArray;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Literal createLiteral()
{
LiteralImpl literal = new LiteralImpl();
return literal;
@@ -213,8 +251,7 @@ public Literal createLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public BooleanLiteral createBooleanLiteral()
+ public BooleanLiteral createBooleanLiteral()
{
BooleanLiteralImpl booleanLiteral = new BooleanLiteralImpl();
return booleanLiteral;
@@ -225,8 +262,7 @@ public BooleanLiteral createBooleanLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public NumberLiteral createNumberLiteral()
+ public NumberLiteral createNumberLiteral()
{
NumberLiteralImpl numberLiteral = new NumberLiteralImpl();
return numberLiteral;
@@ -237,8 +273,7 @@ public NumberLiteral createNumberLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public RealLiteral createRealLiteral()
+ public RealLiteral createRealLiteral()
{
RealLiteralImpl realLiteral = new RealLiteralImpl();
return realLiteral;
@@ -249,8 +284,7 @@ public RealLiteral createRealLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public IntLiteral createIntLiteral()
+ public IntLiteral createIntLiteral()
{
IntLiteralImpl intLiteral = new IntLiteralImpl();
return intLiteral;
@@ -261,8 +295,7 @@ public IntLiteral createIntLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public StringLiteral createStringLiteral()
+ public StringLiteral createStringLiteral()
{
StringLiteralImpl stringLiteral = new StringLiteralImpl();
return stringLiteral;
@@ -273,8 +306,7 @@ public StringLiteral createStringLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ConfigPackage getConfigPackage()
+ public ConfigPackage getConfigPackage()
{
return (ConfigPackage)getEPackage();
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java
index df458af38..cee85b1e7 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java
@@ -26,6 +26,7 @@ import org.eclipse.etrice.core.config.ConfigElement;
import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
import org.eclipse.etrice.core.config.Import;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
/**
* <!-- begin-user-doc -->
@@ -89,8 +90,7 @@ public class ConfigModelImpl extends MinimalEObjectImpl.Container implements Con
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<Import> getImports()
+ public EList<Import> getImports()
{
if (imports == null)
{
@@ -104,8 +104,7 @@ public EList<Import> getImports()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<ConfigElement> getConfigElements()
+ public EList<ConfigElement> getConfigElements()
{
if (configElements == null)
{
@@ -119,8 +118,7 @@ public EList<ConfigElement> getConfigElements()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<ActorClassConfig> getActorClassConfigs()
+ public EList<ActorClassConfig> getActorClassConfigs()
{
EList<ActorClassConfig> list = new org.eclipse.emf.common.util.BasicEList<ActorClassConfig>();
for(ConfigElement element : this.getConfigElements())
@@ -134,8 +132,7 @@ public EList<ActorClassConfig> getActorClassConfigs()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<ActorInstanceConfig> getActorInstanceConfigs()
+ public EList<ActorInstanceConfig> getActorInstanceConfigs()
{
EList<ActorInstanceConfig> list = new org.eclipse.emf.common.util.BasicEList<ActorInstanceConfig>();
for(ConfigElement element : this.getConfigElements())
@@ -149,6 +146,20 @@ public EList<ActorInstanceConfig> getActorInstanceConfigs()
* <!-- end-user-doc -->
* @generated
*/
+ public EList<ProtocolClassConfig> getProtocolClassConfigs()
+ {
+ EList<ProtocolClassConfig> list = new org.eclipse.emf.common.util.BasicEList<ProtocolClassConfig>();
+ for(ConfigElement element : this.getConfigElements())
+ if(element instanceof ProtocolClassConfig)
+ list.add((ProtocolClassConfig) element);
+ return list;
+ }
+
+ /**
+ * <!-- 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.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java
index a853f9099..3e46fb475 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java
@@ -26,7 +26,11 @@ import org.eclipse.etrice.core.config.ConfigPackage;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.Literal;
+import org.eclipse.etrice.core.config.LiteralArray;
import org.eclipse.etrice.core.config.NumberLiteral;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.config.StringLiteral;
@@ -74,6 +78,27 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ private EClass protocolClassConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass portClassConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass portInstanceConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass attrConfigEClass = null;
/**
@@ -109,6 +134,13 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ private EClass literalArrayEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass literalEClass = null;
/**
@@ -217,8 +249,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getConfigModel()
+ public EClass getConfigModel()
{
return configModelEClass;
}
@@ -228,8 +259,7 @@ public EClass getConfigModel()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getConfigModel_Imports()
+ public EReference getConfigModel_Imports()
{
return (EReference)configModelEClass.getEStructuralFeatures().get(0);
}
@@ -239,8 +269,7 @@ public EReference getConfigModel_Imports()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getConfigModel_ConfigElements()
+ public EReference getConfigModel_ConfigElements()
{
return (EReference)configModelEClass.getEStructuralFeatures().get(1);
}
@@ -250,8 +279,7 @@ public EReference getConfigModel_ConfigElements()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getConfigElement()
+ public EClass getConfigElement()
{
return configElementEClass;
}
@@ -261,8 +289,7 @@ public EClass getConfigElement()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getActorClassConfig()
+ public EClass getActorClassConfig()
{
return actorClassConfigEClass;
}
@@ -272,8 +299,7 @@ public EClass getActorClassConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getActorClassConfig_Actor()
+ public EReference getActorClassConfig_Actor()
{
return (EReference)actorClassConfigEClass.getEStructuralFeatures().get(0);
}
@@ -283,8 +309,7 @@ public EReference getActorClassConfig_Actor()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getActorClassConfig_Attributes()
+ public EReference getActorClassConfig_Attributes()
{
return (EReference)actorClassConfigEClass.getEStructuralFeatures().get(1);
}
@@ -294,8 +319,7 @@ public EReference getActorClassConfig_Attributes()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getActorInstanceConfig()
+ public EClass getActorInstanceConfig()
{
return actorInstanceConfigEClass;
}
@@ -305,8 +329,7 @@ public EClass getActorInstanceConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getActorInstanceConfig_Root()
+ public EReference getActorInstanceConfig_Root()
{
return (EReference)actorInstanceConfigEClass.getEStructuralFeatures().get(0);
}
@@ -316,8 +339,7 @@ public EReference getActorInstanceConfig_Root()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getActorInstanceConfig_Path()
+ public EReference getActorInstanceConfig_Path()
{
return (EReference)actorInstanceConfigEClass.getEStructuralFeatures().get(1);
}
@@ -327,8 +349,7 @@ public EReference getActorInstanceConfig_Path()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getActorInstanceConfig_Attributes()
+ public EReference getActorInstanceConfig_Attributes()
{
return (EReference)actorInstanceConfigEClass.getEStructuralFeatures().get(2);
}
@@ -338,8 +359,107 @@ public EReference getActorInstanceConfig_Attributes()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getAttrConfig()
+ public EReference getActorInstanceConfig_Ports()
+ {
+ return (EReference)actorInstanceConfigEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProtocolClassConfig()
+ {
+ return protocolClassConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtocolClassConfig_Protocol()
+ {
+ return (EReference)protocolClassConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtocolClassConfig_Regular()
+ {
+ return (EReference)protocolClassConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProtocolClassConfig_Conjugated()
+ {
+ return (EReference)protocolClassConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPortClassConfig()
+ {
+ return portClassConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPortClassConfig_Attributes()
+ {
+ return (EReference)portClassConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getPortInstanceConfig()
+ {
+ return portInstanceConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPortInstanceConfig_Item()
+ {
+ return (EReference)portInstanceConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getPortInstanceConfig_Attributes()
+ {
+ return (EReference)portInstanceConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAttrConfig()
{
return attrConfigEClass;
}
@@ -349,8 +469,7 @@ public EClass getAttrConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getAttrConfig_Attribute()
+ public EReference getAttrConfig_Attribute()
{
return (EReference)attrConfigEClass.getEStructuralFeatures().get(0);
}
@@ -360,8 +479,7 @@ public EReference getAttrConfig_Attribute()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getAttrConfig_Value()
+ public EReference getAttrConfig_Value()
{
return (EReference)attrConfigEClass.getEStructuralFeatures().get(1);
}
@@ -371,8 +489,7 @@ public EReference getAttrConfig_Value()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getAttrClassConfig()
+ public EClass getAttrClassConfig()
{
return attrClassConfigEClass;
}
@@ -382,8 +499,7 @@ public EClass getAttrClassConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getAttrClassConfig_Min()
+ public EReference getAttrClassConfig_Min()
{
return (EReference)attrClassConfigEClass.getEStructuralFeatures().get(0);
}
@@ -393,8 +509,7 @@ public EReference getAttrClassConfig_Min()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EReference getAttrClassConfig_Max()
+ public EReference getAttrClassConfig_Max()
{
return (EReference)attrClassConfigEClass.getEStructuralFeatures().get(1);
}
@@ -404,8 +519,7 @@ public EReference getAttrClassConfig_Max()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getAttrInstanceConfig()
+ public EClass getAttrInstanceConfig()
{
return attrInstanceConfigEClass;
}
@@ -415,8 +529,7 @@ public EClass getAttrInstanceConfig()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getRefPath()
+ public EClass getRefPath()
{
return refPathEClass;
}
@@ -426,8 +539,7 @@ public EClass getRefPath()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getRefPath_Refs()
+ public EAttribute getRefPath_Refs()
{
return (EAttribute)refPathEClass.getEStructuralFeatures().get(0);
}
@@ -437,8 +549,7 @@ public EAttribute getRefPath_Refs()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getImport()
+ public EClass getImport()
{
return importEClass;
}
@@ -448,8 +559,7 @@ public EClass getImport()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getImport_ImportedNamespace()
+ public EAttribute getImport_ImportedNamespace()
{
return (EAttribute)importEClass.getEStructuralFeatures().get(0);
}
@@ -459,8 +569,7 @@ public EAttribute getImport_ImportedNamespace()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getImport_ImportURI()
+ public EAttribute getImport_ImportURI()
{
return (EAttribute)importEClass.getEStructuralFeatures().get(1);
}
@@ -470,8 +579,27 @@ public EAttribute getImport_ImportURI()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getLiteral()
+ public EClass getLiteralArray()
+ {
+ return literalArrayEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getLiteralArray_Literals()
+ {
+ return (EReference)literalArrayEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getLiteral()
{
return literalEClass;
}
@@ -481,8 +609,7 @@ public EClass getLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getBooleanLiteral()
+ public EClass getBooleanLiteral()
{
return booleanLiteralEClass;
}
@@ -492,8 +619,7 @@ public EClass getBooleanLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getBooleanLiteral_IsTrue()
+ public EAttribute getBooleanLiteral_IsTrue()
{
return (EAttribute)booleanLiteralEClass.getEStructuralFeatures().get(0);
}
@@ -503,8 +629,7 @@ public EAttribute getBooleanLiteral_IsTrue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getNumberLiteral()
+ public EClass getNumberLiteral()
{
return numberLiteralEClass;
}
@@ -514,8 +639,7 @@ public EClass getNumberLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getRealLiteral()
+ public EClass getRealLiteral()
{
return realLiteralEClass;
}
@@ -525,8 +649,7 @@ public EClass getRealLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getRealLiteral_Value()
+ public EAttribute getRealLiteral_Value()
{
return (EAttribute)realLiteralEClass.getEStructuralFeatures().get(0);
}
@@ -536,8 +659,7 @@ public EAttribute getRealLiteral_Value()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getIntLiteral()
+ public EClass getIntLiteral()
{
return intLiteralEClass;
}
@@ -547,8 +669,7 @@ public EClass getIntLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getIntLiteral_Value()
+ public EAttribute getIntLiteral_Value()
{
return (EAttribute)intLiteralEClass.getEStructuralFeatures().get(0);
}
@@ -558,8 +679,7 @@ public EAttribute getIntLiteral_Value()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EClass getStringLiteral()
+ public EClass getStringLiteral()
{
return stringLiteralEClass;
}
@@ -569,8 +689,7 @@ public EClass getStringLiteral()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EAttribute getStringLiteral_Value()
+ public EAttribute getStringLiteral_Value()
{
return (EAttribute)stringLiteralEClass.getEStructuralFeatures().get(0);
}
@@ -580,8 +699,7 @@ public EAttribute getStringLiteral_Value()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public ConfigFactory getConfigFactory()
+ public ConfigFactory getConfigFactory()
{
return (ConfigFactory)getEFactoryInstance();
}
@@ -620,6 +738,19 @@ public ConfigFactory getConfigFactory()
createEReference(actorInstanceConfigEClass, ACTOR_INSTANCE_CONFIG__ROOT);
createEReference(actorInstanceConfigEClass, ACTOR_INSTANCE_CONFIG__PATH);
createEReference(actorInstanceConfigEClass, ACTOR_INSTANCE_CONFIG__ATTRIBUTES);
+ createEReference(actorInstanceConfigEClass, ACTOR_INSTANCE_CONFIG__PORTS);
+
+ protocolClassConfigEClass = createEClass(PROTOCOL_CLASS_CONFIG);
+ createEReference(protocolClassConfigEClass, PROTOCOL_CLASS_CONFIG__PROTOCOL);
+ createEReference(protocolClassConfigEClass, PROTOCOL_CLASS_CONFIG__REGULAR);
+ createEReference(protocolClassConfigEClass, PROTOCOL_CLASS_CONFIG__CONJUGATED);
+
+ portClassConfigEClass = createEClass(PORT_CLASS_CONFIG);
+ createEReference(portClassConfigEClass, PORT_CLASS_CONFIG__ATTRIBUTES);
+
+ portInstanceConfigEClass = createEClass(PORT_INSTANCE_CONFIG);
+ createEReference(portInstanceConfigEClass, PORT_INSTANCE_CONFIG__ITEM);
+ createEReference(portInstanceConfigEClass, PORT_INSTANCE_CONFIG__ATTRIBUTES);
attrConfigEClass = createEClass(ATTR_CONFIG);
createEReference(attrConfigEClass, ATTR_CONFIG__ATTRIBUTE);
@@ -638,6 +769,9 @@ public ConfigFactory getConfigFactory()
createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE);
createEAttribute(importEClass, IMPORT__IMPORT_URI);
+ literalArrayEClass = createEClass(LITERAL_ARRAY);
+ createEReference(literalArrayEClass, LITERAL_ARRAY__LITERALS);
+
literalEClass = createEClass(LITERAL);
booleanLiteralEClass = createEClass(BOOLEAN_LITERAL);
@@ -689,6 +823,7 @@ public ConfigFactory getConfigFactory()
// Add supertypes to classes
actorClassConfigEClass.getESuperTypes().add(this.getConfigElement());
actorInstanceConfigEClass.getESuperTypes().add(this.getConfigElement());
+ protocolClassConfigEClass.getESuperTypes().add(this.getConfigElement());
attrClassConfigEClass.getESuperTypes().add(this.getAttrConfig());
attrInstanceConfigEClass.getESuperTypes().add(this.getAttrConfig());
booleanLiteralEClass.getESuperTypes().add(this.getLiteral());
@@ -706,6 +841,8 @@ public ConfigFactory getConfigFactory()
addEOperation(configModelEClass, this.getActorInstanceConfig(), "getActorInstanceConfigs", 0, -1, IS_UNIQUE, IS_ORDERED);
+ addEOperation(configModelEClass, this.getProtocolClassConfig(), "getProtocolClassConfigs", 0, -1, IS_UNIQUE, IS_ORDERED);
+
initEClass(configElementEClass, ConfigElement.class, "ConfigElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(actorClassConfigEClass, ActorClassConfig.class, "ActorClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -716,10 +853,23 @@ public ConfigFactory getConfigFactory()
initEReference(getActorInstanceConfig_Root(), theRoomPackage.getSubSystemClass(), null, "root", null, 0, 1, ActorInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActorInstanceConfig_Path(), this.getRefPath(), null, "path", null, 0, 1, ActorInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActorInstanceConfig_Attributes(), this.getAttrInstanceConfig(), null, "attributes", null, 0, -1, ActorInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getActorInstanceConfig_Ports(), this.getPortInstanceConfig(), null, "ports", null, 0, -1, ActorInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(protocolClassConfigEClass, ProtocolClassConfig.class, "ProtocolClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProtocolClassConfig_Protocol(), theRoomPackage.getProtocolClass(), null, "protocol", null, 0, 1, ProtocolClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProtocolClassConfig_Regular(), this.getPortClassConfig(), null, "regular", null, 0, 1, ProtocolClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getProtocolClassConfig_Conjugated(), this.getPortClassConfig(), null, "conjugated", null, 0, 1, ProtocolClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(portClassConfigEClass, PortClassConfig.class, "PortClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPortClassConfig_Attributes(), this.getAttrClassConfig(), null, "attributes", null, 0, -1, PortClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(portInstanceConfigEClass, PortInstanceConfig.class, "PortInstanceConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPortInstanceConfig_Item(), theRoomPackage.getInterfaceItem(), null, "item", null, 0, 1, PortInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPortInstanceConfig_Attributes(), this.getAttrInstanceConfig(), null, "attributes", null, 0, -1, PortInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(attrConfigEClass, AttrConfig.class, "AttrConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAttrConfig_Attribute(), theRoomPackage.getAttribute(), null, "attribute", null, 0, 1, AttrConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getAttrConfig_Value(), this.getLiteral(), null, "value", null, 0, 1, AttrConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAttrConfig_Value(), this.getLiteralArray(), null, "value", null, 0, 1, AttrConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(attrClassConfigEClass, AttrClassConfig.class, "AttrClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAttrClassConfig_Min(), this.getNumberLiteral(), null, "min", null, 0, 1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -734,6 +884,9 @@ public ConfigFactory getConfigFactory()
initEAttribute(getImport_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(literalArrayEClass, LiteralArray.class, "LiteralArray", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getLiteralArray_Literals(), this.getLiteral(), null, "literals", null, 0, -1, LiteralArray.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(booleanLiteralEClass, BooleanLiteral.class, "BooleanLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ImportImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ImportImpl.java
index e955365ae..ae852a322 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ImportImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ImportImpl.java
@@ -98,8 +98,7 @@ public class ImportImpl extends MinimalEObjectImpl.Container implements Import
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public String getImportedNamespace()
+ public String getImportedNamespace()
{
return importedNamespace;
}
@@ -109,8 +108,7 @@ public String getImportedNamespace()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setImportedNamespace(String newImportedNamespace)
+ public void setImportedNamespace(String newImportedNamespace)
{
String oldImportedNamespace = importedNamespace;
importedNamespace = newImportedNamespace;
@@ -123,8 +121,7 @@ public void setImportedNamespace(String newImportedNamespace)
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public String getImportURI()
+ public String getImportURI()
{
return importURI;
}
@@ -134,8 +131,7 @@ public String getImportURI()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setImportURI(String newImportURI)
+ public void setImportURI(String newImportURI)
{
String oldImportURI = importURI;
importURI = newImportURI;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java
index 32088b63f..34f0c6c1d 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java
@@ -76,8 +76,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public int getValue()
+ public int getValue()
{
return value;
}
@@ -87,8 +86,7 @@ public int getValue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setValue(int newValue)
+ public void setValue(int newValue)
{
int oldValue = value;
value = newValue;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/LiteralArrayImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/LiteralArrayImpl.java
new file mode 100644
index 000000000..06d0a0675
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/LiteralArrayImpl.java
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config.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.config.ConfigPackage;
+import org.eclipse.etrice.core.config.Literal;
+import org.eclipse.etrice.core.config.LiteralArray;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Literal Array</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.LiteralArrayImpl#getLiterals <em>Literals</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class LiteralArrayImpl extends MinimalEObjectImpl.Container implements LiteralArray
+{
+ /**
+ * The cached value of the '{@link #getLiterals() <em>Literals</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getLiterals()
+ * @generated
+ * @ordered
+ */
+ protected EList<Literal> literals;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LiteralArrayImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.LITERAL_ARRAY;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Literal> getLiterals()
+ {
+ if (literals == null)
+ {
+ literals = new EObjectContainmentEList<Literal>(Literal.class, this, ConfigPackage.LITERAL_ARRAY__LITERALS);
+ }
+ return literals;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.LITERAL_ARRAY__LITERALS:
+ return ((InternalEList<?>)getLiterals()).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 ConfigPackage.LITERAL_ARRAY__LITERALS:
+ return getLiterals();
+ }
+ 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 ConfigPackage.LITERAL_ARRAY__LITERALS:
+ getLiterals().clear();
+ getLiterals().addAll((Collection<? extends Literal>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.LITERAL_ARRAY__LITERALS:
+ getLiterals().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.LITERAL_ARRAY__LITERALS:
+ return literals != null && !literals.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //LiteralArrayImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortClassConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortClassConfigImpl.java
new file mode 100644
index 000000000..1b8a98616
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortClassConfigImpl.java
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config.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.config.AttrClassConfig;
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.PortClassConfig;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Port Class Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.PortClassConfigImpl#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PortClassConfigImpl extends MinimalEObjectImpl.Container implements PortClassConfig
+{
+ /**
+ * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributes()
+ * @generated
+ * @ordered
+ */
+ protected EList<AttrClassConfig> attributes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PortClassConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.PORT_CLASS_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AttrClassConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrClassConfig>(AttrClassConfig.class, this, ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES);
+ }
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES:
+ return ((InternalEList<?>)getAttributes()).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 ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES:
+ return getAttributes();
+ }
+ 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 ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ getAttributes().addAll((Collection<? extends AttrClassConfig>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_CLASS_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //PortClassConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortInstanceConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortInstanceConfigImpl.java
new file mode 100644
index 000000000..abd628923
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/PortInstanceConfigImpl.java
@@ -0,0 +1,240 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config.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.config.AttrInstanceConfig;
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+
+import org.eclipse.etrice.core.room.InterfaceItem;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Port Instance Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl#getItem <em>Item</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.PortInstanceConfigImpl#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PortInstanceConfigImpl extends MinimalEObjectImpl.Container implements PortInstanceConfig
+{
+ /**
+ * The cached value of the '{@link #getItem() <em>Item</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getItem()
+ * @generated
+ * @ordered
+ */
+ protected InterfaceItem item;
+
+ /**
+ * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributes()
+ * @generated
+ * @ordered
+ */
+ protected EList<AttrInstanceConfig> attributes;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PortInstanceConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.PORT_INSTANCE_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterfaceItem getItem()
+ {
+ if (item != null && item.eIsProxy())
+ {
+ InternalEObject oldItem = (InternalEObject)item;
+ item = (InterfaceItem)eResolveProxy(oldItem);
+ if (item != oldItem)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigPackage.PORT_INSTANCE_CONFIG__ITEM, oldItem, item));
+ }
+ }
+ return item;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InterfaceItem basicGetItem()
+ {
+ return item;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setItem(InterfaceItem newItem)
+ {
+ InterfaceItem oldItem = item;
+ item = newItem;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PORT_INSTANCE_CONFIG__ITEM, oldItem, item));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AttrInstanceConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrInstanceConfig>(AttrInstanceConfig.class, this, ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES);
+ }
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES:
+ return ((InternalEList<?>)getAttributes()).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 ConfigPackage.PORT_INSTANCE_CONFIG__ITEM:
+ if (resolve) return getItem();
+ return basicGetItem();
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES:
+ return getAttributes();
+ }
+ 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 ConfigPackage.PORT_INSTANCE_CONFIG__ITEM:
+ setItem((InterfaceItem)newValue);
+ return;
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ getAttributes().addAll((Collection<? extends AttrInstanceConfig>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ITEM:
+ setItem((InterfaceItem)null);
+ return;
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ITEM:
+ return item != null;
+ case ConfigPackage.PORT_INSTANCE_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //PortInstanceConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ProtocolClassConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ProtocolClassConfigImpl.java
new file mode 100644
index 000000000..4ee488add
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ProtocolClassConfigImpl.java
@@ -0,0 +1,335 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
+
+import org.eclipse.etrice.core.room.ProtocolClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Protocol Class Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl#getProtocol <em>Protocol</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl#getRegular <em>Regular</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.ProtocolClassConfigImpl#getConjugated <em>Conjugated</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProtocolClassConfigImpl extends ConfigElementImpl implements ProtocolClassConfig
+{
+ /**
+ * The cached value of the '{@link #getProtocol() <em>Protocol</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProtocol()
+ * @generated
+ * @ordered
+ */
+ protected ProtocolClass protocol;
+
+ /**
+ * The cached value of the '{@link #getRegular() <em>Regular</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getRegular()
+ * @generated
+ * @ordered
+ */
+ protected PortClassConfig regular;
+
+ /**
+ * The cached value of the '{@link #getConjugated() <em>Conjugated</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConjugated()
+ * @generated
+ * @ordered
+ */
+ protected PortClassConfig conjugated;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProtocolClassConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.PROTOCOL_CLASS_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProtocolClass getProtocol()
+ {
+ if (protocol != null && protocol.eIsProxy())
+ {
+ InternalEObject oldProtocol = (InternalEObject)protocol;
+ protocol = (ProtocolClass)eResolveProxy(oldProtocol);
+ if (protocol != oldProtocol)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL, oldProtocol, protocol));
+ }
+ }
+ return protocol;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProtocolClass basicGetProtocol()
+ {
+ return protocol;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProtocol(ProtocolClass newProtocol)
+ {
+ ProtocolClass oldProtocol = protocol;
+ protocol = newProtocol;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL, oldProtocol, protocol));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortClassConfig getRegular()
+ {
+ return regular;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRegular(PortClassConfig newRegular, NotificationChain msgs)
+ {
+ PortClassConfig oldRegular = regular;
+ regular = newRegular;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR, oldRegular, newRegular);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRegular(PortClassConfig newRegular)
+ {
+ if (newRegular != regular)
+ {
+ NotificationChain msgs = null;
+ if (regular != null)
+ msgs = ((InternalEObject)regular).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR, null, msgs);
+ if (newRegular != null)
+ msgs = ((InternalEObject)newRegular).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR, null, msgs);
+ msgs = basicSetRegular(newRegular, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR, newRegular, newRegular));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public PortClassConfig getConjugated()
+ {
+ return conjugated;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConjugated(PortClassConfig newConjugated, NotificationChain msgs)
+ {
+ PortClassConfig oldConjugated = conjugated;
+ conjugated = newConjugated;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED, oldConjugated, newConjugated);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConjugated(PortClassConfig newConjugated)
+ {
+ if (newConjugated != conjugated)
+ {
+ NotificationChain msgs = null;
+ if (conjugated != null)
+ msgs = ((InternalEObject)conjugated).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED, null, msgs);
+ if (newConjugated != null)
+ msgs = ((InternalEObject)newConjugated).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED, null, msgs);
+ msgs = basicSetConjugated(newConjugated, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED, newConjugated, newConjugated));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR:
+ return basicSetRegular(null, msgs);
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED:
+ return basicSetConjugated(null, 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 ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL:
+ if (resolve) return getProtocol();
+ return basicGetProtocol();
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR:
+ return getRegular();
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED:
+ return getConjugated();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL:
+ setProtocol((ProtocolClass)newValue);
+ return;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR:
+ setRegular((PortClassConfig)newValue);
+ return;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED:
+ setConjugated((PortClassConfig)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL:
+ setProtocol((ProtocolClass)null);
+ return;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR:
+ setRegular((PortClassConfig)null);
+ return;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED:
+ setConjugated((PortClassConfig)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__PROTOCOL:
+ return protocol != null;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__REGULAR:
+ return regular != null;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG__CONJUGATED:
+ return conjugated != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProtocolClassConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RealLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RealLiteralImpl.java
index 3d235550e..468cd3e37 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RealLiteralImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RealLiteralImpl.java
@@ -76,8 +76,7 @@ public class RealLiteralImpl extends NumberLiteralImpl implements RealLiteral
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public double getValue()
+ public double getValue()
{
return value;
}
@@ -87,8 +86,7 @@ public double getValue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setValue(double newValue)
+ public void setValue(double newValue)
{
double oldValue = value;
value = newValue;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RefPathImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RefPathImpl.java
index 3ea4b9a57..83ffa3a80 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RefPathImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/RefPathImpl.java
@@ -70,8 +70,7 @@ public class RefPathImpl extends MinimalEObjectImpl.Container implements RefPath
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public EList<String> getRefs()
+ public EList<String> getRefs()
{
if (refs == null)
{
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/StringLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/StringLiteralImpl.java
index d38be8a9e..784f68e57 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/StringLiteralImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/StringLiteralImpl.java
@@ -76,8 +76,7 @@ public class StringLiteralImpl extends LiteralImpl implements StringLiteral
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public String getValue()
+ public String getValue()
{
return value;
}
@@ -87,8 +86,7 @@ public String getValue()
* <!-- end-user-doc -->
* @generated
*/
- @Override
-public void setValue(String newValue)
+ public void setValue(String newValue)
{
String oldValue = value;
value = newValue;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
index d412c79a6..8f62360de 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
@@ -99,6 +99,21 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
return createActorInstanceConfigAdapter();
}
@Override
+ public Adapter caseProtocolClassConfig(ProtocolClassConfig object)
+ {
+ return createProtocolClassConfigAdapter();
+ }
+ @Override
+ public Adapter casePortClassConfig(PortClassConfig object)
+ {
+ return createPortClassConfigAdapter();
+ }
+ @Override
+ public Adapter casePortInstanceConfig(PortInstanceConfig object)
+ {
+ return createPortInstanceConfigAdapter();
+ }
+ @Override
public Adapter caseAttrConfig(AttrConfig object)
{
return createAttrConfigAdapter();
@@ -124,6 +139,11 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
return createImportAdapter();
}
@Override
+ public Adapter caseLiteralArray(LiteralArray object)
+ {
+ return createLiteralArrayAdapter();
+ }
+ @Override
public Adapter caseLiteral(Literal object)
{
return createLiteralAdapter();
@@ -236,6 +256,51 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.ProtocolClassConfig <em>Protocol Class Config</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.config.ProtocolClassConfig
+ * @generated
+ */
+ public Adapter createProtocolClassConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.PortClassConfig <em>Port Class Config</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.config.PortClassConfig
+ * @generated
+ */
+ public Adapter createPortClassConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.PortInstanceConfig <em>Port Instance Config</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.config.PortInstanceConfig
+ * @generated
+ */
+ public Adapter createPortInstanceConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.AttrConfig <em>Attr Config</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -311,6 +376,21 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.LiteralArray <em>Literal Array</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.config.LiteralArray
+ * @generated
+ */
+ public Adapter createLiteralArrayAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.Literal <em>Literal</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
index ecc170767..a3073d32f 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
@@ -106,6 +106,28 @@ public class ConfigSwitch<T> extends Switch<T>
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG:
+ {
+ ProtocolClassConfig protocolClassConfig = (ProtocolClassConfig)theEObject;
+ T result = caseProtocolClassConfig(protocolClassConfig);
+ if (result == null) result = caseConfigElement(protocolClassConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ConfigPackage.PORT_CLASS_CONFIG:
+ {
+ PortClassConfig portClassConfig = (PortClassConfig)theEObject;
+ T result = casePortClassConfig(portClassConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ConfigPackage.PORT_INSTANCE_CONFIG:
+ {
+ PortInstanceConfig portInstanceConfig = (PortInstanceConfig)theEObject;
+ T result = casePortInstanceConfig(portInstanceConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case ConfigPackage.ATTR_CONFIG:
{
AttrConfig attrConfig = (AttrConfig)theEObject;
@@ -143,6 +165,13 @@ public class ConfigSwitch<T> extends Switch<T>
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case ConfigPackage.LITERAL_ARRAY:
+ {
+ LiteralArray literalArray = (LiteralArray)theEObject;
+ T result = caseLiteralArray(literalArray);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case ConfigPackage.LITERAL:
{
Literal literal = (Literal)theEObject;
@@ -261,6 +290,54 @@ public class ConfigSwitch<T> extends Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Protocol Class Config</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 Class Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProtocolClassConfig(ProtocolClassConfig object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Port Class Config</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>Port Class Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePortClassConfig(PortClassConfig object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Port Instance Config</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>Port Instance Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePortInstanceConfig(PortInstanceConfig object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Attr Config</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -341,6 +418,22 @@ public class ConfigSwitch<T> extends Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Literal Array</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>Literal Array</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseLiteralArray(LiteralArray object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Literal</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java
index 0aae983f7..fdd47642c 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigAntlrTokenFileProvider.java
@@ -1,16 +1,15 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.etrice.core.parser.antlr;
-
-import java.io.InputStream;
-import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
-
-public class ConfigAntlrTokenFileProvider implements IAntlrTokenFileProvider {
-
- @Override
- public InputStream getAntlrTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens");
- }
-}
+/*
+* generated by Xtext
+*/
+package org.eclipse.etrice.core.parser.antlr;
+
+import java.io.InputStream;
+import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
+
+public class ConfigAntlrTokenFileProvider implements IAntlrTokenFileProvider {
+
+ public InputStream getAntlrTokenFile() {
+ ClassLoader classLoader = getClass().getClassLoader();
+ return classLoader.getResourceAsStream("org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens");
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java
index db66f38bd..2b7ad294f 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/ConfigParser.java
@@ -1,39 +1,39 @@
-/*
-* generated by Xtext
-*/
-package org.eclipse.etrice.core.parser.antlr;
-
-import com.google.inject.Inject;
-
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.etrice.core.services.ConfigGrammarAccess;
-
-public class ConfigParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
-
- @Inject
- private ConfigGrammarAccess grammarAccess;
-
- @Override
- protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
- tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
- }
-
- @Override
- protected org.eclipse.etrice.core.parser.antlr.internal.InternalConfigParser createParser(XtextTokenStream stream) {
- return new org.eclipse.etrice.core.parser.antlr.internal.InternalConfigParser(stream, getGrammarAccess());
- }
-
- @Override
- protected String getDefaultRuleName() {
- return "ConfigModel";
- }
-
- public ConfigGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
-}
+/*
+* generated by Xtext
+*/
+package org.eclipse.etrice.core.parser.antlr;
+
+import com.google.inject.Inject;
+
+import org.eclipse.xtext.parser.antlr.XtextTokenStream;
+import org.eclipse.etrice.core.services.ConfigGrammarAccess;
+
+public class ConfigParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
+
+ @Inject
+ private ConfigGrammarAccess grammarAccess;
+
+ @Override
+ protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
+ tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
+ }
+
+ @Override
+ protected org.eclipse.etrice.core.parser.antlr.internal.InternalConfigParser createParser(XtextTokenStream stream) {
+ return new org.eclipse.etrice.core.parser.antlr.internal.InternalConfigParser(stream, getGrammarAccess());
+ }
+
+ @Override
+ protected String getDefaultRuleName() {
+ return "ConfigModel";
+ }
+
+ public ConfigGrammarAccess getGrammarAccess() {
+ return this.grammarAccess;
+ }
+
+ public void setGrammarAccess(ConfigGrammarAccess grammarAccess) {
+ this.grammarAccess = grammarAccess;
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
index 4a2bc0f49..5183c5268 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
@@ -153,6 +153,16 @@ ruleConfigElement returns [EObject current=null]
$current = $this_ActorInstanceConfig_1.current;
afterParserOrEnumRuleCall();
}
+
+ |
+ {
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+ }
+ this_ProtocolClassConfig_2=ruleProtocolClassConfig
+ {
+ $current = $this_ProtocolClassConfig_2.current;
+ afterParserOrEnumRuleCall();
+ }
)
;
@@ -303,9 +313,280 @@ ruleActorInstanceConfig returns [EObject current=null]
}
)
-)* otherlv_6='}'
+)*(
+(
+ {
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
+ }
+ lv_ports_6_0=rulePortInstanceConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ $current,
+ "ports",
+ lv_ports_6_0,
+ "PortInstanceConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)* otherlv_7='}'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRuleProtocolClassConfig
+entryRuleProtocolClassConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getProtocolClassConfigRule()); }
+ iv_ruleProtocolClassConfig=ruleProtocolClassConfig
+ { $current=$iv_ruleProtocolClassConfig.current; }
+ EOF
+;
+
+// Rule ProtocolClassConfig
+ruleProtocolClassConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='ProtocolClassConfig'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0());
+ }
+(
+(
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getProtocolClassConfigRule());
+ }
+ }
+ {
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0());
+ }
+ ruleFQN {
+ afterParserOrEnumRuleCall();
+ }
+
+)
+) otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2());
+ }
+(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0);
+ }
+ ({true}?=>( otherlv_4='regular'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0());
+ }
+ lv_regular_5_0=rulePortClassConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getProtocolClassConfigRule());
+ }
+ set(
+ $current,
+ "regular",
+ lv_regular_5_0,
+ "PortClassConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1);
+ }
+ ({true}?=>( otherlv_6='conjugate'
+ {
+ newLeafNode(otherlv_6, grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0());
+ }
+ lv_conjugated_7_0=rulePortClassConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getProtocolClassConfigRule());
+ }
+ set(
+ $current,
+ "conjugated",
+ lv_conjugated_7_0,
+ "PortClassConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+ }
+ )
+ )
+
+ )*
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+ }
+
+) otherlv_8='}'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4());
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRulePortClassConfig
+entryRulePortClassConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getPortClassConfigRule()); }
+ iv_rulePortClassConfig=rulePortClassConfig
+ { $current=$iv_rulePortClassConfig.current; }
+ EOF
+;
+
+// Rule PortClassConfig
+rulePortClassConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+((
+ {
+ $current = forceCreateModelElement(
+ grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0(),
+ $current);
+ }
+) otherlv_1='Port'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getPortClassConfigAccess().getPortKeyword_1());
+ }
+ otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
+ }
+ lv_attributes_3_0=ruleAttrClassConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPortClassConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_3_0,
+ "AttrClassConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)* otherlv_4='}'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4());
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRulePortInstanceConfig
+entryRulePortInstanceConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getPortInstanceConfigRule()); }
+ iv_rulePortInstanceConfig=rulePortInstanceConfig
+ { $current=$iv_rulePortInstanceConfig.current; }
+ EOF
+;
+
+// Rule PortInstanceConfig
+rulePortInstanceConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='InterfaceItem'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0());
+ }
+(
+(
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getPortInstanceConfigRule());
+ }
+ }
+ otherlv_1=RULE_ID
+ {
+ newLeafNode(otherlv_1, grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0());
+ }
+
+)
+) otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0());
+ }
+ lv_attributes_3_0=ruleAttrInstanceConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getPortInstanceConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_3_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)* otherlv_4='}'
{
- newLeafNode(otherlv_6, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6());
+ newLeafNode(otherlv_4, grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4());
}
)
;
@@ -330,7 +611,7 @@ ruleAttrClassConfig returns [EObject current=null]
@init { enterRule();
}
@after { leaveRule(); }:
-( otherlv_0='attr'
+( otherlv_0='Attr'
{
newLeafNode(otherlv_0, grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0());
}
@@ -354,9 +635,9 @@ ruleAttrClassConfig returns [EObject current=null]
(
(
{
- newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralParserRuleCall_2_1_0());
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
}
- lv_value_3_0=ruleLiteral {
+ lv_value_3_0=ruleLiteralArray {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
}
@@ -364,7 +645,7 @@ ruleAttrClassConfig returns [EObject current=null]
$current,
"value",
lv_value_3_0,
- "Literal");
+ "LiteralArray");
afterParserOrEnumRuleCall();
}
@@ -490,7 +771,7 @@ ruleAttrInstanceConfig returns [EObject current=null]
@init { enterRule();
}
@after { leaveRule(); }:
-( otherlv_0='attr'
+( otherlv_0='Attr'
{
newLeafNode(otherlv_0, grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0());
}
@@ -514,9 +795,9 @@ ruleAttrInstanceConfig returns [EObject current=null]
(
(
{
- newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralParserRuleCall_2_1_0());
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
}
- lv_value_3_0=ruleLiteral {
+ lv_value_3_0=ruleLiteralArray {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule());
}
@@ -524,7 +805,7 @@ ruleAttrInstanceConfig returns [EObject current=null]
$current,
"value",
lv_value_3_0,
- "Literal");
+ "LiteralArray");
afterParserOrEnumRuleCall();
}
@@ -746,6 +1027,67 @@ ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()]
+// Entry rule entryRuleLiteralArray
+entryRuleLiteralArray returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getLiteralArrayRule()); }
+ iv_ruleLiteralArray=ruleLiteralArray
+ { $current=$iv_ruleLiteralArray.current; }
+ EOF
+;
+
+// Rule LiteralArray
+ruleLiteralArray returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+((
+(
+ {
+ newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0());
+ }
+ lv_literals_0_0=ruleLiteral {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLiteralArrayRule());
+ }
+ add(
+ $current,
+ "literals",
+ lv_literals_0_0,
+ "Literal");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)( otherlv_1=','
+ {
+ newLeafNode(otherlv_1, grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0());
+ }
+ lv_literals_2_0=ruleLiteral {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getLiteralArrayRule());
+ }
+ add(
+ $current,
+ "literals",
+ lv_literals_2_0,
+ "Literal");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+))*)
+;
+
+
+
+
+
// Entry rule entryRuleLiteral
entryRuleLiteral returns [EObject current=null]
:
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens
index c55cc6ea4..aeb69ec85 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens
@@ -12,11 +12,17 @@ T__21=21
T__20=20
RULE_SL_COMMENT=9
RULE_ML_COMMENT=8
+T__30=30
T__19=19
+T__31=31
RULE_HEX=7
RULE_STRING=5
+T__32=32
+T__33=33
T__16=16
+T__34=34
T__15=15
+T__35=35
T__18=18
T__17=17
T__12=12
@@ -24,21 +30,27 @@ T__14=14
T__13=13
RULE_INT=6
RULE_WS=10
-'true'=27
+'Attr'=22
+'true'=33
'}'=14
'/'=16
-'model'=23
+'model'=28
'ActorClassConfig'=12
'{'=13
-'.*'=24
+'.*'=29
+'conjugate'=19
'ActorInstanceConfig'=15
-'attr'=17
-'false'=26
-'='=18
-'-'=29
-'+'=28
-'min'=19
-'.'=25
-'max'=20
-'import'=21
-'from'=22
+'false'=32
+'='=23
+'Port'=20
+'-'=35
+'InterfaceItem'=21
+'+'=34
+'min'=24
+','=31
+'.'=30
+'ProtocolClassConfig'=17
+'regular'=18
+'max'=25
+'from'=27
+'import'=26
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java
index da69c6515..bede177eb 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java
@@ -27,12 +27,18 @@ public class InternalConfigLexer extends Lexer {
public static final int EOF=-1;
public static final int RULE_SL_COMMENT=9;
public static final int RULE_ML_COMMENT=8;
+ public static final int T__30=30;
public static final int T__19=19;
+ public static final int T__31=31;
+ public static final int T__32=32;
public static final int RULE_STRING=5;
public static final int RULE_HEX=7;
public static final int T__16=16;
+ public static final int T__33=33;
public static final int T__15=15;
+ public static final int T__34=34;
public static final int T__18=18;
+ public static final int T__35=35;
public static final int T__17=17;
public static final int T__12=12;
public static final int T__14=14;
@@ -160,10 +166,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:7: ( 'attr' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'attr'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:7: ( 'ProtocolClassConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'ProtocolClassConfig'
{
- match("attr");
+ match("ProtocolClassConfig");
}
@@ -181,10 +187,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__18;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:7: ( '=' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: '='
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:7: ( 'regular' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'regular'
{
- match('=');
+ match("regular");
+
}
@@ -201,10 +208,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__19;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:7: ( 'min' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'min'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:7: ( 'conjugate' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'conjugate'
{
- match("min");
+ match("conjugate");
}
@@ -222,10 +229,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__20;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:7: ( 'max' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'max'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:7: ( 'Port' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'Port'
{
- match("max");
+ match("Port");
}
@@ -243,10 +250,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( 'import' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'import'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( 'InterfaceItem' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'InterfaceItem'
{
- match("import");
+ match("InterfaceItem");
}
@@ -264,10 +271,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__22;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:7: ( 'from' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'from'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:7: ( 'Attr' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'Attr'
{
- match("from");
+ match("Attr");
}
@@ -285,11 +292,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__23;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( 'model' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: 'model'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( '=' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: '='
{
- match("model");
-
+ match('=');
}
@@ -306,10 +312,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__24;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:7: ( '.*' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: '.*'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:7: ( 'min' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'min'
{
- match(".*");
+ match("min");
}
@@ -327,10 +333,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__25;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:7: ( '.' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: '.'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:7: ( 'max' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'max'
{
- match('.');
+ match("max");
+
}
@@ -347,10 +354,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__26;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:7: ( 'false' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'false'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:7: ( 'import' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'import'
{
- match("false");
+ match("import");
}
@@ -368,10 +375,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__27;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:7: ( 'true' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'true'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:7: ( 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'from'
{
- match("true");
+ match("from");
}
@@ -389,10 +396,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( '+' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( 'model' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: 'model'
{
- match('+');
+ match("model");
+
}
@@ -409,10 +417,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__29;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:7: ( '-' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:7: ( '.*' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: '.*'
{
- match('-');
+ match(".*");
+
}
@@ -424,15 +433,137 @@ public class InternalConfigLexer extends Lexer {
}
// $ANTLR end "T__29"
+ // $ANTLR start "T__30"
+ public final void mT__30() throws RecognitionException {
+ try {
+ int _type = T__30;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:7: ( '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__30"
+
+ // $ANTLR start "T__31"
+ public final void mT__31() throws RecognitionException {
+ try {
+ int _type = T__31;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:7: ( ',' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__31"
+
+ // $ANTLR start "T__32"
+ public final void mT__32() throws RecognitionException {
+ try {
+ int _type = T__32;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:7: ( 'false' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__32"
+
+ // $ANTLR start "T__33"
+ public final void mT__33() throws RecognitionException {
+ try {
+ int _type = T__33;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:7: ( 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__33"
+
+ // $ANTLR start "T__34"
+ public final void mT__34() throws RecognitionException {
+ try {
+ int _type = T__34;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:7: ( '+' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__34"
+
+ // $ANTLR start "T__35"
+ public final void mT__35() throws RecognitionException {
+ try {
+ int _type = T__35;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:7: ( '-' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__35"
+
// $ANTLR start "RULE_HEX"
public final void mRULE_HEX() throws RecognitionException {
try {
int _type = RULE_HEX;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:12: ( '0x' | '0X' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:12: ( '0x' | '0X' )
int alt1=2;
int LA1_0 = input.LA(1);
@@ -460,7 +591,7 @@ public class InternalConfigLexer extends Lexer {
}
switch (alt1) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:13: '0x'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:13: '0x'
{
match("0x");
@@ -468,7 +599,7 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:18: '0X'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:18: '0X'
{
match("0X");
@@ -478,7 +609,7 @@ public class InternalConfigLexer extends Lexer {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1491:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@@ -532,10 +663,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_ID;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1493:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1493:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1493:11: ( '^' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:11: ( '^' )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -544,7 +675,7 @@ public class InternalConfigLexer extends Lexer {
}
switch (alt3) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1493:11: '^'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:11: '^'
{
match('^');
@@ -562,7 +693,7 @@ public class InternalConfigLexer extends Lexer {
recover(mse);
throw mse;}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1493:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
@@ -611,10 +742,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_INT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1495:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1495:12: ( '0' .. '9' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:12: ( '0' .. '9' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1495:12: ( '0' .. '9' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:12: ( '0' .. '9' )+
int cnt5=0;
loop5:
do {
@@ -628,7 +759,7 @@ public class InternalConfigLexer extends Lexer {
switch (alt5) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1495:13: '0' .. '9'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:13: '0' .. '9'
{
matchRange('0','9');
@@ -660,10 +791,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_STRING;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -681,10 +812,10 @@ public class InternalConfigLexer extends Lexer {
}
switch (alt8) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
loop6:
do {
int alt6=3;
@@ -700,7 +831,7 @@ public class InternalConfigLexer extends Lexer {
switch (alt6) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839: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') ) {
@@ -716,7 +847,7 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:66: ~ ( ( '\\\\' | '\"' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:66: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -741,10 +872,10 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
loop7:
do {
int alt7=3;
@@ -760,7 +891,7 @@ public class InternalConfigLexer extends Lexer {
switch (alt7) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839: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') ) {
@@ -776,7 +907,7 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:137: ~ ( ( '\\\\' | '\\'' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:137: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -819,12 +950,12 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_ML_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:24: ( options {greedy=false; } : . )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@@ -849,7 +980,7 @@ public class InternalConfigLexer extends Lexer {
switch (alt9) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:52: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:52: .
{
matchAny();
@@ -879,12 +1010,12 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_SL_COMMENT;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop10:
do {
int alt10=2;
@@ -897,7 +1028,7 @@ public class InternalConfigLexer extends Lexer {
switch (alt10) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:24: ~ ( ( '\\n' | '\\r' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843: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();
@@ -917,7 +1048,7 @@ public class InternalConfigLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:40: ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:40: ( ( '\\r' )? '\\n' )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -926,9 +1057,9 @@ public class InternalConfigLexer extends Lexer {
}
switch (alt12) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:41: ( '\\r' )? '\\n'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:41: ( '\\r' )? '\\n'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:41: ( '\\r' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:41: ( '\\r' )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -937,7 +1068,7 @@ public class InternalConfigLexer extends Lexer {
}
switch (alt11) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:41: '\\r'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:41: '\\r'
{
match('\r');
@@ -969,10 +1100,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_WS;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1503:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1503:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1845:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1845:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1503:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1845:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt13=0;
loop13:
do {
@@ -1026,8 +1157,8 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = RULE_ANY_OTHER;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1505:16: ( . )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1505:18: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1847:16: ( . )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1847:18: .
{
matchAny();
@@ -1042,8 +1173,8 @@ public class InternalConfigLexer extends Lexer {
// $ANTLR end "RULE_ANY_OTHER"
public void mTokens() throws RecognitionException {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt14=26;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt14=32;
alt14 = dfa14.predict(input);
switch (alt14) {
case 1 :
@@ -1173,56 +1304,98 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 19 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:118: RULE_HEX
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:118: T__30
{
- mRULE_HEX();
+ mT__30();
}
break;
case 20 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:127: RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:124: T__31
{
- mRULE_ID();
+ mT__31();
}
break;
case 21 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:135: RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:130: T__32
{
- mRULE_INT();
+ mT__32();
}
break;
case 22 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:144: RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:136: T__33
{
- mRULE_STRING();
+ mT__33();
}
break;
case 23 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:156: RULE_ML_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:142: T__34
{
- mRULE_ML_COMMENT();
+ mT__34();
}
break;
case 24 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:172: RULE_SL_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:148: T__35
{
- mRULE_SL_COMMENT();
+ mT__35();
}
break;
case 25 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:188: RULE_WS
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: RULE_HEX
{
- mRULE_WS();
+ mRULE_HEX();
}
break;
case 26 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:196: RULE_ANY_OTHER
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:163: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 27 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:171: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 28 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:180: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 29 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:192: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 30 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:208: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 31 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:224: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 32 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:232: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1236,147 +1409,216 @@ public class InternalConfigLexer extends Lexer {
protected DFA14 dfa14 = new DFA14(this);
static final String DFA14_eotS =
- "\1\uffff\1\27\2\uffff\1\34\1\27\1\uffff\3\27\1\46\1\27\2\uffff"+
- "\1\53\1\25\2\uffff\2\25\2\uffff\1\27\6\uffff\1\27\1\uffff\6\27\2"+
- "\uffff\1\27\6\uffff\2\27\1\71\1\72\6\27\1\101\2\uffff\2\27\1\104"+
- "\1\27\1\106\1\27\1\uffff\1\111\1\27\1\uffff\1\113\1\uffff\2\27\1"+
- "\uffff\1\116\1\uffff\2\27\1\uffff\20\27\1\141\1\27\1\uffff\2\27"+
- "\1\145\1\uffff";
+ "\1\uffff\1\34\2\uffff\1\41\4\34\1\uffff\3\34\1\57\1\uffff\1\34"+
+ "\2\uffff\1\65\1\31\2\uffff\2\31\2\uffff\2\34\6\uffff\5\34\1\uffff"+
+ "\6\34\3\uffff\1\34\6\uffff\7\34\1\115\1\116\6\34\1\125\1\34\1\127"+
+ "\3\34\2\uffff\2\34\1\135\1\34\1\137\1\34\1\uffff\1\34\1\uffff\3"+
+ "\34\1\146\1\34\1\uffff\1\150\1\uffff\6\34\1\uffff\1\157\1\uffff"+
+ "\3\34\1\163\2\34\1\uffff\3\34\1\uffff\5\34\1\176\4\34\1\uffff\14"+
+ "\34\1\u008f\3\34\1\uffff\3\34\1\u0096\2\34\1\uffff\4\34\1\u009d"+
+ "\1\u009e\2\uffff";
static final String DFA14_eofS =
- "\146\uffff";
+ "\u009f\uffff";
static final String DFA14_minS =
- "\1\0\1\143\2\uffff\1\52\1\164\1\uffff\1\141\1\155\1\141\1\52\1"+
- "\162\2\uffff\1\130\1\101\2\uffff\2\0\2\uffff\1\164\6\uffff\1\164"+
- "\1\uffff\1\156\1\170\1\144\1\160\1\157\1\154\2\uffff\1\165\6\uffff"+
- "\1\157\1\162\2\60\1\145\1\157\1\155\1\163\1\145\1\162\1\60\2\uffff"+
- "\1\154\1\162\1\60\1\145\1\60\1\103\1\uffff\1\60\1\164\1\uffff\1"+
- "\60\1\uffff\1\154\1\156\1\uffff\1\60\1\uffff\1\141\1\163\1\uffff"+
- "\1\163\1\164\1\163\1\141\1\103\1\156\1\157\1\143\1\156\1\145\1\146"+
- "\1\103\1\151\1\157\1\147\1\156\1\60\1\146\1\uffff\1\151\1\147\1"+
- "\60\1\uffff";
+ "\1\0\1\143\2\uffff\1\52\1\157\1\145\1\157\1\156\1\uffff\1\141\1"+
+ "\155\1\141\1\52\1\uffff\1\162\2\uffff\1\130\1\101\2\uffff\2\0\2"+
+ "\uffff\2\164\6\uffff\1\157\1\162\1\147\1\156\1\164\1\uffff\1\156"+
+ "\1\170\1\144\1\160\1\157\1\154\3\uffff\1\165\6\uffff\1\157\1\162"+
+ "\2\164\1\165\1\152\1\145\2\60\1\145\1\157\1\155\1\163\1\145\1\162"+
+ "\1\60\1\157\1\60\1\154\1\165\1\162\2\uffff\1\154\1\162\1\60\1\145"+
+ "\1\60\1\103\1\uffff\1\143\1\uffff\1\141\1\147\1\146\1\60\1\164\1"+
+ "\uffff\1\60\1\uffff\1\154\1\156\1\157\1\162\2\141\1\uffff\1\60\1"+
+ "\uffff\1\141\1\163\1\154\1\60\1\164\1\143\1\uffff\1\163\1\164\1"+
+ "\103\1\uffff\2\145\1\163\1\141\1\154\1\60\1\111\1\103\1\156\1\141"+
+ "\1\uffff\1\164\1\157\1\143\1\163\1\145\1\156\1\145\1\163\1\155\1"+
+ "\146\2\103\1\60\1\151\2\157\1\uffff\1\147\2\156\1\60\2\146\1\uffff"+
+ "\2\151\2\147\2\60\2\uffff";
static final String DFA14_maxS =
- "\1\uffff\1\143\2\uffff\1\57\1\164\1\uffff\1\157\1\155\1\162\1\52"+
- "\1\162\2\uffff\1\170\1\172\2\uffff\2\uffff\2\uffff\1\164\6\uffff"+
- "\1\164\1\uffff\1\156\1\170\1\144\1\160\1\157\1\154\2\uffff\1\165"+
- "\6\uffff\1\157\1\162\2\172\1\145\1\157\1\155\1\163\1\145\1\162\1"+
- "\172\2\uffff\1\154\1\162\1\172\1\145\1\172\1\111\1\uffff\1\172\1"+
- "\164\1\uffff\1\172\1\uffff\1\154\1\156\1\uffff\1\172\1\uffff\1\141"+
- "\1\163\1\uffff\1\163\1\164\1\163\1\141\1\103\1\156\1\157\1\143\1"+
- "\156\1\145\1\146\1\103\1\151\1\157\1\147\1\156\1\172\1\146\1\uffff"+
- "\1\151\1\147\1\172\1\uffff";
+ "\1\uffff\1\164\2\uffff\1\57\1\162\1\145\1\157\1\156\1\uffff\1\157"+
+ "\1\155\1\162\1\52\1\uffff\1\162\2\uffff\1\170\1\172\2\uffff\2\uffff"+
+ "\2\uffff\2\164\6\uffff\1\157\1\162\1\147\1\156\1\164\1\uffff\1\156"+
+ "\1\170\1\144\1\160\1\157\1\154\3\uffff\1\165\6\uffff\1\157\1\162"+
+ "\2\164\1\165\1\152\1\145\2\172\1\145\1\157\1\155\1\163\1\145\1\162"+
+ "\1\172\1\157\1\172\1\154\1\165\1\162\2\uffff\1\154\1\162\1\172\1"+
+ "\145\1\172\1\111\1\uffff\1\143\1\uffff\1\141\1\147\1\146\1\172\1"+
+ "\164\1\uffff\1\172\1\uffff\1\154\1\156\1\157\1\162\2\141\1\uffff"+
+ "\1\172\1\uffff\1\141\1\163\1\154\1\172\1\164\1\143\1\uffff\1\163"+
+ "\1\164\1\103\1\uffff\2\145\1\163\1\141\1\154\1\172\1\111\1\103\1"+
+ "\156\1\141\1\uffff\1\164\1\157\1\143\1\163\1\145\1\156\1\145\1\163"+
+ "\1\155\1\146\2\103\1\172\1\151\2\157\1\uffff\1\147\2\156\1\172\2"+
+ "\146\1\uffff\2\151\2\147\2\172\2\uffff";
static final String DFA14_acceptS =
- "\2\uffff\1\2\1\3\2\uffff\1\7\5\uffff\1\21\1\22\2\uffff\1\24\1\25"+
- "\2\uffff\1\31\1\32\1\uffff\1\24\1\2\1\3\1\27\1\30\1\5\1\uffff\1"+
- "\7\6\uffff\1\15\1\16\1\uffff\1\21\1\22\1\23\1\25\1\26\1\31\13\uffff"+
- "\1\10\1\11\6\uffff\1\6\2\uffff\1\13\1\uffff\1\20\2\uffff\1\14\1"+
- "\uffff\1\17\2\uffff\1\12\22\uffff\1\1\3\uffff\1\4";
+ "\2\uffff\1\2\1\3\5\uffff\1\14\4\uffff\1\24\1\uffff\1\27\1\30\2"+
+ "\uffff\1\32\1\33\2\uffff\1\37\1\40\2\uffff\1\32\1\2\1\3\1\35\1\36"+
+ "\1\5\5\uffff\1\14\6\uffff\1\22\1\23\1\24\1\uffff\1\27\1\30\1\31"+
+ "\1\33\1\34\1\37\25\uffff\1\15\1\16\6\uffff\1\13\1\uffff\1\11\5\uffff"+
+ "\1\20\1\uffff\1\26\6\uffff\1\21\1\uffff\1\25\6\uffff\1\17\3\uffff"+
+ "\1\7\12\uffff\1\10\20\uffff\1\12\6\uffff\1\1\6\uffff\1\4\1\6";
static final String DFA14_specialS =
- "\1\1\21\uffff\1\2\1\0\122\uffff}>";
+ "\1\1\25\uffff\1\0\1\2\u0087\uffff}>";
static final String[] DFA14_transitionS = {
- "\11\25\2\24\2\25\1\24\22\25\1\24\1\25\1\22\4\25\1\23\3\25\1"+
- "\14\1\25\1\15\1\12\1\4\1\16\11\21\3\25\1\6\3\25\1\1\31\20\3"+
- "\25\1\17\1\20\1\25\1\5\4\20\1\11\2\20\1\10\3\20\1\7\6\20\1\13"+
- "\6\20\1\2\1\25\1\3\uff82\25",
- "\1\26",
+ "\11\31\2\30\2\31\1\30\22\31\1\30\1\31\1\26\4\31\1\27\3\31\1"+
+ "\20\1\16\1\21\1\15\1\4\1\22\11\25\3\31\1\11\3\31\1\1\7\24\1"+
+ "\10\6\24\1\5\12\24\3\31\1\23\1\24\1\31\2\24\1\7\2\24\1\14\2"+
+ "\24\1\13\3\24\1\12\4\24\1\6\1\24\1\17\6\24\1\2\1\31\1\3\uff82"+
+ "\31",
+ "\1\32\20\uffff\1\33",
"",
"",
- "\1\32\4\uffff\1\33",
- "\1\35",
- "",
- "\1\40\7\uffff\1\37\5\uffff\1\41",
- "\1\42",
- "\1\44\20\uffff\1\43",
+ "\1\37\4\uffff\1\40",
+ "\1\43\2\uffff\1\42",
+ "\1\44",
"\1\45",
- "\1\47",
- "",
- "",
- "\1\52\37\uffff\1\52",
- "\32\27\4\uffff\1\27\1\uffff\32\27",
- "",
- "",
- "\0\54",
- "\0\54",
- "",
+ "\1\46",
"",
+ "\1\51\7\uffff\1\50\5\uffff\1\52",
+ "\1\53",
+ "\1\55\20\uffff\1\54",
"\1\56",
"",
+ "\1\61",
"",
"",
+ "\1\64\37\uffff\1\64",
+ "\32\34\4\uffff\1\34\1\uffff\32\34",
"",
"",
- "",
- "\1\57",
- "",
- "\1\60",
- "\1\61",
- "\1\62",
- "\1\63",
- "\1\64",
- "\1\65",
+ "\0\66",
+ "\0\66",
"",
"",
- "\1\66",
+ "\1\70",
+ "\1\71",
"",
"",
"",
"",
"",
"",
- "\1\67",
- "\1\70",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
+ "\1\72",
"\1\73",
"\1\74",
"\1\75",
"\1\76",
+ "",
"\1\77",
"\1\100",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
- "",
- "",
+ "\1\101",
"\1\102",
"\1\103",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
+ "\1\104",
+ "",
+ "",
+ "",
"\1\105",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
- "\1\107\5\uffff\1\110",
"",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
- "\1\112",
"",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
"",
- "\1\114",
- "\1\115",
"",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
"",
+ "",
+ "\1\106",
+ "\1\107",
+ "\1\110",
+ "\1\111",
+ "\1\112",
+ "\1\113",
+ "\1\114",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
"\1\117",
"\1\120",
- "",
"\1\121",
"\1\122",
"\1\123",
"\1\124",
- "\1\125",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
"\1\126",
- "\1\127",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
"\1\130",
"\1\131",
"\1\132",
+ "",
+ "",
"\1\133",
"\1\134",
- "\1\135",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
"\1\136",
- "\1\137",
- "\1\140",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\140\5\uffff\1\141",
+ "",
"\1\142",
"",
"\1\143",
"\1\144",
- "\12\27\7\uffff\32\27\4\uffff\1\27\1\uffff\32\27",
+ "\1\145",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\147",
+ "",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
+ "\1\151",
+ "\1\152",
+ "\1\153",
+ "\1\154",
+ "\1\155",
+ "\1\156",
+ "",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
+ "\1\160",
+ "\1\161",
+ "\1\162",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\164",
+ "\1\165",
+ "",
+ "\1\166",
+ "\1\167",
+ "\1\170",
+ "",
+ "\1\171",
+ "\1\172",
+ "\1\173",
+ "\1\174",
+ "\1\175",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\177",
+ "\1\u0080",
+ "\1\u0081",
+ "\1\u0082",
+ "",
+ "\1\u0083",
+ "\1\u0084",
+ "\1\u0085",
+ "\1\u0086",
+ "\1\u0087",
+ "\1\u0088",
+ "\1\u0089",
+ "\1\u008a",
+ "\1\u008b",
+ "\1\u008c",
+ "\1\u008d",
+ "\1\u008e",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u0090",
+ "\1\u0091",
+ "\1\u0092",
+ "",
+ "\1\u0093",
+ "\1\u0094",
+ "\1\u0095",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u0097",
+ "\1\u0098",
+ "",
+ "\1\u0099",
+ "\1\u009a",
+ "\1\u009b",
+ "\1\u009c",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
""
};
@@ -1410,19 +1652,19 @@ public class InternalConfigLexer extends Lexer {
this.transition = DFA14_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | 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 LA14_19 = input.LA(1);
+ int LA14_22 = input.LA(1);
s = -1;
- if ( ((LA14_19>='\u0000' && LA14_19<='\uFFFF')) ) {s = 44;}
+ if ( ((LA14_22>='\u0000' && LA14_22<='\uFFFF')) ) {s = 54;}
- else s = 21;
+ else s = 25;
if ( s>=0 ) return s;
break;
@@ -1438,49 +1680,57 @@ public class InternalConfigLexer extends Lexer {
else if ( (LA14_0=='/') ) {s = 4;}
- else if ( (LA14_0=='a') ) {s = 5;}
+ else if ( (LA14_0=='P') ) {s = 5;}
+
+ else if ( (LA14_0=='r') ) {s = 6;}
+
+ else if ( (LA14_0=='c') ) {s = 7;}
+
+ else if ( (LA14_0=='I') ) {s = 8;}
+
+ else if ( (LA14_0=='=') ) {s = 9;}
- else if ( (LA14_0=='=') ) {s = 6;}
+ else if ( (LA14_0=='m') ) {s = 10;}
- else if ( (LA14_0=='m') ) {s = 7;}
+ else if ( (LA14_0=='i') ) {s = 11;}
- else if ( (LA14_0=='i') ) {s = 8;}
+ else if ( (LA14_0=='f') ) {s = 12;}
- else if ( (LA14_0=='f') ) {s = 9;}
+ else if ( (LA14_0=='.') ) {s = 13;}
- else if ( (LA14_0=='.') ) {s = 10;}
+ else if ( (LA14_0==',') ) {s = 14;}
- else if ( (LA14_0=='t') ) {s = 11;}
+ else if ( (LA14_0=='t') ) {s = 15;}
- else if ( (LA14_0=='+') ) {s = 12;}
+ else if ( (LA14_0=='+') ) {s = 16;}
- else if ( (LA14_0=='-') ) {s = 13;}
+ else if ( (LA14_0=='-') ) {s = 17;}
- else if ( (LA14_0=='0') ) {s = 14;}
+ else if ( (LA14_0=='0') ) {s = 18;}
- else if ( (LA14_0=='^') ) {s = 15;}
+ else if ( (LA14_0=='^') ) {s = 19;}
- else if ( ((LA14_0>='B' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='b' && LA14_0<='e')||(LA14_0>='g' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='l')||(LA14_0>='n' && LA14_0<='s')||(LA14_0>='u' && LA14_0<='z')) ) {s = 16;}
+ else if ( ((LA14_0>='B' && LA14_0<='H')||(LA14_0>='J' && LA14_0<='O')||(LA14_0>='Q' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='b')||(LA14_0>='d' && LA14_0<='e')||(LA14_0>='g' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='l')||(LA14_0>='n' && LA14_0<='q')||LA14_0=='s'||(LA14_0>='u' && LA14_0<='z')) ) {s = 20;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 17;}
+ else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 21;}
- else if ( (LA14_0=='\"') ) {s = 18;}
+ else if ( (LA14_0=='\"') ) {s = 22;}
- else if ( (LA14_0=='\'') ) {s = 19;}
+ else if ( (LA14_0=='\'') ) {s = 23;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 20;}
+ else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 24;}
- else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||(LA14_0>='(' && LA14_0<='*')||LA14_0==','||(LA14_0>=':' && LA14_0<='<')||(LA14_0>='>' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||LA14_0=='|'||(LA14_0>='~' && LA14_0<='\uFFFF')) ) {s = 21;}
+ else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||(LA14_0>='(' && LA14_0<='*')||(LA14_0>=':' && LA14_0<='<')||(LA14_0>='>' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||LA14_0=='|'||(LA14_0>='~' && LA14_0<='\uFFFF')) ) {s = 25;}
if ( s>=0 ) return s;
break;
case 2 :
- int LA14_18 = input.LA(1);
+ int LA14_23 = input.LA(1);
s = -1;
- if ( ((LA14_18>='\u0000' && LA14_18<='\uFFFF')) ) {s = 44;}
+ if ( ((LA14_23>='\u0000' && LA14_23<='\uFFFF')) ) {s = 54;}
- else s = 21;
+ else s = 25;
if ( s>=0 ) return s;
break;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java
index ada0dda59..8e8861d56 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java
@@ -21,7 +21,7 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalConfigParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'ActorClassConfig'", "'{'", "'}'", "'ActorInstanceConfig'", "'/'", "'attr'", "'='", "'min'", "'max'", "'import'", "'from'", "'model'", "'.*'", "'.'", "'false'", "'true'", "'+'", "'-'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'ActorClassConfig'", "'{'", "'}'", "'ActorInstanceConfig'", "'/'", "'ProtocolClassConfig'", "'regular'", "'conjugate'", "'Port'", "'InterfaceItem'", "'Attr'", "'='", "'min'", "'max'", "'import'", "'from'", "'model'", "'.*'", "'.'", "','", "'false'", "'true'", "'+'", "'-'"
};
public static final int RULE_ID=4;
public static final int T__29=29;
@@ -38,11 +38,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
public static final int RULE_SL_COMMENT=9;
public static final int EOF=-1;
public static final int RULE_ML_COMMENT=8;
+ public static final int T__30=30;
public static final int T__19=19;
+ public static final int T__31=31;
public static final int RULE_HEX=7;
public static final int RULE_STRING=5;
+ public static final int T__32=32;
+ public static final int T__33=33;
public static final int T__16=16;
+ public static final int T__34=34;
public static final int T__15=15;
+ public static final int T__35=35;
public static final int T__18=18;
public static final int T__17=17;
public static final int T__12=12;
@@ -150,7 +156,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==21) ) {
+ if ( (LA1_0==26) ) {
alt1=1;
}
@@ -199,7 +205,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==12||LA2_0==15) ) {
+ if ( (LA2_0==12||LA2_0==15||LA2_0==17) ) {
alt2=1;
}
@@ -299,7 +305,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConfigElement"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:133:1: ruleConfigElement returns [EObject current=null] : (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:133:1: ruleConfigElement returns [EObject current=null] : (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig ) ;
public final EObject ruleConfigElement() throws RecognitionException {
EObject current = null;
@@ -307,29 +313,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
EObject this_ActorInstanceConfig_1 = null;
+ EObject this_ProtocolClassConfig_2 = null;
+
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:136:28: ( (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:136:28: ( (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig )
- int alt3=2;
- int LA3_0 = input.LA(1);
-
- if ( (LA3_0==12) ) {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig )
+ int alt3=3;
+ switch ( input.LA(1) ) {
+ case 12:
+ {
alt3=1;
- }
- else if ( (LA3_0==15) ) {
+ }
+ break;
+ case 15:
+ {
alt3=2;
- }
- else {
+ }
+ break;
+ case 17:
+ {
+ alt3=3;
+ }
+ break;
+ default:
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
throw nvae;
}
+
switch (alt3) {
case 1 :
// ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:138:5: this_ActorClassConfig_0= ruleActorClassConfig
@@ -367,6 +384,24 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
+ case 3 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:158:5: this_ProtocolClassConfig_2= ruleProtocolClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement301);
+ this_ProtocolClassConfig_2=ruleProtocolClassConfig();
+
+ state._fsp--;
+
+
+ current = this_ProtocolClassConfig_2;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
}
@@ -388,7 +423,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleActorClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:164:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:174:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ;
public final EObject entryRuleActorClassConfig() throws RecognitionException {
EObject current = null;
@@ -396,17 +431,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:165:2: (iv_ruleActorClassConfig= ruleActorClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:166:2: iv_ruleActorClassConfig= ruleActorClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:175:2: (iv_ruleActorClassConfig= ruleActorClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:176:2: iv_ruleActorClassConfig= ruleActorClassConfig EOF
{
newCompositeNode(grammarAccess.getActorClassConfigRule());
- pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig309);
+ pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig336);
iv_ruleActorClassConfig=ruleActorClassConfig();
state._fsp--;
current =iv_ruleActorClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig319);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig346);
}
@@ -424,7 +459,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleActorClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:173:1: ruleActorClassConfig returns [EObject current=null] : (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:183:1: ruleActorClassConfig returns [EObject current=null] : (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
public final EObject ruleActorClassConfig() throws RecognitionException {
EObject current = null;
@@ -437,21 +472,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:176:28: ( (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:177:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:186:28: ( (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:187:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:177:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:177:3: otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:187:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:187:3: otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
{
- otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleActorClassConfig356);
+ otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleActorClassConfig383);
newLeafNode(otherlv_0, grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:181:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:182:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:191:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:192:1: ( ruleFQN )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:182:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:183:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:192:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:193:3: ruleFQN
{
if (current==null) {
@@ -461,7 +496,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig379);
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig406);
ruleFQN();
state._fsp--;
@@ -475,32 +510,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig391);
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig418);
newLeafNode(otherlv_2, grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:200:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:210:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
- if ( (LA4_0==17) ) {
+ if ( (LA4_0==22) ) {
alt4=1;
}
switch (alt4) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:201:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:211:1: (lv_attributes_3_0= ruleAttrClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:201:1: (lv_attributes_3_0= ruleAttrClassConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:202:3: lv_attributes_3_0= ruleAttrClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:211:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:212:3: lv_attributes_3_0= ruleAttrClassConfig
{
newCompositeNode(grammarAccess.getActorClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig412);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig439);
lv_attributes_3_0=ruleAttrClassConfig();
state._fsp--;
@@ -528,7 +563,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig425);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig452);
newLeafNode(otherlv_4, grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -553,7 +588,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleActorInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:230:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:240:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ;
public final EObject entryRuleActorInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -561,17 +596,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:231:2: (iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:232:2: iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:241:2: (iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:242:2: iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF
{
newCompositeNode(grammarAccess.getActorInstanceConfigRule());
- pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig461);
+ pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig488);
iv_ruleActorInstanceConfig=ruleActorInstanceConfig();
state._fsp--;
current =iv_ruleActorInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig471);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig498);
}
@@ -589,37 +624,39 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleActorInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:239:1: ruleActorInstanceConfig returns [EObject current=null] : (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* otherlv_6= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:249:1: ruleActorInstanceConfig returns [EObject current=null] : (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' ) ;
public final EObject ruleActorInstanceConfig() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
- Token otherlv_6=null;
+ Token otherlv_7=null;
EObject lv_path_3_0 = null;
EObject lv_attributes_5_0 = null;
+ EObject lv_ports_6_0 = null;
+
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:242:28: ( (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* otherlv_6= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:243:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* otherlv_6= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:252:28: ( (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:243:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* otherlv_6= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:243:3: otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* otherlv_6= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:3: otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}'
{
- otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleActorInstanceConfig508);
+ otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleActorInstanceConfig535);
newLeafNode(otherlv_0, grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:247:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:248:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:257:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:258:1: ( ruleFQN )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:248:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:249:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:258:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:259:3: ruleFQN
{
if (current==null) {
@@ -629,7 +666,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig531);
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig558);
ruleFQN();
state._fsp--;
@@ -643,20 +680,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleActorInstanceConfig543);
+ otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleActorInstanceConfig570);
newLeafNode(otherlv_2, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:266:1: ( (lv_path_3_0= ruleRefPath ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:267:1: (lv_path_3_0= ruleRefPath )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:276:1: ( (lv_path_3_0= ruleRefPath ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:277:1: (lv_path_3_0= ruleRefPath )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:267:1: (lv_path_3_0= ruleRefPath )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:268:3: lv_path_3_0= ruleRefPath
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:277:1: (lv_path_3_0= ruleRefPath )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:278:3: lv_path_3_0= ruleRefPath
{
newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig564);
+ pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig591);
lv_path_3_0=ruleRefPath();
state._fsp--;
@@ -678,32 +715,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig576);
+ otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig603);
newLeafNode(otherlv_4, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:288:1: ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:298:1: ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )*
loop5:
do {
int alt5=2;
int LA5_0 = input.LA(1);
- if ( (LA5_0==17) ) {
+ if ( (LA5_0==22) ) {
alt5=1;
}
switch (alt5) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:289:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:299:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:289:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:290:3: lv_attributes_5_0= ruleAttrInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:299:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:300:3: lv_attributes_5_0= ruleAttrInstanceConfig
{
newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig597);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig624);
lv_attributes_5_0=ruleAttrInstanceConfig();
state._fsp--;
@@ -731,9 +768,58 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
} while (true);
- otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig610);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:316:3: ( (lv_ports_6_0= rulePortInstanceConfig ) )*
+ loop6:
+ do {
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0==21) ) {
+ alt6=1;
+ }
+
+
+ switch (alt6) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:317:1: (lv_ports_6_0= rulePortInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:317:1: (lv_ports_6_0= rulePortInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:318:3: lv_ports_6_0= rulePortInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
+
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig646);
+ lv_ports_6_0=rulePortInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ current,
+ "ports",
+ lv_ports_6_0,
+ "PortInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop6;
+ }
+ } while (true);
+
+ otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig659);
- newLeafNode(otherlv_6, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6());
+ newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
}
@@ -755,8 +841,634 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleActorInstanceConfig"
+ // $ANTLR start "entryRuleProtocolClassConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:346:1: entryRuleProtocolClassConfig returns [EObject current=null] : iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ;
+ public final EObject entryRuleProtocolClassConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleProtocolClassConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:347:2: (iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:348:2: iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF
+ {
+ newCompositeNode(grammarAccess.getProtocolClassConfigRule());
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig695);
+ iv_ruleProtocolClassConfig=ruleProtocolClassConfig();
+
+ state._fsp--;
+
+ current =iv_ruleProtocolClassConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig705);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleProtocolClassConfig"
+
+
+ // $ANTLR start "ruleProtocolClassConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:355:1: ruleProtocolClassConfig returns [EObject current=null] : (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' ) ;
+ public final EObject ruleProtocolClassConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ EObject lv_regular_5_0 = null;
+
+ EObject lv_conjugated_7_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:358:28: ( (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:1: (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:1: (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:3: otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}'
+ {
+ otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleProtocolClassConfig742);
+
+ newLeafNode(otherlv_0, grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:363:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:364:1: ( ruleFQN )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:364:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:365:3: ruleFQN
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getProtocolClassConfigRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig765);
+ ruleFQN();
+
+ state._fsp--;
+
+
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleProtocolClassConfig777);
+
+ newLeafNode(otherlv_2, grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:382:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:384:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:384:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:385:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* )
+ {
+
+ getUnorderedGroupHelper().enter(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:388:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:389:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:389:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
+ loop7:
+ do {
+ int alt7=3;
+ int LA7_0 = input.LA(1);
+
+ if ( LA7_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
+ alt7=1;
+ }
+ else if ( LA7_0 ==19 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
+ alt7=2;
+ }
+
+
+ switch (alt7) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:391:4: ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:391:4: ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:392:5: {...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
+ throw new FailedPredicateException(input, "ruleProtocolClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:392:116: ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:393:6: ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:6: ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:7: {...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleProtocolClassConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:16: (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:18: otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) )
+ {
+ otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleProtocolClassConfig835);
+
+ newLeafNode(otherlv_4, grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:400:1: ( (lv_regular_5_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:401:1: (lv_regular_5_0= rulePortClassConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:401:1: (lv_regular_5_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:402:3: lv_regular_5_0= rulePortClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0());
+
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig856);
+ lv_regular_5_0=rulePortClassConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getProtocolClassConfigRule());
+ }
+ set(
+ current,
+ "regular",
+ lv_regular_5_0,
+ "PortClassConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:4: ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:4: ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:426:5: {...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
+ throw new FailedPredicateException(input, "ruleProtocolClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:426:116: ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:427:6: ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:6: ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:7: {...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleProtocolClassConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:16: (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:18: otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) )
+ {
+ otherlv_6=(Token)match(input,19,FOLLOW_19_in_ruleProtocolClassConfig924);
+
+ newLeafNode(otherlv_6, grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:434:1: ( (lv_conjugated_7_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:435:1: (lv_conjugated_7_0= rulePortClassConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:435:1: (lv_conjugated_7_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:436:3: lv_conjugated_7_0= rulePortClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0());
+
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig945);
+ lv_conjugated_7_0=rulePortClassConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getProtocolClassConfigRule());
+ }
+ set(
+ current,
+ "conjugated",
+ lv_conjugated_7_0,
+ "PortClassConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop7;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
+
+
+ }
+
+ otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig998);
+
+ newLeafNode(otherlv_8, grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleProtocolClassConfig"
+
+
+ // $ANTLR start "entryRulePortClassConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:478:1: entryRulePortClassConfig returns [EObject current=null] : iv_rulePortClassConfig= rulePortClassConfig EOF ;
+ public final EObject entryRulePortClassConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePortClassConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:479:2: (iv_rulePortClassConfig= rulePortClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:480:2: iv_rulePortClassConfig= rulePortClassConfig EOF
+ {
+ newCompositeNode(grammarAccess.getPortClassConfigRule());
+ pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1034);
+ iv_rulePortClassConfig=rulePortClassConfig();
+
+ state._fsp--;
+
+ current =iv_rulePortClassConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1044);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePortClassConfig"
+
+
+ // $ANTLR start "rulePortClassConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:487:1: rulePortClassConfig returns [EObject current=null] : ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
+ public final EObject rulePortClassConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject lv_attributes_3_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:490:28: ( ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:1: ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:1: ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:2: () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:492:5:
+ {
+
+ current = forceCreateModelElement(
+ grammarAccess.getPortClassConfigAccess().getPortClassConfigAction_0(),
+ current);
+
+
+ }
+
+ otherlv_1=(Token)match(input,20,FOLLOW_20_in_rulePortClassConfig1090);
+
+ newLeafNode(otherlv_1, grammarAccess.getPortClassConfigAccess().getPortKeyword_1());
+
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortClassConfig1102);
+
+ newLeafNode(otherlv_2, grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:505:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( (LA8_0==22) ) {
+ alt8=1;
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:506:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:506:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:507:3: lv_attributes_3_0= ruleAttrClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1123);
+ lv_attributes_3_0=ruleAttrClassConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPortClassConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_3_0,
+ "AttrClassConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1136);
+
+ newLeafNode(otherlv_4, grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePortClassConfig"
+
+
+ // $ANTLR start "entryRulePortInstanceConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:535:1: entryRulePortInstanceConfig returns [EObject current=null] : iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ;
+ public final EObject entryRulePortInstanceConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePortInstanceConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:536:2: (iv_rulePortInstanceConfig= rulePortInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:537:2: iv_rulePortInstanceConfig= rulePortInstanceConfig EOF
+ {
+ newCompositeNode(grammarAccess.getPortInstanceConfigRule());
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1172);
+ iv_rulePortInstanceConfig=rulePortInstanceConfig();
+
+ state._fsp--;
+
+ current =iv_rulePortInstanceConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1182);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePortInstanceConfig"
+
+
+ // $ANTLR start "rulePortInstanceConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:544:1: rulePortInstanceConfig returns [EObject current=null] : (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' ) ;
+ public final EObject rulePortInstanceConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject lv_attributes_3_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:547:28: ( (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:1: (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:1: (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:3: otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}'
+ {
+ otherlv_0=(Token)match(input,21,FOLLOW_21_in_rulePortInstanceConfig1219);
+
+ newLeafNode(otherlv_0, grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:552:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:1: (otherlv_1= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:554:3: otherlv_1= RULE_ID
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPortInstanceConfigRule());
+ }
+
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1239);
+
+ newLeafNode(otherlv_1, grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0());
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortInstanceConfig1251);
+
+ newLeafNode(otherlv_2, grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:569:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )*
+ loop9:
+ do {
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( (LA9_0==22) ) {
+ alt9=1;
+ }
+
+
+ switch (alt9) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:570:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:570:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:571:3: lv_attributes_3_0= ruleAttrInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1272);
+ lv_attributes_3_0=ruleAttrInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPortInstanceConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_3_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop9;
+ }
+ } while (true);
+
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1285);
+
+ newLeafNode(otherlv_4, grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePortInstanceConfig"
+
+
// $ANTLR start "entryRuleAttrClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:320:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:601:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ;
public final EObject entryRuleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -764,17 +1476,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:321:2: (iv_ruleAttrClassConfig= ruleAttrClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:322:2: iv_ruleAttrClassConfig= ruleAttrClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:602:2: (iv_ruleAttrClassConfig= ruleAttrClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:603:2: iv_ruleAttrClassConfig= ruleAttrClassConfig EOF
{
newCompositeNode(grammarAccess.getAttrClassConfigRule());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig648);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig1323);
iv_ruleAttrClassConfig=ruleAttrClassConfig();
state._fsp--;
current =iv_ruleAttrClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig658);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig1333);
}
@@ -792,7 +1504,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAttrClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:329:1: ruleAttrClassConfig returns [EObject current=null] : (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:610:1: ruleAttrClassConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) ;
public final EObject ruleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -815,28 +1527,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:332:28: ( (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:333:1: (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:613:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:333:1: (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:333:3: otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
{
- otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleAttrClassConfig695);
+ otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleAttrClassConfig1370);
newLeafNode(otherlv_0, grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:337:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:338:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: (otherlv_1= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:338:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:339:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:620:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrClassConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig715);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig1390);
newLeafNode(otherlv_1, grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -846,32 +1558,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:350:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )?
- int alt6=2;
- int LA6_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:631:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt10=2;
+ int LA10_0 = input.LA(1);
- if ( (LA6_0==18) ) {
- alt6=1;
+ if ( (LA10_0==23) ) {
+ alt10=1;
}
- switch (alt6) {
+ switch (alt10) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:350:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:631:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleAttrClassConfig728);
+ otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1403);
newLeafNode(otherlv_2, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:354:1: ( (lv_value_3_0= ruleLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:355:1: (lv_value_3_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:635:1: ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:636:1: (lv_value_3_0= ruleLiteralArray )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:355:1: (lv_value_3_0= ruleLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:356:3: lv_value_3_0= ruleLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:636:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:637:3: lv_value_3_0= ruleLiteralArray
{
- newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralParserRuleCall_2_1_0());
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleAttrClassConfig749);
- lv_value_3_0=ruleLiteral();
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig1424);
+ lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -883,7 +1595,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
current,
"value",
lv_value_3_0,
- "Literal");
+ "LiteralArray");
afterParserOrEnumRuleCall();
@@ -898,90 +1610,90 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:372:4: (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:653:4: (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA8_0==13) ) {
- alt8=1;
+ if ( (LA12_0==13) ) {
+ alt12=1;
}
- switch (alt8) {
+ switch (alt12) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:372:6: otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:653:6: otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}'
{
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrClassConfig764);
+ otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrClassConfig1439);
newLeafNode(otherlv_4, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:376:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:378:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:657:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:659:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:378:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:379:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:659:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:660:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:382:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:383:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:663:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:664:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:383:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
- loop7:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:664:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
+ loop11:
do {
- int alt7=3;
- int LA7_0 = input.LA(1);
+ int alt11=3;
+ int LA11_0 = input.LA(1);
- if ( LA7_0 ==19 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
- alt7=1;
+ if ( LA11_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
+ alt11=1;
}
- else if ( LA7_0 ==20 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
- alt7=2;
+ else if ( LA11_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
+ alt11=2;
}
- switch (alt7) {
+ switch (alt11) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:385:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:666:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:385:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:386:5: {...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:666:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:667:5: {...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
throw new FailedPredicateException(input, "ruleAttrClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0)");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:386:114: ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:387:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:667:114: ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:668:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:390:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:390:7: {...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:7: {...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
{
if ( !((true)) ) {
throw new FailedPredicateException(input, "ruleAttrClassConfig", "true");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:390:16: (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:390:18: otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:16: (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:18: otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) )
{
- otherlv_6=(Token)match(input,19,FOLLOW_19_in_ruleAttrClassConfig822);
+ otherlv_6=(Token)match(input,24,FOLLOW_24_in_ruleAttrClassConfig1497);
newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
- otherlv_7=(Token)match(input,18,FOLLOW_18_in_ruleAttrClassConfig834);
+ otherlv_7=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1509);
newLeafNode(otherlv_7, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:398:1: ( (lv_min_8_0= ruleNumberLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:399:1: (lv_min_8_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:679:1: ( (lv_min_8_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:1: (lv_min_8_0= ruleNumberLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:399:1: (lv_min_8_0= ruleNumberLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:400:3: lv_min_8_0= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:1: (lv_min_8_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:681:3: lv_min_8_0= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig855);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1530);
lv_min_8_0=ruleNumberLiteral();
state._fsp--;
@@ -1022,47 +1734,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:423:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:704:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:423:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:424:5: {...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:704:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:705:5: {...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
throw new FailedPredicateException(input, "ruleAttrClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1)");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:424:114: ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:705:114: ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:706:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:428:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:428:7: {...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:7: {...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
{
if ( !((true)) ) {
throw new FailedPredicateException(input, "ruleAttrClassConfig", "true");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:428:16: (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:428:18: otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:16: (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:18: otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) )
{
- otherlv_9=(Token)match(input,20,FOLLOW_20_in_ruleAttrClassConfig923);
+ otherlv_9=(Token)match(input,25,FOLLOW_25_in_ruleAttrClassConfig1598);
newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
- otherlv_10=(Token)match(input,18,FOLLOW_18_in_ruleAttrClassConfig935);
+ otherlv_10=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1610);
newLeafNode(otherlv_10, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:436:1: ( (lv_max_11_0= ruleNumberLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:437:1: (lv_max_11_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:717:1: ( (lv_max_11_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:718:1: (lv_max_11_0= ruleNumberLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:437:1: (lv_max_11_0= ruleNumberLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:438:3: lv_max_11_0= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:718:1: (lv_max_11_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:719:3: lv_max_11_0= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig956);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1631);
lv_max_11_0=ruleNumberLiteral();
state._fsp--;
@@ -1104,7 +1816,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop7;
+ break loop11;
}
} while (true);
@@ -1120,7 +1832,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_12=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig1009);
+ otherlv_12=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig1684);
newLeafNode(otherlv_12, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2());
@@ -1151,7 +1863,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAttrInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:480:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:761:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ;
public final EObject entryRuleAttrInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1159,17 +1871,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:481:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:482:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:762:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:763:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF
{
newCompositeNode(grammarAccess.getAttrInstanceConfigRule());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1047);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1722);
iv_ruleAttrInstanceConfig=ruleAttrInstanceConfig();
state._fsp--;
current =iv_ruleAttrInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig1057);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig1732);
}
@@ -1187,7 +1899,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAttrInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:489:1: ruleAttrInstanceConfig returns [EObject current=null] : (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:770:1: ruleAttrInstanceConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? ) ;
public final EObject ruleAttrInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1200,28 +1912,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:492:28: ( (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:493:1: (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:773:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:493:1: (otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:493:3: otherlv_0= 'attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
{
- otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleAttrInstanceConfig1094);
+ otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleAttrInstanceConfig1769);
newLeafNode(otherlv_0, grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:497:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:498:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:778:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:779:1: (otherlv_1= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:498:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:499:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:779:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:780:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1114);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1789);
newLeafNode(otherlv_1, grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -1231,32 +1943,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:510:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) ) )?
- int alt9=2;
- int LA9_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:791:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA9_0==18) ) {
- alt9=1;
+ if ( (LA13_0==23) ) {
+ alt13=1;
}
- switch (alt9) {
+ switch (alt13) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:510:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:791:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,18,FOLLOW_18_in_ruleAttrInstanceConfig1127);
+ otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrInstanceConfig1802);
newLeafNode(otherlv_2, grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:514:1: ( (lv_value_3_0= ruleLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:515:1: (lv_value_3_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:795:1: ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:796:1: (lv_value_3_0= ruleLiteralArray )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:515:1: (lv_value_3_0= ruleLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:516:3: lv_value_3_0= ruleLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:796:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:797:3: lv_value_3_0= ruleLiteralArray
{
- newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralParserRuleCall_2_1_0());
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleAttrInstanceConfig1148);
- lv_value_3_0=ruleLiteral();
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig1823);
+ lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -1268,7 +1980,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
current,
"value",
lv_value_3_0,
- "Literal");
+ "LiteralArray");
afterParserOrEnumRuleCall();
@@ -1304,7 +2016,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRefPath"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:540:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:821:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ;
public final EObject entryRuleRefPath() throws RecognitionException {
EObject current = null;
@@ -1312,17 +2024,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:541:2: (iv_ruleRefPath= ruleRefPath EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:542:2: iv_ruleRefPath= ruleRefPath EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:822:2: (iv_ruleRefPath= ruleRefPath EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:823:2: iv_ruleRefPath= ruleRefPath EOF
{
newCompositeNode(grammarAccess.getRefPathRule());
- pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath1186);
+ pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath1861);
iv_ruleRefPath=ruleRefPath();
state._fsp--;
current =iv_ruleRefPath;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath1196);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath1871);
}
@@ -1340,7 +2052,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRefPath"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:549:1: ruleRefPath returns [EObject current=null] : ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:830:1: ruleRefPath returns [EObject current=null] : ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) ;
public final EObject ruleRefPath() throws RecognitionException {
EObject current = null;
@@ -1351,19 +2063,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:552:28: ( ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:833:28: ( ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:2: ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:2: ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:2: ( (lv_refs_0_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:554:1: (lv_refs_0_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:2: ( (lv_refs_0_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:835:1: (lv_refs_0_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:554:1: (lv_refs_0_0= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:555:3: lv_refs_0_0= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:835:1: (lv_refs_0_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:836:3: lv_refs_0_0= RULE_ID
{
- lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1238);
+ lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1913);
newLeafNode(lv_refs_0_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0());
@@ -1383,32 +2095,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:571:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
- loop10:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:852:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
+ loop14:
do {
- int alt10=2;
- int LA10_0 = input.LA(1);
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( (LA10_0==16) ) {
- alt10=1;
+ if ( (LA14_0==16) ) {
+ alt14=1;
}
- switch (alt10) {
+ switch (alt14) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:571:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:852:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) )
{
- otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleRefPath1256);
+ otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleRefPath1931);
newLeafNode(otherlv_1, grammarAccess.getRefPathAccess().getSolidusKeyword_1_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:575:1: ( (lv_refs_2_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:576:1: (lv_refs_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:856:1: ( (lv_refs_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:857:1: (lv_refs_2_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:576:1: (lv_refs_2_0= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:577:3: lv_refs_2_0= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:857:1: (lv_refs_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:858:3: lv_refs_2_0= RULE_ID
{
- lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1273);
+ lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1948);
newLeafNode(lv_refs_2_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0());
@@ -1433,7 +2145,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop10;
+ break loop14;
}
} while (true);
@@ -1458,7 +2170,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleImport"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:601:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:882:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -1466,17 +2178,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:602:2: (iv_ruleImport= ruleImport EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:603:2: iv_ruleImport= ruleImport EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:883:2: (iv_ruleImport= ruleImport EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:884:2: iv_ruleImport= ruleImport EOF
{
newCompositeNode(grammarAccess.getImportRule());
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport1316);
+ pushFollow(FOLLOW_ruleImport_in_entryRuleImport1991);
iv_ruleImport=ruleImport();
state._fsp--;
current =iv_ruleImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport1326);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImport2001);
}
@@ -1494,7 +2206,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImport"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:610:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
@@ -1508,49 +2220,49 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:613:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:894:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
{
- otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleImport1363);
+ otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleImport2038);
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
+ int alt15=2;
+ int LA15_0 = input.LA(1);
- if ( (LA11_0==RULE_ID) ) {
- alt11=1;
+ if ( (LA15_0==RULE_ID) ) {
+ alt15=1;
}
- else if ( (LA11_0==23) ) {
- alt11=2;
+ else if ( (LA15_0==28) ) {
+ alt15=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 11, 0, input);
+ new NoViableAltException("", 15, 0, input);
throw nvae;
}
- switch (alt11) {
+ switch (alt15) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: (lv_importedNamespace_1_0= ruleImportedFQN )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: (lv_importedNamespace_1_0= ruleImportedFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:620:3: lv_importedNamespace_1_0= ruleImportedFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:901:3: lv_importedNamespace_1_0= ruleImportedFQN
{
newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
- pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport1386);
+ pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2061);
lv_importedNamespace_1_0=ruleImportedFQN();
state._fsp--;
@@ -1572,7 +2284,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleImport1398);
+ otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleImport2073);
newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
@@ -1583,9 +2295,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:641:7: otherlv_3= 'model'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:922:7: otherlv_3= 'model'
{
- otherlv_3=(Token)match(input,23,FOLLOW_23_in_ruleImport1417);
+ otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleImport2092);
newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
@@ -1595,13 +2307,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:645:2: ( (lv_importURI_4_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:646:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:926:2: ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:927:1: (lv_importURI_4_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:646:1: (lv_importURI_4_0= RULE_STRING )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:647:3: lv_importURI_4_0= RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:927:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:928:3: lv_importURI_4_0= RULE_STRING
{
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport1435);
+ lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2110);
newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
@@ -1642,7 +2354,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleImportedFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:952:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
public final String entryRuleImportedFQN() throws RecognitionException {
String current = null;
@@ -1650,17 +2362,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:672:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:673:2: iv_ruleImportedFQN= ruleImportedFQN EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:953:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:954:2: iv_ruleImportedFQN= ruleImportedFQN EOF
{
newCompositeNode(grammarAccess.getImportedFQNRule());
- pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1477);
+ pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2152);
iv_ruleImportedFQN=ruleImportedFQN();
state._fsp--;
current =iv_ruleImportedFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN1488);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2163);
}
@@ -1678,7 +2390,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImportedFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:961:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -1689,16 +2401,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:683:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:684:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:964:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:965:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:684:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:685:5: this_FQN_0= ruleFQN (kw= '.*' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:965:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:966:5: this_FQN_0= ruleFQN (kw= '.*' )?
{
newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN1535);
+ pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2210);
this_FQN_0=ruleFQN();
state._fsp--;
@@ -1709,18 +2421,18 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
afterParserOrEnumRuleCall();
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:695:1: (kw= '.*' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:976:1: (kw= '.*' )?
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA12_0==24) ) {
- alt12=1;
+ if ( (LA16_0==29) ) {
+ alt16=1;
}
- switch (alt12) {
+ switch (alt16) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:696:2: kw= '.*'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:977:2: kw= '.*'
{
- kw=(Token)match(input,24,FOLLOW_24_in_ruleImportedFQN1554);
+ kw=(Token)match(input,29,FOLLOW_29_in_ruleImportedFQN2229);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -1752,7 +2464,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
public final String entryRuleFQN() throws RecognitionException {
String current = null;
@@ -1760,17 +2472,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:710:2: (iv_ruleFQN= ruleFQN EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:711:2: iv_ruleFQN= ruleFQN EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:991:2: (iv_ruleFQN= ruleFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:992:2: iv_ruleFQN= ruleFQN EOF
{
newCompositeNode(grammarAccess.getFQNRule());
- pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN1597);
+ pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2272);
iv_ruleFQN=ruleFQN();
state._fsp--;
current =iv_ruleFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleFQN1608);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2283);
}
@@ -1788,7 +2500,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:718:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:999: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();
@@ -1799,40 +2511,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:721:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:722:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1002:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:722:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:722:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN1648);
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2323);
current.merge(this_ID_0);
newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:729:1: (kw= '.' this_ID_2= RULE_ID )*
- loop13:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1010:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop17:
do {
- int alt13=2;
- int LA13_0 = input.LA(1);
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA13_0==25) ) {
- alt13=1;
+ if ( (LA17_0==30) ) {
+ alt17=1;
}
- switch (alt13) {
+ switch (alt17) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:730:2: kw= '.' this_ID_2= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1011:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,25,FOLLOW_25_in_ruleFQN1667);
+ kw=(Token)match(input,30,FOLLOW_30_in_ruleFQN2342);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN1682);
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2357);
current.merge(this_ID_2);
@@ -1844,7 +2556,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop13;
+ break loop17;
}
} while (true);
@@ -1868,8 +2580,174 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleFQN"
+ // $ANTLR start "entryRuleLiteralArray"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1031:1: entryRuleLiteralArray returns [EObject current=null] : iv_ruleLiteralArray= ruleLiteralArray EOF ;
+ public final EObject entryRuleLiteralArray() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleLiteralArray = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1032:2: (iv_ruleLiteralArray= ruleLiteralArray EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1033:2: iv_ruleLiteralArray= ruleLiteralArray EOF
+ {
+ newCompositeNode(grammarAccess.getLiteralArrayRule());
+ pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray2404);
+ iv_ruleLiteralArray=ruleLiteralArray();
+
+ state._fsp--;
+
+ current =iv_ruleLiteralArray;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray2414);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleLiteralArray"
+
+
+ // $ANTLR start "ruleLiteralArray"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1040:1: ruleLiteralArray returns [EObject current=null] : ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* ) ;
+ public final EObject ruleLiteralArray() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_literals_0_0 = null;
+
+ EObject lv_literals_2_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1043:28: ( ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:1: ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:1: ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:2: ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:2: ( (lv_literals_0_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1045:1: (lv_literals_0_0= ruleLiteral )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1045:1: (lv_literals_0_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1046:3: lv_literals_0_0= ruleLiteral
+ {
+
+ newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0());
+
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2460);
+ lv_literals_0_0=ruleLiteral();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLiteralArrayRule());
+ }
+ add(
+ current,
+ "literals",
+ lv_literals_0_0,
+ "Literal");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1062:2: (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
+ loop18:
+ do {
+ int alt18=2;
+ int LA18_0 = input.LA(1);
+
+ if ( (LA18_0==31) ) {
+ alt18=1;
+ }
+
+
+ switch (alt18) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1062:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) )
+ {
+ otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleLiteralArray2473);
+
+ newLeafNode(otherlv_1, grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1066:1: ( (lv_literals_2_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1067:1: (lv_literals_2_0= ruleLiteral )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1067:1: (lv_literals_2_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1068:3: lv_literals_2_0= ruleLiteral
+ {
+
+ newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0());
+
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2494);
+ lv_literals_2_0=ruleLiteral();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLiteralArrayRule());
+ }
+ add(
+ current,
+ "literals",
+ lv_literals_2_0,
+ "Literal");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLiteralArray"
+
+
// $ANTLR start "entryRuleLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:750:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -1877,17 +2755,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:751:2: (iv_ruleLiteral= ruleLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:752:2: iv_ruleLiteral= ruleLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1093:2: (iv_ruleLiteral= ruleLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1094:2: iv_ruleLiteral= ruleLiteral EOF
{
newCompositeNode(grammarAccess.getLiteralRule());
- pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1729);
+ pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2532);
iv_ruleLiteral=ruleLiteral();
state._fsp--;
current =iv_ruleLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1739);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2542);
}
@@ -1905,7 +2783,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:759:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1101: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;
@@ -1919,47 +2797,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:762:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:763:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:763:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
- int alt14=3;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ int alt19=3;
switch ( input.LA(1) ) {
- case 26:
- case 27:
+ case 32:
+ case 33:
{
- alt14=1;
+ alt19=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 25:
- case 28:
- case 29:
+ case 30:
+ case 34:
+ case 35:
{
- alt14=2;
+ alt19=2;
}
break;
case RULE_STRING:
{
- alt14=3;
+ alt19=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
+ new NoViableAltException("", 19, 0, input);
throw nvae;
}
- switch (alt14) {
+ switch (alt19) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:764:5: this_BooleanLiteral_0= ruleBooleanLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1106:5: this_BooleanLiteral_0= ruleBooleanLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral1786);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral2589);
this_BooleanLiteral_0=ruleBooleanLiteral();
state._fsp--;
@@ -1972,12 +2850,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:5: this_NumberLiteral_1= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1116:5: this_NumberLiteral_1= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral1813);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral2616);
this_NumberLiteral_1=ruleNumberLiteral();
state._fsp--;
@@ -1990,12 +2868,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:784:5: this_StringLiteral_2= ruleStringLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1126:5: this_StringLiteral_2= ruleStringLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
- pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral1840);
+ pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral2643);
this_StringLiteral_2=ruleStringLiteral();
state._fsp--;
@@ -2028,7 +2906,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:800:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1142:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
public final EObject entryRuleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2036,17 +2914,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:801:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:802:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1143:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1144:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
{
newCompositeNode(grammarAccess.getBooleanLiteralRule());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1875);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2678);
iv_ruleBooleanLiteral=ruleBooleanLiteral();
state._fsp--;
current =iv_ruleBooleanLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral1885);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral2688);
}
@@ -2064,7 +2942,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:809:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2074,14 +2952,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:812:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:813:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1154:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:813:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:813:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:813:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:814:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1156:5:
{
current = forceCreateModelElement(
@@ -2091,27 +2969,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:819:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1161:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ int alt20=2;
+ int LA20_0 = input.LA(1);
- if ( (LA15_0==26) ) {
- alt15=1;
+ if ( (LA20_0==32) ) {
+ alt20=1;
}
- else if ( (LA15_0==27) ) {
- alt15=2;
+ else if ( (LA20_0==33) ) {
+ alt20=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ new NoViableAltException("", 20, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt20) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:819:4: otherlv_1= 'false'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1161:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleBooleanLiteral1932);
+ otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleBooleanLiteral2735);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -2119,15 +2997,15 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:824:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1166:6: ( (lv_isTrue_2_0= 'true' ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:824:6: ( (lv_isTrue_2_0= 'true' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:825:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1166:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1167:1: (lv_isTrue_2_0= 'true' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:825:1: (lv_isTrue_2_0= 'true' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:826:3: lv_isTrue_2_0= 'true'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1167:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,27,FOLLOW_27_in_ruleBooleanLiteral1956);
+ lv_isTrue_2_0=(Token)match(input,33,FOLLOW_33_in_ruleBooleanLiteral2759);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -2170,7 +3048,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNumberLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:847:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1189:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
public final EObject entryRuleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -2178,17 +3056,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:848:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:849:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1190:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1191:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
{
newCompositeNode(grammarAccess.getNumberLiteralRule());
- pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2006);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2809);
iv_ruleNumberLiteral=ruleNumberLiteral();
state._fsp--;
current =iv_ruleNumberLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2016);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2819);
}
@@ -2206,7 +3084,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNumberLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:856:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1198:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
public final EObject ruleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -2218,69 +3096,69 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:859:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:860:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1201:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1202:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:860:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
- int alt16=2;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1202:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ int alt21=2;
switch ( input.LA(1) ) {
- case 28:
+ case 34:
{
- int LA16_1 = input.LA(2);
+ int LA21_1 = input.LA(2);
- if ( (LA16_1==RULE_INT) ) {
- int LA16_3 = input.LA(3);
+ if ( (LA21_1==RULE_INT) ) {
+ int LA21_3 = input.LA(3);
- if ( (LA16_3==25) ) {
- alt16=2;
+ if ( (LA21_3==30) ) {
+ alt21=2;
}
- else if ( (LA16_3==EOF||(LA16_3>=13 && LA16_3<=14)||LA16_3==17||(LA16_3>=19 && LA16_3<=20)) ) {
- alt16=1;
+ else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
+ alt21=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
}
- else if ( (LA16_1==25) ) {
- alt16=2;
+ else if ( (LA21_1==30) ) {
+ alt21=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 1, input);
+ new NoViableAltException("", 21, 1, input);
throw nvae;
}
}
break;
- case 29:
+ case 35:
{
- int LA16_2 = input.LA(2);
+ int LA21_2 = input.LA(2);
- if ( (LA16_2==RULE_INT) ) {
- int LA16_3 = input.LA(3);
+ if ( (LA21_2==RULE_INT) ) {
+ int LA21_3 = input.LA(3);
- if ( (LA16_3==25) ) {
- alt16=2;
+ if ( (LA21_3==30) ) {
+ alt21=2;
}
- else if ( (LA16_3==EOF||(LA16_3>=13 && LA16_3<=14)||LA16_3==17||(LA16_3>=19 && LA16_3<=20)) ) {
- alt16=1;
+ else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
+ alt21=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
}
- else if ( (LA16_2==25) ) {
- alt16=2;
+ else if ( (LA21_2==30) ) {
+ alt21=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 2, input);
+ new NoViableAltException("", 21, 2, input);
throw nvae;
}
@@ -2288,17 +3166,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA16_3 = input.LA(2);
+ int LA21_3 = input.LA(2);
- if ( (LA16_3==25) ) {
- alt16=2;
+ if ( (LA21_3==30) ) {
+ alt21=2;
}
- else if ( (LA16_3==EOF||(LA16_3>=13 && LA16_3<=14)||LA16_3==17||(LA16_3>=19 && LA16_3<=20)) ) {
- alt16=1;
+ else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
+ alt21=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 16, 3, input);
+ new NoViableAltException("", 21, 3, input);
throw nvae;
}
@@ -2306,29 +3184,29 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_HEX:
{
- alt16=1;
+ alt21=1;
}
break;
- case 25:
+ case 30:
{
- alt16=2;
+ alt21=2;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
+ new NoViableAltException("", 21, 0, input);
throw nvae;
}
- switch (alt16) {
+ switch (alt21) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:861:5: this_IntLiteral_0= ruleIntLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1203:5: this_IntLiteral_0= ruleIntLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2063);
+ pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2866);
this_IntLiteral_0=ruleIntLiteral();
state._fsp--;
@@ -2341,12 +3219,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:871:5: this_RealLiteral_1= ruleRealLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1213:5: this_RealLiteral_1= ruleRealLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2090);
+ pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2893);
this_RealLiteral_1=ruleRealLiteral();
state._fsp--;
@@ -2379,7 +3257,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:887:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1229:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
public final EObject entryRuleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -2387,17 +3265,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:888:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:889:2: iv_ruleRealLiteral= ruleRealLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1230:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1231:2: iv_ruleRealLiteral= ruleRealLiteral EOF
{
newCompositeNode(grammarAccess.getRealLiteralRule());
- pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2125);
+ pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2928);
iv_ruleRealLiteral=ruleRealLiteral();
state._fsp--;
current =iv_ruleRealLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2135);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2938);
}
@@ -2415,7 +3293,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:896:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1238:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
public final EObject ruleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -2425,14 +3303,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1241:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:1: ( () ( (lv_value_1_0= ruleReal ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: ( () ( (lv_value_1_0= ruleReal ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:2: () ( (lv_value_1_0= ruleReal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:2: () ( (lv_value_1_0= ruleReal ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:901:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:5:
{
current = forceCreateModelElement(
@@ -2442,16 +3320,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:906:2: ( (lv_value_1_0= ruleReal ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:907:1: (lv_value_1_0= ruleReal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1248:2: ( (lv_value_1_0= ruleReal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1249:1: (lv_value_1_0= ruleReal )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:907:1: (lv_value_1_0= ruleReal )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:908:3: lv_value_1_0= ruleReal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1249:1: (lv_value_1_0= ruleReal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1250:3: lv_value_1_0= ruleReal
{
newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2190);
+ pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2993);
lv_value_1_0=ruleReal();
state._fsp--;
@@ -2494,7 +3372,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:932:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1274:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
public final EObject entryRuleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -2502,17 +3380,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:933:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:934:2: iv_ruleIntLiteral= ruleIntLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1275:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1276:2: iv_ruleIntLiteral= ruleIntLiteral EOF
{
newCompositeNode(grammarAccess.getIntLiteralRule());
- pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2226);
+ pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3029);
iv_ruleIntLiteral=ruleIntLiteral();
state._fsp--;
current =iv_ruleIntLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral2236);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral3039);
}
@@ -2530,7 +3408,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:941:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1283:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
public final EObject ruleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -2540,14 +3418,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:944:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:945:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1286:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:945:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:945:2: () ( (lv_value_1_0= ruleInteger ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:2: () ( (lv_value_1_0= ruleInteger ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:945:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:946:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1288:5:
{
current = forceCreateModelElement(
@@ -2557,16 +3435,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:951:2: ( (lv_value_1_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:952:1: (lv_value_1_0= ruleInteger )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1293:2: ( (lv_value_1_0= ruleInteger ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1294:1: (lv_value_1_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:952:1: (lv_value_1_0= ruleInteger )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:953:3: lv_value_1_0= ruleInteger
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1294:1: (lv_value_1_0= ruleInteger )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1295:3: lv_value_1_0= ruleInteger
{
newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral2291);
+ pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral3094);
lv_value_1_0=ruleInteger();
state._fsp--;
@@ -2609,7 +3487,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:977:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1319:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -2617,17 +3495,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:978:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:979:2: iv_ruleStringLiteral= ruleStringLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1320:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1321:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
newCompositeNode(grammarAccess.getStringLiteralRule());
- pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2327);
+ pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3130);
iv_ruleStringLiteral=ruleStringLiteral();
state._fsp--;
current =iv_ruleStringLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral2337);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral3140);
}
@@ -2645,7 +3523,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:986:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1328:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -2654,14 +3532,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:989:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1331:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:2: () ( (lv_value_1_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:2: () ( (lv_value_1_0= RULE_STRING ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:991:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1333:5:
{
current = forceCreateModelElement(
@@ -2671,13 +3549,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:996:2: ( (lv_value_1_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:997:1: (lv_value_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1338:2: ( (lv_value_1_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (lv_value_1_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:997:1: (lv_value_1_0= RULE_STRING )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:998:3: lv_value_1_0= RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (lv_value_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1340:3: lv_value_1_0= RULE_STRING
{
- lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral2388);
+ lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral3191);
newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
@@ -2718,7 +3596,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1022:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
public final String entryRuleInteger() throws RecognitionException {
String current = null;
@@ -2726,17 +3604,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1023:2: (iv_ruleInteger= ruleInteger EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1024:2: iv_ruleInteger= ruleInteger EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1365:2: (iv_ruleInteger= ruleInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1366:2: iv_ruleInteger= ruleInteger EOF
{
newCompositeNode(grammarAccess.getIntegerRule());
- pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger2430);
+ pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger3233);
iv_ruleInteger=ruleInteger();
state._fsp--;
current =iv_ruleInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleInteger2441);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleInteger3244);
}
@@ -2754,7 +3632,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1031:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1373: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();
@@ -2766,33 +3644,33 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1034:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1035:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1376:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1377:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1035:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
- int alt17=2;
- int LA17_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1377:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA17_0==RULE_INT||(LA17_0>=28 && LA17_0<=29)) ) {
- alt17=1;
+ if ( (LA22_0==RULE_INT||(LA22_0>=34 && LA22_0<=35)) ) {
+ alt22=1;
}
- else if ( (LA17_0==RULE_HEX) ) {
- alt17=2;
+ else if ( (LA22_0==RULE_HEX) ) {
+ alt22=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 17, 0, input);
+ new NoViableAltException("", 22, 0, input);
throw nvae;
}
- switch (alt17) {
+ switch (alt22) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1036:5: this_SignedInteger_0= ruleSignedInteger
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1378:5: this_SignedInteger_0= ruleSignedInteger
{
newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0());
- pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger2488);
+ pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger3291);
this_SignedInteger_0=ruleSignedInteger();
state._fsp--;
@@ -2807,12 +3685,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1048:5: this_Hexadecimal_1= ruleHexadecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1390:5: this_Hexadecimal_1= ruleHexadecimal
{
newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger2521);
+ pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger3324);
this_Hexadecimal_1=ruleHexadecimal();
state._fsp--;
@@ -2847,7 +3725,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleSignedInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1066:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1408:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ;
public final String entryRuleSignedInteger() throws RecognitionException {
String current = null;
@@ -2858,17 +3736,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1070:2: (iv_ruleSignedInteger= ruleSignedInteger EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1071:2: iv_ruleSignedInteger= ruleSignedInteger EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1412:2: (iv_ruleSignedInteger= ruleSignedInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1413:2: iv_ruleSignedInteger= ruleSignedInteger EOF
{
newCompositeNode(grammarAccess.getSignedIntegerRule());
- pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2573);
+ pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger3376);
iv_ruleSignedInteger=ruleSignedInteger();
state._fsp--;
current =iv_ruleSignedInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger2584);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger3387);
}
@@ -2889,7 +3767,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleSignedInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1081:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1423:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2900,27 +3778,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1085:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1427:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:2: (kw= '+' | kw= '-' )?
- int alt18=3;
- int LA18_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:2: (kw= '+' | kw= '-' )?
+ int alt23=3;
+ int LA23_0 = input.LA(1);
- if ( (LA18_0==28) ) {
- alt18=1;
+ if ( (LA23_0==34) ) {
+ alt23=1;
}
- else if ( (LA18_0==29) ) {
- alt18=2;
+ else if ( (LA23_0==35) ) {
+ alt23=2;
}
- switch (alt18) {
+ switch (alt23) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1429:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleSignedInteger2627);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger3430);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0());
@@ -2929,9 +3807,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1094:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1436:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleSignedInteger2646);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger3449);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1());
@@ -2942,7 +3820,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger2663);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger3466);
current.merge(this_INT_2);
@@ -2973,7 +3851,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleHexadecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1117:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1459:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ;
public final String entryRuleHexadecimal() throws RecognitionException {
String current = null;
@@ -2984,17 +3862,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1121:2: (iv_ruleHexadecimal= ruleHexadecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1122:2: iv_ruleHexadecimal= ruleHexadecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1463:2: (iv_ruleHexadecimal= ruleHexadecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1464:2: iv_ruleHexadecimal= ruleHexadecimal EOF
{
newCompositeNode(grammarAccess.getHexadecimalRule());
- pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2719);
+ pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal3522);
iv_ruleHexadecimal=ruleHexadecimal();
state._fsp--;
current =iv_ruleHexadecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal2730);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal3533);
}
@@ -3015,7 +3893,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleHexadecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1132:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1474:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ;
public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3025,10 +3903,10 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1136:28: (this_HEX_0= RULE_HEX )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1137:5: this_HEX_0= RULE_HEX
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1478:28: (this_HEX_0= RULE_HEX )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1479:5: this_HEX_0= RULE_HEX
{
- this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal2773);
+ this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal3576);
current.merge(this_HEX_0);
@@ -3056,7 +3934,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -3064,17 +3942,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1156:2: (iv_ruleReal= ruleReal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1157:2: iv_ruleReal= ruleReal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1498:2: (iv_ruleReal= ruleReal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:2: iv_ruleReal= ruleReal EOF
{
newCompositeNode(grammarAccess.getRealRule());
- pushFollow(FOLLOW_ruleReal_in_entryRuleReal2822);
+ pushFollow(FOLLOW_ruleReal_in_entryRuleReal3625);
iv_ruleReal=ruleReal();
state._fsp--;
current =iv_ruleReal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleReal2833);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleReal3636);
}
@@ -3092,7 +3970,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1164: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.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1506: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();
@@ -3108,20 +3986,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1167:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1509:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
- int alt19=4;
- alt19 = dfa19.predict(input);
- switch (alt19) {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
+ int alt24=4;
+ alt24 = dfa24.predict(input);
+ switch (alt24) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1169:5: this_Decimal_0= ruleDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1511:5: this_Decimal_0= ruleDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
- pushFollow(FOLLOW_ruleDecimal_in_ruleReal2880);
+ pushFollow(FOLLOW_ruleDecimal_in_ruleReal3683);
this_Decimal_0=ruleDecimal();
state._fsp--;
@@ -3136,12 +4014,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1181:5: this_DotDecimal_1= ruleDotDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1523:5: this_DotDecimal_1= ruleDotDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal2913);
+ pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal3716);
this_DotDecimal_1=ruleDotDecimal();
state._fsp--;
@@ -3156,12 +4034,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1193:5: this_DecimalDot_2= ruleDecimalDot
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1535:5: this_DecimalDot_2= ruleDecimalDot
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2());
- pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal2946);
+ pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal3749);
this_DecimalDot_2=ruleDecimalDot();
state._fsp--;
@@ -3176,12 +4054,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1205:5: this_DecimalExp_3= ruleDecimalExp
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1547:5: this_DecimalExp_3= ruleDecimalExp
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3());
- pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2979);
+ pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal3782);
this_DecimalExp_3=ruleDecimalExp();
state._fsp--;
@@ -3216,7 +4094,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1223:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1565:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
public final String entryRuleDecimal() throws RecognitionException {
String current = null;
@@ -3227,17 +4105,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1227:2: (iv_ruleDecimal= ruleDecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1228:2: iv_ruleDecimal= ruleDecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1569:2: (iv_ruleDecimal= ruleDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1570:2: iv_ruleDecimal= ruleDecimal EOF
{
newCompositeNode(grammarAccess.getDecimalRule());
- pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal3031);
+ pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal3834);
iv_ruleDecimal=ruleDecimal();
state._fsp--;
current =iv_ruleDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal3042);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal3845);
}
@@ -3258,7 +4136,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1238:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1580: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();
@@ -3270,27 +4148,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1584:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:2: (kw= '+' | kw= '-' )?
- int alt20=3;
- int LA20_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:2: (kw= '+' | kw= '-' )?
+ int alt25=3;
+ int LA25_0 = input.LA(1);
- if ( (LA20_0==28) ) {
- alt20=1;
+ if ( (LA25_0==34) ) {
+ alt25=1;
}
- else if ( (LA20_0==29) ) {
- alt20=2;
+ else if ( (LA25_0==35) ) {
+ alt25=2;
}
- switch (alt20) {
+ switch (alt25) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1244:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1586:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimal3085);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal3888);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -3299,9 +4177,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1251:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1593:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimal3104);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal3907);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -3312,19 +4190,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3121);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3924);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,25,FOLLOW_25_in_ruleDecimal3139);
+ kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal3942);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3154);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3957);
current.merge(this_INT_4);
@@ -3355,7 +4233,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDotDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1629:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ;
public final String entryRuleDotDecimal() throws RecognitionException {
String current = null;
@@ -3366,17 +4244,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1291:2: (iv_ruleDotDecimal= ruleDotDecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1292:2: iv_ruleDotDecimal= ruleDotDecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1633:2: (iv_ruleDotDecimal= ruleDotDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1634:2: iv_ruleDotDecimal= ruleDotDecimal EOF
{
newCompositeNode(grammarAccess.getDotDecimalRule());
- pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3210);
+ pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4013);
iv_ruleDotDecimal=ruleDotDecimal();
state._fsp--;
current =iv_ruleDotDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal3221);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal4024);
}
@@ -3397,7 +4275,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDotDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1302:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644: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();
@@ -3408,27 +4286,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1306:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1307:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1307:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1307:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1307:2: (kw= '+' | kw= '-' )?
- int alt21=3;
- int LA21_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:2: (kw= '+' | kw= '-' )?
+ int alt26=3;
+ int LA26_0 = input.LA(1);
- if ( (LA21_0==28) ) {
- alt21=1;
+ if ( (LA26_0==34) ) {
+ alt26=1;
}
- else if ( (LA21_0==29) ) {
- alt21=2;
+ else if ( (LA26_0==35) ) {
+ alt26=2;
}
- switch (alt21) {
+ switch (alt26) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1308:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1650:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleDotDecimal3264);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal4067);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0());
@@ -3437,9 +4315,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1315:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1657:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleDotDecimal3283);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal4086);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -3450,12 +4328,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- kw=(Token)match(input,25,FOLLOW_25_in_ruleDotDecimal3298);
+ kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal4101);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1());
- this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal3313);
+ this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal4116);
current.merge(this_INT_3);
@@ -3486,7 +4364,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalDot"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1344:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1686:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ;
public final String entryRuleDecimalDot() throws RecognitionException {
String current = null;
@@ -3497,17 +4375,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1348:2: (iv_ruleDecimalDot= ruleDecimalDot EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1349:2: iv_ruleDecimalDot= ruleDecimalDot EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1690:2: (iv_ruleDecimalDot= ruleDecimalDot EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1691:2: iv_ruleDecimalDot= ruleDecimalDot EOF
{
newCompositeNode(grammarAccess.getDecimalDotRule());
- pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3369);
+ pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4172);
iv_ruleDecimalDot=ruleDecimalDot();
state._fsp--;
current =iv_ruleDecimalDot.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot3380);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot4183);
}
@@ -3528,7 +4406,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimalDot"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1359:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1701: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();
@@ -3539,27 +4417,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1363:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1705:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:2: (kw= '+' | kw= '-' )?
- int alt22=3;
- int LA22_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: (kw= '+' | kw= '-' )?
+ int alt27=3;
+ int LA27_0 = input.LA(1);
- if ( (LA22_0==28) ) {
- alt22=1;
+ if ( (LA27_0==34) ) {
+ alt27=1;
}
- else if ( (LA22_0==29) ) {
- alt22=2;
+ else if ( (LA27_0==35) ) {
+ alt27=2;
}
- switch (alt22) {
+ switch (alt27) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1365:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1707:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimalDot3423);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot4226);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0());
@@ -3568,9 +4446,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1372:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1714:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalDot3442);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot4245);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1());
@@ -3581,14 +4459,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot3459);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot4262);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,25,FOLLOW_25_in_ruleDecimalDot3477);
+ kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot4280);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2());
@@ -3617,7 +4495,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalExp"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1401:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1743:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
public final String entryRuleDecimalExp() throws RecognitionException {
String current = null;
@@ -3628,17 +4506,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1405:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1406:2: iv_ruleDecimalExp= ruleDecimalExp EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1747:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1748:2: iv_ruleDecimalExp= ruleDecimalExp EOF
{
newCompositeNode(grammarAccess.getDecimalExpRule());
- pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3528);
+ pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4331);
iv_ruleDecimalExp=ruleDecimalExp();
state._fsp--;
current =iv_ruleDecimalExp.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp3539);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp4342);
}
@@ -3659,7 +4537,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimalExp"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1416:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1758:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3673,27 +4551,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1420:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1421:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1762:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1421:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1421:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1421:2: (kw= '+' | kw= '-' )?
- int alt23=3;
- int LA23_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:2: (kw= '+' | kw= '-' )?
+ int alt28=3;
+ int LA28_0 = input.LA(1);
- if ( (LA23_0==28) ) {
- alt23=1;
+ if ( (LA28_0==34) ) {
+ alt28=1;
}
- else if ( (LA23_0==29) ) {
- alt23=2;
+ else if ( (LA28_0==35) ) {
+ alt28=2;
}
- switch (alt23) {
+ switch (alt28) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1422:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1764:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimalExp3582);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4385);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -3702,9 +4580,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1429:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1771:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalExp3601);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4404);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -3715,47 +4593,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3618);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4421);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,25,FOLLOW_25_in_ruleDecimalExp3636);
+ kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp4439);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3651);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4454);
current.merge(this_INT_4);
newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3());
- this_ID_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDecimalExp3671);
+ this_ID_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDecimalExp4474);
current.merge(this_ID_5);
newLeafNode(this_ID_5, grammarAccess.getDecimalExpAccess().getIDTerminalRuleCall_4());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1461:1: (kw= '+' | kw= '-' )?
- int alt24=3;
- int LA24_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1803:1: (kw= '+' | kw= '-' )?
+ int alt29=3;
+ int LA29_0 = input.LA(1);
- if ( (LA24_0==28) ) {
- alt24=1;
+ if ( (LA29_0==34) ) {
+ alt29=1;
}
- else if ( (LA24_0==29) ) {
- alt24=2;
+ else if ( (LA29_0==35) ) {
+ alt29=2;
}
- switch (alt24) {
+ switch (alt29) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1462:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1804:2: kw= '+'
{
- kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimalExp3690);
+ kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4493);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
@@ -3764,9 +4642,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1469:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1811:2: kw= '-'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalExp3709);
+ kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4512);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
@@ -3777,7 +4655,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3726);
+ this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4529);
current.merge(this_INT_8);
@@ -3809,201 +4687,231 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// Delegated rules
- protected DFA19 dfa19 = new DFA19(this);
- static final String DFA19_eotS =
+ protected DFA24 dfa24 = new DFA24(this);
+ static final String DFA24_eotS =
"\12\uffff";
- static final String DFA19_eofS =
- "\5\uffff\1\7\1\10\3\uffff";
- static final String DFA19_minS =
- "\3\6\1\31\1\uffff\1\6\1\4\3\uffff";
- static final String DFA19_maxS =
- "\1\35\3\31\1\uffff\2\24\3\uffff";
- static final String DFA19_acceptS =
- "\4\uffff\1\2\2\uffff\1\3\1\1\1\4";
- static final String DFA19_specialS =
+ static final String DFA24_eofS =
+ "\5\uffff\1\6\1\uffff\1\11\2\uffff";
+ static final String DFA24_minS =
+ "\3\6\1\36\1\uffff\1\6\1\uffff\1\4\2\uffff";
+ static final String DFA24_maxS =
+ "\1\43\3\36\1\uffff\1\37\1\uffff\1\37\2\uffff";
+ static final String DFA24_acceptS =
+ "\4\uffff\1\2\1\uffff\1\3\1\uffff\1\4\1\1";
+ static final String DFA24_specialS =
"\12\uffff}>";
- static final String[] DFA19_transitionS = {
- "\1\3\22\uffff\1\4\2\uffff\1\1\1\2",
- "\1\3\22\uffff\1\4",
- "\1\3\22\uffff\1\4",
+ static final String[] DFA24_transitionS = {
+ "\1\3\27\uffff\1\4\3\uffff\1\1\1\2",
+ "\1\3\27\uffff\1\4",
+ "\1\3\27\uffff\1\4",
"\1\5",
"",
- "\1\6\6\uffff\2\7\2\uffff\1\7\1\uffff\2\7",
- "\1\11\10\uffff\2\10\2\uffff\1\10\1\uffff\2\10",
+ "\1\7\6\uffff\2\6\6\uffff\2\6\1\uffff\2\6\5\uffff\1\6",
"",
+ "\1\10\10\uffff\2\11\6\uffff\2\11\1\uffff\2\11\5\uffff\1\11",
"",
""
};
- static final short[] DFA19_eot = DFA.unpackEncodedString(DFA19_eotS);
- static final short[] DFA19_eof = DFA.unpackEncodedString(DFA19_eofS);
- static final char[] DFA19_min = DFA.unpackEncodedStringToUnsignedChars(DFA19_minS);
- static final char[] DFA19_max = DFA.unpackEncodedStringToUnsignedChars(DFA19_maxS);
- static final short[] DFA19_accept = DFA.unpackEncodedString(DFA19_acceptS);
- static final short[] DFA19_special = DFA.unpackEncodedString(DFA19_specialS);
- static final short[][] DFA19_transition;
+ static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
+ static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
+ static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
+ static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
+ static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
+ static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
+ static final short[][] DFA24_transition;
static {
- int numStates = DFA19_transitionS.length;
- DFA19_transition = new short[numStates][];
+ int numStates = DFA24_transitionS.length;
+ DFA24_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA19_transition[i] = DFA.unpackEncodedString(DFA19_transitionS[i]);
+ DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
}
}
- class DFA19 extends DFA {
+ class DFA24 extends DFA {
- public DFA19(BaseRecognizer recognizer) {
+ public DFA24(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 19;
- this.eot = DFA19_eot;
- this.eof = DFA19_eof;
- this.min = DFA19_min;
- this.max = DFA19_max;
- this.accept = DFA19_accept;
- this.special = DFA19_special;
- this.transition = DFA19_transition;
+ this.decisionNumber = 24;
+ this.eot = DFA24_eot;
+ this.eof = DFA24_eof;
+ this.min = DFA24_min;
+ this.max = DFA24_max;
+ this.accept = DFA24_accept;
+ this.special = DFA24_special;
+ this.transition = DFA24_transition;
}
public String getDescription() {
- return "1168:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )";
+ return "1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )";
}
}
public static final BitSet FOLLOW_ruleConfigModel_in_entryRuleConfigModel75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleConfigModel85 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x0000000000209002L});
- public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000000009002L});
+ public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x0000000004029002L});
+ public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000000029002L});
public static final BitSet FOLLOW_ruleConfigElement_in_entryRuleConfigElement190 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleConfigElement200 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleActorClassConfig_in_ruleConfigElement247 = new BitSet(new long[]{0x0000000000000002L});
public static final BitSet FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement274 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig309 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleActorClassConfig319 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_12_in_ruleActorClassConfig356 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleActorClassConfig379 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleActorClassConfig391 = new BitSet(new long[]{0x0000000000024000L});
- public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig412 = new BitSet(new long[]{0x0000000000024000L});
- public static final BitSet FOLLOW_14_in_ruleActorClassConfig425 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig461 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleActorInstanceConfig471 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleActorInstanceConfig508 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig531 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleActorInstanceConfig543 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig564 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleActorInstanceConfig576 = new BitSet(new long[]{0x0000000000024000L});
- public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig597 = new BitSet(new long[]{0x0000000000024000L});
- public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig610 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig648 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig658 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_17_in_ruleAttrClassConfig695 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig715 = new BitSet(new long[]{0x0000000000042002L});
- public static final BitSet FOLLOW_18_in_ruleAttrClassConfig728 = new BitSet(new long[]{0x000000003E0000E0L});
- public static final BitSet FOLLOW_ruleLiteral_in_ruleAttrClassConfig749 = new BitSet(new long[]{0x0000000000002002L});
- public static final BitSet FOLLOW_13_in_ruleAttrClassConfig764 = new BitSet(new long[]{0x0000000000184000L});
- public static final BitSet FOLLOW_19_in_ruleAttrClassConfig822 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleAttrClassConfig834 = new BitSet(new long[]{0x00000000320000C0L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig855 = new BitSet(new long[]{0x0000000000184000L});
- public static final BitSet FOLLOW_20_in_ruleAttrClassConfig923 = new BitSet(new long[]{0x0000000000040000L});
- public static final BitSet FOLLOW_18_in_ruleAttrClassConfig935 = new BitSet(new long[]{0x00000000320000C0L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig956 = new BitSet(new long[]{0x0000000000184000L});
- public static final BitSet FOLLOW_14_in_ruleAttrClassConfig1009 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1047 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig1057 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_17_in_ruleAttrInstanceConfig1094 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1114 = new BitSet(new long[]{0x0000000000040002L});
- public static final BitSet FOLLOW_18_in_ruleAttrInstanceConfig1127 = new BitSet(new long[]{0x000000003E0000E0L});
- public static final BitSet FOLLOW_ruleLiteral_in_ruleAttrInstanceConfig1148 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath1186 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRefPath1196 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1238 = new BitSet(new long[]{0x0000000000010002L});
- public static final BitSet FOLLOW_16_in_ruleRefPath1256 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1273 = new BitSet(new long[]{0x0000000000010002L});
- public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1316 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImport1326 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_ruleImport1363 = new BitSet(new long[]{0x0000000000800010L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport1386 = new BitSet(new long[]{0x0000000000400000L});
- public static final BitSet FOLLOW_22_in_ruleImport1398 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_23_in_ruleImport1417 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleImport1435 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1477 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN1488 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN1535 = new BitSet(new long[]{0x0000000001000002L});
- public static final BitSet FOLLOW_24_in_ruleImportedFQN1554 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN1597 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleFQN1608 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN1648 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_25_in_ruleFQN1667 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN1682 = new BitSet(new long[]{0x0000000002000002L});
- public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1729 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1739 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral1786 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral1813 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral1840 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1875 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral1885 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_26_in_ruleBooleanLiteral1932 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_27_in_ruleBooleanLiteral1956 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2006 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral2016 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2063 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2090 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2125 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2135 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2190 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2226 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral2236 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral2291 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2327 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral2337 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral2388 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger2430 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleInteger2441 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger2488 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger2521 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2573 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger2584 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleSignedInteger2627 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_29_in_ruleSignedInteger2646 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger2663 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2719 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal2730 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal2773 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2822 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleReal2833 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2880 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal2913 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal2946 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2979 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal3031 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimal3042 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleDecimal3085 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_29_in_ruleDecimal3104 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3121 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleDecimal3139 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3154 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3210 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal3221 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleDotDecimal3264 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_29_in_ruleDotDecimal3283 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleDotDecimal3298 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal3313 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3369 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot3380 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleDecimalDot3423 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_29_in_ruleDecimalDot3442 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot3459 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleDecimalDot3477 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3528 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp3539 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_28_in_ruleDecimalExp3582 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_29_in_ruleDecimalExp3601 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3618 = new BitSet(new long[]{0x0000000002000000L});
- public static final BitSet FOLLOW_25_in_ruleDecimalExp3636 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3651 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleDecimalExp3671 = new BitSet(new long[]{0x0000000030000040L});
- public static final BitSet FOLLOW_28_in_ruleDecimalExp3690 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_29_in_ruleDecimalExp3709 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3726 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement301 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig336 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleActorClassConfig346 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_12_in_ruleActorClassConfig383 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleActorClassConfig406 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleActorClassConfig418 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig439 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_14_in_ruleActorClassConfig452 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig488 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleActorInstanceConfig498 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleActorInstanceConfig535 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig558 = new BitSet(new long[]{0x0000000000010000L});
+ public static final BitSet FOLLOW_16_in_ruleActorInstanceConfig570 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig591 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleActorInstanceConfig603 = new BitSet(new long[]{0x0000000000604000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig624 = new BitSet(new long[]{0x0000000000604000L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig646 = new BitSet(new long[]{0x0000000000204000L});
+ public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig659 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig695 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleProtocolClassConfig705 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_17_in_ruleProtocolClassConfig742 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleProtocolClassConfig765 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleProtocolClassConfig777 = new BitSet(new long[]{0x00000000000C4000L});
+ public static final BitSet FOLLOW_18_in_ruleProtocolClassConfig835 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig856 = new BitSet(new long[]{0x00000000000C4000L});
+ public static final BitSet FOLLOW_19_in_ruleProtocolClassConfig924 = new BitSet(new long[]{0x0000000000100000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig945 = new BitSet(new long[]{0x00000000000C4000L});
+ public static final BitSet FOLLOW_14_in_ruleProtocolClassConfig998 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1034 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortClassConfig1044 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_20_in_rulePortClassConfig1090 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_rulePortClassConfig1102 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1123 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_14_in_rulePortClassConfig1136 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1172 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortInstanceConfig1182 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_21_in_rulePortInstanceConfig1219 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_rulePortInstanceConfig1239 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_rulePortInstanceConfig1251 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1272 = new BitSet(new long[]{0x0000000000404000L});
+ public static final BitSet FOLLOW_14_in_rulePortInstanceConfig1285 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig1323 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig1333 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_ruleAttrClassConfig1370 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig1390 = new BitSet(new long[]{0x0000000000802002L});
+ public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1403 = new BitSet(new long[]{0x0000000F400000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig1424 = new BitSet(new long[]{0x0000000000002002L});
+ public static final BitSet FOLLOW_13_in_ruleAttrClassConfig1439 = new BitSet(new long[]{0x0000000003004000L});
+ public static final BitSet FOLLOW_24_in_ruleAttrClassConfig1497 = new BitSet(new long[]{0x0000000000800000L});
+ public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1509 = new BitSet(new long[]{0x0000000C400000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1530 = new BitSet(new long[]{0x0000000003004000L});
+ public static final BitSet FOLLOW_25_in_ruleAttrClassConfig1598 = new BitSet(new long[]{0x0000000000800000L});
+ public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1610 = new BitSet(new long[]{0x0000000C400000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1631 = new BitSet(new long[]{0x0000000003004000L});
+ public static final BitSet FOLLOW_14_in_ruleAttrClassConfig1684 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1722 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig1732 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_ruleAttrInstanceConfig1769 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1789 = new BitSet(new long[]{0x0000000000800002L});
+ public static final BitSet FOLLOW_23_in_ruleAttrInstanceConfig1802 = new BitSet(new long[]{0x0000000F400000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig1823 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath1861 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRefPath1871 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1913 = new BitSet(new long[]{0x0000000000010002L});
+ public static final BitSet FOLLOW_16_in_ruleRefPath1931 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1948 = new BitSet(new long[]{0x0000000000010002L});
+ public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1991 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImport2001 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_26_in_ruleImport2038 = new BitSet(new long[]{0x0000000010000010L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2061 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_27_in_ruleImport2073 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_28_in_ruleImport2092 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2110 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2152 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2163 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2210 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_29_in_ruleImportedFQN2229 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2272 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleFQN2283 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2323 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_30_in_ruleFQN2342 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2357 = new BitSet(new long[]{0x0000000040000002L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray2404 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteralArray2414 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray2460 = new BitSet(new long[]{0x0000000080000002L});
+ public static final BitSet FOLLOW_31_in_ruleLiteralArray2473 = new BitSet(new long[]{0x0000000F400000E0L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray2494 = new BitSet(new long[]{0x0000000080000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral2532 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteral2542 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral2589 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral2616 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral2643 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2678 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral2688 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_32_in_ruleBooleanLiteral2735 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_ruleBooleanLiteral2759 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2809 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral2819 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2866 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2893 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2928 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2938 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2993 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3029 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral3039 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral3094 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3130 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral3140 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral3191 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger3233 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleInteger3244 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger3291 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger3324 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger3376 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger3387 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_ruleSignedInteger3430 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_35_in_ruleSignedInteger3449 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger3466 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal3522 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal3533 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal3576 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_entryRuleReal3625 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleReal3636 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_ruleReal3683 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal3716 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal3749 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal3782 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal3834 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimal3845 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_ruleDecimal3888 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_35_in_ruleDecimal3907 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3924 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleDecimal3942 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3957 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4013 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal4024 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_ruleDotDecimal4067 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_35_in_ruleDotDecimal4086 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleDotDecimal4101 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal4116 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4172 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot4183 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_ruleDecimalDot4226 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_35_in_ruleDecimalDot4245 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot4262 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleDecimalDot4280 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4331 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp4342 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_34_in_ruleDecimalExp4385 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_35_in_ruleDecimalExp4404 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4421 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleDecimalExp4439 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4454 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleDecimalExp4474 = new BitSet(new long[]{0x0000000C00000040L});
+ public static final BitSet FOLLOW_34_in_ruleDecimalExp4493 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_35_in_ruleDecimalExp4512 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4529 = new BitSet(new long[]{0x0000000000000002L});
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java
index af86a9310..f7f789dd7 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java
@@ -12,6 +12,10 @@ import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
+import org.eclipse.etrice.core.config.LiteralArray;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.config.StringLiteral;
@@ -53,7 +57,6 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
this.genericSequencer.init(sequencer, sequenceAcceptor, errorAcceptor);
}
- @Override
public void createSequence(EObject context, EObject semanticObject) {
if(semanticObject.eClass().getEPackage() == ConfigPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
case ConfigPackage.ACTOR_CLASS_CONFIG:
@@ -111,6 +114,31 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
return;
}
else break;
+ case ConfigPackage.LITERAL_ARRAY:
+ if(context == grammarAccess.getLiteralArrayRule()) {
+ sequence_LiteralArray(context, (LiteralArray) semanticObject);
+ return;
+ }
+ else break;
+ case ConfigPackage.PORT_CLASS_CONFIG:
+ if(context == grammarAccess.getPortClassConfigRule()) {
+ sequence_PortClassConfig(context, (PortClassConfig) semanticObject);
+ return;
+ }
+ else break;
+ case ConfigPackage.PORT_INSTANCE_CONFIG:
+ if(context == grammarAccess.getPortInstanceConfigRule()) {
+ sequence_PortInstanceConfig(context, (PortInstanceConfig) semanticObject);
+ return;
+ }
+ else break;
+ case ConfigPackage.PROTOCOL_CLASS_CONFIG:
+ if(context == grammarAccess.getConfigElementRule() ||
+ context == grammarAccess.getProtocolClassConfigRule()) {
+ sequence_ProtocolClassConfig(context, (ProtocolClassConfig) semanticObject);
+ return;
+ }
+ else break;
case ConfigPackage.REAL_LITERAL:
if(context == grammarAccess.getLiteralRule() ||
context == grammarAccess.getNumberLiteralRule() ||
@@ -147,7 +175,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
- * (root=[SubSystemClass|FQN] path=RefPath attributes+=AttrInstanceConfig*)
+ * (root=[SubSystemClass|FQN] path=RefPath attributes+=AttrInstanceConfig* ports+=PortInstanceConfig*)
*/
protected void sequence_ActorInstanceConfig(EObject context, ActorInstanceConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -156,7 +184,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
- * (attribute=[Attribute|ID] value=Literal? (min=NumberLiteral? max=NumberLiteral?)?)
+ * (attribute=[Attribute|ID] value=LiteralArray? (min=NumberLiteral? max=NumberLiteral?)?)
*/
protected void sequence_AttrClassConfig(EObject context, AttrClassConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -165,7 +193,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
- * (attribute=[Attribute|ID] value=Literal?)
+ * (attribute=[Attribute|ID] value=LiteralArray?)
*/
protected void sequence_AttrInstanceConfig(EObject context, AttrInstanceConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -217,6 +245,42 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
+ * (literals+=Literal literals+=Literal*)
+ */
+ protected void sequence_LiteralArray(EObject context, LiteralArray semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (attributes+=AttrClassConfig*)
+ */
+ protected void sequence_PortClassConfig(EObject context, PortClassConfig semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (item=[InterfaceItem|ID] attributes+=AttrInstanceConfig*)
+ */
+ protected void sequence_PortInstanceConfig(EObject context, PortInstanceConfig semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
+ * (protocol=[ProtocolClass|FQN] regular=PortClassConfig? conjugated=PortClassConfig?)
+ */
+ protected void sequence_ProtocolClassConfig(EObject context, ProtocolClassConfig semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
* value=Real
*/
protected void sequence_RealLiteral(EObject context, RealLiteral semanticObject) {
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java
index 05b8a602a..e5f0d5019 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java
@@ -30,7 +30,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * getActor(Class|Instance)Config()
// * / ConfigModel:
// imports+=Import* configElements+=ConfigElement*;
- @Override
public ParserRule getRule() { return rule; }
//imports+=Import* configElements+=ConfigElement*
@@ -54,13 +53,13 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
private final RuleCall cActorClassConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
private final RuleCall cActorInstanceConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cProtocolClassConfigParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
//ConfigElement:
- // ActorClassConfig | ActorInstanceConfig;
- @Override
+ // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
public ParserRule getRule() { return rule; }
- //ActorClassConfig | ActorInstanceConfig
+ //ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig
public Alternatives getAlternatives() { return cAlternatives; }
//ActorClassConfig
@@ -68,6 +67,9 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//ActorInstanceConfig
public RuleCall getActorInstanceConfigParserRuleCall_1() { return cActorInstanceConfigParserRuleCall_1; }
+
+ //ProtocolClassConfig
+ public RuleCall getProtocolClassConfigParserRuleCall_2() { return cProtocolClassConfigParserRuleCall_2; }
}
public class ActorClassConfigElements extends AbstractParserRuleElementFinder {
@@ -87,7 +89,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * duplicates config, attributes
// * / ActorClassConfig:
// "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}";
- @Override
public ParserRule getRule() { return rule; }
//"ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}"
@@ -131,7 +132,9 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
private final Assignment cAttributesAssignment_5 = (Assignment)cGroup.eContents().get(5);
private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_5_0 = (RuleCall)cAttributesAssignment_5.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
+ private final Assignment cPortsAssignment_6 = (Assignment)cGroup.eContents().get(6);
+ private final RuleCall cPortsPortInstanceConfigParserRuleCall_6_0 = (RuleCall)cPortsAssignment_6.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7);
/// *
// * Validation:
@@ -140,11 +143,12 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * Proposal:
// * attributes
// * / ActorInstanceConfig:
- // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig* "}";
- @Override
+ // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
+ // ports+=PortInstanceConfig* "}";
public ParserRule getRule() { return rule; }
- //"ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig* "}"
+ //"ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
+ //ports+=PortInstanceConfig* "}"
public Group getGroup() { return cGroup; }
//"ActorInstanceConfig"
@@ -177,8 +181,168 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//AttrInstanceConfig
public RuleCall getAttributesAttrInstanceConfigParserRuleCall_5_0() { return cAttributesAttrInstanceConfigParserRuleCall_5_0; }
+ //ports+=PortInstanceConfig*
+ public Assignment getPortsAssignment_6() { return cPortsAssignment_6; }
+
+ //PortInstanceConfig
+ public RuleCall getPortsPortInstanceConfigParserRuleCall_6_0() { return cPortsPortInstanceConfigParserRuleCall_6_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; }
+ }
+
+ public class ProtocolClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ProtocolClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cProtocolClassConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cProtocolAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cProtocolProtocolClassCrossReference_1_0 = (CrossReference)cProtocolAssignment_1.eContents().get(0);
+ private final RuleCall cProtocolProtocolClassFQNParserRuleCall_1_0_1 = (RuleCall)cProtocolProtocolClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
+ private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
+ private final Keyword cRegularKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
+ private final Assignment cRegularAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
+ private final RuleCall cRegularPortClassConfigParserRuleCall_3_0_1_0 = (RuleCall)cRegularAssignment_3_0_1.eContents().get(0);
+ private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
+ private final Keyword cConjugateKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
+ private final Assignment cConjugatedAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
+ private final RuleCall cConjugatedPortClassConfigParserRuleCall_3_1_1_0 = (RuleCall)cConjugatedAssignment_3_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //ProtocolClassConfig:
+ // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ // conjugated=PortClassConfig)?) "}";
+ public ParserRule getRule() { return rule; }
+
+ //"ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ //conjugated=PortClassConfig)?) "}"
+ public Group getGroup() { return cGroup; }
+
+ //"ProtocolClassConfig"
+ public Keyword getProtocolClassConfigKeyword_0() { return cProtocolClassConfigKeyword_0; }
+
+ //protocol=[room::ProtocolClass|FQN]
+ public Assignment getProtocolAssignment_1() { return cProtocolAssignment_1; }
+
+ //[room::ProtocolClass|FQN]
+ public CrossReference getProtocolProtocolClassCrossReference_1_0() { return cProtocolProtocolClassCrossReference_1_0; }
+
+ //FQN
+ public RuleCall getProtocolProtocolClassFQNParserRuleCall_1_0_1() { return cProtocolProtocolClassFQNParserRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //("regular" regular=PortClassConfig)? & ("conjugate" conjugated=PortClassConfig)?
+ public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
+
+ //("regular" regular=PortClassConfig)?
+ public Group getGroup_3_0() { return cGroup_3_0; }
+
+ //"regular"
+ public Keyword getRegularKeyword_3_0_0() { return cRegularKeyword_3_0_0; }
+
+ //regular=PortClassConfig
+ public Assignment getRegularAssignment_3_0_1() { return cRegularAssignment_3_0_1; }
+
+ //PortClassConfig
+ public RuleCall getRegularPortClassConfigParserRuleCall_3_0_1_0() { return cRegularPortClassConfigParserRuleCall_3_0_1_0; }
+
+ //("conjugate" conjugated=PortClassConfig)?
+ public Group getGroup_3_1() { return cGroup_3_1; }
+
+ //"conjugate"
+ public Keyword getConjugateKeyword_3_1_0() { return cConjugateKeyword_3_1_0; }
+
+ //conjugated=PortClassConfig
+ public Assignment getConjugatedAssignment_3_1_1() { return cConjugatedAssignment_3_1_1; }
+
+ //PortClassConfig
+ public RuleCall getConjugatedPortClassConfigParserRuleCall_3_1_1_0() { return cConjugatedPortClassConfigParserRuleCall_3_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class PortClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cPortClassConfigAction_0 = (Action)cGroup.eContents().get(0);
+ private final Keyword cPortKeyword_1 = (Keyword)cGroup.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //PortClassConfig:
+ // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
+ public ParserRule getRule() { return rule; }
+
+ //{PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}"
+ public Group getGroup() { return cGroup; }
+
+ //{PortClassConfig}
+ public Action getPortClassConfigAction_0() { return cPortClassConfigAction_0; }
+
+ //"Port"
+ public Keyword getPortKeyword_1() { return cPortKeyword_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //attributes+=AttrClassConfig*
+ public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
+
+ //AttrClassConfig
+ public RuleCall getAttributesAttrClassConfigParserRuleCall_3_0() { return cAttributesAttrClassConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class PortInstanceConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortInstanceConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cInterfaceItemKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cItemAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cItemInterfaceItemCrossReference_1_0 = (CrossReference)cItemAssignment_1.eContents().get(0);
+ private final RuleCall cItemInterfaceItemIDTerminalRuleCall_1_0_1 = (RuleCall)cItemInterfaceItemCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //PortInstanceConfig:
+ // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
+ public ParserRule getRule() { return rule; }
+
+ //"InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}"
+ public Group getGroup() { return cGroup; }
+
+ //"InterfaceItem"
+ public Keyword getInterfaceItemKeyword_0() { return cInterfaceItemKeyword_0; }
+
+ //item=[room::InterfaceItem]
+ public Assignment getItemAssignment_1() { return cItemAssignment_1; }
+
+ //[room::InterfaceItem]
+ public CrossReference getItemInterfaceItemCrossReference_1_0() { return cItemInterfaceItemCrossReference_1_0; }
+
+ //ID
+ public RuleCall getItemInterfaceItemIDTerminalRuleCall_1_0_1() { return cItemInterfaceItemIDTerminalRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //attributes+=AttrInstanceConfig*
+ public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_0; }
+
//"}"
- public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; }
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
}
public class AttrConfigElements extends AbstractParserRuleElementFinder {
@@ -194,7 +358,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * correct Literal
// * / AttrConfig:
// AttrClassConfig | AttrInstanceConfig;
- @Override
public ParserRule getRule() { return rule; }
//AttrClassConfig | AttrInstanceConfig
@@ -217,7 +380,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
- private final RuleCall cValueLiteralParserRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
+ private final RuleCall cValueLiteralArrayParserRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
private final Group cGroup_3 = (Group)cGroup.eContents().get(3);
private final Keyword cLeftCurlyBracketKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0);
private final UnorderedGroup cUnorderedGroup_3_1 = (UnorderedGroup)cGroup_3.eContents().get(1);
@@ -238,18 +401,18 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * correct min, max type + available
// * min <= value <= max
// * if !value -> min <= attribute.defaultValue <= max
+ // * character length
// *
// * / AttrClassConfig:
- // "attr" attribute=[room::Attribute] ("=" value=Literal)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
// max=NumberLiteral)?) "}")?;
- @Override
public ParserRule getRule() { return rule; }
- //"attr" attribute=[room::Attribute] ("=" value=Literal)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
+ //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
//max=NumberLiteral)?) "}")?
public Group getGroup() { return cGroup; }
- //"attr"
+ //"Attr"
public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
//attribute=[room::Attribute]
@@ -261,17 +424,17 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//ID
public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
- //("=" value=Literal)?
+ //("=" value=LiteralArray)?
public Group getGroup_2() { return cGroup_2; }
//"="
public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
- //value=Literal
+ //value=LiteralArray
public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
- //Literal
- public RuleCall getValueLiteralParserRuleCall_2_1_0() { return cValueLiteralParserRuleCall_2_1_0; }
+ //LiteralArray
+ public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
//("{" (("min" "=" min=NumberLiteral)? & ("max" "=" max=NumberLiteral)?) "}")?
public Group getGroup_3() { return cGroup_3; }
@@ -326,17 +489,16 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
- private final RuleCall cValueLiteralParserRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
+ private final RuleCall cValueLiteralArrayParserRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
//AttrInstanceConfig:
- // "attr" attribute=[room::Attribute] ("=" value=Literal)?;
- @Override
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
public ParserRule getRule() { return rule; }
- //"attr" attribute=[room::Attribute] ("=" value=Literal)?
+ //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?
public Group getGroup() { return cGroup; }
- //"attr"
+ //"Attr"
public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
//attribute=[room::Attribute]
@@ -348,17 +510,17 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//ID
public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
- //("=" value=Literal)?
+ //("=" value=LiteralArray)?
public Group getGroup_2() { return cGroup_2; }
//"="
public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
- //value=Literal
+ //value=LiteralArray
public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
- //Literal
- public RuleCall getValueLiteralParserRuleCall_2_1_0() { return cValueLiteralParserRuleCall_2_1_0; }
+ //LiteralArray
+ public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
}
public class RefPathElements extends AbstractParserRuleElementFinder {
@@ -376,7 +538,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * for ActorInstanceConfig
// * / RefPath:
// refs+=ID ("/" refs+=ID)*;
- @Override
public ParserRule getRule() { return rule; }
//refs+=ID ("/" refs+=ID)*
@@ -417,7 +578,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//// -------------------- from org.eclipse.etrice.core.Room.xtext ---------------
//Import:
// "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
- @Override
public ParserRule getRule() { return rule; }
//"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING
@@ -459,7 +619,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//ImportedFQN:
// FQN ".*"?;
- @Override
public ParserRule getRule() { return rule; }
//FQN ".*"?
@@ -482,7 +641,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//FQN:
// ID ("." ID)*;
- @Override
public ParserRule getRule() { return rule; }
//ID ("." ID)*
@@ -501,12 +659,15 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
}
- public class LiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Literal");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cBooleanLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cNumberLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cStringLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+ public class LiteralArrayElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LiteralArray");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment cLiteralsAssignment_0 = (Assignment)cGroup.eContents().get(0);
+ private final RuleCall cLiteralsLiteralParserRuleCall_0_0 = (RuleCall)cLiteralsAssignment_0.eContents().get(0);
+ private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
+ private final Keyword cCommaKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
+ private final Assignment cLiteralsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
+ private final RuleCall cLiteralsLiteralParserRuleCall_1_1_0 = (RuleCall)cLiteralsAssignment_1_1.eContents().get(0);
//// -----------------------------------------------------------------------------
////enum Unit:
@@ -523,10 +684,42 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//// HZ = 'Hz'|
//// KW
////;
+ //LiteralArray:
+ // literals+=Literal ("," literals+=Literal)*;
+ public ParserRule getRule() { return rule; }
+
+ //literals+=Literal ("," literals+=Literal)*
+ public Group getGroup() { return cGroup; }
+
+ //literals+=Literal
+ public Assignment getLiteralsAssignment_0() { return cLiteralsAssignment_0; }
+
+ //Literal
+ public RuleCall getLiteralsLiteralParserRuleCall_0_0() { return cLiteralsLiteralParserRuleCall_0_0; }
+
+ //("," literals+=Literal)*
+ public Group getGroup_1() { return cGroup_1; }
+
+ //","
+ public Keyword getCommaKeyword_1_0() { return cCommaKeyword_1_0; }
+
+ //literals+=Literal
+ public Assignment getLiteralsAssignment_1_1() { return cLiteralsAssignment_1_1; }
+
+ //Literal
+ public RuleCall getLiteralsLiteralParserRuleCall_1_1_0() { return cLiteralsLiteralParserRuleCall_1_1_0; }
+ }
+
+ public class LiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Literal");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cBooleanLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cNumberLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cStringLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+
//// Value Types for Attributes
//Literal:
// BooleanLiteral | NumberLiteral | StringLiteral;
- @Override
public ParserRule getRule() { return rule; }
//BooleanLiteral | NumberLiteral | StringLiteral
@@ -553,7 +746,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//BooleanLiteral:
// {BooleanLiteral} ("false" | isTrue?="true");
- @Override
public ParserRule getRule() { return rule; }
//{BooleanLiteral} ("false" | isTrue?="true")
@@ -583,7 +775,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//NumberLiteral:
// IntLiteral | RealLiteral;
- @Override
public ParserRule getRule() { return rule; }
//IntLiteral | RealLiteral
@@ -605,7 +796,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//RealLiteral:
// {RealLiteral} value=Real;
- @Override
public ParserRule getRule() { return rule; }
//{RealLiteral} value=Real
@@ -630,7 +820,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//IntLiteral:
// {IntLiteral} value=Integer;
- @Override
public ParserRule getRule() { return rule; }
//{IntLiteral} value=Integer
@@ -655,7 +844,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//StringLiteral:
// {StringLiteral} value=STRING;
- @Override
public ParserRule getRule() { return rule; }
//{StringLiteral} value=STRING
@@ -679,7 +867,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//Integer returns ecore::EInt:
// SignedInteger | Hexadecimal;
- @Override
public ParserRule getRule() { return rule; }
//SignedInteger | Hexadecimal
@@ -702,7 +889,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//SignedInteger hidden():
// ("+" | "-")? INT;
- @Override
public ParserRule getRule() { return rule; }
//("+" | "-")? INT
@@ -727,7 +913,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//Hexadecimal hidden():
// HEX;
- @Override
public ParserRule getRule() { return rule; }
//HEX
@@ -744,7 +929,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//Real returns ecore::EDouble:
// Decimal | DotDecimal | DecimalDot | DecimalExp;
- @Override
public ParserRule getRule() { return rule; }
//Decimal | DotDecimal | DecimalDot | DecimalExp
@@ -775,7 +959,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//Decimal hidden():
// ("+" | "-")? INT "." INT;
- @Override
public ParserRule getRule() { return rule; }
//("+" | "-")? INT "." INT
@@ -811,7 +994,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//DotDecimal hidden():
// ("+" | "-")? "." INT;
- @Override
public ParserRule getRule() { return rule; }
//("+" | "-")? "." INT
@@ -844,7 +1026,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//DecimalDot hidden():
// ("+" | "-")? INT ".";
- @Override
public ParserRule getRule() { return rule; }
//("+" | "-")? INT "."
@@ -883,7 +1064,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//DecimalExp hidden():
// ("+" | "-")? INT "." INT ID ("+" | "-")? INT;
- @Override
public ParserRule getRule() { return rule; }
//("+" | "-")? INT "." INT ID ("+" | "-")? INT
@@ -928,6 +1108,9 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private ConfigElementElements pConfigElement;
private ActorClassConfigElements pActorClassConfig;
private ActorInstanceConfigElements pActorInstanceConfig;
+ private ProtocolClassConfigElements pProtocolClassConfig;
+ private PortClassConfigElements pPortClassConfig;
+ private PortInstanceConfigElements pPortInstanceConfig;
private AttrConfigElements pAttrConfig;
private AttrClassConfigElements pAttrClassConfig;
private AttrInstanceConfigElements pAttrInstanceConfig;
@@ -935,6 +1118,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private ImportElements pImport;
private ImportedFQNElements pImportedFQN;
private FQNElements pFQN;
+ private LiteralArrayElements pLiteralArray;
private LiteralElements pLiteral;
private BooleanLiteralElements pBooleanLiteral;
private NumberLiteralElements pNumberLiteral;
@@ -962,7 +1146,6 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
this.gaTerminals = gaTerminals;
}
- @Override
public Grammar getGrammar() {
return grammarProvider.getGrammar(this);
}
@@ -987,7 +1170,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
}
//ConfigElement:
- // ActorClassConfig | ActorInstanceConfig;
+ // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
public ConfigElementElements getConfigElementAccess() {
return (pConfigElement != null) ? pConfigElement : (pConfigElement = new ConfigElementElements());
}
@@ -1016,7 +1199,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * Proposal:
// * attributes
// * / ActorInstanceConfig:
- // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig* "}";
+ // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
+ // ports+=PortInstanceConfig* "}";
public ActorInstanceConfigElements getActorInstanceConfigAccess() {
return (pActorInstanceConfig != null) ? pActorInstanceConfig : (pActorInstanceConfig = new ActorInstanceConfigElements());
}
@@ -1025,6 +1209,37 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
return getActorInstanceConfigAccess().getRule();
}
+ //ProtocolClassConfig:
+ // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ // conjugated=PortClassConfig)?) "}";
+ public ProtocolClassConfigElements getProtocolClassConfigAccess() {
+ return (pProtocolClassConfig != null) ? pProtocolClassConfig : (pProtocolClassConfig = new ProtocolClassConfigElements());
+ }
+
+ public ParserRule getProtocolClassConfigRule() {
+ return getProtocolClassConfigAccess().getRule();
+ }
+
+ //PortClassConfig:
+ // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
+ public PortClassConfigElements getPortClassConfigAccess() {
+ return (pPortClassConfig != null) ? pPortClassConfig : (pPortClassConfig = new PortClassConfigElements());
+ }
+
+ public ParserRule getPortClassConfigRule() {
+ return getPortClassConfigAccess().getRule();
+ }
+
+ //PortInstanceConfig:
+ // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
+ public PortInstanceConfigElements getPortInstanceConfigAccess() {
+ return (pPortInstanceConfig != null) ? pPortInstanceConfig : (pPortInstanceConfig = new PortInstanceConfigElements());
+ }
+
+ public ParserRule getPortInstanceConfigRule() {
+ return getPortInstanceConfigAccess().getRule();
+ }
+
/// *
// * Validation:
// * correct value type
@@ -1045,9 +1260,10 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// * correct min, max type + available
// * min <= value <= max
// * if !value -> min <= attribute.defaultValue <= max
+ // * character length
// *
// * / AttrClassConfig:
- // "attr" attribute=[room::Attribute] ("=" value=Literal)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
// max=NumberLiteral)?) "}")?;
public AttrClassConfigElements getAttrClassConfigAccess() {
return (pAttrClassConfig != null) ? pAttrClassConfig : (pAttrClassConfig = new AttrClassConfigElements());
@@ -1058,7 +1274,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
}
//AttrInstanceConfig:
- // "attr" attribute=[room::Attribute] ("=" value=Literal)?;
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
public AttrInstanceConfigElements getAttrInstanceConfigAccess() {
return (pAttrInstanceConfig != null) ? pAttrInstanceConfig : (pAttrInstanceConfig = new AttrInstanceConfigElements());
}
@@ -1126,6 +1342,16 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//// HZ = 'Hz'|
//// KW
////;
+ //LiteralArray:
+ // literals+=Literal ("," literals+=Literal)*;
+ public LiteralArrayElements getLiteralArrayAccess() {
+ return (pLiteralArray != null) ? pLiteralArray : (pLiteralArray = new LiteralArrayElements());
+ }
+
+ public ParserRule getLiteralArrayRule() {
+ return getLiteralArrayAccess().getRule();
+ }
+
//// Value Types for Attributes
//Literal:
// BooleanLiteral | NumberLiteral | StringLiteral;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java
index d01b86cec..9eabc98a7 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/validation/AbstractConfigJavaValidator.java
@@ -1,18 +1,18 @@
-package org.eclipse.etrice.core.validation;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
-
-public class AbstractConfigJavaValidator extends AbstractDeclarativeValidator {
-
- @Override
- protected List<EPackage> getEPackages() {
- List<EPackage> result = new ArrayList<EPackage>();
- result.add(org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
- return result;
- }
-
-}
+package org.eclipse.etrice.core.validation;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.xtext.validation.AbstractDeclarativeValidator;
+
+public class AbstractConfigJavaValidator extends AbstractDeclarativeValidator {
+
+ @Override
+ protected List<EPackage> getEPackages() {
+ List<EPackage> result = new ArrayList<EPackage>();
+ result.add(org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
+ return result;
+ }
+
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext
index 9a0499fe9..7a1848321 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext
@@ -24,7 +24,7 @@ ConfigModel:
configElements+=ConfigElement*;
ConfigElement:
- ActorClassConfig | ActorInstanceConfig;
+ ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
/*
* Validation:
@@ -45,6 +45,23 @@ ActorClassConfig:
ActorInstanceConfig:
'ActorInstanceConfig' root=[room::SubSystemClass|FQN] '/' path=RefPath '{'
attributes+=AttrInstanceConfig*
+ ports+=PortInstanceConfig*
+ '}';
+
+ProtocolClassConfig:
+ 'ProtocolClassConfig' protocol=[room::ProtocolClass|FQN] '{'
+ (('regular' regular=PortClassConfig)? &
+ ('conjugate' conjugated=PortClassConfig)?)
+ '}';
+
+PortClassConfig:
+ {PortClassConfig} 'Port' '{'
+ attributes+=AttrClassConfig*
+ '}';
+
+PortInstanceConfig:
+ 'InterfaceItem' item=[room::InterfaceItem|ID] '{'
+ attributes+=AttrInstanceConfig*
'}';
/*
@@ -61,16 +78,17 @@ AttrConfig:
* correct min, max type + available
* min <= value <= max
* if !value -> min <= attribute.defaultValue <= max
+ * character length
*
*/
AttrClassConfig:
- 'attr' attribute=[room::Attribute] ('=' value=Literal)? ('{'
+ 'Attr' attribute=[room::Attribute] ('=' value=LiteralArray)? ('{'
(('min' '=' min=NumberLiteral)? &
('max' '=' max=NumberLiteral)?)
'}')?;
AttrInstanceConfig:
- 'attr' attribute=[room::Attribute] ('=' value=Literal)?;
+ 'Attr' attribute=[room::Attribute] ('=' value=LiteralArray)?;
/*
* Proposal:
@@ -106,6 +124,12 @@ FQN:
// KW
//;
+// LiteralArray = BooleanLiteral+|NumberLiteral+
+// LiteralArray = StringLiteral
+LiteralArray:
+ literals+=Literal (',' literals+=Literal)*
+;
+
// Value Types for Attributes
Literal:
BooleanLiteral |
@@ -137,7 +161,7 @@ Hexadecimal hidden():
HEX;
Real returns ecore::EDouble:
- Decimal | DotDecimal | DecimalDot | DecimalExp ;
+ Decimal | DotDecimal | DecimalDot | DecimalExp;
Decimal hidden():
('+' | '-')? INT '.' INT;
@@ -150,7 +174,7 @@ DecimalDot hidden():
DecimalExp hidden():
('+' | '-')? INT '.' INT ID ('+' | '-')? INT;
-//DecimalPosExp hidden():
+ //DecimalPosExp hidden():
// ('+' | '-')? INT '.' INT ID;
terminal HEX:
('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F')+;
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext
index 4d671e547..1cb017efa 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext
@@ -12,6 +12,7 @@
import ecore;
import xtext;
+import room;
process(xtext::GeneratedMetamodel this) :
process(ePackage)
@@ -42,11 +43,22 @@ process(EClass this) :
if(element instanceof ActorInstanceConfig)
list.add((ActorInstanceConfig) element);
return list;'
+ )->addOperation(
+ "getProtocolClassConfigs",
+ ePackage.getEClassifier("ProtocolClassConfig"),
+ -1,
+ 'EList<ProtocolClassConfig> list = new org.eclipse.emf.common.util.BasicEList<ProtocolClassConfig>();
+ for(ConfigElement element : this.getConfigElements())
+ if(element instanceof ProtocolClassConfig)
+ list.add((ProtocolClassConfig) element);
+ return list;'
))
default: null
}
;
+
+
create ecore::EOperation addOperation(ecore::EClassifier c, String strName, ecore::EClassifier type, Integer upperBound, String strBody):
setName(strName) ->
setEType(type) ->
@@ -54,7 +66,6 @@ create ecore::EOperation addOperation(ecore::EClassifier c, String strName, ecor
addBodyAnnotation(strBody)->
((ecore::EClass)c).eOperations.add(this);
-
create ecore::EAnnotation addBodyAnnotation(ecore::EOperation op, String strBody):
setSource("http://www.eclipse.org/emf/2002/GenModel") ->
this.createBody(strBody) ->
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java
index 850311c89..c2f2bc3a3 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java
@@ -12,17 +12,31 @@
package org.eclipse.etrice.core.config.util;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.NumberLiteral;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
+import org.eclipse.etrice.core.room.ActorClass;
import org.eclipse.etrice.core.room.ActorContainerClass;
import org.eclipse.etrice.core.room.ActorContainerRef;
import org.eclipse.etrice.core.room.ActorRef;
import org.eclipse.etrice.core.room.Attribute;
import org.eclipse.etrice.core.room.DataType;
+import org.eclipse.etrice.core.room.ExternalPort;
+import org.eclipse.etrice.core.room.InterfaceItem;
import org.eclipse.etrice.core.room.LiteralType;
+import org.eclipse.etrice.core.room.Port;
+import org.eclipse.etrice.core.room.PortClass;
import org.eclipse.etrice.core.room.PrimitiveType;
+import org.eclipse.etrice.core.room.ProtocolClass;
+import org.eclipse.etrice.core.room.SAPRef;
+import org.eclipse.etrice.core.room.SPPRef;
+import org.eclipse.etrice.core.room.SubSystemClass;
import org.eclipse.etrice.core.room.util.RoomHelpers;
public class ConfigUtil {
@@ -76,7 +90,11 @@ public class ConfigUtil {
return null;
ActorContainerClass last = root;
- for (String ref : path.getRefs()) {
+ Iterator<String> it = path.getRefs().iterator();
+ String ref;
+ while (it.hasNext()) {
+ ref = it.next();
+ // actor
ActorRef match = null;
for (ActorRef actor : last.getActorRefs()) {
if (actor.getName().equals(ref)) {
@@ -84,6 +102,21 @@ public class ConfigUtil {
break;
}
}
+ // port
+ List<InterfaceItem> ifs = new ArrayList<InterfaceItem>();
+ ifs.addAll(last.getIfSPPs());
+ if (last instanceof ActorClass) {
+ ActorClass actor = (ActorClass) last;
+ ifs.addAll(actor.getIfPorts());
+ ifs.addAll(actor.getIntPorts());
+ }
+ if (last instanceof SubSystemClass)
+ ifs.addAll(((SubSystemClass) last).getRelayPorts());
+ for (InterfaceItem item : ifs) {
+ // not nested, quit if last segment
+ if (item.getName().equals(ref) && !it.hasNext())
+ return null;
+ }
if (match == null)
return ref;
last = match.getType();
@@ -103,4 +136,46 @@ public class ConfigUtil {
return dValue;
}
+
+ public static PortClass getPortClass(PortInstanceConfig config) {
+ InterfaceItem item = config.getItem();
+ PortClass portClass = null;
+ if (item instanceof Port) {
+ Port port = (Port) item;
+ if (port.getProtocol() instanceof ProtocolClass) {
+ ProtocolClass protocol = (ProtocolClass) port.getProtocol();
+ if (port.isConjugated())
+ portClass = protocol.getConjugate();
+ else
+ portClass = protocol.getRegular();
+ }
+ } else if (item instanceof SAPRef) {
+ ProtocolClass protocol = ((SAPRef) item).getProtocol();
+ if (protocol.getConjugate() != null)
+ portClass = protocol.getConjugate();
+ }
+
+ return portClass;
+ }
+
+ public static List<InterfaceItem> getConfigurableInterfaceItems(
+ ActorContainerClass acc, boolean includeInherited) {
+ ArrayList<InterfaceItem> result = new ArrayList<InterfaceItem>();
+
+ if (acc instanceof ActorClass) {
+ ActorClass ac = (ActorClass) acc;
+ do {
+ result.addAll(ac.getIntPorts());
+ result.addAll(ac.getStrSAPs());
+ for (ExternalPort ext : ac.getExtPorts())
+ result.add(ext.getIfport());
+ ac = ac.getBase();
+ } while (includeInherited && ac != null);
+ } else if (acc instanceof SubSystemClass) {
+ // nothing
+ }
+
+ return result;
+ }
+
}
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java
index 539ace799..0502260cf 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java
@@ -1,27 +1,65 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core.formatting;
-
-import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
-import org.eclipse.xtext.formatting.impl.FormattingConfig;
-
-/**
- * This class contains custom formatting description.
- *
- * see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#formatting
- * on how and when to use it
- *
- * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example
- */
-public class ConfigFormatter extends AbstractDeclarativeFormatter {
-
- @Override
- protected void configureFormatting(FormattingConfig c) {
-// It's usually a good idea to activate the following three statements.
-// They will add and preserve newlines around comments
-// c.setLinewrap(0, 1, 2).before(getGrammarAccess().getSL_COMMENTRule());
-// c.setLinewrap(0, 1, 2).before(getGrammarAccess().getML_COMMENTRule());
-// c.setLinewrap(0, 1, 1).after(getGrammarAccess().getML_COMMENTRule());
- }
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.formatting;
+
+import org.eclipse.etrice.core.services.ConfigGrammarAccess;
+import org.eclipse.xtext.Keyword;
+import org.eclipse.xtext.formatting.impl.AbstractDeclarativeFormatter;
+import org.eclipse.xtext.formatting.impl.FormattingConfig;
+import org.eclipse.xtext.util.Pair;
+
+/**
+ * This class contains custom formatting description.
+ *
+ * see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#formatting
+ * on how and when to use it
+ *
+ * Also see {@link org.eclipse.xtext.xtext.XtextFormattingTokenSerializer} as an example
+ */
+public class ConfigFormatter extends AbstractDeclarativeFormatter {
+
+ @Override
+ protected void configureFormatting(FormattingConfig c) {
+ ConfigGrammarAccess f = (ConfigGrammarAccess) getGrammarAccess();
+
+ // general
+
+ c.setAutoLinewrap(120);
+ c.setLinewrap(2).before(f.getSL_COMMENTRule());
+ c.setLinewrap(2).before(f.getML_COMMENTRule());
+
+ for (Pair<Keyword, Keyword> pair : f.findKeywordPairs("{", "}")) {
+ c.setLinewrap().after(pair.getFirst());
+ c.setIndentationIncrement().after(pair.getFirst());
+ c.setLinewrap().before(pair.getSecond());
+ c.setIndentationDecrement().before(pair.getSecond());
+ c.setSpace(" ").between(pair.getFirst(), pair.getSecond());
+ }
+
+ for (Keyword k: f.findKeywords("(", "|", ".", "*")) {
+ c.setNoSpace().around(k);
+ }
+
+ for (Keyword k: f.findKeywords("<", "~")) {
+ c.setNoSpace().after(k);
+ }
+ for (Keyword k: f.findKeywords(")", ">", ",", ":")) {
+ c.setNoSpace().before(k);
+ }
+
+ for (Keyword k: f.findKeywords("regular","conjugate")) {
+ c.setLinewrap().before(k);
+ }
+
+ c.setLinewrap(1).after(f.getImportRule());
+
+ c.setLinewrap(2).around(f.getActorClassConfigRule());
+ c.setLinewrap(2).around(f.getProtocolClassConfigRule());
+ c.setLinewrap(2).around(f.getActorInstanceConfigRule());
+
+ c.setLinewrap(1).around(f.getAttrClassConfigRule());
+ c.setLinewrap(1).around(f.getAttrInstanceConfigRule());
+ c.setLinewrap(1).around(f.getPortInstanceConfigRule());
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend
index 78f006b63..db116bd88 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/generator/ConfigGenerator.xtend
@@ -1,15 +1,15 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core.generator
-
-import org.eclipse.emf.ecore.resource.Resource
-import org.eclipse.xtext.generator.IGenerator
-import org.eclipse.xtext.generator.IFileSystemAccess
-
-class ConfigGenerator implements IGenerator {
-
- override void doGenerate(Resource resource, IFileSystemAccess fsa) {
- //TODO implement me
- }
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core.generator
+
+import org.eclipse.emf.ecore.resource.Resource
+import org.eclipse.xtext.generator.IGenerator
+import org.eclipse.xtext.generator.IFileSystemAccess
+
+class ConfigGenerator implements IGenerator {
+
+ override void doGenerate(Resource resource, IFileSystemAccess fsa) {
+ //TODO implement me
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java
index 32504354c..1d62c848f 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java
@@ -18,10 +18,15 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.etrice.core.config.ActorClassConfig;
import org.eclipse.etrice.core.config.ActorInstanceConfig;
import org.eclipse.etrice.core.config.AttrConfig;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.util.ConfigUtil;
import org.eclipse.etrice.core.room.ActorClass;
import org.eclipse.etrice.core.room.ActorContainerClass;
import org.eclipse.etrice.core.room.Attribute;
+import org.eclipse.etrice.core.room.InterfaceItem;
+import org.eclipse.etrice.core.room.PortClass;
import org.eclipse.etrice.core.room.SubSystemClass;
import org.eclipse.etrice.core.room.util.RoomHelpers;
import org.eclipse.xtext.resource.EObjectDescription;
@@ -39,6 +44,24 @@ import org.eclipse.xtext.scoping.impl.SimpleScope;
*/
public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider {
+ public IScope scope_PortInstanceConfig_item(PortInstanceConfig ctx,
+ EReference ref) {
+ final List<IEObjectDescription> scopes = new ArrayList<IEObjectDescription>();
+
+ ActorInstanceConfig actorConfig = (ActorInstanceConfig) ctx
+ .eContainer();
+ SubSystemClass subsystem = actorConfig.getRoot();
+ if (subsystem != null) {
+ ActorContainerClass acc = ConfigUtil.resolve(subsystem,
+ actorConfig.getPath());
+ for (InterfaceItem item : ConfigUtil.getConfigurableInterfaceItems(
+ acc, true))
+ scopes.add(EObjectDescription.create(item.getName(), item));
+ }
+
+ return new SimpleScope(IScope.NULLSCOPE, scopes);
+ }
+
public IScope scope_AttrConfig_attribute(AttrConfig ctx, EReference ref) {
final List<IEObjectDescription> scopes = new ArrayList<IEObjectDescription>();
@@ -46,7 +69,10 @@ public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider {
collectAttributes((ActorClassConfig) ctx.eContainer(), scopes);
else if (ctx.eContainer() instanceof ActorInstanceConfig)
collectAttributes((ActorInstanceConfig) ctx.eContainer(), scopes);
-
+ else if (ctx.eContainer() instanceof PortClassConfig)
+ collectAttributes((PortClassConfig) ctx.eContainer(), scopes);
+ else if (ctx.eContainer() instanceof PortInstanceConfig)
+ collectAttributes((PortInstanceConfig) ctx.eContainer(), scopes);
return new SimpleScope(IScope.NULLSCOPE, scopes);
}
@@ -54,8 +80,7 @@ public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider {
List<IEObjectDescription> scopes) {
ActorClass actor = config.getActor();
if (actor != null) {
- for (Attribute att : RoomHelpers
- .getAllAttributes(actor)) {
+ for (Attribute att : RoomHelpers.getAllAttributes(actor)) {
scopes.add(EObjectDescription.create(att.getName(), att));
}
}
@@ -76,6 +101,28 @@ public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider {
}
}
+ private void collectAttributes(PortClassConfig config,
+ List<IEObjectDescription> scopes) {
+ ProtocolClassConfig protocolConfig = (ProtocolClassConfig) config
+ .eContainer();
+ PortClass portClass = null;
+ if (protocolConfig.getRegular() == config)
+ portClass = protocolConfig.getProtocol().getRegular();
+ else
+ portClass = protocolConfig.getProtocol().getConjugate();
+
+ if (portClass != null)
+ for (Attribute att : portClass.getAttributes())
+ scopes.add(EObjectDescription.create(att.getName(), att));
+ }
+
+ private void collectAttributes(PortInstanceConfig config,
+ List<IEObjectDescription> scopes) {
+ PortClass portClass = ConfigUtil.getPortClass(config);
+ if (portClass != null)
+ for (Attribute att : portClass.getAttributes())
+ scopes.add(EObjectDescription.create(att.getName(), att));
+ }
}
/*
diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java
index 1a46cb02c..165a94271 100644
--- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java
+++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java
@@ -29,6 +29,9 @@ import org.eclipse.etrice.core.config.ConfigPackage;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.Literal;
import org.eclipse.etrice.core.config.NumberLiteral;
+import org.eclipse.etrice.core.config.PortClassConfig;
+import org.eclipse.etrice.core.config.PortInstanceConfig;
+import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.config.StringLiteral;
@@ -37,15 +40,17 @@ import org.eclipse.etrice.core.room.ActorClass;
import org.eclipse.etrice.core.room.ActorContainerClass;
import org.eclipse.etrice.core.room.Attribute;
import org.eclipse.etrice.core.room.DataType;
+import org.eclipse.etrice.core.room.InterfaceItem;
import org.eclipse.etrice.core.room.LiteralType;
import org.eclipse.etrice.core.room.PrimitiveType;
+import org.eclipse.etrice.core.room.ProtocolClass;
import org.eclipse.xtext.validation.Check;
public class ConfigJavaValidator extends AbstractConfigJavaValidator {
@Check
public void checkConfigModel(ConfigModel model) {
- // duplicate class config check
+ // duplicate actor class config check
Set<ActorClass> actorClasses = new HashSet<ActorClass>();
for (ActorClassConfig classConfig : model.getActorClassConfigs()) {
if (actorClasses.contains(classConfig.getActor()))
@@ -55,18 +60,29 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator {
else
actorClasses.add(classConfig.getActor());
}
- // duplicate instance config check
- Set<String> instanceRefs = new HashSet<String>();
+ // duplicate actor instance config check
+ Set<String> actorRefs = new HashSet<String>();
for (ActorInstanceConfig instanceConfig : model
.getActorInstanceConfigs()) {
String ref = instanceConfig.getRoot().getName()
+ refPathToString(instanceConfig.getPath());
- if (instanceRefs.contains(ref))
- error("duplicate instance config", model,
+ if (actorRefs.contains(ref))
+ error("duplicate actor instance config", model,
ConfigPackage.Literals.CONFIG_MODEL__CONFIG_ELEMENTS,
model.getConfigElements().indexOf(instanceConfig));
else
- instanceRefs.add(ref);
+ actorRefs.add(ref);
+ }
+ // duplicate protocol class config check
+ Set<ProtocolClass> protocolClasses = new HashSet<ProtocolClass>();
+ for (ProtocolClassConfig protocolConfig : model
+ .getProtocolClassConfigs()) {
+ if (protocolClasses.contains(protocolConfig.getProtocol()))
+ error("duplicate protocol class config", model,
+ ConfigPackage.Literals.CONFIG_MODEL__CONFIG_ELEMENTS,
+ model.getConfigElements().indexOf(protocolConfig));
+ else
+ protocolClasses.add(protocolConfig.getProtocol());
}
}
@@ -90,11 +106,34 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator {
.getActorInstanceConfig_Path());
}
}
+ // duplicate port instance config check
+ Set<InterfaceItem> items = new HashSet<InterfaceItem>();
+ for (PortInstanceConfig portConfig : config.getPorts()) {
+ InterfaceItem item = portConfig.getItem();
+ if (items.contains(item))
+ error("duplicate port instance config",
+ ConfigPackage.Literals.ACTOR_INSTANCE_CONFIG__PORTS,
+ config.getPorts().indexOf(portConfig));
+ else
+ items.add(item);
+ }
checkDuplicateAttributes(config.getAttributes(),
ConfigPackage.Literals.ACTOR_INSTANCE_CONFIG__ATTRIBUTES);
}
+ @Check
+ public void checkPortClassConfig(PortClassConfig config) {
+ checkDuplicateAttributes(config.getAttributes(),
+ ConfigPackage.Literals.PORT_CLASS_CONFIG__ATTRIBUTES);
+ }
+
+ @Check
+ public void checkPortInstanceConfig(PortInstanceConfig config) {
+ checkDuplicateAttributes(config.getAttributes(),
+ ConfigPackage.Literals.PORT_INSTANCE_CONFIG__ATTRIBUTES);
+ }
+
private void checkDuplicateAttributes(
List<? extends AttrConfig> attrConfigs, EReference ref) {
Set<Attribute> attributes = new HashSet<Attribute>();
@@ -142,43 +181,52 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator {
}
private void checkAttrConfigValue(PrimitiveType primitive, AttrConfig config) {
- Literal value = config.getValue();
- if (value == null)
+ if (config.getValue() == null)
return;
+ List<Literal> values = config.getValue().getLiterals();
EReference valueRef = ConfigPackage.eINSTANCE.getAttrConfig_Value();
+ EReference arrayRef = ConfigPackage.eINSTANCE
+ .getLiteralArray_Literals();
LiteralType type = primitive.getType();
Attribute attribute = config.getAttribute();
+ int attrMult = (attribute.getSize() > 0) ? attribute.getSize() : 1;
+ if (values.size() > attrMult)
+ error("too many values, multiplicity is " + attrMult, valueRef);
+ if (values.size() > 1 && values.size() < attrMult)
+ error("not enough values, multiplicity is " + attrMult, valueRef);
// type check
- switch (type) {
- case BOOL:
- if (!(value instanceof BooleanLiteral))
- error("must be boolean value", valueRef);
- break;
- case REAL:
- if (!(value instanceof NumberLiteral))
- error("must be an integer or real value", valueRef);
- break;
- case INT:
- if (!(value instanceof IntLiteral))
- error("must be an integer", valueRef);
- break;
- case CHAR:
- if (!(value instanceof StringLiteral))
- error("must be a string", valueRef);
- else {
- StringLiteral strValue = (StringLiteral) value;
- int maxLength = attribute.getSize() + 1;
- if (maxLength < strValue.getValue().length())
- error("too many characters - maximal length is "
- + maxLength, valueRef);
+ for (Literal value : values) {
+ switch (type) {
+ case BOOL:
+ if (!(value instanceof BooleanLiteral))
+ error("must be boolean value", valueRef);
+ break;
+ case REAL:
+ if (!(value instanceof NumberLiteral))
+ error("must be an integer or real value", valueRef);
+ break;
+ case INT:
+ if (!(value instanceof IntLiteral))
+ error("must be an integer", valueRef);
+ break;
+ case CHAR:
+ if (!(value instanceof StringLiteral))
+ error("must be a string", valueRef);
+ else {
+ if (values.size() > 1)
+ error("multiplicity must be one", valueRef);
+ StringLiteral strValue = (StringLiteral) value;
+ if (attrMult < strValue.getValue().length())
+ error("too many characters - maximal length is "
+ + attrMult, valueRef);
+ }
+ break;
}
- break;
}
// numeric check
- if ((type == LiteralType.INT || type == LiteralType.REAL)
- && value instanceof NumberLiteral) {
+ if ((type == LiteralType.INT || type == LiteralType.REAL)) {
ActorClassConfig classConfig = null;
if (config.eContainer() instanceof ActorInstanceConfig) {
ActorInstanceConfig actorConfig = (ActorInstanceConfig) config
@@ -208,18 +256,24 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator {
if (attrClassConfig != null) {
NumberLiteral min = attrClassConfig.getMin();
NumberLiteral max = attrClassConfig.getMax();
- double dValue = ConfigUtil
- .literalToDouble((NumberLiteral) value);
-
- if (min != null) {
- double dMin = ConfigUtil.literalToDouble(min);
- if (dMin > dValue)
- error("value is less than minimum", valueRef);
- }
- if (max != null) {
- double dMax = ConfigUtil.literalToDouble(max);
- if (dMax < dValue)
- error("value exceeds maximum", valueRef);
+ for (Literal value : values) {
+ if (!(value instanceof NumberLiteral))
+ continue;
+
+ double dValue = ConfigUtil
+ .literalToDouble((NumberLiteral) value);
+ if (min != null) {
+ double dMin = ConfigUtil.literalToDouble(min);
+ if (dMin > dValue)
+ error("value is less than minimum", arrayRef,
+ values.indexOf(value));
+ }
+ if (max != null) {
+ double dMax = ConfigUtil.literalToDouble(max);
+ if (dMax < dValue)
+ error("value exceeds maximum", arrayRef,
+ values.indexOf(value));
+ }
}
}
}

Back to the top