Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2012-07-07 09:22:11 -0400
committerJuergen Haug2012-07-07 09:22:11 -0400
commit72eaf5fdf1ce7ecdd5faf66d56f8e091fb2d1c79 (patch)
tree8d56c18be5529a47ab0b808a7a8513c5a4c1f908 /plugins/org.eclipse.etrice.core.config/src-gen
parente28d8b43703a66a8e8eb16b0a10d6ad58da01ea3 (diff)
downloadorg.eclipse.etrice-72eaf5fdf1ce7ecdd5faf66d56f8e091fb2d1c79.tar.gz
org.eclipse.etrice-72eaf5fdf1ce7ecdd5faf66d56f8e091fb2d1c79.tar.xz
org.eclipse.etrice-72eaf5fdf1ce7ecdd5faf66d56f8e091fb2d1c79.zip
[6485][config] grammer prepared for dynamic config + dataclasses
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config/src-gen')
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore19
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel16
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi181
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java18
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java77
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java18
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java368
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java109
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java82
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java46
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java252
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java24
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java153
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java293
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java264
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java40
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g436
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens58
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java848
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java3241
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSemanticSequencer.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSyntacticSequencer.java46
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java320
24 files changed, 5434 insertions, 1569 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 564faf105..2cc22a604 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
@@ -25,6 +25,16 @@
eType="#//ConfigElement" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConfigElement"/>
+ <eClassifiers xsi:type="ecore:EClass" name="SubSystemConfig" eSuperTypes="#//ConfigElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemClass"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dynConfig" eType="#//DynamicConfig"
+ containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DynamicConfig">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="source" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="filePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="polling" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActorClassConfig" eSuperTypes="#//ConfigElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="actor" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ActorClass"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
@@ -65,8 +75,15 @@
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="max" eType="#//NumberLiteral"
containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrClassConfig" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AttrInstanceConfig" eSuperTypes="#//AttrConfig">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dynConfig" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="readOnly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrInstanceConfig" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AttrInstanceConfig" eSuperTypes="#//AttrConfig"/>
<eClassifiers xsi:type="ecore:EClass" name="RefPath">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="refs" unique="false" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
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 6c8e52d53..bb98171a7 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
@@ -17,6 +17,15 @@
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getProtocolClassConfigs"/>
</genClasses>
<genClasses ecoreClass="Config.ecore#//ConfigElement"/>
+ <genClasses ecoreClass="Config.ecore#//SubSystemConfig">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//SubSystemConfig/subSystem"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//SubSystemConfig/dynConfig"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//DynamicConfig">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/source"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/filePath"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/polling"/>
+ </genClasses>
<genClasses ecoreClass="Config.ecore#//ActorClassConfig">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//ActorClassConfig/actor"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ActorClassConfig/attributes"/>
@@ -46,8 +55,13 @@
<genClasses ecoreClass="Config.ecore#//AttrClassConfig">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/min"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/max"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/attributes"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//AttrInstanceConfig">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//AttrInstanceConfig/dynConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//AttrInstanceConfig/readOnly"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrInstanceConfig/attributes"/>
</genClasses>
- <genClasses ecoreClass="Config.ecore#//AttrInstanceConfig"/>
<genClasses ecoreClass="Config.ecore#//RefPath">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//RefPath/refs"/>
</genClasses>
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 d0e14b869..81ca3837f 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.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
</elements>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="configElements" operator="+=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
@@ -29,59 +29,115 @@
</type>
<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"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
</alternatives>
</rules>
- <rules xsi:type="xtext:ParserRule" name="ActorClassConfig">
+ <rules xsi:type="xtext:ParserRule" name="SubSystemConfig">
<type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//ActorClassConfig"/>
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//SubSystemConfig"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="ActorClassConfig"/>
- <elements xsi:type="xtext:Assignment" feature="actor" operator="=">
+ <elements xsi:type="xtext:Keyword" value="SubSystemConfig"/>
+ <elements xsi:type="xtext:Assignment" feature="subSystem" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ActorClass"/>
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//SubSystemClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <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.8"/>
+ <elements xsi:type="xtext:Assignment" feature="dynConfig" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
</rules>
- <rules xsi:type="xtext:ParserRule" name="ActorInstanceConfig">
+ <rules xsi:type="xtext:ParserRule" name="DynamicConfig">
<type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//ActorInstanceConfig"/>
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//DynamicConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="dynamic configuration"/>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="source"/>
+ <elements xsi:type="xtext:Assignment" feature="source" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="file path"/>
+ <elements xsi:type="xtext:Assignment" feature="filePath" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
+ </elements>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="polling rate"/>
+ <elements xsi:type="xtext:Assignment" feature="polling" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
+ </elements>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="ActorClassConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//ActorClassConfig"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="ActorInstanceConfig"/>
- <elements xsi:type="xtext:Assignment" feature="root" operator="=">
+ <elements xsi:type="xtext:Keyword" value="ActorClassConfig"/>
+ <elements xsi:type="xtext:Assignment" feature="actor" operator="=">
<terminal xsi:type="xtext:CrossReference">
<type metamodel="/0/@metamodelDeclarations.2">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//SubSystemClass"/>
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ActorClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</terminal>
</elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Assignment" feature="path" operator="=">
- <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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
</rules>
+ <rules xsi:type="xtext:ParserRule" name="ActorInstanceConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//ActorInstanceConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="ActorInstanceConfig"/>
+ <elements xsi:type="xtext:Assignment" feature="root" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <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.15"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="/"/>
+ <elements xsi:type="xtext:Assignment" feature="path" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="ports" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </elements>
+ </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"/>
@@ -93,7 +149,7 @@
<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 xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
@@ -101,13 +157,13 @@
<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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
</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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
</elements>
</elements>
</elements>
@@ -127,7 +183,7 @@
<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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -148,7 +204,7 @@
</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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -158,8 +214,8 @@
<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.8"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AttrClassConfig">
@@ -179,7 +235,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.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
@@ -189,17 +245,20 @@
<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.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</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.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</elements>
</elements>
</elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ </elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</elements>
</alternatives>
@@ -221,8 +280,28 @@
<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.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Assignment" feature="dynConfig" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="dynamic configuration"/>
+ </elements>
+ <elements xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:Assignment" feature="readOnly" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="read-only"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="read-write"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ </elements>
</elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
</elements>
</alternatives>
</rules>
@@ -251,7 +330,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.12"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
</elements>
<elements xsi:type="xtext:Keyword" value="from"/>
</elements>
@@ -267,7 +346,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.13"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
<elements xsi:type="xtext:Keyword" cardinality="?" value=".*"/>
</alternatives>
</rules>
@@ -289,12 +368,12 @@
</type>
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" feature="literals" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</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"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</elements>
</elements>
</alternatives>
@@ -304,9 +383,9 @@
<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.16"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
+ <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"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="BooleanLiteral">
@@ -332,8 +411,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.19"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="RealLiteral">
@@ -347,7 +426,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
</elements>
</alternatives>
</rules>
@@ -362,7 +441,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
</elements>
</alternatives>
</rules>
@@ -386,8 +465,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.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"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="SignedInteger" definesHiddenTokens="true">
@@ -406,17 +485,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.29"/>
+ <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
</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.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"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.30"/>
</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/config/AttrClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
index f9f9fd8b3..5b8eb8716 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
@@ -6,6 +6,7 @@
*/
package org.eclipse.etrice.core.config;
+import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
@@ -17,6 +18,7 @@ package org.eclipse.etrice.core.config;
* <ul>
* <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getMin <em>Min</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getAttributes <em>Attributes</em>}</li>
* </ul>
* </p>
*
@@ -78,4 +80,20 @@ public interface AttrClassConfig extends AttrConfig
*/
void setMax(NumberLiteral 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.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#getAttrClassConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrClassConfig> getAttributes();
+
} // AttrClassConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
index 2caaad75f..f3e5a405c 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
@@ -6,12 +6,21 @@
*/
package org.eclipse.etrice.core.config;
+import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Attr Instance Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig()
* @model
@@ -19,4 +28,72 @@ package org.eclipse.etrice.core.config;
*/
public interface AttrInstanceConfig extends AttrConfig
{
+ /**
+ * Returns the value of the '<em><b>Dyn Config</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dyn Config</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Dyn Config</em>' attribute.
+ * @see #setDynConfig(boolean)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_DynConfig()
+ * @model
+ * @generated
+ */
+ boolean isDynConfig();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dyn Config</em>' attribute.
+ * @see #isDynConfig()
+ * @generated
+ */
+ void setDynConfig(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_ReadOnly()
+ * @model
+ * @generated
+ */
+ boolean isReadOnly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ void setReadOnly(boolean 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#getAttrInstanceConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrInstanceConfig> getAttributes();
+
} // AttrInstanceConfig
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 9313feb2b..d8a4eef86 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
@@ -45,6 +45,24 @@ public interface ConfigFactory extends EFactory
ConfigElement createConfigElement();
/**
+ * Returns a new object of class '<em>Sub System Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub System Config</em>'.
+ * @generated
+ */
+ SubSystemConfig createSubSystemConfig();
+
+ /**
+ * Returns a new object of class '<em>Dynamic Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Dynamic Config</em>'.
+ * @generated
+ */
+ DynamicConfig createDynamicConfig();
+
+ /**
* Returns a new object of class '<em>Actor Class Config</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
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 3c4c1e860..e4340ebc8 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
@@ -117,6 +117,89 @@ public interface ConfigPackage extends EPackage
int CONFIG_ELEMENT_FEATURE_COUNT = 0;
/**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl <em>Sub System Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.SubSystemConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getSubSystemConfig()
+ * @generated
+ */
+ int SUB_SYSTEM_CONFIG = 2;
+
+ /**
+ * The feature id for the '<em><b>Sub System</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG__SUB_SYSTEM = CONFIG_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Dyn Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG__DYN_CONFIG = CONFIG_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Sub System Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG_FEATURE_COUNT = CONFIG_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl <em>Dynamic Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.DynamicConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getDynamicConfig()
+ * @generated
+ */
+ int DYNAMIC_CONFIG = 3;
+
+ /**
+ * The feature id for the '<em><b>Source</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__SOURCE = 0;
+
+ /**
+ * The feature id for the '<em><b>File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__FILE_PATH = 1;
+
+ /**
+ * The feature id for the '<em><b>Polling</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__POLLING = 2;
+
+ /**
+ * The number of structural features of the '<em>Dynamic Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG_FEATURE_COUNT = 3;
+
+ /**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.ActorClassConfigImpl <em>Actor Class Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -124,7 +207,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getActorClassConfig()
* @generated
*/
- int ACTOR_CLASS_CONFIG = 2;
+ int ACTOR_CLASS_CONFIG = 4;
/**
* The feature id for the '<em><b>Actor</b></em>' reference.
@@ -161,7 +244,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getActorInstanceConfig()
* @generated
*/
- int ACTOR_INSTANCE_CONFIG = 3;
+ int ACTOR_INSTANCE_CONFIG = 5;
/**
* The feature id for the '<em><b>Root</b></em>' reference.
@@ -216,7 +299,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getProtocolClassConfig()
* @generated
*/
- int PROTOCOL_CLASS_CONFIG = 4;
+ int PROTOCOL_CLASS_CONFIG = 6;
/**
* The feature id for the '<em><b>Protocol</b></em>' reference.
@@ -262,7 +345,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortClassConfig()
* @generated
*/
- int PORT_CLASS_CONFIG = 5;
+ int PORT_CLASS_CONFIG = 7;
/**
* The feature id for the '<em><b>Attributes</b></em>' containment reference list.
@@ -290,7 +373,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortInstanceConfig()
* @generated
*/
- int PORT_INSTANCE_CONFIG = 6;
+ int PORT_INSTANCE_CONFIG = 8;
/**
* The feature id for the '<em><b>Item</b></em>' reference.
@@ -327,7 +410,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrConfig()
* @generated
*/
- int ATTR_CONFIG = 7;
+ int ATTR_CONFIG = 9;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -364,7 +447,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrClassConfig()
* @generated
*/
- int ATTR_CLASS_CONFIG = 8;
+ int ATTR_CLASS_CONFIG = 10;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -403,13 +486,22 @@ public interface ConfigPackage extends EPackage
int ATTR_CLASS_CONFIG__MAX = ATTR_CONFIG_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_CLASS_CONFIG__ATTRIBUTES = ATTR_CONFIG_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Attr Class Config</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ATTR_CLASS_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 2;
+ int ATTR_CLASS_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl <em>Attr Instance Config</em>}' class.
@@ -419,7 +511,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrInstanceConfig()
* @generated
*/
- int ATTR_INSTANCE_CONFIG = 9;
+ int ATTR_INSTANCE_CONFIG = 11;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -440,13 +532,40 @@ public interface ConfigPackage extends EPackage
int ATTR_INSTANCE_CONFIG__VALUE = ATTR_CONFIG__VALUE;
/**
+ * The feature id for the '<em><b>Dyn Config</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__DYN_CONFIG = ATTR_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__READ_ONLY = ATTR_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__ATTRIBUTES = ATTR_CONFIG_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Attr Instance Config</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ATTR_INSTANCE_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 0;
+ int ATTR_INSTANCE_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.RefPathImpl <em>Ref Path</em>}' class.
@@ -456,7 +575,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRefPath()
* @generated
*/
- int REF_PATH = 10;
+ int REF_PATH = 12;
/**
* The feature id for the '<em><b>Refs</b></em>' attribute list.
@@ -484,7 +603,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getImport()
* @generated
*/
- int IMPORT = 11;
+ int IMPORT = 13;
/**
* The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
@@ -521,7 +640,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteralArray()
* @generated
*/
- int LITERAL_ARRAY = 12;
+ int LITERAL_ARRAY = 14;
/**
* The feature id for the '<em><b>Literals</b></em>' containment reference list.
@@ -549,7 +668,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteral()
* @generated
*/
- int LITERAL = 13;
+ int LITERAL = 15;
/**
* The number of structural features of the '<em>Literal</em>' class.
@@ -568,7 +687,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getBooleanLiteral()
* @generated
*/
- int BOOLEAN_LITERAL = 14;
+ int BOOLEAN_LITERAL = 16;
/**
* The feature id for the '<em><b>Is True</b></em>' attribute.
@@ -596,7 +715,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getNumberLiteral()
* @generated
*/
- int NUMBER_LITERAL = 15;
+ int NUMBER_LITERAL = 17;
/**
* The number of structural features of the '<em>Number Literal</em>' class.
@@ -615,7 +734,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRealLiteral()
* @generated
*/
- int REAL_LITERAL = 16;
+ int REAL_LITERAL = 18;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -643,7 +762,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getIntLiteral()
* @generated
*/
- int INT_LITERAL = 17;
+ int INT_LITERAL = 19;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -671,7 +790,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getStringLiteral()
* @generated
*/
- int STRING_LITERAL = 18;
+ int STRING_LITERAL = 20;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -735,6 +854,81 @@ public interface ConfigPackage extends EPackage
EClass getConfigElement();
/**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.SubSystemConfig <em>Sub System Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub System Config</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig
+ * @generated
+ */
+ EClass getSubSystemConfig();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sub System</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem()
+ * @see #getSubSystemConfig()
+ * @generated
+ */
+ EReference getSubSystemConfig_SubSystem();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Dyn Config</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig()
+ * @see #getSubSystemConfig()
+ * @generated
+ */
+ EReference getSubSystemConfig_DynConfig();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.DynamicConfig <em>Dynamic Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Dynamic Config</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig
+ * @generated
+ */
+ EClass getDynamicConfig();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getSource <em>Source</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Source</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getSource()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_Source();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>File Path</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getFilePath()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_FilePath();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling <em>Polling</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Polling</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getPolling()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_Polling();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.ActorClassConfig <em>Actor Class Config</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -981,6 +1175,17 @@ public interface ConfigPackage extends EPackage
EReference getAttrClassConfig_Max();
/**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.AttrClassConfig#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.AttrClassConfig#getAttributes()
+ * @see #getAttrClassConfig()
+ * @generated
+ */
+ EReference getAttrClassConfig_Attributes();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.AttrInstanceConfig <em>Attr Instance Config</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -991,6 +1196,39 @@ public interface ConfigPackage extends EPackage
EClass getAttrInstanceConfig();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Dyn Config</em>'.
+ * @see org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EAttribute getAttrInstanceConfig_DynConfig();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Read Only</em>'.
+ * @see org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EAttribute getAttrInstanceConfig_ReadOnly();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#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.AttrInstanceConfig#getAttributes()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EReference getAttrInstanceConfig_Attributes();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.RefPath <em>Ref Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1228,6 +1466,66 @@ public interface ConfigPackage extends EPackage
EClass CONFIG_ELEMENT = eINSTANCE.getConfigElement();
/**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl <em>Sub System Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.SubSystemConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getSubSystemConfig()
+ * @generated
+ */
+ EClass SUB_SYSTEM_CONFIG = eINSTANCE.getSubSystemConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Sub System</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_SYSTEM_CONFIG__SUB_SYSTEM = eINSTANCE.getSubSystemConfig_SubSystem();
+
+ /**
+ * The meta object literal for the '<em><b>Dyn Config</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_SYSTEM_CONFIG__DYN_CONFIG = eINSTANCE.getSubSystemConfig_DynConfig();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl <em>Dynamic Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.DynamicConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getDynamicConfig()
+ * @generated
+ */
+ EClass DYNAMIC_CONFIG = eINSTANCE.getDynamicConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Source</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__SOURCE = eINSTANCE.getDynamicConfig_Source();
+
+ /**
+ * The meta object literal for the '<em><b>File Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__FILE_PATH = eINSTANCE.getDynamicConfig_FilePath();
+
+ /**
+ * The meta object literal for the '<em><b>Polling</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__POLLING = eINSTANCE.getDynamicConfig_Polling();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.ActorClassConfigImpl <em>Actor Class Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1426,6 +1724,14 @@ public interface ConfigPackage extends EPackage
EReference ATTR_CLASS_CONFIG__MAX = eINSTANCE.getAttrClassConfig_Max();
/**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ATTR_CLASS_CONFIG__ATTRIBUTES = eINSTANCE.getAttrClassConfig_Attributes();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl <em>Attr Instance Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1436,6 +1742,30 @@ public interface ConfigPackage extends EPackage
EClass ATTR_INSTANCE_CONFIG = eINSTANCE.getAttrInstanceConfig();
/**
+ * The meta object literal for the '<em><b>Dyn Config</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ATTR_INSTANCE_CONFIG__DYN_CONFIG = eINSTANCE.getAttrInstanceConfig_DynConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Read Only</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ATTR_INSTANCE_CONFIG__READ_ONLY = eINSTANCE.getAttrInstanceConfig_ReadOnly();
+
+ /**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ATTR_INSTANCE_CONFIG__ATTRIBUTES = eINSTANCE.getAttrInstanceConfig_Attributes();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.RefPathImpl <em>Ref Path</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java
new file mode 100644
index 000000000..b07c882ce
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java
@@ -0,0 +1,109 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Dynamic Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling <em>Polling</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig()
+ * @model
+ * @generated
+ */
+public interface DynamicConfig extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>Source</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Source</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Source</em>' attribute.
+ * @see #setSource(String)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_Source()
+ * @model
+ * @generated
+ */
+ String getSource();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getSource <em>Source</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Source</em>' attribute.
+ * @see #getSource()
+ * @generated
+ */
+ void setSource(String value);
+
+ /**
+ * Returns the value of the '<em><b>File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>File Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>File Path</em>' attribute.
+ * @see #setFilePath(String)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_FilePath()
+ * @model
+ * @generated
+ */
+ String getFilePath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>File Path</em>' attribute.
+ * @see #getFilePath()
+ * @generated
+ */
+ void setFilePath(String value);
+
+ /**
+ * Returns the value of the '<em><b>Polling</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Polling</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Polling</em>' attribute.
+ * @see #setPolling(int)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_Polling()
+ * @model
+ * @generated
+ */
+ int getPolling();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Polling</em>' attribute.
+ * @see #getPolling()
+ * @generated
+ */
+ void setPolling(int value);
+
+} // DynamicConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java
new file mode 100644
index 000000000..3ff0671e7
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java
@@ -0,0 +1,82 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.etrice.core.room.SubSystemClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub System Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig()
+ * @model
+ * @generated
+ */
+public interface SubSystemConfig extends ConfigElement
+{
+ /**
+ * Returns the value of the '<em><b>Sub System</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub System</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub System</em>' reference.
+ * @see #setSubSystem(SubSystemClass)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_SubSystem()
+ * @model
+ * @generated
+ */
+ SubSystemClass getSubSystem();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub System</em>' reference.
+ * @see #getSubSystem()
+ * @generated
+ */
+ void setSubSystem(SubSystemClass value);
+
+ /**
+ * Returns the value of the '<em><b>Dyn Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dyn Config</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>Dyn Config</em>' containment reference.
+ * @see #setDynConfig(DynamicConfig)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_DynConfig()
+ * @model containment="true"
+ * @generated
+ */
+ DynamicConfig getDynConfig();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dyn Config</em>' containment reference.
+ * @see #getDynConfig()
+ * @generated
+ */
+ void setDynConfig(DynamicConfig value);
+
+} // SubSystemConfig
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 1467d622b..b309b7bf8 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
@@ -6,14 +6,21 @@
*/
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.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.NumberLiteral;
@@ -27,6 +34,7 @@ import org.eclipse.etrice.core.config.NumberLiteral;
* <ul>
* <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getMin <em>Min</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getAttributes <em>Attributes</em>}</li>
* </ul>
* </p>
*
@@ -55,6 +63,16 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
protected NumberLiteral max;
/**
+ * 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
@@ -176,6 +194,20 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
* <!-- end-user-doc -->
* @generated
*/
+ public EList<AttrClassConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrClassConfig>(AttrClassConfig.class, this, ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES);
+ }
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
@@ -185,6 +217,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return basicSetMin(null, msgs);
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return basicSetMax(null, msgs);
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return ((InternalEList<?>)getAttributes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -203,6 +237,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return getMin();
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return getMax();
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return getAttributes();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -212,6 +248,7 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue)
{
@@ -223,6 +260,10 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
setMax((NumberLiteral)newValue);
return;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ getAttributes().addAll((Collection<? extends AttrClassConfig>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -243,6 +284,9 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
setMax((NumberLiteral)null);
return;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -261,6 +305,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return min != null;
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return max != null;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
index 9c3388fe3..1f7385fd6 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
@@ -6,7 +6,20 @@
*/
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.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.etrice.core.config.AttrInstanceConfig;
import org.eclipse.etrice.core.config.ConfigPackage;
@@ -16,6 +29,12 @@ import org.eclipse.etrice.core.config.ConfigPackage;
* An implementation of the model object '<em><b>Attr Instance Config</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#isDynConfig <em>Dyn Config</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#isReadOnly <em>Read Only</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#getAttributes <em>Attributes</em>}</li>
+ * </ul>
* </p>
*
* @generated
@@ -23,6 +42,56 @@ import org.eclipse.etrice.core.config.ConfigPackage;
public class AttrInstanceConfigImpl extends AttrConfigImpl implements AttrInstanceConfig
{
/**
+ * The default value of the '{@link #isDynConfig() <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean DYN_CONFIG_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isDynConfig() <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected boolean dynConfig = DYN_CONFIG_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+
+ /**
+ * 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
@@ -43,4 +112,187 @@ public class AttrInstanceConfigImpl extends AttrConfigImpl implements AttrInstan
return ConfigPackage.Literals.ATTR_INSTANCE_CONFIG;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isDynConfig()
+ {
+ return dynConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDynConfig(boolean newDynConfig)
+ {
+ boolean oldDynConfig = dynConfig;
+ dynConfig = newDynConfig;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG, oldDynConfig, dynConfig));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AttrInstanceConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrInstanceConfig>(AttrInstanceConfig.class, this, ConfigPackage.ATTR_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.ATTR_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.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ return isDynConfig();
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ return isReadOnly();
+ case ConfigPackage.ATTR_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.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ setDynConfig((Boolean)newValue);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case ConfigPackage.ATTR_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.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ setDynConfig(DYN_CONFIG_EDEFAULT);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case ConfigPackage.ATTR_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.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ return dynConfig != DYN_CONFIG_EDEFAULT;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (dynConfig: ");
+ result.append(dynConfig);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(')');
+ return result.toString();
+ }
+
} //AttrInstanceConfigImpl
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 3d95aa14f..b4e7e2561 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
@@ -70,6 +70,8 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
{
case ConfigPackage.CONFIG_MODEL: return createConfigModel();
case ConfigPackage.CONFIG_ELEMENT: return createConfigElement();
+ case ConfigPackage.SUB_SYSTEM_CONFIG: return createSubSystemConfig();
+ case ConfigPackage.DYNAMIC_CONFIG: return createDynamicConfig();
case ConfigPackage.ACTOR_CLASS_CONFIG: return createActorClassConfig();
case ConfigPackage.ACTOR_INSTANCE_CONFIG: return createActorInstanceConfig();
case ConfigPackage.PROTOCOL_CLASS_CONFIG: return createProtocolClassConfig();
@@ -119,6 +121,28 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
* <!-- end-user-doc -->
* @generated
*/
+ public SubSystemConfig createSubSystemConfig()
+ {
+ SubSystemConfigImpl subSystemConfig = new SubSystemConfigImpl();
+ return subSystemConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DynamicConfig createDynamicConfig()
+ {
+ DynamicConfigImpl dynamicConfig = new DynamicConfigImpl();
+ return dynamicConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public ActorClassConfig createActorClassConfig()
{
ActorClassConfigImpl actorClassConfig = new ActorClassConfigImpl();
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 3e46fb475..4d443c069 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
@@ -23,6 +23,7 @@ import org.eclipse.etrice.core.config.ConfigElement;
import org.eclipse.etrice.core.config.ConfigFactory;
import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.Literal;
@@ -34,6 +35,7 @@ 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;
+import org.eclipse.etrice.core.config.SubSystemConfig;
import org.eclipse.etrice.core.room.RoomPackage;
@@ -64,6 +66,20 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ private EClass subSystemConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dynamicConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass actorClassConfigEClass = null;
/**
@@ -289,6 +305,76 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getSubSystemConfig()
+ {
+ return subSystemConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubSystemConfig_SubSystem()
+ {
+ return (EReference)subSystemConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubSystemConfig_DynConfig()
+ {
+ return (EReference)subSystemConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDynamicConfig()
+ {
+ return dynamicConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_Source()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_FilePath()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_Polling()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getActorClassConfig()
{
return actorClassConfigEClass;
@@ -519,6 +605,16 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getAttrClassConfig_Attributes()
+ {
+ return (EReference)attrClassConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getAttrInstanceConfig()
{
return attrInstanceConfigEClass;
@@ -529,6 +625,36 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getAttrInstanceConfig_DynConfig()
+ {
+ return (EAttribute)attrInstanceConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAttrInstanceConfig_ReadOnly()
+ {
+ return (EAttribute)attrInstanceConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAttrInstanceConfig_Attributes()
+ {
+ return (EReference)attrInstanceConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getRefPath()
{
return refPathEClass;
@@ -730,6 +856,15 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
configElementEClass = createEClass(CONFIG_ELEMENT);
+ subSystemConfigEClass = createEClass(SUB_SYSTEM_CONFIG);
+ createEReference(subSystemConfigEClass, SUB_SYSTEM_CONFIG__SUB_SYSTEM);
+ createEReference(subSystemConfigEClass, SUB_SYSTEM_CONFIG__DYN_CONFIG);
+
+ dynamicConfigEClass = createEClass(DYNAMIC_CONFIG);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__SOURCE);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__FILE_PATH);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__POLLING);
+
actorClassConfigEClass = createEClass(ACTOR_CLASS_CONFIG);
createEReference(actorClassConfigEClass, ACTOR_CLASS_CONFIG__ACTOR);
createEReference(actorClassConfigEClass, ACTOR_CLASS_CONFIG__ATTRIBUTES);
@@ -759,8 +894,12 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
attrClassConfigEClass = createEClass(ATTR_CLASS_CONFIG);
createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__MIN);
createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__MAX);
+ createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__ATTRIBUTES);
attrInstanceConfigEClass = createEClass(ATTR_INSTANCE_CONFIG);
+ createEAttribute(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__DYN_CONFIG);
+ createEAttribute(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__READ_ONLY);
+ createEReference(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__ATTRIBUTES);
refPathEClass = createEClass(REF_PATH);
createEAttribute(refPathEClass, REF_PATH__REFS);
@@ -821,6 +960,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
// Set bounds for type parameters
// Add supertypes to classes
+ subSystemConfigEClass.getESuperTypes().add(this.getConfigElement());
actorClassConfigEClass.getESuperTypes().add(this.getConfigElement());
actorInstanceConfigEClass.getESuperTypes().add(this.getConfigElement());
protocolClassConfigEClass.getESuperTypes().add(this.getConfigElement());
@@ -845,6 +985,15 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
initEClass(configElementEClass, ConfigElement.class, "ConfigElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(subSystemConfigEClass, SubSystemConfig.class, "SubSystemConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSubSystemConfig_SubSystem(), theRoomPackage.getSubSystemClass(), null, "subSystem", null, 0, 1, SubSystemConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSubSystemConfig_DynConfig(), this.getDynamicConfig(), null, "dynConfig", null, 0, 1, SubSystemConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dynamicConfigEClass, DynamicConfig.class, "DynamicConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDynamicConfig_Source(), ecorePackage.getEString(), "source", null, 0, 1, DynamicConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDynamicConfig_FilePath(), ecorePackage.getEString(), "filePath", null, 0, 1, DynamicConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDynamicConfig_Polling(), ecorePackage.getEInt(), "polling", null, 0, 1, DynamicConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
initEClass(actorClassConfigEClass, ActorClassConfig.class, "ActorClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getActorClassConfig_Actor(), theRoomPackage.getActorClass(), null, "actor", null, 0, 1, ActorClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActorClassConfig_Attributes(), this.getAttrClassConfig(), null, "attributes", null, 0, -1, ActorClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -874,8 +1023,12 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
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);
initEReference(getAttrClassConfig_Max(), this.getNumberLiteral(), null, "max", null, 0, 1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAttrClassConfig_Attributes(), this.getAttrClassConfig(), null, "attributes", null, 0, -1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(attrInstanceConfigEClass, AttrInstanceConfig.class, "AttrInstanceConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAttrInstanceConfig_DynConfig(), ecorePackage.getEBoolean(), "dynConfig", null, 0, 1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAttrInstanceConfig_ReadOnly(), ecorePackage.getEBoolean(), "readOnly", null, 0, 1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAttrInstanceConfig_Attributes(), this.getAttrInstanceConfig(), null, "attributes", null, 0, -1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(refPathEClass, RefPath.class, "RefPath", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getRefPath_Refs(), ecorePackage.getEString(), "refs", null, 0, -1, RefPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java
new file mode 100644
index 000000000..97bfa5d09
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java
@@ -0,0 +1,293 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+
+ */
+package org.eclipse.etrice.core.config.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Dynamic Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getFilePath <em>File Path</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getPolling <em>Polling</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements DynamicConfig
+{
+ /**
+ * The default value of the '{@link #getSource() <em>Source</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected static final String SOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSource() <em>Source</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSource()
+ * @generated
+ * @ordered
+ */
+ protected String source = SOURCE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getFilePath() <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFilePath()
+ * @generated
+ * @ordered
+ */
+ protected static final String FILE_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFilePath() <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFilePath()
+ * @generated
+ * @ordered
+ */
+ protected String filePath = FILE_PATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPolling() <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPolling()
+ * @generated
+ * @ordered
+ */
+ protected static final int POLLING_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPolling() <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPolling()
+ * @generated
+ * @ordered
+ */
+ protected int polling = POLLING_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DynamicConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.DYNAMIC_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSource()
+ {
+ return source;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSource(String newSource)
+ {
+ String oldSource = source;
+ source = newSource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__SOURCE, oldSource, source));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFilePath()
+ {
+ return filePath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFilePath(String newFilePath)
+ {
+ String oldFilePath = filePath;
+ filePath = newFilePath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__FILE_PATH, oldFilePath, filePath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPolling()
+ {
+ return polling;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPolling(int newPolling)
+ {
+ int oldPolling = polling;
+ polling = newPolling;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__POLLING, oldPolling, polling));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.DYNAMIC_CONFIG__SOURCE:
+ return getSource();
+ case ConfigPackage.DYNAMIC_CONFIG__FILE_PATH:
+ return getFilePath();
+ case ConfigPackage.DYNAMIC_CONFIG__POLLING:
+ return getPolling();
+ }
+ 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.DYNAMIC_CONFIG__SOURCE:
+ setSource((String)newValue);
+ return;
+ case ConfigPackage.DYNAMIC_CONFIG__FILE_PATH:
+ setFilePath((String)newValue);
+ return;
+ case ConfigPackage.DYNAMIC_CONFIG__POLLING:
+ setPolling((Integer)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.DYNAMIC_CONFIG__SOURCE:
+ setSource(SOURCE_EDEFAULT);
+ return;
+ case ConfigPackage.DYNAMIC_CONFIG__FILE_PATH:
+ setFilePath(FILE_PATH_EDEFAULT);
+ return;
+ case ConfigPackage.DYNAMIC_CONFIG__POLLING:
+ setPolling(POLLING_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.DYNAMIC_CONFIG__SOURCE:
+ return SOURCE_EDEFAULT == null ? source != null : !SOURCE_EDEFAULT.equals(source);
+ case ConfigPackage.DYNAMIC_CONFIG__FILE_PATH:
+ return FILE_PATH_EDEFAULT == null ? filePath != null : !FILE_PATH_EDEFAULT.equals(filePath);
+ case ConfigPackage.DYNAMIC_CONFIG__POLLING:
+ return polling != POLLING_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (source: ");
+ result.append(source);
+ result.append(", filePath: ");
+ result.append(filePath);
+ result.append(", polling: ");
+ result.append(polling);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DynamicConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java
new file mode 100644
index 000000000..7753f1d7c
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java
@@ -0,0 +1,264 @@
+/**
+ * <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.DynamicConfig;
+import org.eclipse.etrice.core.config.SubSystemConfig;
+
+import org.eclipse.etrice.core.room.SubSystemClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub System Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl#getSubSystem <em>Sub System</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl#getDynConfig <em>Dyn Config</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubSystemConfigImpl extends ConfigElementImpl implements SubSystemConfig
+{
+ /**
+ * The cached value of the '{@link #getSubSystem() <em>Sub System</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubSystem()
+ * @generated
+ * @ordered
+ */
+ protected SubSystemClass subSystem;
+
+ /**
+ * The cached value of the '{@link #getDynConfig() <em>Dyn Config</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected DynamicConfig dynConfig;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubSystemConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.SUB_SYSTEM_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubSystemClass getSubSystem()
+ {
+ if (subSystem != null && subSystem.eIsProxy())
+ {
+ InternalEObject oldSubSystem = (InternalEObject)subSystem;
+ subSystem = (SubSystemClass)eResolveProxy(oldSubSystem);
+ if (subSystem != oldSubSystem)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM, oldSubSystem, subSystem));
+ }
+ }
+ return subSystem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubSystemClass basicGetSubSystem()
+ {
+ return subSystem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubSystem(SubSystemClass newSubSystem)
+ {
+ SubSystemClass oldSubSystem = subSystem;
+ subSystem = newSubSystem;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM, oldSubSystem, subSystem));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DynamicConfig getDynConfig()
+ {
+ return dynConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDynConfig(DynamicConfig newDynConfig, NotificationChain msgs)
+ {
+ DynamicConfig oldDynConfig = dynConfig;
+ dynConfig = newDynConfig;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, oldDynConfig, newDynConfig);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDynConfig(DynamicConfig newDynConfig)
+ {
+ if (newDynConfig != dynConfig)
+ {
+ NotificationChain msgs = null;
+ if (dynConfig != null)
+ msgs = ((InternalEObject)dynConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, null, msgs);
+ if (newDynConfig != null)
+ msgs = ((InternalEObject)newDynConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, null, msgs);
+ msgs = basicSetDynConfig(newDynConfig, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, newDynConfig, newDynConfig));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return basicSetDynConfig(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.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ if (resolve) return getSubSystem();
+ return basicGetSubSystem();
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return getDynConfig();
+ }
+ 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.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ setSubSystem((SubSystemClass)newValue);
+ return;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ setDynConfig((DynamicConfig)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ setSubSystem((SubSystemClass)null);
+ return;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ setDynConfig((DynamicConfig)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ return subSystem != null;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return dynConfig != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SubSystemConfigImpl
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 8f62360de..cab04666d 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
@@ -89,6 +89,16 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
return createConfigElementAdapter();
}
@Override
+ public Adapter caseSubSystemConfig(SubSystemConfig object)
+ {
+ return createSubSystemConfigAdapter();
+ }
+ @Override
+ public Adapter caseDynamicConfig(DynamicConfig object)
+ {
+ return createDynamicConfigAdapter();
+ }
+ @Override
public Adapter caseActorClassConfig(ActorClassConfig object)
{
return createActorClassConfigAdapter();
@@ -226,6 +236,36 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.SubSystemConfig <em>Sub System 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.SubSystemConfig
+ * @generated
+ */
+ public Adapter createSubSystemConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.DynamicConfig <em>Dynamic 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.DynamicConfig
+ * @generated
+ */
+ public Adapter createDynamicConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.ActorClassConfig <em>Actor Class Config</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 a3073d32f..149a0117a 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
@@ -90,6 +90,21 @@ public class ConfigSwitch<T> extends Switch<T>
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case ConfigPackage.SUB_SYSTEM_CONFIG:
+ {
+ SubSystemConfig subSystemConfig = (SubSystemConfig)theEObject;
+ T result = caseSubSystemConfig(subSystemConfig);
+ if (result == null) result = caseConfigElement(subSystemConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ConfigPackage.DYNAMIC_CONFIG:
+ {
+ DynamicConfig dynamicConfig = (DynamicConfig)theEObject;
+ T result = caseDynamicConfig(dynamicConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case ConfigPackage.ACTOR_CLASS_CONFIG:
{
ActorClassConfig actorClassConfig = (ActorClassConfig)theEObject;
@@ -258,6 +273,38 @@ public class ConfigSwitch<T> extends Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Sub System 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>Sub System Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubSystemConfig(SubSystemConfig object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dynamic 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>Dynamic Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDynamicConfig(DynamicConfig object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Actor Class Config</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/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
index 5183c5268..87bc280cf 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
@@ -136,31 +136,41 @@ ruleConfigElement returns [EObject current=null]
@after { leaveRule(); }:
(
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_0());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0());
}
- this_ActorClassConfig_0=ruleActorClassConfig
+ this_SubSystemConfig_0=ruleSubSystemConfig
{
- $current = $this_ActorClassConfig_0.current;
+ $current = $this_SubSystemConfig_0.current;
afterParserOrEnumRuleCall();
}
|
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_1());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1());
}
- this_ActorInstanceConfig_1=ruleActorInstanceConfig
+ this_ActorClassConfig_1=ruleActorClassConfig
{
- $current = $this_ActorInstanceConfig_1.current;
+ $current = $this_ActorClassConfig_1.current;
afterParserOrEnumRuleCall();
}
|
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2());
}
- this_ProtocolClassConfig_2=ruleProtocolClassConfig
+ this_ActorInstanceConfig_2=ruleActorInstanceConfig
{
- $current = $this_ProtocolClassConfig_2.current;
+ $current = $this_ActorInstanceConfig_2.current;
+ afterParserOrEnumRuleCall();
+ }
+
+ |
+ {
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3());
+ }
+ this_ProtocolClassConfig_3=ruleProtocolClassConfig
+ {
+ $current = $this_ProtocolClassConfig_3.current;
afterParserOrEnumRuleCall();
}
)
@@ -170,6 +180,210 @@ ruleConfigElement returns [EObject current=null]
+// Entry rule entryRuleSubSystemConfig
+entryRuleSubSystemConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getSubSystemConfigRule()); }
+ iv_ruleSubSystemConfig=ruleSubSystemConfig
+ { $current=$iv_ruleSubSystemConfig.current; }
+ EOF
+;
+
+// Rule SubSystemConfig
+ruleSubSystemConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='SubSystemConfig'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0());
+ }
+(
+(
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSubSystemConfigRule());
+ }
+ }
+ otherlv_1=RULE_ID
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0());
+ }
+
+)
+) otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0());
+ }
+ lv_dynConfig_3_0=ruleDynamicConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSubSystemConfigRule());
+ }
+ set(
+ $current,
+ "dynConfig",
+ lv_dynConfig_3_0,
+ "DynamicConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+) otherlv_4='}'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4());
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRuleDynamicConfig
+entryRuleDynamicConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getDynamicConfigRule()); }
+ iv_ruleDynamicConfig=ruleDynamicConfig
+ { $current=$iv_ruleDynamicConfig.current; }
+ EOF
+;
+
+// Rule DynamicConfig
+ruleDynamicConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='dynamic configuration'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0());
+ }
+ otherlv_1='{'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1());
+ }
+(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0);
+ }
+ ({true}?=>( otherlv_3='source'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getSourceKeyword_2_0_0());
+ }
+(
+(
+ lv_source_4_0=RULE_STRING
+ {
+ newLeafNode(lv_source_4_0, grammarAccess.getDynamicConfigAccess().getSourceSTRINGTerminalRuleCall_2_0_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "source",
+ lv_source_4_0,
+ "STRING");
+ }
+
+)
+)( otherlv_5='file path'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_2_0());
+ }
+(
+(
+ lv_filePath_6_0=RULE_STRING
+ {
+ newLeafNode(lv_filePath_6_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_2_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "filePath",
+ lv_filePath_6_0,
+ "STRING");
+ }
+
+)
+))?))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1);
+ }
+ ({true}?=>( otherlv_7='polling rate'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getPollingRateKeyword_2_1_0());
+ }
+(
+(
+ lv_polling_8_0=RULE_INT
+ {
+ newLeafNode(lv_polling_8_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "polling",
+ lv_polling_8_0,
+ "INT");
+ }
+
+)
+)))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+ )
+ )
+
+ )+
+ {getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2())}?
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+
+) otherlv_9='}'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3());
+ }
+)
+;
+
+
+
+
+
// Entry rule entryRuleActorClassConfig
entryRuleActorClassConfig returns [EObject current=null]
:
@@ -250,9 +464,23 @@ ruleActorInstanceConfig returns [EObject current=null]
@init { enterRule();
}
@after { leaveRule(); }:
-( otherlv_0='ActorInstanceConfig'
+(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0);
+ }
+ ({true}?=>( otherlv_1='ActorInstanceConfig'
{
- newLeafNode(otherlv_0, grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0());
+ newLeafNode(otherlv_1, grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0_0());
}
(
(
@@ -262,79 +490,106 @@ ruleActorInstanceConfig returns [EObject current=null]
}
}
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_0_1_0());
}
ruleFQN {
afterParserOrEnumRuleCall();
}
)
-) otherlv_2='/'
+) otherlv_3='/'
{
- newLeafNode(otherlv_2, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2());
+ newLeafNode(otherlv_3, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_0_2());
}
(
(
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_3_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_0_3_0());
}
- lv_path_3_0=ruleRefPath {
+ lv_path_4_0=ruleRefPath {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
set(
$current,
"path",
- lv_path_3_0,
+ lv_path_4_0,
"RefPath");
afterParserOrEnumRuleCall();
}
)
-) otherlv_4='{'
+) otherlv_5='{'
{
- newLeafNode(otherlv_4, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4());
+ newLeafNode(otherlv_5, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_0_4());
}
(
(
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_0_5_0());
}
- lv_attributes_5_0=ruleAttrInstanceConfig {
+ lv_attributes_6_0=ruleAttrInstanceConfig {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
add(
$current,
"attributes",
- lv_attributes_5_0,
+ lv_attributes_6_0,
"AttrInstanceConfig");
afterParserOrEnumRuleCall();
}
)
-)*(
+)*))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1);
+ }
+ ({true}?=>((
(
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_1_0_0());
}
- lv_ports_6_0=rulePortInstanceConfig {
+ lv_ports_7_0=rulePortInstanceConfig {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
add(
$current,
"ports",
- lv_ports_6_0,
+ lv_ports_7_0,
"PortInstanceConfig");
afterParserOrEnumRuleCall();
}
)
-)* otherlv_7='}'
+)* otherlv_8='}'
{
- newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
+ newLeafNode(otherlv_8, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_1_1());
}
+))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+ }
+ )
+ )
+
+ )+
+ {getUnorderedGroupHelper().canLeave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup())}?
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+ }
+
)
;
@@ -746,9 +1001,27 @@ ruleAttrClassConfig returns [EObject current=null]
getUnorderedGroupHelper().leave(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
}
-) otherlv_12='}'
+)(
+(
+ {
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_2_0());
+ }
+ lv_attributes_12_0=ruleAttrClassConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_12_0,
+ "AttrClassConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)* otherlv_13='}'
{
- newLeafNode(otherlv_12, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2());
+ newLeafNode(otherlv_13, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_3());
}
)?)
;
@@ -810,7 +1083,108 @@ ruleAttrInstanceConfig returns [EObject current=null]
}
)
-))?)
+))?( otherlv_4='{'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0());
+ }
+(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0);
+ }
+ ({true}?=>((
+(
+ lv_dynConfig_6_0= 'dynamic configuration'
+ {
+ newLeafNode(lv_dynConfig_6_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0());
+ }
+
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed($current, "dynConfig", true, "dynamic configuration");
+ }
+
+)
+)((
+(
+ lv_readOnly_7_0= 'read-only'
+ {
+ newLeafNode(lv_readOnly_7_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadOnlyKeyword_3_1_0_1_0_0());
+ }
+
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed($current, "readOnly", true, "read-only");
+ }
+
+)
+)
+ | otherlv_8='read-write'
+ {
+ newLeafNode(otherlv_8, grammarAccess.getAttrInstanceConfigAccess().getReadWriteKeyword_3_1_0_1_1());
+ }
+)))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1);
+ }
+ ({true}?=>(
+(
+ {
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0());
+ }
+ lv_attributes_9_0=ruleAttrInstanceConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_9_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+ }
+ )
+ )
+
+ )*
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+ }
+
+) otherlv_10='}'
+ {
+ newLeafNode(otherlv_10, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2());
+ }
+)?)
;
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 aeb69ec85..a2e36be03 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
@@ -1,4 +1,7 @@
+T__42=42
RULE_ID=4
+T__40=40
+T__41=41
T__29=29
T__28=28
T__27=27
@@ -24,33 +27,44 @@ T__34=34
T__15=15
T__35=35
T__18=18
+T__36=36
T__17=17
+T__37=37
T__12=12
+T__38=38
+T__39=39
T__14=14
T__13=13
RULE_INT=6
RULE_WS=10
-'Attr'=22
-'true'=33
+'Attr'=27
+'/'=21
+'model'=35
+'.*'=36
+'conjugate'=24
+'='=28
+'Port'=25
+'polling rate'=18
+'source'=16
+'InterfaceItem'=26
+'+'=41
+'.'=37
+'ProtocolClassConfig'=22
+'regular'=23
+'max'=30
+'import'=33
+'true'=40
'}'=14
-'/'=16
-'model'=28
-'ActorClassConfig'=12
+'read-only'=31
+'ActorClassConfig'=19
+'SubSystemConfig'=12
+'dynamic configuration'=15
'{'=13
-'.*'=29
-'conjugate'=19
-'ActorInstanceConfig'=15
-'false'=32
-'='=23
-'Port'=20
-'-'=35
-'InterfaceItem'=21
-'+'=34
-'min'=24
-','=31
-'.'=30
-'ProtocolClassConfig'=17
-'regular'=18
-'max'=25
-'from'=27
-'import'=26
+'ActorInstanceConfig'=20
+'false'=39
+'-'=42
+'min'=29
+','=38
+'file path'=17
+'read-write'=32
+'from'=34
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 bede177eb..c6ad50f1d 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
@@ -12,7 +12,10 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalConfigLexer extends Lexer {
+ public static final int T__42=42;
+ public static final int T__40=40;
public static final int RULE_ID=4;
+ public static final int T__41=41;
public static final int T__29=29;
public static final int T__28=28;
public static final int T__27=27;
@@ -27,8 +30,8 @@ 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__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int RULE_STRING=5;
@@ -40,8 +43,12 @@ public class InternalConfigLexer extends Lexer {
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__36=36;
public static final int T__12=12;
+ public static final int T__37=37;
+ public static final int T__38=38;
public static final int T__14=14;
+ public static final int T__39=39;
public static final int T__13=13;
public static final int RULE_INT=6;
public static final int RULE_WS=10;
@@ -64,10 +71,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__12;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:7: ( 'ActorClassConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:9: 'ActorClassConfig'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:7: ( 'SubSystemConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:9: 'SubSystemConfig'
{
- match("ActorClassConfig");
+ match("SubSystemConfig");
}
@@ -125,10 +132,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__15;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:7: ( 'ActorInstanceConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:9: 'ActorInstanceConfig'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:7: ( 'dynamic configuration' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:9: 'dynamic configuration'
{
- match("ActorInstanceConfig");
+ match("dynamic configuration");
}
@@ -146,10 +153,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:7: ( '/' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:9: '/'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:7: ( 'source' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:9: 'source'
{
- match('/');
+ match("source");
+
}
@@ -166,10 +174,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: ( 'ProtocolClassConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'ProtocolClassConfig'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:7: ( 'file path' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'file path'
{
- match("ProtocolClassConfig");
+ match("file path");
}
@@ -187,10 +195,10 @@ 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: ( 'regular' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'regular'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:7: ( 'polling rate' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'polling rate'
{
- match("regular");
+ match("polling rate");
}
@@ -208,10 +216,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: ( 'conjugate' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'conjugate'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:7: ( 'ActorClassConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'ActorClassConfig'
{
- match("conjugate");
+ match("ActorClassConfig");
}
@@ -229,10 +237,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: ( 'Port' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'Port'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:7: ( 'ActorInstanceConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'ActorInstanceConfig'
{
- match("Port");
+ match("ActorInstanceConfig");
}
@@ -250,11 +258,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: ( 'InterfaceItem' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'InterfaceItem'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( '/' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: '/'
{
- match("InterfaceItem");
-
+ match('/');
}
@@ -271,10 +278,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: ( 'Attr' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'Attr'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:7: ( 'ProtocolClassConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'ProtocolClassConfig'
{
- match("Attr");
+ match("ProtocolClassConfig");
}
@@ -292,10 +299,11 @@ 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: ( '=' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: '='
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( 'regular' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: 'regular'
{
- match('=');
+ match("regular");
+
}
@@ -312,10 +320,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: ( 'min' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'min'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:7: ( 'conjugate' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'conjugate'
{
- match("min");
+ match("conjugate");
}
@@ -333,10 +341,10 @@ 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: ( 'max' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'max'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:7: ( 'Port' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'Port'
{
- match("max");
+ match("Port");
}
@@ -354,10 +362,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: ( 'import' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'import'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:7: ( 'InterfaceItem' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'InterfaceItem'
{
- match("import");
+ match("InterfaceItem");
}
@@ -375,10 +383,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: ( 'from' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'from'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:7: ( 'Attr' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'Attr'
{
- match("from");
+ match("Attr");
}
@@ -396,11 +404,10 @@ 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: ( 'model' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: 'model'
+ // ../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: '='
{
- match("model");
-
+ match('=');
}
@@ -417,10 +424,10 @@ 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: ( 'min' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: 'min'
{
- match(".*");
+ match("min");
}
@@ -438,10 +445,11 @@ public class InternalConfigLexer extends Lexer {
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: '.'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:7: ( 'max' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: 'max'
{
- match('.');
+ match("max");
+
}
@@ -458,10 +466,11 @@ public class InternalConfigLexer extends Lexer {
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: ','
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:7: ( 'read-only' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: 'read-only'
{
- match(',');
+ match("read-only");
+
}
@@ -478,10 +487,10 @@ public class InternalConfigLexer extends Lexer {
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'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:7: ( 'read-write' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'read-write'
{
- match("false");
+ match("read-write");
}
@@ -499,10 +508,10 @@ public class InternalConfigLexer extends Lexer {
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'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:7: ( 'import' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'import'
{
- match("true");
+ match("import");
}
@@ -520,10 +529,11 @@ public class InternalConfigLexer extends Lexer {
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: '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:7: ( 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: 'from'
{
- match('+');
+ match("from");
+
}
@@ -540,10 +550,11 @@ public class InternalConfigLexer extends Lexer {
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: '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:7: ( 'model' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: 'model'
{
- match('-');
+ match("model");
+
}
@@ -555,15 +566,158 @@ public class InternalConfigLexer extends Lexer {
}
// $ANTLR end "T__35"
+ // $ANTLR start "T__36"
+ public final void mT__36() throws RecognitionException {
+ try {
+ int _type = T__36;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:7: ( '.*' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:9: '.*'
+ {
+ match(".*");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__36"
+
+ // $ANTLR start "T__37"
+ public final void mT__37() throws RecognitionException {
+ try {
+ int _type = T__37;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:36:7: ( '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:36:9: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__37"
+
+ // $ANTLR start "T__38"
+ public final void mT__38() throws RecognitionException {
+ try {
+ int _type = T__38;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:37:7: ( ',' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:37:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__38"
+
+ // $ANTLR start "T__39"
+ public final void mT__39() throws RecognitionException {
+ try {
+ int _type = T__39;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:7: ( 'false' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__39"
+
+ // $ANTLR start "T__40"
+ public final void mT__40() throws RecognitionException {
+ try {
+ int _type = T__40;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:7: ( 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:9: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__40"
+
+ // $ANTLR start "T__41"
+ public final void mT__41() throws RecognitionException {
+ try {
+ int _type = T__41;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:7: ( '+' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:9: '+'
+ {
+ match('+');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
+ // $ANTLR start "T__42"
+ public final void mT__42() throws RecognitionException {
+ try {
+ int _type = T__42;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:41:7: ( '-' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:41:9: '-'
+ {
+ match('-');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__42"
+
// $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: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:2207: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:2207: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:12: ( '0x' | '0X' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2207:12: ( '0x' | '0X' )
int alt1=2;
int LA1_0 = input.LA(1);
@@ -591,7 +745,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:1833:13: '0x'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2207:13: '0x'
{
match("0x");
@@ -599,7 +753,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:1833:18: '0X'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2207:18: '0X'
{
match("0X");
@@ -609,7 +763,7 @@ public class InternalConfigLexer extends Lexer {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2207:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
int cnt2=0;
loop2:
do {
@@ -663,10 +817,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: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:2209: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:2209: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:11: ( '^' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2209:11: ( '^' )?
int alt3=2;
int LA3_0 = input.LA(1);
@@ -675,7 +829,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:1835:11: '^'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2209:11: '^'
{
match('^');
@@ -693,7 +847,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:1835:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2209:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
loop4:
do {
int alt4=2;
@@ -742,10 +896,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: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:2211:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2211:12: ( '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:2211:12: ( '0' .. '9' )+
int cnt5=0;
loop5:
do {
@@ -759,7 +913,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:1837:13: '0' .. '9'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2211:13: '0' .. '9'
{
matchRange('0','9');
@@ -791,10 +945,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: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:2213: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:2213: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' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
int alt8=2;
int LA8_0 = input.LA(1);
@@ -812,10 +966,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:1839:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
loop6:
do {
int alt6=3;
@@ -831,7 +985,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:1839:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213: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') ) {
@@ -847,7 +1001,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:1839:66: ~ ( ( '\\\\' | '\"' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:66: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -872,10 +1026,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:1839:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
loop7:
do {
int alt7=3;
@@ -891,7 +1045,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:1839:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213: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') ) {
@@ -907,7 +1061,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:1839:137: ~ ( ( '\\\\' | '\\'' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:137: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -950,12 +1104,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: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; } : . )* '*/'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:24: ( options {greedy=false; } : . )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:24: ( options {greedy=false; } : . )*
loop9:
do {
int alt9=2;
@@ -980,7 +1134,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:1841:52: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:52: .
{
matchAny();
@@ -1010,12 +1164,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: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' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:24: (~ ( ( '\\n' | '\\r' ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:24: (~ ( ( '\\n' | '\\r' ) ) )*
loop10:
do {
int alt10=2;
@@ -1028,7 +1182,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:1843:24: ~ ( ( '\\n' | '\\r' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217: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();
@@ -1048,7 +1202,7 @@ public class InternalConfigLexer extends Lexer {
}
} while (true);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:40: ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:40: ( ( '\\r' )? '\\n' )?
int alt12=2;
int LA12_0 = input.LA(1);
@@ -1057,9 +1211,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:1843:41: ( '\\r' )? '\\n'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:41: ( '\\r' )? '\\n'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:41: ( '\\r' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:41: ( '\\r' )?
int alt11=2;
int LA11_0 = input.LA(1);
@@ -1068,7 +1222,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:1843:41: '\\r'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:41: '\\r'
{
match('\r');
@@ -1100,10 +1254,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: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:2219:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2219: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' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2219:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
int cnt13=0;
loop13:
do {
@@ -1157,8 +1311,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:1847:16: ( . )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1847:18: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2221:16: ( . )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2221:18: .
{
matchAny();
@@ -1173,8 +1327,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 | 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;
+ // ../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 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
+ int alt14=39;
alt14 = dfa14.predict(input);
switch (alt14) {
case 1 :
@@ -1346,56 +1500,105 @@ public class InternalConfigLexer extends Lexer {
}
break;
case 25 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: RULE_HEX
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: T__36
{
- mRULE_HEX();
+ mT__36();
}
break;
case 26 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:163: RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:160: T__37
{
- mRULE_ID();
+ mT__37();
}
break;
case 27 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:171: RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:166: T__38
{
- mRULE_INT();
+ mT__38();
}
break;
case 28 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:180: RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:172: T__39
{
- mRULE_STRING();
+ mT__39();
}
break;
case 29 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:192: RULE_ML_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:178: T__40
{
- mRULE_ML_COMMENT();
+ mT__40();
}
break;
case 30 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:208: RULE_SL_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:184: T__41
{
- mRULE_SL_COMMENT();
+ mT__41();
}
break;
case 31 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:224: RULE_WS
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:190: T__42
{
- mRULE_WS();
+ mT__42();
}
break;
case 32 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:232: RULE_ANY_OTHER
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:196: RULE_HEX
+ {
+ mRULE_HEX();
+
+ }
+ break;
+ case 33 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:205: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 34 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:213: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 35 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:222: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 36 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:234: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 37 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:250: RULE_SL_COMMENT
+ {
+ mRULE_SL_COMMENT();
+
+ }
+ break;
+ case 38 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:266: RULE_WS
+ {
+ mRULE_WS();
+
+ }
+ break;
+ case 39 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:274: RULE_ANY_OTHER
{
mRULE_ANY_OTHER();
@@ -1409,215 +1612,274 @@ public class InternalConfigLexer extends Lexer {
protected DFA14 dfa14 = new DFA14(this);
static final String DFA14_eotS =
- "\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";
+ "\1\uffff\1\37\2\uffff\5\37\1\54\4\37\1\uffff\2\37\1\70\1\uffff"+
+ "\1\37\2\uffff\1\76\1\35\2\uffff\2\35\2\uffff\1\37\3\uffff\10\37"+
+ "\3\uffff\5\37\1\uffff\4\37\3\uffff\1\37\6\uffff\17\37\1\144\1\145"+
+ "\7\37\1\155\3\37\1\161\1\37\1\163\4\37\2\uffff\2\37\1\172\3\37\2"+
+ "\uffff\1\176\2\37\1\uffff\1\37\1\uffff\1\37\1\uffff\2\37\1\u0088"+
+ "\1\37\1\uffff\2\37\1\u008c\1\uffff\5\37\2\uffff\2\37\1\uffff\1\u0094"+
+ "\2\37\1\uffff\4\37\1\u009b\2\37\1\uffff\1\37\2\uffff\3\37\1\uffff"+
+ "\6\37\1\u00a8\5\37\1\uffff\17\37\1\u00bd\4\37\1\uffff\1\u00c2\3"+
+ "\37\1\uffff\1\u00c6\2\37\1\uffff\4\37\1\u00cd\1\u00ce\2\uffff";
static final String DFA14_eofS =
- "\u009f\uffff";
+ "\u00cf\uffff";
static final String DFA14_minS =
- "\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";
+ "\1\0\1\165\2\uffff\1\171\1\157\1\141\1\157\1\143\1\52\1\157\1\145"+
+ "\1\157\1\156\1\uffff\1\141\1\155\1\52\1\uffff\1\162\2\uffff\1\130"+
+ "\1\101\2\uffff\2\0\2\uffff\1\142\3\uffff\1\156\1\165\1\154\1\157"+
+ "\2\154\2\164\3\uffff\1\157\1\162\1\141\1\156\1\164\1\uffff\1\156"+
+ "\1\170\1\144\1\160\3\uffff\1\165\6\uffff\1\123\1\141\1\162\1\145"+
+ "\1\155\1\163\1\154\1\157\1\162\2\164\1\165\1\144\1\152\1\145\2\60"+
+ "\1\145\1\157\1\145\1\171\1\155\1\143\1\40\1\60\1\145\1\151\1\162"+
+ "\1\60\1\157\1\60\1\154\1\55\1\165\1\162\2\uffff\1\154\1\162\1\60"+
+ "\1\163\1\151\1\145\2\uffff\1\60\1\156\1\103\1\uffff\1\143\1\uffff"+
+ "\1\141\1\157\1\147\1\146\1\60\1\164\1\uffff\1\164\1\143\1\60\1\uffff"+
+ "\1\147\1\154\1\156\1\157\1\162\2\uffff\2\141\1\uffff\1\60\1\145"+
+ "\1\40\1\uffff\1\40\1\141\1\163\1\154\1\60\1\164\1\143\1\uffff\1"+
+ "\155\2\uffff\1\163\1\164\1\103\1\uffff\2\145\1\103\1\163\1\141\1"+
+ "\154\1\60\1\111\1\157\1\103\1\156\1\141\1\uffff\1\164\1\156\1\157"+
+ "\1\143\1\163\1\145\1\146\1\156\1\145\1\163\1\155\1\151\1\146\2\103"+
+ "\1\60\1\147\1\151\2\157\1\uffff\1\60\1\147\2\156\1\uffff\1\60\2"+
+ "\146\1\uffff\2\151\2\147\2\60\2\uffff";
static final String DFA14_maxS =
- "\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";
+ "\1\uffff\1\165\2\uffff\1\171\1\157\1\162\1\157\1\164\1\57\1\162"+
+ "\1\145\1\157\1\156\1\uffff\1\157\1\155\1\52\1\uffff\1\162\2\uffff"+
+ "\1\170\1\172\2\uffff\2\uffff\2\uffff\1\142\3\uffff\1\156\1\165\1"+
+ "\154\1\157\2\154\2\164\3\uffff\1\157\1\162\1\147\1\156\1\164\1\uffff"+
+ "\1\156\1\170\1\144\1\160\3\uffff\1\165\6\uffff\1\123\1\141\1\162"+
+ "\1\145\1\155\1\163\1\154\1\157\1\162\2\164\1\165\1\144\1\152\1\145"+
+ "\2\172\1\145\1\157\1\145\1\171\1\155\1\143\1\40\1\172\1\145\1\151"+
+ "\1\162\1\172\1\157\1\172\1\154\1\55\1\165\1\162\2\uffff\1\154\1"+
+ "\162\1\172\1\163\1\151\1\145\2\uffff\1\172\1\156\1\111\1\uffff\1"+
+ "\143\1\uffff\1\141\1\167\1\147\1\146\1\172\1\164\1\uffff\1\164\1"+
+ "\143\1\172\1\uffff\1\147\1\154\1\156\1\157\1\162\2\uffff\2\141\1"+
+ "\uffff\1\172\1\145\1\40\1\uffff\1\40\1\141\1\163\1\154\1\172\1\164"+
+ "\1\143\1\uffff\1\155\2\uffff\1\163\1\164\1\103\1\uffff\2\145\1\103"+
+ "\1\163\1\141\1\154\1\172\1\111\1\157\1\103\1\156\1\141\1\uffff\1"+
+ "\164\1\156\1\157\1\143\1\163\1\145\1\146\1\156\1\145\1\163\1\155"+
+ "\1\151\1\146\2\103\1\172\1\147\1\151\2\157\1\uffff\1\172\1\147\2"+
+ "\156\1\uffff\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\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";
+ "\2\uffff\1\2\1\3\12\uffff\1\21\3\uffff\1\33\1\uffff\1\36\1\37\2"+
+ "\uffff\1\41\1\42\2\uffff\1\46\1\47\1\uffff\1\41\1\2\1\3\10\uffff"+
+ "\1\44\1\45\1\12\5\uffff\1\21\4\uffff\1\31\1\32\1\33\1\uffff\1\36"+
+ "\1\37\1\40\1\42\1\43\1\46\43\uffff\1\22\1\23\6\uffff\1\6\1\27\3"+
+ "\uffff\1\20\1\uffff\1\16\6\uffff\1\35\3\uffff\1\34\5\uffff\1\24"+
+ "\1\25\2\uffff\1\30\3\uffff\1\5\7\uffff\1\26\1\uffff\1\4\1\7\3\uffff"+
+ "\1\14\14\uffff\1\15\24\uffff\1\17\4\uffff\1\1\3\uffff\1\10\6\uffff"+
+ "\1\11\1\13";
static final String DFA14_specialS =
- "\1\1\25\uffff\1\0\1\2\u0087\uffff}>";
+ "\1\2\31\uffff\1\0\1\1\u00b3\uffff}>";
static final String[] DFA14_transitionS = {
- "\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",
+ "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\32\4\35\1\33\3\35\1"+
+ "\24\1\22\1\25\1\21\1\11\1\26\11\31\3\35\1\16\3\35\1\10\7\30"+
+ "\1\15\6\30\1\12\2\30\1\1\7\30\3\35\1\27\1\30\1\35\2\30\1\14"+
+ "\1\4\1\30\1\6\2\30\1\20\3\30\1\17\2\30\1\7\1\30\1\13\1\5\1\23"+
+ "\6\30\1\2\1\35\1\3\uff82\35",
+ "\1\36",
"",
"",
- "\1\37\4\uffff\1\40",
- "\1\43\2\uffff\1\42",
- "\1\44",
- "\1\45",
- "\1\46",
- "",
- "\1\51\7\uffff\1\50\5\uffff\1\52",
- "\1\53",
- "\1\55\20\uffff\1\54",
- "\1\56",
- "",
+ "\1\42",
+ "\1\43",
+ "\1\46\7\uffff\1\44\10\uffff\1\45",
+ "\1\47",
+ "\1\50\20\uffff\1\51",
+ "\1\52\4\uffff\1\53",
+ "\1\56\2\uffff\1\55",
+ "\1\57",
+ "\1\60",
"\1\61",
"",
+ "\1\64\7\uffff\1\63\5\uffff\1\65",
+ "\1\66",
+ "\1\67",
"",
- "\1\64\37\uffff\1\64",
- "\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
- "",
- "\0\66",
- "\0\66",
+ "\1\72",
"",
"",
- "\1\70",
- "\1\71",
+ "\1\75\37\uffff\1\75",
+ "\32\37\4\uffff\1\37\1\uffff\32\37",
"",
"",
+ "\0\77",
+ "\0\77",
"",
"",
+ "\1\101",
"",
"",
- "\1\72",
- "\1\73",
- "\1\74",
- "\1\75",
- "\1\76",
"",
- "\1\77",
- "\1\100",
- "\1\101",
"\1\102",
"\1\103",
"\1\104",
- "",
- "",
- "",
"\1\105",
- "",
- "",
- "",
- "",
- "",
- "",
"\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\115\5\uffff\1\114",
+ "\1\116",
"\1\117",
+ "",
"\1\120",
"\1\121",
"\1\122",
"\1\123",
+ "",
+ "",
+ "",
"\1\124",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "\1\125",
"\1\126",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\127",
"\1\130",
"\1\131",
"\1\132",
- "",
- "",
"\1\133",
"\1\134",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\135",
"\1\136",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "\1\140\5\uffff\1\141",
- "",
+ "\1\137",
+ "\1\140",
+ "\1\141",
"\1\142",
- "",
"\1\143",
- "\1\144",
- "\1\145",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\1\146",
"\1\147",
- "",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
+ "\1\150",
"\1\151",
"\1\152",
"\1\153",
"\1\154",
- "\1\155",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\156",
- "",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
+ "\1\157",
"\1\160",
- "\1\161",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\162",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\164",
"\1\165",
- "",
"\1\166",
"\1\167",
- "\1\170",
"",
+ "",
+ "\1\170",
"\1\171",
- "\1\172",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\173",
"\1\174",
"\1\175",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
+ "",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\177",
- "\1\u0080",
- "\1\u0081",
+ "\1\u0080\5\uffff\1\u0081",
+ "",
"\1\u0082",
"",
"\1\u0083",
- "\1\u0084",
- "\1\u0085",
+ "\1\u0084\7\uffff\1\u0085",
"\1\u0086",
"\1\u0087",
- "\1\u0088",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\u0089",
+ "",
"\1\u008a",
"\1\u008b",
- "\1\u008c",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "",
"\1\u008d",
"\1\u008e",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u008f",
"\1\u0090",
"\1\u0091",
- "\1\u0092",
"",
+ "",
+ "\1\u0092",
"\1\u0093",
- "\1\u0094",
+ "",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\1\u0095",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u0096",
+ "",
"\1\u0097",
"\1\u0098",
- "",
"\1\u0099",
"\1\u009a",
- "\1\u009b",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"\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",
+ "\1\u009d",
+ "",
+ "\1\u009e",
+ "",
+ "",
+ "\1\u009f",
+ "\1\u00a0",
+ "\1\u00a1",
+ "",
+ "\1\u00a2",
+ "\1\u00a3",
+ "\1\u00a4",
+ "\1\u00a5",
+ "\1\u00a6",
+ "\1\u00a7",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\1\u00a9",
+ "\1\u00aa",
+ "\1\u00ab",
+ "\1\u00ac",
+ "\1\u00ad",
+ "",
+ "\1\u00ae",
+ "\1\u00af",
+ "\1\u00b0",
+ "\1\u00b1",
+ "\1\u00b2",
+ "\1\u00b3",
+ "\1\u00b4",
+ "\1\u00b5",
+ "\1\u00b6",
+ "\1\u00b7",
+ "\1\u00b8",
+ "\1\u00b9",
+ "\1\u00ba",
+ "\1\u00bb",
+ "\1\u00bc",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\1\u00be",
+ "\1\u00bf",
+ "\1\u00c0",
+ "\1\u00c1",
+ "",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\1\u00c3",
+ "\1\u00c4",
+ "\1\u00c5",
+ "",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\1\u00c7",
+ "\1\u00c8",
+ "",
+ "\1\u00c9",
+ "\1\u00ca",
+ "\1\u00cb",
+ "\1\u00cc",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
+ "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37",
"",
""
};
@@ -1652,85 +1914,93 @@ 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 | 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 );";
+ 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 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | 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_22 = input.LA(1);
+ int LA14_26 = input.LA(1);
s = -1;
- if ( ((LA14_22>='\u0000' && LA14_22<='\uFFFF')) ) {s = 54;}
+ if ( ((LA14_26>='\u0000' && LA14_26<='\uFFFF')) ) {s = 63;}
- else s = 25;
+ else s = 29;
if ( s>=0 ) return s;
break;
case 1 :
+ int LA14_27 = input.LA(1);
+
+ s = -1;
+ if ( ((LA14_27>='\u0000' && LA14_27<='\uFFFF')) ) {s = 63;}
+
+ else s = 29;
+
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
int LA14_0 = input.LA(1);
s = -1;
- if ( (LA14_0=='A') ) {s = 1;}
+ if ( (LA14_0=='S') ) {s = 1;}
else if ( (LA14_0=='{') ) {s = 2;}
else if ( (LA14_0=='}') ) {s = 3;}
- else if ( (LA14_0=='/') ) {s = 4;}
+ else if ( (LA14_0=='d') ) {s = 4;}
- else if ( (LA14_0=='P') ) {s = 5;}
+ else if ( (LA14_0=='s') ) {s = 5;}
- else if ( (LA14_0=='r') ) {s = 6;}
+ else if ( (LA14_0=='f') ) {s = 6;}
- else if ( (LA14_0=='c') ) {s = 7;}
+ else if ( (LA14_0=='p') ) {s = 7;}
- else if ( (LA14_0=='I') ) {s = 8;}
+ else if ( (LA14_0=='A') ) {s = 8;}
- else if ( (LA14_0=='=') ) {s = 9;}
+ else if ( (LA14_0=='/') ) {s = 9;}
- else if ( (LA14_0=='m') ) {s = 10;}
+ else if ( (LA14_0=='P') ) {s = 10;}
- else if ( (LA14_0=='i') ) {s = 11;}
+ else if ( (LA14_0=='r') ) {s = 11;}
- else if ( (LA14_0=='f') ) {s = 12;}
+ else if ( (LA14_0=='c') ) {s = 12;}
- else if ( (LA14_0=='.') ) {s = 13;}
+ else if ( (LA14_0=='I') ) {s = 13;}
- else if ( (LA14_0==',') ) {s = 14;}
+ else if ( (LA14_0=='=') ) {s = 14;}
- else if ( (LA14_0=='t') ) {s = 15;}
+ else if ( (LA14_0=='m') ) {s = 15;}
- else if ( (LA14_0=='+') ) {s = 16;}
+ else if ( (LA14_0=='i') ) {s = 16;}
- else if ( (LA14_0=='-') ) {s = 17;}
+ else if ( (LA14_0=='.') ) {s = 17;}
- else if ( (LA14_0=='0') ) {s = 18;}
+ else if ( (LA14_0==',') ) {s = 18;}
- else if ( (LA14_0=='^') ) {s = 19;}
+ else if ( (LA14_0=='t') ) {s = 19;}
- 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=='+') ) {s = 20;}
- else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 21;}
+ else if ( (LA14_0=='-') ) {s = 21;}
- else if ( (LA14_0=='\"') ) {s = 22;}
+ else if ( (LA14_0=='0') ) {s = 22;}
- else if ( (LA14_0=='\'') ) {s = 23;}
+ else if ( (LA14_0=='^') ) {s = 23;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 24;}
+ else if ( ((LA14_0>='B' && LA14_0<='H')||(LA14_0>='J' && LA14_0<='O')||(LA14_0>='Q' && LA14_0<='R')||(LA14_0>='T' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='b')||LA14_0=='e'||(LA14_0>='g' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='l')||(LA14_0>='n' && LA14_0<='o')||LA14_0=='q'||(LA14_0>='u' && LA14_0<='z')) ) {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<='\uFFFF')) ) {s = 25;}
+ else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 25;}
- if ( s>=0 ) return s;
- break;
- case 2 :
- int LA14_23 = input.LA(1);
+ else if ( (LA14_0=='\"') ) {s = 26;}
- s = -1;
- if ( ((LA14_23>='\u0000' && LA14_23<='\uFFFF')) ) {s = 54;}
+ else if ( (LA14_0=='\'') ) {s = 27;}
+
+ else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 28;}
- else s = 25;
+ 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 = 29;}
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 8e8861d56..cbac366ff 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,9 +21,12 @@ 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'", "'/'", "'ProtocolClassConfig'", "'regular'", "'conjugate'", "'Port'", "'InterfaceItem'", "'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", "'SubSystemConfig'", "'{'", "'}'", "'dynamic configuration'", "'source'", "'file path'", "'polling rate'", "'ActorClassConfig'", "'ActorInstanceConfig'", "'/'", "'ProtocolClassConfig'", "'regular'", "'conjugate'", "'Port'", "'InterfaceItem'", "'Attr'", "'='", "'min'", "'max'", "'read-only'", "'read-write'", "'import'", "'from'", "'model'", "'.*'", "'.'", "','", "'false'", "'true'", "'+'", "'-'"
};
+ public static final int T__42=42;
public static final int RULE_ID=4;
+ public static final int T__40=40;
+ public static final int T__41=41;
public static final int T__29=29;
public static final int T__28=28;
public static final int T__27=27;
@@ -50,8 +53,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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__36=36;
public static final int T__17=17;
+ public static final int T__37=37;
public static final int T__12=12;
+ public static final int T__38=38;
+ public static final int T__39=39;
public static final int T__14=14;
public static final int T__13=13;
public static final int RULE_INT=6;
@@ -156,7 +163,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==26) ) {
+ if ( (LA1_0==33) ) {
alt1=1;
}
@@ -205,7 +212,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==12||LA2_0==15||LA2_0==17) ) {
+ if ( (LA2_0==12||LA2_0==14||(LA2_0>=19 && LA2_0<=20)||LA2_0==22||LA2_0==26) ) {
alt2=1;
}
@@ -305,41 +312,50 @@ 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 | this_ProtocolClassConfig_2= ruleProtocolClassConfig ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:133:1: ruleConfigElement returns [EObject current=null] : (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig ) ;
public final EObject ruleConfigElement() throws RecognitionException {
EObject current = null;
- EObject this_ActorClassConfig_0 = null;
+ EObject this_SubSystemConfig_0 = null;
- EObject this_ActorInstanceConfig_1 = null;
+ EObject this_ActorClassConfig_1 = null;
- EObject this_ProtocolClassConfig_2 = null;
+ EObject this_ActorInstanceConfig_2 = null;
+
+ EObject this_ProtocolClassConfig_3 = 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 | 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:136:28: ( (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= 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 )
- int alt3=3;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig )
+ int alt3=4;
switch ( input.LA(1) ) {
case 12:
{
alt3=1;
}
break;
- case 15:
+ case 19:
{
alt3=2;
}
break;
- case 17:
+ case 14:
+ case 20:
+ case 26:
{
alt3=3;
}
break;
+ case 22:
+ {
+ alt3=4;
+ }
+ break;
default:
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
@@ -349,54 +365,72 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:138:5: this_SubSystemConfig_0= ruleSubSystemConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_0());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0());
- pushFollow(FOLLOW_ruleActorClassConfig_in_ruleConfigElement247);
- this_ActorClassConfig_0=ruleActorClassConfig();
+ pushFollow(FOLLOW_ruleSubSystemConfig_in_ruleConfigElement247);
+ this_SubSystemConfig_0=ruleSubSystemConfig();
state._fsp--;
- current = this_ActorClassConfig_0;
+ current = this_SubSystemConfig_0;
afterParserOrEnumRuleCall();
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:148:5: this_ActorInstanceConfig_1= ruleActorInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:148:5: this_ActorClassConfig_1= ruleActorClassConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_1());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1());
- pushFollow(FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement274);
- this_ActorInstanceConfig_1=ruleActorInstanceConfig();
+ pushFollow(FOLLOW_ruleActorClassConfig_in_ruleConfigElement274);
+ this_ActorClassConfig_1=ruleActorClassConfig();
state._fsp--;
- current = this_ActorInstanceConfig_1;
+ current = this_ActorClassConfig_1;
afterParserOrEnumRuleCall();
}
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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:158:5: this_ActorInstanceConfig_2= ruleActorInstanceConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2());
- pushFollow(FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement301);
- this_ProtocolClassConfig_2=ruleProtocolClassConfig();
+ pushFollow(FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement301);
+ this_ActorInstanceConfig_2=ruleActorInstanceConfig();
state._fsp--;
- current = this_ProtocolClassConfig_2;
+ current = this_ActorInstanceConfig_2;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 4 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:168:5: this_ProtocolClassConfig_3= ruleProtocolClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3());
+
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement328);
+ this_ProtocolClassConfig_3=ruleProtocolClassConfig();
+
+ state._fsp--;
+
+
+ current = this_ProtocolClassConfig_3;
afterParserOrEnumRuleCall();
@@ -422,8 +456,485 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleConfigElement"
+ // $ANTLR start "entryRuleSubSystemConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:184:1: entryRuleSubSystemConfig returns [EObject current=null] : iv_ruleSubSystemConfig= ruleSubSystemConfig EOF ;
+ public final EObject entryRuleSubSystemConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSubSystemConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:185:2: (iv_ruleSubSystemConfig= ruleSubSystemConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:186:2: iv_ruleSubSystemConfig= ruleSubSystemConfig EOF
+ {
+ newCompositeNode(grammarAccess.getSubSystemConfigRule());
+ pushFollow(FOLLOW_ruleSubSystemConfig_in_entryRuleSubSystemConfig363);
+ iv_ruleSubSystemConfig=ruleSubSystemConfig();
+
+ state._fsp--;
+
+ current =iv_ruleSubSystemConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSubSystemConfig373);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSubSystemConfig"
+
+
+ // $ANTLR start "ruleSubSystemConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:193:1: ruleSubSystemConfig returns [EObject current=null] : (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' ) ;
+ public final EObject ruleSubSystemConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject lv_dynConfig_3_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:196:28: ( (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:1: (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:1: (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:3: otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}'
+ {
+ otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleSubSystemConfig410);
+
+ newLeafNode(otherlv_0, grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:201:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:202:1: (otherlv_1= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:202:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:203:3: otherlv_1= RULE_ID
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSubSystemConfigRule());
+ }
+
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubSystemConfig430);
+
+ newLeafNode(otherlv_1, grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0());
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleSubSystemConfig442);
+
+ newLeafNode(otherlv_2, grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:218:1: ( (lv_dynConfig_3_0= ruleDynamicConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:219:1: (lv_dynConfig_3_0= ruleDynamicConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:219:1: (lv_dynConfig_3_0= ruleDynamicConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:220:3: lv_dynConfig_3_0= ruleDynamicConfig
+ {
+
+ newCompositeNode(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_ruleDynamicConfig_in_ruleSubSystemConfig463);
+ lv_dynConfig_3_0=ruleDynamicConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSubSystemConfigRule());
+ }
+ set(
+ current,
+ "dynConfig",
+ lv_dynConfig_3_0,
+ "DynamicConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleSubSystemConfig475);
+
+ newLeafNode(otherlv_4, grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSubSystemConfig"
+
+
+ // $ANTLR start "entryRuleDynamicConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:248:1: entryRuleDynamicConfig returns [EObject current=null] : iv_ruleDynamicConfig= ruleDynamicConfig EOF ;
+ public final EObject entryRuleDynamicConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDynamicConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:249:2: (iv_ruleDynamicConfig= ruleDynamicConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:250:2: iv_ruleDynamicConfig= ruleDynamicConfig EOF
+ {
+ newCompositeNode(grammarAccess.getDynamicConfigRule());
+ pushFollow(FOLLOW_ruleDynamicConfig_in_entryRuleDynamicConfig511);
+ iv_ruleDynamicConfig=ruleDynamicConfig();
+
+ state._fsp--;
+
+ current =iv_ruleDynamicConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDynamicConfig521);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDynamicConfig"
+
+
+ // $ANTLR start "ruleDynamicConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:257:1: ruleDynamicConfig returns [EObject current=null] : (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_9= '}' ) ;
+ public final EObject ruleDynamicConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token lv_source_4_0=null;
+ Token otherlv_5=null;
+ Token lv_filePath_6_0=null;
+ Token otherlv_7=null;
+ Token lv_polling_8_0=null;
+ Token otherlv_9=null;
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:260:28: ( (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_9= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:261:1: (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_9= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:261:1: (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_9= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:261:3: otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_9= '}'
+ {
+ otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleDynamicConfig558);
+
+ newLeafNode(otherlv_0, grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0());
+
+ otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleDynamicConfig570);
+
+ newLeafNode(otherlv_1, grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:269:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:271:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:271:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:272:2: ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?)
+ {
+
+ getUnorderedGroupHelper().enter(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:275:2: ( ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?)
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:276:3: ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+ {...}?
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:276:3: ( ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) ) )+
+ int cnt5=0;
+ loop5:
+ do {
+ int alt5=3;
+ int LA5_0 = input.LA(1);
+
+ if ( LA5_0 ==16 && getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0) ) {
+ alt5=1;
+ }
+ else if ( LA5_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1) ) {
+ alt5=2;
+ }
+
+
+ switch (alt5) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:278:4: ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:278:4: ({...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:279:5: {...}? => ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:279:110: ( ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:280:6: ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:6: ({...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:7: {...}? => (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:16: (otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:18: otherlv_3= 'source' ( (lv_source_4_0= RULE_STRING ) ) (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )?
+ {
+ otherlv_3=(Token)match(input,16,FOLLOW_16_in_ruleDynamicConfig628);
+
+ newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getSourceKeyword_2_0_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:287:1: ( (lv_source_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:288:1: (lv_source_4_0= RULE_STRING )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:288:1: (lv_source_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:289:3: lv_source_4_0= RULE_STRING
+ {
+ lv_source_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig645);
+
+ newLeafNode(lv_source_4_0, grammarAccess.getDynamicConfigAccess().getSourceSTRINGTerminalRuleCall_2_0_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ current,
+ "source",
+ lv_source_4_0,
+ "STRING");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:305:2: (otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) ) )?
+ int alt4=2;
+ int LA4_0 = input.LA(1);
+
+ if ( (LA4_0==17) ) {
+ alt4=1;
+ }
+ switch (alt4) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:305:4: otherlv_5= 'file path' ( (lv_filePath_6_0= RULE_STRING ) )
+ {
+ otherlv_5=(Token)match(input,17,FOLLOW_17_in_ruleDynamicConfig663);
+
+ newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_2_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:309:1: ( (lv_filePath_6_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:310:1: (lv_filePath_6_0= RULE_STRING )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:310:1: (lv_filePath_6_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:311:3: lv_filePath_6_0= RULE_STRING
+ {
+ lv_filePath_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig680);
+
+ newLeafNode(lv_filePath_6_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_2_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ current,
+ "filePath",
+ lv_filePath_6_0,
+ "STRING");
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:334:4: ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:334:4: ({...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:335:5: {...}? => ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:335:110: ( ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:336:6: ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:339:6: ({...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:339:7: {...}? => (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:339:16: (otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:339:18: otherlv_7= 'polling rate' ( (lv_polling_8_0= RULE_INT ) )
+ {
+ otherlv_7=(Token)match(input,18,FOLLOW_18_in_ruleDynamicConfig755);
+
+ newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getPollingRateKeyword_2_1_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:343:1: ( (lv_polling_8_0= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:344:1: (lv_polling_8_0= RULE_INT )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:344:1: (lv_polling_8_0= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:345:3: lv_polling_8_0= RULE_INT
+ {
+ lv_polling_8_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDynamicConfig772);
+
+ newLeafNode(lv_polling_8_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ current,
+ "polling",
+ lv_polling_8_0,
+ "INT");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt5 >= 1 ) break loop5;
+ EarlyExitException eee =
+ new EarlyExitException(5, input);
+ throw eee;
+ }
+ cnt5++;
+ } while (true);
+
+ if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2())");
+ }
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+ otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleDynamicConfig836);
+
+ newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDynamicConfig"
+
+
// $ANTLR start "entryRuleActorClassConfig"
- // ../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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:388:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ;
public final EObject entryRuleActorClassConfig() throws RecognitionException {
EObject current = null;
@@ -431,17 +942,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:389:2: (iv_ruleActorClassConfig= ruleActorClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:390:2: iv_ruleActorClassConfig= ruleActorClassConfig EOF
{
newCompositeNode(grammarAccess.getActorClassConfigRule());
- pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig336);
+ pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig872);
iv_ruleActorClassConfig=ruleActorClassConfig();
state._fsp--;
current =iv_ruleActorClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig346);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig882);
}
@@ -459,7 +970,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:183: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:397: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;
@@ -472,21 +983,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:400: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:401: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: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= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:401: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:401:3: otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
{
- otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleActorClassConfig383);
+ otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleActorClassConfig919);
newLeafNode(otherlv_0, grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0());
- // ../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:405:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:406: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:193:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:406:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:407:3: ruleFQN
{
if (current==null) {
@@ -496,7 +1007,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig406);
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig942);
ruleFQN();
state._fsp--;
@@ -510,32 +1021,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig418);
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig954);
newLeafNode(otherlv_2, grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:210:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
- loop4:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:424:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
+ loop6:
do {
- int alt4=2;
- int LA4_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( (LA4_0==22) ) {
- alt4=1;
+ if ( (LA6_0==27) ) {
+ alt6=1;
}
- switch (alt4) {
+ switch (alt6) {
case 1 :
- // ../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:425: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:212:3: lv_attributes_3_0= ruleAttrClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:426:3: lv_attributes_3_0= ruleAttrClassConfig
{
newCompositeNode(grammarAccess.getActorClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig439);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig975);
lv_attributes_3_0=ruleAttrClassConfig();
state._fsp--;
@@ -559,11 +1070,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop4;
+ break loop6;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig452);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig988);
newLeafNode(otherlv_4, grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -588,7 +1099,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:240: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:454:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ;
public final EObject entryRuleActorInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -596,17 +1107,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:455:2: (iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:456:2: iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF
{
newCompositeNode(grammarAccess.getActorInstanceConfigRule());
- pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig488);
+ pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1024);
iv_ruleActorInstanceConfig=ruleActorInstanceConfig();
state._fsp--;
current =iv_ruleActorInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig498);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig1034);
}
@@ -624,124 +1135,153 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleActorInstanceConfig"
- // ../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= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:463:1: ruleActorInstanceConfig returns [EObject current=null] : ( ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) ) ) ;
public final EObject ruleActorInstanceConfig() throws RecognitionException {
EObject current = null;
- Token otherlv_0=null;
- Token otherlv_2=null;
- Token otherlv_4=null;
- Token otherlv_7=null;
- EObject lv_path_3_0 = null;
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_8=null;
+ EObject lv_path_4_0 = null;
- EObject lv_attributes_5_0 = null;
+ EObject lv_attributes_6_0 = null;
- EObject lv_ports_6_0 = null;
+ EObject lv_ports_7_0 = null;
enterRule();
try {
- // ../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:466:28: ( ( ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:467:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) ) )
{
- // ../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= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:467:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:469:1: ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) )
{
- 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: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:469:1: ( ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:470:2: ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?)
{
- // ../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
+
+ getUnorderedGroupHelper().enter(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:473:2: ( ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?)
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:474:3: ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+ {...}?
{
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:474:3: ( ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) )+
+ int cnt9=0;
+ loop9:
+ do {
+ int alt9=3;
+ switch ( input.LA(1) ) {
+ case 20:
+ {
+ int LA9_2 = input.LA(2);
- if (current==null) {
- current = createModelElement(grammarAccess.getActorInstanceConfigRule());
- }
-
-
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0());
-
- pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig558);
- ruleFQN();
+ if ( getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0) ) {
+ alt9=1;
+ }
- state._fsp--;
-
- afterParserOrEnumRuleCall();
-
+ }
+ break;
+ case 26:
+ {
+ int LA9_3 = input.LA(2);
- }
+ if ( getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1) ) {
+ alt9=2;
+ }
- }
+ }
+ break;
+ case 14:
+ {
+ int LA9_4 = input.LA(2);
- otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleActorInstanceConfig570);
+ if ( getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1) ) {
+ alt9=2;
+ }
- newLeafNode(otherlv_2, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2());
-
- // ../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: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_ruleActorInstanceConfig591);
- lv_path_3_0=ruleRefPath();
- state._fsp--;
+ }
+ break;
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
- }
- set(
- current,
- "path",
- lv_path_3_0,
- "RefPath");
- afterParserOrEnumRuleCall();
-
+ switch (alt9) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:476:4: ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:476:4: ({...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:477:5: {...}? => ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:477:114: ( ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:478:6: ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 0);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:481:6: ({...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:481:7: {...}? => (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:481:16: (otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:481:18: otherlv_1= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_3= '/' ( (lv_path_4_0= ruleRefPath ) ) otherlv_5= '{' ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )*
+ {
+ otherlv_1=(Token)match(input,20,FOLLOW_20_in_ruleActorInstanceConfig1116);
- }
+ newLeafNode(otherlv_1, grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:485:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:486:1: ( ruleFQN )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:486:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:487:3: ruleFQN
+ {
+ if (current==null) {
+ current = createModelElement(grammarAccess.getActorInstanceConfigRule());
+ }
+
+
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_0_1_0());
+
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig1139);
+ ruleFQN();
- }
+ state._fsp--;
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig603);
+
+ afterParserOrEnumRuleCall();
+
- newLeafNode(otherlv_4, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4());
-
- // ../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==22) ) {
- alt5=1;
- }
+ }
- switch (alt5) {
- case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:299:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
+ otherlv_3=(Token)match(input,21,FOLLOW_21_in_ruleActorInstanceConfig1151);
+
+ newLeafNode(otherlv_3, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_0_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:504:1: ( (lv_path_4_0= ruleRefPath ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:505:1: (lv_path_4_0= ruleRefPath )
{
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:505:1: (lv_path_4_0= ruleRefPath )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:506:3: lv_path_4_0= ruleRefPath
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_0_3_0());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig624);
- lv_attributes_5_0=ruleAttrInstanceConfig();
+ pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1172);
+ lv_path_4_0=ruleRefPath();
state._fsp--;
@@ -749,11 +1289,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
- add(
+ set(
current,
- "attributes",
- lv_attributes_5_0,
- "AttrInstanceConfig");
+ "path",
+ lv_path_4_0,
+ "RefPath");
afterParserOrEnumRuleCall();
@@ -761,50 +1301,167 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- break;
- default :
- break loop5;
- }
- } while (true);
+ otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig1184);
- // ../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);
+ newLeafNode(otherlv_5, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_0_4());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:526:1: ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )*
+ loop7:
+ do {
+ int alt7=2;
+ int LA7_0 = input.LA(1);
+
+ if ( (LA7_0==27) ) {
+ alt7=1;
+ }
- if ( (LA6_0==21) ) {
- alt6=1;
- }
+ switch (alt7) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:527:1: (lv_attributes_6_0= ruleAttrInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:527:1: (lv_attributes_6_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:528:3: lv_attributes_6_0= ruleAttrInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_0_5_0());
+
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1205);
+ lv_attributes_6_0=ruleAttrInstanceConfig();
- 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 )
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_6_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop7;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:551:4: ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) )
{
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:551:4: ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:552:5: {...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:552:114: ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:6: ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) )
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
-
- pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig646);
- lv_ports_6_0=rulePortInstanceConfig();
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup(), 1);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:556:6: ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:556:7: {...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:556:16: ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:556:17: ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}'
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:556:17: ( (lv_ports_7_0= rulePortInstanceConfig ) )*
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( (LA8_0==26) ) {
+ alt8=1;
+ }
- state._fsp--;
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:557:1: (lv_ports_7_0= rulePortInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:557:1: (lv_ports_7_0= rulePortInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:558:3: lv_ports_7_0= rulePortInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_1_0_0());
+
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1283);
+ lv_ports_7_0=rulePortInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ current,
+ "ports",
+ lv_ports_7_0,
+ "PortInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop8;
+ }
+ } while (true);
+
+ otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig1296);
+
+ newLeafNode(otherlv_8, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_1_1());
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+
+
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
- }
- add(
- current,
- "ports",
- lv_ports_6_0,
- "PortInstanceConfig");
- afterParserOrEnumRuleCall();
-
}
@@ -813,14 +1470,26 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop6;
+ if ( cnt9 >= 1 ) break loop9;
+ EarlyExitException eee =
+ new EarlyExitException(9, input);
+ throw eee;
}
+ cnt9++;
} while (true);
- otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig659);
+ if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup()) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "getUnorderedGroupHelper().canLeave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup())");
+ }
+
+ }
- newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
-
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup());
+
}
@@ -842,7 +1511,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:601:1: entryRuleProtocolClassConfig returns [EObject current=null] : iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ;
public final EObject entryRuleProtocolClassConfig() throws RecognitionException {
EObject current = null;
@@ -850,17 +1519,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:602:2: (iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:603:2: iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF
{
newCompositeNode(grammarAccess.getProtocolClassConfigRule());
- pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig695);
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1378);
iv_ruleProtocolClassConfig=ruleProtocolClassConfig();
state._fsp--;
current =iv_ruleProtocolClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig705);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig1388);
}
@@ -878,7 +1547,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:610: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;
@@ -895,21 +1564,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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:613: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:614: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= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614: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:614: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);
+ otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleProtocolClassConfig1425);
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:618:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:620:3: ruleFQN
{
if (current==null) {
@@ -919,7 +1588,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig765);
+ pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig1448);
ruleFQN();
state._fsp--;
@@ -933,75 +1602,75 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleProtocolClassConfig777);
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleProtocolClassConfig1460);
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:637: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:639: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 ) ) ) ) ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:639: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:640: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:643: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:644: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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:644:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
+ loop10:
do {
- int alt7=3;
- int LA7_0 = input.LA(1);
+ int alt10=3;
+ int LA10_0 = input.LA(1);
- if ( LA7_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
- alt7=1;
+ if ( LA10_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
+ alt10=1;
}
- else if ( LA7_0 ==19 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
- alt7=2;
+ else if ( LA10_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
+ alt10=2;
}
- switch (alt7) {
+ switch (alt10) {
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:646: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 ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:646: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:647: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 ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:647: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:648: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 ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:651: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:651: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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:651: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:651:18: otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) )
{
- otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleProtocolClassConfig835);
+ otherlv_4=(Token)match(input,23,FOLLOW_23_in_ruleProtocolClassConfig1518);
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:655:1: ( (lv_regular_5_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:656: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:656:1: (lv_regular_5_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:657:3: lv_regular_5_0= rulePortClassConfig
{
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0());
- pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig856);
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1539);
lv_regular_5_0=rulePortClassConfig();
state._fsp--;
@@ -1042,43 +1711,43 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
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:680: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 ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680: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:681: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 ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:681: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:682: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 ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:685: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:685: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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:685: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:685:18: otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) )
{
- otherlv_6=(Token)match(input,19,FOLLOW_19_in_ruleProtocolClassConfig924);
+ otherlv_6=(Token)match(input,24,FOLLOW_24_in_ruleProtocolClassConfig1607);
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:689:1: ( (lv_conjugated_7_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:690: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:690:1: (lv_conjugated_7_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:691:3: lv_conjugated_7_0= rulePortClassConfig
{
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0());
- pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig945);
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1628);
lv_conjugated_7_0=rulePortClassConfig();
state._fsp--;
@@ -1120,7 +1789,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop7;
+ break loop10;
}
} while (true);
@@ -1136,7 +1805,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig998);
+ otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig1681);
newLeafNode(otherlv_8, grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1161,7 +1830,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:733:1: entryRulePortClassConfig returns [EObject current=null] : iv_rulePortClassConfig= rulePortClassConfig EOF ;
public final EObject entryRulePortClassConfig() throws RecognitionException {
EObject current = null;
@@ -1169,17 +1838,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:734:2: (iv_rulePortClassConfig= rulePortClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:735:2: iv_rulePortClassConfig= rulePortClassConfig EOF
{
newCompositeNode(grammarAccess.getPortClassConfigRule());
- pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1034);
+ pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1717);
iv_rulePortClassConfig=rulePortClassConfig();
state._fsp--;
current =iv_rulePortClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1044);
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1727);
}
@@ -1197,7 +1866,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:742: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;
@@ -1210,14 +1879,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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:745: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:746: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:746: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:746: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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:746:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:747:5:
{
current = forceCreateModelElement(
@@ -1227,36 +1896,36 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,20,FOLLOW_20_in_rulePortClassConfig1090);
+ otherlv_1=(Token)match(input,25,FOLLOW_25_in_rulePortClassConfig1773);
newLeafNode(otherlv_1, grammarAccess.getPortClassConfigAccess().getPortKeyword_1());
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortClassConfig1102);
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortClassConfig1785);
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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:760:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
+ loop11:
do {
- int alt8=2;
- int LA8_0 = input.LA(1);
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA8_0==22) ) {
- alt8=1;
+ if ( (LA11_0==27) ) {
+ alt11=1;
}
- switch (alt8) {
+ switch (alt11) {
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:761: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:761:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:762:3: lv_attributes_3_0= ruleAttrClassConfig
{
newCompositeNode(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1123);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1806);
lv_attributes_3_0=ruleAttrClassConfig();
state._fsp--;
@@ -1280,11 +1949,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop8;
+ break loop11;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1136);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1819);
newLeafNode(otherlv_4, grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1309,7 +1978,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:790:1: entryRulePortInstanceConfig returns [EObject current=null] : iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ;
public final EObject entryRulePortInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1317,17 +1986,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:791:2: (iv_rulePortInstanceConfig= rulePortInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:792:2: iv_rulePortInstanceConfig= rulePortInstanceConfig EOF
{
newCompositeNode(grammarAccess.getPortInstanceConfigRule());
- pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1172);
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1855);
iv_rulePortInstanceConfig=rulePortInstanceConfig();
state._fsp--;
current =iv_rulePortInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1182);
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1865);
}
@@ -1345,7 +2014,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:799: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;
@@ -1359,28 +2028,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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:802: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:803: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= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:803: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:803: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);
+ otherlv_0=(Token)match(input,26,FOLLOW_26_in_rulePortInstanceConfig1902);
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:807:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:808: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:808:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:809:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getPortInstanceConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1239);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1922);
newLeafNode(otherlv_1, grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0());
@@ -1390,32 +2059,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortInstanceConfig1251);
+ otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortInstanceConfig1934);
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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:824:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )*
+ loop12:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA9_0==22) ) {
- alt9=1;
+ if ( (LA12_0==27) ) {
+ alt12=1;
}
- switch (alt9) {
+ switch (alt12) {
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:825: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:825:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:826:3: lv_attributes_3_0= ruleAttrInstanceConfig
{
newCompositeNode(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1272);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1955);
lv_attributes_3_0=ruleAttrInstanceConfig();
state._fsp--;
@@ -1439,11 +2108,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop9;
+ break loop12;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1285);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1968);
newLeafNode(otherlv_4, grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1468,7 +2137,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAttrClassConfig"
- // ../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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:856:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ;
public final EObject entryRuleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -1476,17 +2145,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_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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:857:2: (iv_ruleAttrClassConfig= ruleAttrClassConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:858:2: iv_ruleAttrClassConfig= ruleAttrClassConfig EOF
{
newCompositeNode(grammarAccess.getAttrClassConfigRule());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig1323);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2006);
iv_ruleAttrClassConfig=ruleAttrClassConfig();
state._fsp--;
current =iv_ruleAttrClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig1333);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig2016);
}
@@ -1504,7 +2173,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: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= '}' )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:865: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 ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )? ) ;
public final EObject ruleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -1516,39 +2185,41 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
Token otherlv_7=null;
Token otherlv_9=null;
Token otherlv_10=null;
- Token otherlv_12=null;
+ Token otherlv_13=null;
EObject lv_value_3_0 = null;
EObject lv_min_8_0 = null;
EObject lv_max_11_0 = null;
+ EObject lv_attributes_12_0 = null;
+
enterRule();
try {
- // ../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:868: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 ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:869: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 ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )? )
{
- // ../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= '}' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:869: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 ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:869: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 ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )?
{
- otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleAttrClassConfig1370);
+ otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleAttrClassConfig2053);
newLeafNode(otherlv_0, grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0());
- // ../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:873:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:874: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:620:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:874:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:875:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrClassConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig1390);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig2073);
newLeafNode(otherlv_1, grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -1558,31 +2229,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:886:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA10_0==23) ) {
- alt10=1;
+ if ( (LA13_0==28) ) {
+ alt13=1;
}
- switch (alt10) {
+ switch (alt13) {
case 1 :
- // ../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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:886:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1403);
+ otherlv_2=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2086);
newLeafNode(otherlv_2, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0());
- // ../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:890:1: ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891: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:637:3: lv_value_3_0= ruleLiteralArray
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:892:3: lv_value_3_0= ruleLiteralArray
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig1424);
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2107);
lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -1610,90 +2281,90 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:908:4: (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}' )?
+ int alt16=2;
+ int LA16_0 = input.LA(1);
- if ( (LA12_0==13) ) {
- alt12=1;
+ if ( (LA16_0==13) ) {
+ alt16=1;
}
- switch (alt12) {
+ switch (alt16) {
case 1 :
- // ../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= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:908:6: otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) ( (lv_attributes_12_0= ruleAttrClassConfig ) )* otherlv_13= '}'
{
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrClassConfig1439);
+ otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrClassConfig2122);
newLeafNode(otherlv_4, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0());
- // ../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:912: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:914: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:660: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:914: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:915: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: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:918: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:919: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:664:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
- loop11:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:919:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
+ loop14:
do {
- int alt11=3;
- int LA11_0 = input.LA(1);
+ int alt14=3;
+ int LA14_0 = input.LA(1);
- if ( LA11_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
- alt11=1;
+ if ( LA14_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
+ alt14=1;
}
- else if ( LA11_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
- alt11=2;
+ else if ( LA14_0 ==30 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
+ alt14=2;
}
- switch (alt11) {
+ switch (alt14) {
case 1 :
- // ../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:921: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:667: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:921: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:922: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: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 ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:922: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:923: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: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 ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:926: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:926: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: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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:926: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:926:18: otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) )
{
- otherlv_6=(Token)match(input,24,FOLLOW_24_in_ruleAttrClassConfig1497);
+ otherlv_6=(Token)match(input,29,FOLLOW_29_in_ruleAttrClassConfig2180);
newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
- otherlv_7=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1509);
+ otherlv_7=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2192);
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: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:934:1: ( (lv_min_8_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:935: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:681:3: lv_min_8_0= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:935:1: (lv_min_8_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:936:3: lv_min_8_0= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1530);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2213);
lv_min_8_0=ruleNumberLiteral();
state._fsp--;
@@ -1734,47 +2405,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: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:959: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:705: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:959: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:960: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: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 ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:960: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:961: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: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 ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:964: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:964: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: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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:964: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:964:18: otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) )
{
- otherlv_9=(Token)match(input,25,FOLLOW_25_in_ruleAttrClassConfig1598);
+ otherlv_9=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2281);
newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
- otherlv_10=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1610);
+ otherlv_10=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2293);
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: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:972:1: ( (lv_max_11_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:973: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:719:3: lv_max_11_0= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:973:1: (lv_max_11_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:974:3: lv_max_11_0= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1631);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2314);
lv_max_11_0=ruleNumberLiteral();
state._fsp--;
@@ -1816,7 +2487,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop11;
+ break loop14;
}
} while (true);
@@ -1832,9 +2503,58 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_12=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig1684);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1004:2: ( (lv_attributes_12_0= ruleAttrClassConfig ) )*
+ loop15:
+ do {
+ int alt15=2;
+ int LA15_0 = input.LA(1);
+
+ if ( (LA15_0==27) ) {
+ alt15=1;
+ }
+
+
+ switch (alt15) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1005:1: (lv_attributes_12_0= ruleAttrClassConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1005:1: (lv_attributes_12_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1006:3: lv_attributes_12_0= ruleAttrClassConfig
+ {
+
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_2_0());
+
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2376);
+ lv_attributes_12_0=ruleAttrClassConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_12_0,
+ "AttrClassConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
- newLeafNode(otherlv_12, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2());
+ default :
+ break loop15;
+ }
+ } while (true);
+
+ otherlv_13=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig2389);
+
+ newLeafNode(otherlv_13, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_3());
}
@@ -1863,7 +2583,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:761: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:1034:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ;
public final EObject entryRuleAttrInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1871,17 +2591,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1035:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1036:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF
{
newCompositeNode(grammarAccess.getAttrInstanceConfigRule());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1722);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2427);
iv_ruleAttrInstanceConfig=ruleAttrInstanceConfig();
state._fsp--;
current =iv_ruleAttrInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig1732);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig2437);
}
@@ -1899,41 +2619,48 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAttrInstanceConfig"
- // ../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 ) ) )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1043:1: ruleAttrInstanceConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )? ) ;
public final EObject ruleAttrInstanceConfig() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token lv_dynConfig_6_0=null;
+ Token lv_readOnly_7_0=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
EObject lv_value_3_0 = null;
+ EObject lv_attributes_9_0 = null;
+
enterRule();
try {
- // ../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:1046:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1047:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )? )
{
- // ../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 ) ) )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1047:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1047:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )?
{
- otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleAttrInstanceConfig1769);
+ otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleAttrInstanceConfig2474);
newLeafNode(otherlv_0, grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0());
- // ../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:1051:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1052: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:780:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1052:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1053:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1789);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2494);
newLeafNode(otherlv_1, grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -1943,31 +2670,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1064:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA13_0==23) ) {
- alt13=1;
+ if ( (LA17_0==28) ) {
+ alt17=1;
}
- switch (alt13) {
+ switch (alt17) {
case 1 :
- // ../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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1064:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrInstanceConfig1802);
+ otherlv_2=(Token)match(input,28,FOLLOW_28_in_ruleAttrInstanceConfig2507);
newLeafNode(otherlv_2, grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0());
- // ../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:1068:1: ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1069: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:797:3: lv_value_3_0= ruleLiteralArray
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1069:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1070:3: lv_value_3_0= ruleLiteralArray
{
newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig1823);
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2528);
lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -1995,6 +2722,294 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:4: (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )?
+ int alt21=2;
+ int LA21_0 = input.LA(1);
+
+ if ( (LA21_0==13) ) {
+ alt21=1;
+ }
+ switch (alt21) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1086:6: otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_10= '}'
+ {
+ otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrInstanceConfig2543);
+
+ newLeafNode(otherlv_4, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1090:1: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1093:2: ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* )
+ {
+
+ getUnorderedGroupHelper().enter(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1096:2: ( ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1097:3: ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )*
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1097:3: ( ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) ) )*
+ loop20:
+ do {
+ int alt20=3;
+ int LA20_0 = input.LA(1);
+
+ if ( LA20_0 ==15 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0) ) {
+ alt20=1;
+ }
+ else if ( LA20_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1) ) {
+ alt20=2;
+ }
+
+
+ switch (alt20) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1099:4: ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1099:4: ({...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1100:5: {...}? => ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0) ) {
+ throw new FailedPredicateException(input, "ruleAttrInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1100:117: ( ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1101:6: ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) )
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:6: ({...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:7: {...}? => ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleAttrInstanceConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:16: ( ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:17: ( (lv_dynConfig_6_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:17: ( (lv_dynConfig_6_0= 'dynamic configuration' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (lv_dynConfig_6_0= 'dynamic configuration' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (lv_dynConfig_6_0= 'dynamic configuration' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1106:3: lv_dynConfig_6_0= 'dynamic configuration'
+ {
+ lv_dynConfig_6_0=(Token)match(input,15,FOLLOW_15_in_ruleAttrInstanceConfig2607);
+
+ newLeafNode(lv_dynConfig_6_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed(current, "dynConfig", true, "dynamic configuration");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1119:2: ( ( (lv_readOnly_7_0= 'read-only' ) ) | otherlv_8= 'read-write' )
+ int alt18=2;
+ int LA18_0 = input.LA(1);
+
+ if ( (LA18_0==31) ) {
+ alt18=1;
+ }
+ else if ( (LA18_0==32) ) {
+ alt18=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 18, 0, input);
+
+ throw nvae;
+ }
+ switch (alt18) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1119:3: ( (lv_readOnly_7_0= 'read-only' ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1119:3: ( (lv_readOnly_7_0= 'read-only' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1120:1: (lv_readOnly_7_0= 'read-only' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1120:1: (lv_readOnly_7_0= 'read-only' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1121:3: lv_readOnly_7_0= 'read-only'
+ {
+ lv_readOnly_7_0=(Token)match(input,31,FOLLOW_31_in_ruleAttrInstanceConfig2639);
+
+ newLeafNode(lv_readOnly_7_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadOnlyKeyword_3_1_0_1_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed(current, "readOnly", true, "read-only");
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1135:7: otherlv_8= 'read-write'
+ {
+ otherlv_8=(Token)match(input,32,FOLLOW_32_in_ruleAttrInstanceConfig2670);
+
+ newLeafNode(otherlv_8, grammarAccess.getAttrInstanceConfigAccess().getReadWriteKeyword_3_1_0_1_1());
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1146:4: ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1146:4: ({...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1147:5: {...}? => ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1) ) {
+ throw new FailedPredicateException(input, "ruleAttrInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1147:117: ( ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1148:6: ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+
+ {
+
+ getUnorderedGroupHelper().select(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 1);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:6: ({...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) ) )+
+ int cnt19=0;
+ loop19:
+ do {
+ int alt19=2;
+ int LA19_0 = input.LA(1);
+
+ if ( (LA19_0==27) ) {
+ int LA19_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt19=1;
+ }
+
+
+ }
+
+
+ switch (alt19) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:7: {...}? => ( (lv_attributes_9_0= ruleAttrInstanceConfig ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleAttrInstanceConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:16: ( (lv_attributes_9_0= ruleAttrInstanceConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1152:1: (lv_attributes_9_0= ruleAttrInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1152:1: (lv_attributes_9_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1153:3: lv_attributes_9_0= ruleAttrInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0());
+
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2747);
+ lv_attributes_9_0=ruleAttrInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_9_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt19 >= 1 ) break loop19;
+ EarlyExitException eee =
+ new EarlyExitException(19, input);
+ throw eee;
+ }
+ cnt19++;
+ } while (true);
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop20;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1());
+
+
+ }
+
+ otherlv_10=(Token)match(input,14,FOLLOW_14_in_ruleAttrInstanceConfig2800);
+
+ newLeafNode(otherlv_10, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2());
+
+
+ }
+ break;
+
+ }
+
}
@@ -2016,7 +3031,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:821: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:1195:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ;
public final EObject entryRuleRefPath() throws RecognitionException {
EObject current = null;
@@ -2024,17 +3039,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1196:2: (iv_ruleRefPath= ruleRefPath EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1197:2: iv_ruleRefPath= ruleRefPath EOF
{
newCompositeNode(grammarAccess.getRefPathRule());
- pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath1861);
+ pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath2838);
iv_ruleRefPath=ruleRefPath();
state._fsp--;
current =iv_ruleRefPath;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath1871);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath2848);
}
@@ -2052,7 +3067,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:830: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:1204: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;
@@ -2063,19 +3078,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1207: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:1208: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: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:1208: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:1208: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: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:1208:2: ( (lv_refs_0_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1209:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1209:1: (lv_refs_0_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1210:3: lv_refs_0_0= RULE_ID
{
- lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1913);
+ lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2890);
newLeafNode(lv_refs_0_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0());
@@ -2095,32 +3110,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1226:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
+ loop22:
do {
- int alt14=2;
- int LA14_0 = input.LA(1);
+ int alt22=2;
+ int LA22_0 = input.LA(1);
- if ( (LA14_0==16) ) {
- alt14=1;
+ if ( (LA22_0==21) ) {
+ alt22=1;
}
- switch (alt14) {
+ switch (alt22) {
case 1 :
- // ../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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1226:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) )
{
- otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleRefPath1931);
+ otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleRefPath2908);
newLeafNode(otherlv_1, grammarAccess.getRefPathAccess().getSolidusKeyword_1_0());
- // ../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:1230:1: ( (lv_refs_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1231: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:858:3: lv_refs_2_0= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1231:1: (lv_refs_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1232:3: lv_refs_2_0= RULE_ID
{
- lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1948);
+ lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2925);
newLeafNode(lv_refs_2_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0());
@@ -2145,7 +3160,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop14;
+ break loop22;
}
} while (true);
@@ -2170,7 +3185,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:882: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:1256:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -2178,17 +3193,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1257:2: (iv_ruleImport= ruleImport EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1258:2: iv_ruleImport= ruleImport EOF
{
newCompositeNode(grammarAccess.getImportRule());
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport1991);
+ pushFollow(FOLLOW_ruleImport_in_entryRuleImport2968);
iv_ruleImport=ruleImport();
state._fsp--;
current =iv_ruleImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport2001);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImport2978);
}
@@ -2206,7 +3221,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: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 ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1265: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;
@@ -2220,49 +3235,49 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1268: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:1269: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: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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1269: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:1269: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,26,FOLLOW_26_in_ruleImport2038);
+ otherlv_0=(Token)match(input,33,FOLLOW_33_in_ruleImport3015);
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1273:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( (LA15_0==RULE_ID) ) {
- alt15=1;
+ if ( (LA23_0==RULE_ID) ) {
+ alt23=1;
}
- else if ( (LA15_0==28) ) {
- alt15=2;
+ else if ( (LA23_0==35) ) {
+ alt23=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ new NoViableAltException("", 23, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt23) {
case 1 :
- // ../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:1273: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: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:1273: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:1273: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: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:1273:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1274:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1274:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1275:3: lv_importedNamespace_1_0= ruleImportedFQN
{
newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
- pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2061);
+ pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport3038);
lv_importedNamespace_1_0=ruleImportedFQN();
state._fsp--;
@@ -2284,7 +3299,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleImport2073);
+ otherlv_2=(Token)match(input,34,FOLLOW_34_in_ruleImport3050);
newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
@@ -2295,9 +3310,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:922:7: otherlv_3= 'model'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1296:7: otherlv_3= 'model'
{
- otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleImport2092);
+ otherlv_3=(Token)match(input,35,FOLLOW_35_in_ruleImport3069);
newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
@@ -2307,13 +3322,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:1300:2: ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1301:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1301:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1302:3: lv_importURI_4_0= RULE_STRING
{
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2110);
+ lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport3087);
newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
@@ -2354,7 +3369,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:952: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:1326:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
public final String entryRuleImportedFQN() throws RecognitionException {
String current = null;
@@ -2362,17 +3377,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1327:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1328:2: iv_ruleImportedFQN= ruleImportedFQN EOF
{
newCompositeNode(grammarAccess.getImportedFQNRule());
- pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2152);
+ pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3129);
iv_ruleImportedFQN=ruleImportedFQN();
state._fsp--;
current =iv_ruleImportedFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2163);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN3140);
}
@@ -2390,7 +3405,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:961: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:1335:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2401,16 +3416,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1338:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (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= '.*' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1340:5: this_FQN_0= ruleFQN (kw= '.*' )?
{
newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2210);
+ pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN3187);
this_FQN_0=ruleFQN();
state._fsp--;
@@ -2421,18 +3436,18 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
afterParserOrEnumRuleCall();
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1350:1: (kw= '.*' )?
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( (LA16_0==29) ) {
- alt16=1;
+ if ( (LA24_0==36) ) {
+ alt24=1;
}
- switch (alt16) {
+ switch (alt24) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:977:2: kw= '.*'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1351:2: kw= '.*'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleImportedFQN2229);
+ kw=(Token)match(input,36,FOLLOW_36_in_ruleImportedFQN3206);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -2464,7 +3479,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:990: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:1364:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
public final String entryRuleFQN() throws RecognitionException {
String current = null;
@@ -2472,17 +3487,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1365:2: (iv_ruleFQN= ruleFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1366:2: iv_ruleFQN= ruleFQN EOF
{
newCompositeNode(grammarAccess.getFQNRule());
- pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2272);
+ pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3249);
iv_ruleFQN=ruleFQN();
state._fsp--;
current =iv_ruleFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2283);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3260);
}
@@ -2500,7 +3515,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:999: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:1373: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();
@@ -2511,40 +3526,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1376: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:1377: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: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 )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1377: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:1377:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2323);
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3300);
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:1010:1: (kw= '.' this_ID_2= RULE_ID )*
- loop17:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1384:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop25:
do {
- int alt17=2;
- int LA17_0 = input.LA(1);
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA17_0==30) ) {
- alt17=1;
+ if ( (LA25_0==37) ) {
+ alt25=1;
}
- switch (alt17) {
+ switch (alt25) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1011:2: kw= '.' this_ID_2= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1385:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,30,FOLLOW_30_in_ruleFQN2342);
+ kw=(Token)match(input,37,FOLLOW_37_in_ruleFQN3319);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2357);
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3334);
current.merge(this_ID_2);
@@ -2556,7 +3571,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop17;
+ break loop25;
}
} while (true);
@@ -2581,7 +3596,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1405:1: entryRuleLiteralArray returns [EObject current=null] : iv_ruleLiteralArray= ruleLiteralArray EOF ;
public final EObject entryRuleLiteralArray() throws RecognitionException {
EObject current = null;
@@ -2589,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1406:2: (iv_ruleLiteralArray= ruleLiteralArray EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1407:2: iv_ruleLiteralArray= ruleLiteralArray EOF
{
newCompositeNode(grammarAccess.getLiteralArrayRule());
- pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray2404);
+ pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3381);
iv_ruleLiteralArray=ruleLiteralArray();
state._fsp--;
current =iv_ruleLiteralArray;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray2414);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray3391);
}
@@ -2617,7 +3632,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $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 ) ) )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1414: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;
@@ -2630,22 +3645,22 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
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:1417: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:1418: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:1418: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:1418: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:1418:2: ( (lv_literals_0_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1419: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1419:1: (lv_literals_0_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1420:3: lv_literals_0_0= ruleLiteral
{
newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2460);
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3437);
lv_literals_0_0=ruleLiteral();
state._fsp--;
@@ -2667,35 +3682,35 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1436:2: (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
+ loop26:
do {
- int alt18=2;
- int LA18_0 = input.LA(1);
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA18_0==31) ) {
- alt18=1;
+ if ( (LA26_0==38) ) {
+ alt26=1;
}
- switch (alt18) {
+ switch (alt26) {
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 ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1436:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) )
{
- otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleLiteralArray2473);
+ otherlv_1=(Token)match(input,38,FOLLOW_38_in_ruleLiteralArray3450);
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:1440:1: ( (lv_literals_2_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1441: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1441:1: (lv_literals_2_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1442:3: lv_literals_2_0= ruleLiteral
{
newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2494);
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3471);
lv_literals_2_0=ruleLiteral();
state._fsp--;
@@ -2722,7 +3737,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop18;
+ break loop26;
}
} while (true);
@@ -2747,7 +3762,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // ../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 ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1466:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -2755,17 +3770,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1467:2: (iv_ruleLiteral= ruleLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1468:2: iv_ruleLiteral= ruleLiteral EOF
{
newCompositeNode(grammarAccess.getLiteralRule());
- pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2532);
+ pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3509);
iv_ruleLiteral=ruleLiteral();
state._fsp--;
current =iv_ruleLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2542);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3519);
}
@@ -2783,7 +3798,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:1101: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:1475: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;
@@ -2797,47 +3812,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1478: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:1479: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:1105:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
- int alt19=3;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1479:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ int alt27=3;
switch ( input.LA(1) ) {
- case 32:
- case 33:
+ case 39:
+ case 40:
{
- alt19=1;
+ alt27=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 30:
- case 34:
- case 35:
+ case 37:
+ case 41:
+ case 42:
{
- alt19=2;
+ alt27=2;
}
break;
case RULE_STRING:
{
- alt19=3;
+ alt27=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
+ new NoViableAltException("", 27, 0, input);
throw nvae;
}
- switch (alt19) {
+ switch (alt27) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1106:5: this_BooleanLiteral_0= ruleBooleanLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1480:5: this_BooleanLiteral_0= ruleBooleanLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral2589);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3566);
this_BooleanLiteral_0=ruleBooleanLiteral();
state._fsp--;
@@ -2850,12 +3865,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:1116:5: this_NumberLiteral_1= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1490:5: this_NumberLiteral_1= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral2616);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3593);
this_NumberLiteral_1=ruleNumberLiteral();
state._fsp--;
@@ -2868,12 +3883,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:1126:5: this_StringLiteral_2= ruleStringLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1500:5: this_StringLiteral_2= ruleStringLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
- pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral2643);
+ pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3620);
this_StringLiteral_2=ruleStringLiteral();
state._fsp--;
@@ -2906,7 +3921,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:1142: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:1516:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
public final EObject entryRuleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2914,17 +3929,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1517:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1518:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
{
newCompositeNode(grammarAccess.getBooleanLiteralRule());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2678);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3655);
iv_ruleBooleanLiteral=ruleBooleanLiteral();
state._fsp--;
current =iv_ruleBooleanLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral2688);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3665);
}
@@ -2942,7 +3957,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:1151: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:1525:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2952,14 +3967,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1528: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:1529: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: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:1529: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:1529: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:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1156:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1529:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1530:5:
{
current = forceCreateModelElement(
@@ -2969,27 +3984,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1535:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ int alt28=2;
+ int LA28_0 = input.LA(1);
- if ( (LA20_0==32) ) {
- alt20=1;
+ if ( (LA28_0==39) ) {
+ alt28=1;
}
- else if ( (LA20_0==33) ) {
- alt20=2;
+ else if ( (LA28_0==40) ) {
+ alt28=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
+ new NoViableAltException("", 28, 0, input);
throw nvae;
}
- switch (alt20) {
+ switch (alt28) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1161:4: otherlv_1= 'false'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1535:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleBooleanLiteral2735);
+ otherlv_1=(Token)match(input,39,FOLLOW_39_in_ruleBooleanLiteral3712);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -2997,15 +4012,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:1166:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1540: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:1167:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1540:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1541:1: (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'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1541:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1542:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,33,FOLLOW_33_in_ruleBooleanLiteral2759);
+ lv_isTrue_2_0=(Token)match(input,40,FOLLOW_40_in_ruleBooleanLiteral3736);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -3048,7 +4063,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:1189: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:1563:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
public final EObject entryRuleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -3056,17 +4071,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1564:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1565:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
{
newCompositeNode(grammarAccess.getNumberLiteralRule());
- pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2809);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3786);
iv_ruleNumberLiteral=ruleNumberLiteral();
state._fsp--;
current =iv_ruleNumberLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2819);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral3796);
}
@@ -3084,7 +4099,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:1198: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:1572:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
public final EObject ruleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -3096,69 +4111,69 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1575: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:1576: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:1202:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
- int alt21=2;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1576:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ int alt29=2;
switch ( input.LA(1) ) {
- case 34:
+ case 41:
{
- int LA21_1 = input.LA(2);
+ int LA29_1 = input.LA(2);
- if ( (LA21_1==RULE_INT) ) {
- int LA21_3 = input.LA(3);
+ if ( (LA29_1==RULE_INT) ) {
+ int LA29_3 = input.LA(3);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA29_3==EOF||(LA29_3>=12 && LA29_3<=15)||(LA29_3>=19 && LA29_3<=20)||LA29_3==22||(LA29_3>=26 && LA29_3<=27)||(LA29_3>=29 && LA29_3<=30)||LA29_3==38) ) {
+ alt29=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 if ( (LA29_3==37) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 29, 3, input);
throw nvae;
}
}
- else if ( (LA21_1==30) ) {
- alt21=2;
+ else if ( (LA29_1==37) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 1, input);
+ new NoViableAltException("", 29, 1, input);
throw nvae;
}
}
break;
- case 35:
+ case 42:
{
- int LA21_2 = input.LA(2);
+ int LA29_2 = input.LA(2);
- if ( (LA21_2==RULE_INT) ) {
- int LA21_3 = input.LA(3);
+ if ( (LA29_2==RULE_INT) ) {
+ int LA29_3 = input.LA(3);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA29_3==EOF||(LA29_3>=12 && LA29_3<=15)||(LA29_3>=19 && LA29_3<=20)||LA29_3==22||(LA29_3>=26 && LA29_3<=27)||(LA29_3>=29 && LA29_3<=30)||LA29_3==38) ) {
+ alt29=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 if ( (LA29_3==37) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 29, 3, input);
throw nvae;
}
}
- else if ( (LA21_2==30) ) {
- alt21=2;
+ else if ( (LA29_2==37) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 2, input);
+ new NoViableAltException("", 29, 2, input);
throw nvae;
}
@@ -3166,17 +4181,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA21_3 = input.LA(2);
+ int LA29_3 = input.LA(2);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA29_3==EOF||(LA29_3>=12 && LA29_3<=15)||(LA29_3>=19 && LA29_3<=20)||LA29_3==22||(LA29_3>=26 && LA29_3<=27)||(LA29_3>=29 && LA29_3<=30)||LA29_3==38) ) {
+ alt29=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 if ( (LA29_3==37) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 29, 3, input);
throw nvae;
}
@@ -3184,29 +4199,29 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_HEX:
{
- alt21=1;
+ alt29=1;
}
break;
- case 30:
+ case 37:
{
- alt21=2;
+ alt29=2;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 29, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt29) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1203:5: this_IntLiteral_0= ruleIntLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1577:5: this_IntLiteral_0= ruleIntLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2866);
+ pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3843);
this_IntLiteral_0=ruleIntLiteral();
state._fsp--;
@@ -3219,12 +4234,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:1213:5: this_RealLiteral_1= ruleRealLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1587:5: this_RealLiteral_1= ruleRealLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2893);
+ pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3870);
this_RealLiteral_1=ruleRealLiteral();
state._fsp--;
@@ -3257,7 +4272,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:1229: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:1603:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
public final EObject entryRuleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -3265,17 +4280,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1604:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1605:2: iv_ruleRealLiteral= ruleRealLiteral EOF
{
newCompositeNode(grammarAccess.getRealLiteralRule());
- pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2928);
+ pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3905);
iv_ruleRealLiteral=ruleRealLiteral();
state._fsp--;
current =iv_ruleRealLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2938);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral3915);
}
@@ -3293,7 +4308,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:1238: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:1612:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
public final EObject ruleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -3303,14 +4318,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1615:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1616:1: ( () ( (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:1616:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1616:2: () ( (lv_value_1_0= ruleReal ) )
{
- // ../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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1616:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1617:5:
{
current = forceCreateModelElement(
@@ -3320,16 +4335,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:1622:2: ( (lv_value_1_0= ruleReal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1623:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1623:1: (lv_value_1_0= ruleReal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1624:3: lv_value_1_0= ruleReal
{
newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2993);
+ pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral3970);
lv_value_1_0=ruleReal();
state._fsp--;
@@ -3372,7 +4387,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:1274: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:1648:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
public final EObject entryRuleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -3380,17 +4395,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1650:2: iv_ruleIntLiteral= ruleIntLiteral EOF
{
newCompositeNode(grammarAccess.getIntLiteralRule());
- pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3029);
+ pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4006);
iv_ruleIntLiteral=ruleIntLiteral();
state._fsp--;
current =iv_ruleIntLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral3039);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4016);
}
@@ -3408,7 +4423,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:1283: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:1657:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
public final EObject ruleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -3418,14 +4433,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1660:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1661:1: ( () ( (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:1661:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1661:2: () ( (lv_value_1_0= ruleInteger ) )
{
- // ../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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1661:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1662:5:
{
current = forceCreateModelElement(
@@ -3435,16 +4450,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:1667:2: ( (lv_value_1_0= ruleInteger ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1668:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1668:1: (lv_value_1_0= ruleInteger )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1669:3: lv_value_1_0= ruleInteger
{
newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral3094);
+ pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4071);
lv_value_1_0=ruleInteger();
state._fsp--;
@@ -3487,7 +4502,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:1319: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:1693:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -3495,17 +4510,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1694:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1695:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
newCompositeNode(grammarAccess.getStringLiteralRule());
- pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3130);
+ pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4107);
iv_ruleStringLiteral=ruleStringLiteral();
state._fsp--;
current =iv_ruleStringLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral3140);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4117);
}
@@ -3523,7 +4538,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:1328: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:1702:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -3532,14 +4547,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1705:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:1: ( () ( (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:1706:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: () ( (lv_value_1_0= RULE_STRING ) )
{
- // ../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:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1707:5:
{
current = forceCreateModelElement(
@@ -3549,13 +4564,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../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:1712:2: ( (lv_value_1_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1713:1: (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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1713:1: (lv_value_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1714:3: lv_value_1_0= RULE_STRING
{
- lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral3191);
+ lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4168);
newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
@@ -3596,7 +4611,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:1364: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:1738:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
public final String entryRuleInteger() throws RecognitionException {
String current = null;
@@ -3604,17 +4619,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1739:2: (iv_ruleInteger= ruleInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1740:2: iv_ruleInteger= ruleInteger EOF
{
newCompositeNode(grammarAccess.getIntegerRule());
- pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger3233);
+ pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4210);
iv_ruleInteger=ruleInteger();
state._fsp--;
current =iv_ruleInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleInteger3244);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4221);
}
@@ -3632,7 +4647,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:1373: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:1747: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();
@@ -3644,33 +4659,33 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1750: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:1751: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:1377:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
- int alt22=2;
- int LA22_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1751:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
+ int alt30=2;
+ int LA30_0 = input.LA(1);
- if ( (LA22_0==RULE_INT||(LA22_0>=34 && LA22_0<=35)) ) {
- alt22=1;
+ if ( (LA30_0==RULE_INT||(LA30_0>=41 && LA30_0<=42)) ) {
+ alt30=1;
}
- else if ( (LA22_0==RULE_HEX) ) {
- alt22=2;
+ else if ( (LA30_0==RULE_HEX) ) {
+ alt30=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 30, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt30) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1378:5: this_SignedInteger_0= ruleSignedInteger
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1752:5: this_SignedInteger_0= ruleSignedInteger
{
newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0());
- pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger3291);
+ pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4268);
this_SignedInteger_0=ruleSignedInteger();
state._fsp--;
@@ -3685,12 +4700,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:1390:5: this_Hexadecimal_1= ruleHexadecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1764:5: this_Hexadecimal_1= ruleHexadecimal
{
newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger3324);
+ pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4301);
this_Hexadecimal_1=ruleHexadecimal();
state._fsp--;
@@ -3725,7 +4740,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:1408: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:1782:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ;
public final String entryRuleSignedInteger() throws RecognitionException {
String current = null;
@@ -3736,17 +4751,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1786:2: (iv_ruleSignedInteger= ruleSignedInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1787:2: iv_ruleSignedInteger= ruleSignedInteger EOF
{
newCompositeNode(grammarAccess.getSignedIntegerRule());
- pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger3376);
+ pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4353);
iv_ruleSignedInteger=ruleSignedInteger();
state._fsp--;
current =iv_ruleSignedInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger3387);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4364);
}
@@ -3767,7 +4782,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:1423: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:1797:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3778,27 +4793,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: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:1801:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1802: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: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:1802:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1802: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: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:1802:2: (kw= '+' | kw= '-' )?
+ int alt31=3;
+ int LA31_0 = input.LA(1);
- if ( (LA23_0==34) ) {
- alt23=1;
+ if ( (LA31_0==41) ) {
+ alt31=1;
}
- else if ( (LA23_0==35) ) {
- alt23=2;
+ else if ( (LA31_0==42) ) {
+ alt31=2;
}
- switch (alt23) {
+ switch (alt31) {
case 1 :
- // ../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:1803:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger3430);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleSignedInteger4407);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0());
@@ -3807,9 +4822,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:1436:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1810:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger3449);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleSignedInteger4426);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1());
@@ -3820,7 +4835,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger3466);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4443);
current.merge(this_INT_2);
@@ -3851,7 +4866,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:1459: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:1833:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ;
public final String entryRuleHexadecimal() throws RecognitionException {
String current = null;
@@ -3862,17 +4877,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:2: (iv_ruleHexadecimal= ruleHexadecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1838:2: iv_ruleHexadecimal= ruleHexadecimal EOF
{
newCompositeNode(grammarAccess.getHexadecimalRule());
- pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal3522);
+ pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4499);
iv_ruleHexadecimal=ruleHexadecimal();
state._fsp--;
current =iv_ruleHexadecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal3533);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4510);
}
@@ -3893,7 +4908,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:1474: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:1848:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ;
public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3903,10 +4918,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1852:28: (this_HEX_0= RULE_HEX )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1853:5: this_HEX_0= RULE_HEX
{
- this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal3576);
+ this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4553);
current.merge(this_HEX_0);
@@ -3934,7 +4949,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:1497: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:1871:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -3942,17 +4957,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1872:2: (iv_ruleReal= ruleReal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1873:2: iv_ruleReal= ruleReal EOF
{
newCompositeNode(grammarAccess.getRealRule());
- pushFollow(FOLLOW_ruleReal_in_entryRuleReal3625);
+ pushFollow(FOLLOW_ruleReal_in_entryRuleReal4602);
iv_ruleReal=ruleReal();
state._fsp--;
current =iv_ruleReal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleReal3636);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleReal4613);
}
@@ -3970,7 +4985,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:1506: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:1880: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();
@@ -3986,20 +5001,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../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:1883: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:1884: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: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) {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1884:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
+ int alt32=4;
+ alt32 = dfa32.predict(input);
+ switch (alt32) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1511:5: this_Decimal_0= ruleDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1885:5: this_Decimal_0= ruleDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
- pushFollow(FOLLOW_ruleDecimal_in_ruleReal3683);
+ pushFollow(FOLLOW_ruleDecimal_in_ruleReal4660);
this_Decimal_0=ruleDecimal();
state._fsp--;
@@ -4014,12 +5029,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:1523:5: this_DotDecimal_1= ruleDotDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1897:5: this_DotDecimal_1= ruleDotDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal3716);
+ pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal4693);
this_DotDecimal_1=ruleDotDecimal();
state._fsp--;
@@ -4034,12 +5049,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:1535:5: this_DecimalDot_2= ruleDecimalDot
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1909:5: this_DecimalDot_2= ruleDecimalDot
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2());
- pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal3749);
+ pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal4726);
this_DecimalDot_2=ruleDecimalDot();
state._fsp--;
@@ -4054,12 +5069,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:1547:5: this_DecimalExp_3= ruleDecimalExp
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1921:5: this_DecimalExp_3= ruleDecimalExp
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3());
- pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal3782);
+ pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4759);
this_DecimalExp_3=ruleDecimalExp();
state._fsp--;
@@ -4094,7 +5109,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:1565: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:1939:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
public final String entryRuleDecimal() throws RecognitionException {
String current = null;
@@ -4105,17 +5120,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1943:2: (iv_ruleDecimal= ruleDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1944:2: iv_ruleDecimal= ruleDecimal EOF
{
newCompositeNode(grammarAccess.getDecimalRule());
- pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal3834);
+ pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal4811);
iv_ruleDecimal=ruleDecimal();
state._fsp--;
current =iv_ruleDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal3845);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal4822);
}
@@ -4136,7 +5151,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:1580: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:1954: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();
@@ -4148,27 +5163,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: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:1958: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:1959: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: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:1959: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:1959: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:2: (kw= '+' | kw= '-' )?
- int alt25=3;
- int LA25_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1959:2: (kw= '+' | kw= '-' )?
+ int alt33=3;
+ int LA33_0 = input.LA(1);
- if ( (LA25_0==34) ) {
- alt25=1;
+ if ( (LA33_0==41) ) {
+ alt33=1;
}
- else if ( (LA25_0==35) ) {
- alt25=2;
+ else if ( (LA33_0==42) ) {
+ alt33=2;
}
- switch (alt25) {
+ switch (alt33) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1586:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1960:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal3888);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimal4865);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -4177,9 +5192,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:1593:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1967:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal3907);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimal4884);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -4190,19 +5205,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3924);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4901);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal3942);
+ kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimal4919);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3957);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4934);
current.merge(this_INT_4);
@@ -4233,7 +5248,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:1629: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:2003:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ;
public final String entryRuleDotDecimal() throws RecognitionException {
String current = null;
@@ -4244,17 +5259,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2007:2: (iv_ruleDotDecimal= ruleDotDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2008:2: iv_ruleDotDecimal= ruleDotDecimal EOF
{
newCompositeNode(grammarAccess.getDotDecimalRule());
- pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4013);
+ pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4990);
iv_ruleDotDecimal=ruleDotDecimal();
state._fsp--;
current =iv_ruleDotDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal4024);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal5001);
}
@@ -4275,7 +5290,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:1644: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:2018: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();
@@ -4286,27 +5301,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: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:2022: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:2023: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: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:2023: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:2023: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:2: (kw= '+' | kw= '-' )?
- int alt26=3;
- int LA26_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2023:2: (kw= '+' | kw= '-' )?
+ int alt34=3;
+ int LA34_0 = input.LA(1);
- if ( (LA26_0==34) ) {
- alt26=1;
+ if ( (LA34_0==41) ) {
+ alt34=1;
}
- else if ( (LA26_0==35) ) {
- alt26=2;
+ else if ( (LA34_0==42) ) {
+ alt34=2;
}
- switch (alt26) {
+ switch (alt34) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1650:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2024:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal4067);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleDotDecimal5044);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0());
@@ -4315,9 +5330,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:1657:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2031:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal4086);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleDotDecimal5063);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -4328,12 +5343,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal4101);
+ kw=(Token)match(input,37,FOLLOW_37_in_ruleDotDecimal5078);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1());
- this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal4116);
+ this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5093);
current.merge(this_INT_3);
@@ -4364,7 +5379,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:1686: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:2060:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ;
public final String entryRuleDecimalDot() throws RecognitionException {
String current = null;
@@ -4375,17 +5390,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2064:2: (iv_ruleDecimalDot= ruleDecimalDot EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2065:2: iv_ruleDecimalDot= ruleDecimalDot EOF
{
newCompositeNode(grammarAccess.getDecimalDotRule());
- pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4172);
+ pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5149);
iv_ruleDecimalDot=ruleDecimalDot();
state._fsp--;
current =iv_ruleDecimalDot.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot4183);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5160);
}
@@ -4406,7 +5421,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:1701: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:2075: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();
@@ -4417,27 +5432,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: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:2079: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:2080: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: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:2080: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:2080: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:2: (kw= '+' | kw= '-' )?
- int alt27=3;
- int LA27_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2080:2: (kw= '+' | kw= '-' )?
+ int alt35=3;
+ int LA35_0 = input.LA(1);
- if ( (LA27_0==34) ) {
- alt27=1;
+ if ( (LA35_0==41) ) {
+ alt35=1;
}
- else if ( (LA27_0==35) ) {
- alt27=2;
+ else if ( (LA35_0==42) ) {
+ alt35=2;
}
- switch (alt27) {
+ switch (alt35) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1707:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2081:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot4226);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalDot5203);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0());
@@ -4446,9 +5461,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:1714:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2088:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot4245);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalDot5222);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1());
@@ -4459,14 +5474,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot4262);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5239);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot4280);
+ kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimalDot5257);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2());
@@ -4495,7 +5510,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:1743: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:2117:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
public final String entryRuleDecimalExp() throws RecognitionException {
String current = null;
@@ -4506,17 +5521,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: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
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2121:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2122:2: iv_ruleDecimalExp= ruleDecimalExp EOF
{
newCompositeNode(grammarAccess.getDecimalExpRule());
- pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4331);
+ pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5308);
iv_ruleDecimalExp=ruleDecimalExp();
state._fsp--;
current =iv_ruleDecimalExp.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp4342);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5319);
}
@@ -4537,7 +5552,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: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 ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2132: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();
@@ -4551,27 +5566,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: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:2136: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:2137: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: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:2137: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:2137: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:2: (kw= '+' | kw= '-' )?
- int alt28=3;
- int LA28_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:2: (kw= '+' | kw= '-' )?
+ int alt36=3;
+ int LA36_0 = input.LA(1);
- if ( (LA28_0==34) ) {
- alt28=1;
+ if ( (LA36_0==41) ) {
+ alt36=1;
}
- else if ( (LA28_0==35) ) {
- alt28=2;
+ else if ( (LA36_0==42) ) {
+ alt36=2;
}
- switch (alt28) {
+ switch (alt36) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1764:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2138:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4385);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalExp5362);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -4580,9 +5595,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:1771:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2145:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4404);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalExp5381);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -4593,47 +5608,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4421);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5398);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp4439);
+ kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimalExp5416);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4454);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5431);
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_ruleDecimalExp4474);
+ this_ID_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDecimalExp5451);
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:1803:1: (kw= '+' | kw= '-' )?
- int alt29=3;
- int LA29_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2177:1: (kw= '+' | kw= '-' )?
+ int alt37=3;
+ int LA37_0 = input.LA(1);
- if ( (LA29_0==34) ) {
- alt29=1;
+ if ( (LA37_0==41) ) {
+ alt37=1;
}
- else if ( (LA29_0==35) ) {
- alt29=2;
+ else if ( (LA37_0==42) ) {
+ alt37=2;
}
- switch (alt29) {
+ switch (alt37) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1804:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4493);
+ kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalExp5470);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0());
@@ -4642,9 +5657,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:1811:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2185:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4512);
+ kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalExp5489);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
@@ -4655,7 +5670,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4529);
+ this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5506);
current.merge(this_INT_8);
@@ -4687,231 +5702,259 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// Delegated rules
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
+ protected DFA32 dfa32 = new DFA32(this);
+ static final String DFA32_eotS =
"\12\uffff";
- 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 =
+ static final String DFA32_eofS =
+ "\5\uffff\1\7\1\11\3\uffff";
+ static final String DFA32_minS =
+ "\3\6\1\45\1\uffff\1\6\1\4\3\uffff";
+ static final String DFA32_maxS =
+ "\1\52\3\45\1\uffff\2\46\3\uffff";
+ static final String DFA32_acceptS =
+ "\4\uffff\1\2\2\uffff\1\3\1\4\1\1";
+ static final String DFA32_specialS =
"\12\uffff}>";
- 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",
+ static final String[] DFA32_transitionS = {
+ "\1\3\36\uffff\1\4\3\uffff\1\1\1\2",
+ "\1\3\36\uffff\1\4",
+ "\1\3\36\uffff\1\4",
"\1\5",
"",
- "\1\7\6\uffff\2\6\6\uffff\2\6\1\uffff\2\6\5\uffff\1\6",
+ "\1\6\5\uffff\4\7\3\uffff\2\7\1\uffff\1\7\3\uffff\2\7\1\uffff"+
+ "\2\7\7\uffff\1\7",
+ "\1\10\7\uffff\4\11\3\uffff\2\11\1\uffff\1\11\3\uffff\2\11"+
+ "\1\uffff\2\11\7\uffff\1\11",
"",
- "\1\10\10\uffff\2\11\6\uffff\2\11\1\uffff\2\11\5\uffff\1\11",
"",
""
};
- 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 final short[] DFA32_eot = DFA.unpackEncodedString(DFA32_eotS);
+ static final short[] DFA32_eof = DFA.unpackEncodedString(DFA32_eofS);
+ static final char[] DFA32_min = DFA.unpackEncodedStringToUnsignedChars(DFA32_minS);
+ static final char[] DFA32_max = DFA.unpackEncodedStringToUnsignedChars(DFA32_maxS);
+ static final short[] DFA32_accept = DFA.unpackEncodedString(DFA32_acceptS);
+ static final short[] DFA32_special = DFA.unpackEncodedString(DFA32_specialS);
+ static final short[][] DFA32_transition;
static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
+ int numStates = DFA32_transitionS.length;
+ DFA32_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
+ DFA32_transition[i] = DFA.unpackEncodedString(DFA32_transitionS[i]);
}
}
- class DFA24 extends DFA {
+ class DFA32 extends DFA {
- public DFA24(BaseRecognizer recognizer) {
+ public DFA32(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- 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;
+ this.decisionNumber = 32;
+ this.eot = DFA32_eot;
+ this.eof = DFA32_eof;
+ this.min = DFA32_min;
+ this.max = DFA32_max;
+ this.accept = DFA32_accept;
+ this.special = DFA32_special;
+ this.transition = DFA32_transition;
}
public String getDescription() {
- return "1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )";
+ return "1884: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[]{0x0000000004029002L});
- public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000000029002L});
+ public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x0000000204585002L});
+ public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000004585002L});
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_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});
+ public static final BitSet FOLLOW_ruleSubSystemConfig_in_ruleConfigElement247 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorClassConfig_in_ruleConfigElement274 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement301 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement328 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSubSystemConfig_in_entryRuleSubSystemConfig363 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSubSystemConfig373 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_12_in_ruleSubSystemConfig410 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleSubSystemConfig430 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleSubSystemConfig442 = new BitSet(new long[]{0x0000000000008000L});
+ public static final BitSet FOLLOW_ruleDynamicConfig_in_ruleSubSystemConfig463 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleSubSystemConfig475 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDynamicConfig_in_entryRuleDynamicConfig511 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDynamicConfig521 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_15_in_ruleDynamicConfig558 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleDynamicConfig570 = new BitSet(new long[]{0x0000000000050000L});
+ public static final BitSet FOLLOW_16_in_ruleDynamicConfig628 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleDynamicConfig645 = new BitSet(new long[]{0x0000000000074000L});
+ public static final BitSet FOLLOW_17_in_ruleDynamicConfig663 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleDynamicConfig680 = new BitSet(new long[]{0x0000000000054000L});
+ public static final BitSet FOLLOW_18_in_ruleDynamicConfig755 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDynamicConfig772 = new BitSet(new long[]{0x0000000000054000L});
+ public static final BitSet FOLLOW_14_in_ruleDynamicConfig836 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig872 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleActorClassConfig882 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_19_in_ruleActorClassConfig919 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleActorClassConfig942 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleActorClassConfig954 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig975 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_14_in_ruleActorClassConfig988 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1024 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleActorInstanceConfig1034 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_20_in_ruleActorInstanceConfig1116 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig1139 = new BitSet(new long[]{0x0000000000200000L});
+ public static final BitSet FOLLOW_21_in_ruleActorInstanceConfig1151 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1172 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleActorInstanceConfig1184 = new BitSet(new long[]{0x000000000C104002L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1205 = new BitSet(new long[]{0x000000000C104002L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1283 = new BitSet(new long[]{0x0000000004004000L});
+ public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig1296 = new BitSet(new long[]{0x0000000004104002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1378 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleProtocolClassConfig1388 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_22_in_ruleProtocolClassConfig1425 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleProtocolClassConfig1448 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_ruleProtocolClassConfig1460 = new BitSet(new long[]{0x0000000001804000L});
+ public static final BitSet FOLLOW_23_in_ruleProtocolClassConfig1518 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1539 = new BitSet(new long[]{0x0000000001804000L});
+ public static final BitSet FOLLOW_24_in_ruleProtocolClassConfig1607 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1628 = new BitSet(new long[]{0x0000000001804000L});
+ public static final BitSet FOLLOW_14_in_ruleProtocolClassConfig1681 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1717 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortClassConfig1727 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_25_in_rulePortClassConfig1773 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_rulePortClassConfig1785 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1806 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_14_in_rulePortClassConfig1819 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1855 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortInstanceConfig1865 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_26_in_rulePortInstanceConfig1902 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_rulePortInstanceConfig1922 = new BitSet(new long[]{0x0000000000002000L});
+ public static final BitSet FOLLOW_13_in_rulePortInstanceConfig1934 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1955 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_14_in_rulePortInstanceConfig1968 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2006 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig2016 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_27_in_ruleAttrClassConfig2053 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig2073 = new BitSet(new long[]{0x0000000010002002L});
+ public static final BitSet FOLLOW_28_in_ruleAttrClassConfig2086 = new BitSet(new long[]{0x000007A0000000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2107 = new BitSet(new long[]{0x0000000000002002L});
+ public static final BitSet FOLLOW_13_in_ruleAttrClassConfig2122 = new BitSet(new long[]{0x0000000068004000L});
+ public static final BitSet FOLLOW_29_in_ruleAttrClassConfig2180 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_ruleAttrClassConfig2192 = new BitSet(new long[]{0x00000620000000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2213 = new BitSet(new long[]{0x0000000068004000L});
+ public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2281 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_28_in_ruleAttrClassConfig2293 = new BitSet(new long[]{0x00000620000000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2314 = new BitSet(new long[]{0x0000000068004000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2376 = new BitSet(new long[]{0x0000000008004000L});
+ public static final BitSet FOLLOW_14_in_ruleAttrClassConfig2389 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2427 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig2437 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_27_in_ruleAttrInstanceConfig2474 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2494 = new BitSet(new long[]{0x0000000010002002L});
+ public static final BitSet FOLLOW_28_in_ruleAttrInstanceConfig2507 = new BitSet(new long[]{0x000007A0000000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2528 = new BitSet(new long[]{0x0000000000002002L});
+ public static final BitSet FOLLOW_13_in_ruleAttrInstanceConfig2543 = new BitSet(new long[]{0x000000000800C000L});
+ public static final BitSet FOLLOW_15_in_ruleAttrInstanceConfig2607 = new BitSet(new long[]{0x0000000180000000L});
+ public static final BitSet FOLLOW_31_in_ruleAttrInstanceConfig2639 = new BitSet(new long[]{0x000000000800C000L});
+ public static final BitSet FOLLOW_32_in_ruleAttrInstanceConfig2670 = new BitSet(new long[]{0x000000000800C000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2747 = new BitSet(new long[]{0x000000000800C000L});
+ public static final BitSet FOLLOW_14_in_ruleAttrInstanceConfig2800 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath2838 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRefPath2848 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2890 = new BitSet(new long[]{0x0000000000200002L});
+ public static final BitSet FOLLOW_21_in_ruleRefPath2908 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2925 = new BitSet(new long[]{0x0000000000200002L});
+ public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2968 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImport2978 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_33_in_ruleImport3015 = new BitSet(new long[]{0x0000000800000010L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport3038 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_34_in_ruleImport3050 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_35_in_ruleImport3069 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleImport3087 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3129 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN3140 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN3187 = new BitSet(new long[]{0x0000001000000002L});
+ public static final BitSet FOLLOW_36_in_ruleImportedFQN3206 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3249 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleFQN3260 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3300 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_37_in_ruleFQN3319 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3334 = new BitSet(new long[]{0x0000002000000002L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3381 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteralArray3391 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3437 = new BitSet(new long[]{0x0000004000000002L});
+ public static final BitSet FOLLOW_38_in_ruleLiteralArray3450 = new BitSet(new long[]{0x000007A0000000E0L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3471 = new BitSet(new long[]{0x0000004000000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3509 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3519 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3566 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3593 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3620 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3655 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral3665 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_39_in_ruleBooleanLiteral3712 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_40_in_ruleBooleanLiteral3736 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3786 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral3796 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3843 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3870 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3905 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral3915 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral3970 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4006 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral4016 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral4071 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4107 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral4117 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral4168 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger4210 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleInteger4221 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger4268 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger4301 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4353 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger4364 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleSignedInteger4407 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_42_in_ruleSignedInteger4426 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger4443 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4499 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal4510 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal4553 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4602 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleReal4613 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_ruleReal4660 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal4693 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal4726 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal4759 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal4811 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimal4822 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleDecimal4865 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_42_in_ruleDecimal4884 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4901 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleDecimal4919 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4934 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4990 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal5001 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleDotDecimal5044 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_42_in_ruleDotDecimal5063 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleDotDecimal5078 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal5093 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5149 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot5160 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleDecimalDot5203 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_42_in_ruleDecimalDot5222 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot5239 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleDecimalDot5257 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5308 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp5319 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleDecimalExp5362 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_42_in_ruleDecimalExp5381 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5398 = new BitSet(new long[]{0x0000002000000000L});
+ public static final BitSet FOLLOW_37_in_ruleDecimalExp5416 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5431 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleDecimalExp5451 = new BitSet(new long[]{0x0000060000000040L});
+ public static final BitSet FOLLOW_41_in_ruleDecimalExp5470 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_42_in_ruleDecimalExp5489 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5506 = 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 f7f789dd7..87f46d5ec 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
@@ -10,6 +10,7 @@ import org.eclipse.etrice.core.config.AttrInstanceConfig;
import org.eclipse.etrice.core.config.BooleanLiteral;
import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.LiteralArray;
@@ -19,6 +20,7 @@ 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;
+import org.eclipse.etrice.core.config.SubSystemConfig;
import org.eclipse.etrice.core.services.ConfigGrammarAccess;
import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor;
import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
@@ -100,6 +102,12 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
return;
}
else break;
+ case ConfigPackage.DYNAMIC_CONFIG:
+ if(context == grammarAccess.getDynamicConfigRule()) {
+ sequence_DynamicConfig(context, (DynamicConfig) semanticObject);
+ return;
+ }
+ else break;
case ConfigPackage.IMPORT:
if(context == grammarAccess.getImportRule()) {
sequence_Import(context, (Import) semanticObject);
@@ -160,6 +168,13 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
return;
}
else break;
+ case ConfigPackage.SUB_SYSTEM_CONFIG:
+ if(context == grammarAccess.getConfigElementRule() ||
+ context == grammarAccess.getSubSystemConfigRule()) {
+ sequence_SubSystemConfig(context, (SubSystemConfig) semanticObject);
+ return;
+ }
+ else break;
}
if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
@@ -184,7 +199,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
- * (attribute=[Attribute|ID] value=LiteralArray? (min=NumberLiteral? max=NumberLiteral?)?)
+ * (attribute=[Attribute|ID] value=LiteralArray? (min=NumberLiteral? max=NumberLiteral? attributes+=AttrClassConfig*)?)
*/
protected void sequence_AttrClassConfig(EObject context, AttrClassConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -193,7 +208,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
- * (attribute=[Attribute|ID] value=LiteralArray?)
+ * (attribute=[Attribute|ID] value=LiteralArray? ((dynConfig?='dynamic configuration' readOnly?='read-only'?)? attributes+=AttrInstanceConfig*)?)
*/
protected void sequence_AttrInstanceConfig(EObject context, AttrInstanceConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -220,6 +235,15 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
/**
* Constraint:
+ * (source=STRING filePath=STRING? polling=INT)
+ */
+ protected void sequence_DynamicConfig(EObject context, DynamicConfig semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
* (importedNamespace=ImportedFQN? importURI=STRING)
*/
protected void sequence_Import(EObject context, Import semanticObject) {
@@ -318,4 +342,23 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer {
feeder.accept(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0(), semanticObject.getValue());
feeder.finish();
}
+
+
+ /**
+ * Constraint:
+ * (subSystem=[SubSystemClass|ID] dynConfig=DynamicConfig)
+ */
+ protected void sequence_SubSystemConfig(EObject context, SubSystemConfig semanticObject) {
+ if(errorAcceptor != null) {
+ if(transientValues.isValueTransient(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__SUB_SYSTEM) == ValueTransient.YES)
+ errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__SUB_SYSTEM));
+ if(transientValues.isValueTransient(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__DYN_CONFIG) == ValueTransient.YES)
+ errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__DYN_CONFIG));
+ }
+ INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
+ SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ feeder.accept(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1(), semanticObject.getSubSystem());
+ feeder.accept(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0(), semanticObject.getDynConfig());
+ feeder.finish();
+ }
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSyntacticSequencer.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSyntacticSequencer.java
index 0d927a00e..786ffc2a6 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSyntacticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/AbstractConfigSyntacticSequencer.java
@@ -18,12 +18,18 @@ import org.eclipse.xtext.serializer.sequencer.AbstractSyntacticSequencer;
public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer {
protected ConfigGrammarAccess grammarAccess;
- protected AbstractElementAlias match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q;
+ protected AbstractElementAlias match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_a;
+ protected AbstractElementAlias match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_p;
+ protected AbstractElementAlias match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q;
+ protected AbstractElementAlias match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q;
@Inject
protected void init(IGrammarAccess access) {
grammarAccess = (ConfigGrammarAccess) access;
- match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()));
+ match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_a = new TokenAlias(true, true, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_1_1());
+ match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_p = new TokenAlias(true, false, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_1_1());
+ match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_3()));
+ match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2()));
}
@Override
@@ -38,17 +44,47 @@ public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer
List<INode> transitionNodes = collectNodes(fromNode, toNode);
for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) {
List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
- if(match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax))
- emit_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
+ if(match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_a.equals(syntax))
+ emit_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_a(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if(match_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_p.equals(syntax))
+ emit_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_p(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if(match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q.equals(syntax))
+ emit_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if(match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax))
+ emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
else acceptNodes(getLastNavigableState(), syntaxNodes);
}
}
/**
* Syntax:
+ * '}'*
+ */
+ protected void emit_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_a(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
+ acceptNodes(transition, nodes);
+ }
+
+ /**
+ * Syntax:
+ * '}'+
+ */
+ protected void emit_ActorInstanceConfig_RightCurlyBracketKeyword_1_1_p(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
+ acceptNodes(transition, nodes);
+ }
+
+ /**
+ * Syntax:
+ * ('{' '}')?
+ */
+ protected void emit_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
+ acceptNodes(transition, nodes);
+ }
+
+ /**
+ * Syntax:
* ('{' '}')?
*/
- protected void emit_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
+ protected void emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
acceptNodes(transition, nodes);
}
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 e5f0d5019..c51008d68 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
@@ -51,25 +51,149 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
public class ConfigElementElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConfigElement");
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);
+ private final RuleCall cSubSystemConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cActorClassConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cActorInstanceConfigParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+ private final RuleCall cProtocolClassConfigParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
//ConfigElement:
- // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
+ // SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
public ParserRule getRule() { return rule; }
- //ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig
+ //SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig
public Alternatives getAlternatives() { return cAlternatives; }
+ //SubSystemConfig
+ public RuleCall getSubSystemConfigParserRuleCall_0() { return cSubSystemConfigParserRuleCall_0; }
+
//ActorClassConfig
- public RuleCall getActorClassConfigParserRuleCall_0() { return cActorClassConfigParserRuleCall_0; }
+ public RuleCall getActorClassConfigParserRuleCall_1() { return cActorClassConfigParserRuleCall_1; }
//ActorInstanceConfig
- public RuleCall getActorInstanceConfigParserRuleCall_1() { return cActorInstanceConfigParserRuleCall_1; }
+ public RuleCall getActorInstanceConfigParserRuleCall_2() { return cActorInstanceConfigParserRuleCall_2; }
//ProtocolClassConfig
- public RuleCall getProtocolClassConfigParserRuleCall_2() { return cProtocolClassConfigParserRuleCall_2; }
+ public RuleCall getProtocolClassConfigParserRuleCall_3() { return cProtocolClassConfigParserRuleCall_3; }
+ }
+
+ public class SubSystemConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SubSystemConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cSubSystemConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cSubSystemAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cSubSystemSubSystemClassCrossReference_1_0 = (CrossReference)cSubSystemAssignment_1.eContents().get(0);
+ private final RuleCall cSubSystemSubSystemClassIDTerminalRuleCall_1_0_1 = (RuleCall)cSubSystemSubSystemClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cDynConfigAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cDynConfigDynamicConfigParserRuleCall_3_0 = (RuleCall)cDynConfigAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //SubSystemConfig:
+ // "SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}";
+ public ParserRule getRule() { return rule; }
+
+ //"SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}"
+ public Group getGroup() { return cGroup; }
+
+ //"SubSystemConfig"
+ public Keyword getSubSystemConfigKeyword_0() { return cSubSystemConfigKeyword_0; }
+
+ //subSystem=[room::SubSystemClass]
+ public Assignment getSubSystemAssignment_1() { return cSubSystemAssignment_1; }
+
+ //[room::SubSystemClass]
+ public CrossReference getSubSystemSubSystemClassCrossReference_1_0() { return cSubSystemSubSystemClassCrossReference_1_0; }
+
+ //ID
+ public RuleCall getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1() { return cSubSystemSubSystemClassIDTerminalRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //dynConfig=DynamicConfig
+ public Assignment getDynConfigAssignment_3() { return cDynConfigAssignment_3; }
+
+ //DynamicConfig
+ public RuleCall getDynConfigDynamicConfigParserRuleCall_3_0() { return cDynConfigDynamicConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class DynamicConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DynamicConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cDynamicConfigurationKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
+ private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
+ private final Group cGroup_2_0 = (Group)cUnorderedGroup_2.eContents().get(0);
+ private final Keyword cSourceKeyword_2_0_0 = (Keyword)cGroup_2_0.eContents().get(0);
+ private final Assignment cSourceAssignment_2_0_1 = (Assignment)cGroup_2_0.eContents().get(1);
+ private final RuleCall cSourceSTRINGTerminalRuleCall_2_0_1_0 = (RuleCall)cSourceAssignment_2_0_1.eContents().get(0);
+ private final Group cGroup_2_0_2 = (Group)cGroup_2_0.eContents().get(2);
+ private final Keyword cFilePathKeyword_2_0_2_0 = (Keyword)cGroup_2_0_2.eContents().get(0);
+ private final Assignment cFilePathAssignment_2_0_2_1 = (Assignment)cGroup_2_0_2.eContents().get(1);
+ private final RuleCall cFilePathSTRINGTerminalRuleCall_2_0_2_1_0 = (RuleCall)cFilePathAssignment_2_0_2_1.eContents().get(0);
+ private final Group cGroup_2_1 = (Group)cUnorderedGroup_2.eContents().get(1);
+ private final Keyword cPollingRateKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0);
+ private final Assignment cPollingAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1);
+ private final RuleCall cPollingINTTerminalRuleCall_2_1_1_0 = (RuleCall)cPollingAssignment_2_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3);
+
+ //DynamicConfig:
+ // "dynamic configuration" "{" ("source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT) "}";
+ public ParserRule getRule() { return rule; }
+
+ //"dynamic configuration" "{" ("source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT) "}"
+ public Group getGroup() { return cGroup; }
+
+ //"dynamic configuration"
+ public Keyword getDynamicConfigurationKeyword_0() { return cDynamicConfigurationKeyword_0; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
+
+ //"source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT
+ public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
+
+ //"source" source=STRING ("file path" filePath=STRING)?
+ public Group getGroup_2_0() { return cGroup_2_0; }
+
+ //"source"
+ public Keyword getSourceKeyword_2_0_0() { return cSourceKeyword_2_0_0; }
+
+ //source=STRING
+ public Assignment getSourceAssignment_2_0_1() { return cSourceAssignment_2_0_1; }
+
+ //STRING
+ public RuleCall getSourceSTRINGTerminalRuleCall_2_0_1_0() { return cSourceSTRINGTerminalRuleCall_2_0_1_0; }
+
+ //("file path" filePath=STRING)?
+ public Group getGroup_2_0_2() { return cGroup_2_0_2; }
+
+ //"file path"
+ public Keyword getFilePathKeyword_2_0_2_0() { return cFilePathKeyword_2_0_2_0; }
+
+ //filePath=STRING
+ public Assignment getFilePathAssignment_2_0_2_1() { return cFilePathAssignment_2_0_2_1; }
+
+ //STRING
+ public RuleCall getFilePathSTRINGTerminalRuleCall_2_0_2_1_0() { return cFilePathSTRINGTerminalRuleCall_2_0_2_1_0; }
+
+ //"polling rate" polling=INT
+ public Group getGroup_2_1() { return cGroup_2_1; }
+
+ //"polling rate"
+ public Keyword getPollingRateKeyword_2_1_0() { return cPollingRateKeyword_2_1_0; }
+
+ //polling=INT
+ public Assignment getPollingAssignment_2_1_1() { return cPollingAssignment_2_1_1; }
+
+ //INT
+ public RuleCall getPollingINTTerminalRuleCall_2_1_1_0() { return cPollingINTTerminalRuleCall_2_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
}
public class ActorClassConfigElements extends AbstractParserRuleElementFinder {
@@ -121,20 +245,22 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
public class ActorInstanceConfigElements extends AbstractParserRuleElementFinder {
private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActorInstanceConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cActorInstanceConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cRootAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cRootSubSystemClassCrossReference_1_0 = (CrossReference)cRootAssignment_1.eContents().get(0);
- private final RuleCall cRootSubSystemClassFQNParserRuleCall_1_0_1 = (RuleCall)cRootSubSystemClassCrossReference_1_0.eContents().get(1);
- private final Keyword cSolidusKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cPathAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cPathRefPathParserRuleCall_3_0 = (RuleCall)cPathAssignment_3.eContents().get(0);
- 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 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);
+ private final UnorderedGroup cUnorderedGroup = (UnorderedGroup)rule.eContents().get(1);
+ private final Group cGroup_0 = (Group)cUnorderedGroup.eContents().get(0);
+ private final Keyword cActorInstanceConfigKeyword_0_0 = (Keyword)cGroup_0.eContents().get(0);
+ private final Assignment cRootAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1);
+ private final CrossReference cRootSubSystemClassCrossReference_0_1_0 = (CrossReference)cRootAssignment_0_1.eContents().get(0);
+ private final RuleCall cRootSubSystemClassFQNParserRuleCall_0_1_0_1 = (RuleCall)cRootSubSystemClassCrossReference_0_1_0.eContents().get(1);
+ private final Keyword cSolidusKeyword_0_2 = (Keyword)cGroup_0.eContents().get(2);
+ private final Assignment cPathAssignment_0_3 = (Assignment)cGroup_0.eContents().get(3);
+ private final RuleCall cPathRefPathParserRuleCall_0_3_0 = (RuleCall)cPathAssignment_0_3.eContents().get(0);
+ private final Keyword cLeftCurlyBracketKeyword_0_4 = (Keyword)cGroup_0.eContents().get(4);
+ private final Assignment cAttributesAssignment_0_5 = (Assignment)cGroup_0.eContents().get(5);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_0_5_0 = (RuleCall)cAttributesAssignment_0_5.eContents().get(0);
+ private final Group cGroup_1 = (Group)cUnorderedGroup.eContents().get(1);
+ private final Assignment cPortsAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0);
+ private final RuleCall cPortsPortInstanceConfigParserRuleCall_1_0_0 = (RuleCall)cPortsAssignment_1_0.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_1_1 = (Keyword)cGroup_1.eContents().get(1);
/// *
// * Validation:
@@ -143,52 +269,58 @@ 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 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; }
+ public UnorderedGroup getUnorderedGroup() { return cUnorderedGroup; }
+
+ //"ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
+ public Group getGroup_0() { return cGroup_0; }
//"ActorInstanceConfig"
- public Keyword getActorInstanceConfigKeyword_0() { return cActorInstanceConfigKeyword_0; }
+ public Keyword getActorInstanceConfigKeyword_0_0() { return cActorInstanceConfigKeyword_0_0; }
//root=[room::SubSystemClass|FQN]
- public Assignment getRootAssignment_1() { return cRootAssignment_1; }
+ public Assignment getRootAssignment_0_1() { return cRootAssignment_0_1; }
//[room::SubSystemClass|FQN]
- public CrossReference getRootSubSystemClassCrossReference_1_0() { return cRootSubSystemClassCrossReference_1_0; }
+ public CrossReference getRootSubSystemClassCrossReference_0_1_0() { return cRootSubSystemClassCrossReference_0_1_0; }
//FQN
- public RuleCall getRootSubSystemClassFQNParserRuleCall_1_0_1() { return cRootSubSystemClassFQNParserRuleCall_1_0_1; }
+ public RuleCall getRootSubSystemClassFQNParserRuleCall_0_1_0_1() { return cRootSubSystemClassFQNParserRuleCall_0_1_0_1; }
//"/"
- public Keyword getSolidusKeyword_2() { return cSolidusKeyword_2; }
+ public Keyword getSolidusKeyword_0_2() { return cSolidusKeyword_0_2; }
//path=RefPath
- public Assignment getPathAssignment_3() { return cPathAssignment_3; }
+ public Assignment getPathAssignment_0_3() { return cPathAssignment_0_3; }
//RefPath
- public RuleCall getPathRefPathParserRuleCall_3_0() { return cPathRefPathParserRuleCall_3_0; }
+ public RuleCall getPathRefPathParserRuleCall_0_3_0() { return cPathRefPathParserRuleCall_0_3_0; }
//"{"
- public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; }
+ public Keyword getLeftCurlyBracketKeyword_0_4() { return cLeftCurlyBracketKeyword_0_4; }
//attributes+=AttrInstanceConfig*
- public Assignment getAttributesAssignment_5() { return cAttributesAssignment_5; }
+ public Assignment getAttributesAssignment_0_5() { return cAttributesAssignment_0_5; }
//AttrInstanceConfig
- public RuleCall getAttributesAttrInstanceConfigParserRuleCall_5_0() { return cAttributesAttrInstanceConfigParserRuleCall_5_0; }
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_0_5_0() { return cAttributesAttrInstanceConfigParserRuleCall_0_5_0; }
+
+ //ports+=PortInstanceConfig* "}"
+ public Group getGroup_1() { return cGroup_1; }
//ports+=PortInstanceConfig*
- public Assignment getPortsAssignment_6() { return cPortsAssignment_6; }
+ public Assignment getPortsAssignment_1_0() { return cPortsAssignment_1_0; }
//PortInstanceConfig
- public RuleCall getPortsPortInstanceConfigParserRuleCall_6_0() { return cPortsPortInstanceConfigParserRuleCall_6_0; }
+ public RuleCall getPortsPortInstanceConfigParserRuleCall_1_0_0() { return cPortsPortInstanceConfigParserRuleCall_1_0_0; }
//"}"
- public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; }
+ public Keyword getRightCurlyBracketKeyword_1_1() { return cRightCurlyBracketKeyword_1_1; }
}
public class ProtocolClassConfigElements extends AbstractParserRuleElementFinder {
@@ -394,7 +526,9 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private final Keyword cEqualsSignKeyword_3_1_1_1 = (Keyword)cGroup_3_1_1.eContents().get(1);
private final Assignment cMaxAssignment_3_1_1_2 = (Assignment)cGroup_3_1_1.eContents().get(2);
private final RuleCall cMaxNumberLiteralParserRuleCall_3_1_1_2_0 = (RuleCall)cMaxAssignment_3_1_1_2.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
+ private final Assignment cAttributesAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2);
+ private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_2_0 = (RuleCall)cAttributesAssignment_3_2.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3);
/// *
// * Validation:
@@ -405,11 +539,11 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// *
// * / AttrClassConfig:
// "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- // max=NumberLiteral)?) "}")?;
+ // max=NumberLiteral)?) attributes+=AttrClassConfig* "}")?;
public ParserRule getRule() { return rule; }
//"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- //max=NumberLiteral)?) "}")?
+ //max=NumberLiteral)?) attributes+=AttrClassConfig* "}")?
public Group getGroup() { return cGroup; }
//"Attr"
@@ -436,7 +570,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//LiteralArray
public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
- //("{" (("min" "=" min=NumberLiteral)? & ("max" "=" max=NumberLiteral)?) "}")?
+ //("{" (("min" "=" min=NumberLiteral)? & ("max" "=" max=NumberLiteral)?) attributes+=AttrClassConfig* "}")?
public Group getGroup_3() { return cGroup_3; }
//"{"
@@ -475,8 +609,14 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//NumberLiteral
public RuleCall getMaxNumberLiteralParserRuleCall_3_1_1_2_0() { return cMaxNumberLiteralParserRuleCall_3_1_1_2_0; }
+ //attributes+=AttrClassConfig*
+ public Assignment getAttributesAssignment_3_2() { return cAttributesAssignment_3_2; }
+
+ //AttrClassConfig
+ public RuleCall getAttributesAttrClassConfigParserRuleCall_3_2_0() { return cAttributesAttrClassConfigParserRuleCall_3_2_0; }
+
//"}"
- public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
+ public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; }
}
public class AttrInstanceConfigElements extends AbstractParserRuleElementFinder {
@@ -490,12 +630,27 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
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 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);
+ private final Group cGroup_3_1_0 = (Group)cUnorderedGroup_3_1.eContents().get(0);
+ private final Assignment cDynConfigAssignment_3_1_0_0 = (Assignment)cGroup_3_1_0.eContents().get(0);
+ private final Keyword cDynConfigDynamicConfigurationKeyword_3_1_0_0_0 = (Keyword)cDynConfigAssignment_3_1_0_0.eContents().get(0);
+ private final Alternatives cAlternatives_3_1_0_1 = (Alternatives)cGroup_3_1_0.eContents().get(1);
+ private final Assignment cReadOnlyAssignment_3_1_0_1_0 = (Assignment)cAlternatives_3_1_0_1.eContents().get(0);
+ private final Keyword cReadOnlyReadOnlyKeyword_3_1_0_1_0_0 = (Keyword)cReadOnlyAssignment_3_1_0_1_0.eContents().get(0);
+ private final Keyword cReadWriteKeyword_3_1_0_1_1 = (Keyword)cAlternatives_3_1_0_1.eContents().get(1);
+ private final Assignment cAttributesAssignment_3_1_1 = (Assignment)cUnorderedGroup_3_1.eContents().get(1);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_1_1_0 = (RuleCall)cAttributesAssignment_3_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
//AttrInstanceConfig:
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration"
+ // (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")?;
public ParserRule getRule() { return rule; }
- //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?
+ //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration"
+ //(readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")?
public Group getGroup() { return cGroup; }
//"Attr"
@@ -521,6 +676,46 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//LiteralArray
public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
+
+ //("{" ((dynConfig?="dynamic configuration" (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*)
+ //"}")?
+ public Group getGroup_3() { return cGroup_3; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
+
+ //(dynConfig?="dynamic configuration" (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*
+ public UnorderedGroup getUnorderedGroup_3_1() { return cUnorderedGroup_3_1; }
+
+ //(dynConfig?="dynamic configuration" (readOnly?="read-only" | "read-write"))?
+ public Group getGroup_3_1_0() { return cGroup_3_1_0; }
+
+ //dynConfig?="dynamic configuration"
+ public Assignment getDynConfigAssignment_3_1_0_0() { return cDynConfigAssignment_3_1_0_0; }
+
+ //"dynamic configuration"
+ public Keyword getDynConfigDynamicConfigurationKeyword_3_1_0_0_0() { return cDynConfigDynamicConfigurationKeyword_3_1_0_0_0; }
+
+ //readOnly?="read-only" | "read-write"
+ public Alternatives getAlternatives_3_1_0_1() { return cAlternatives_3_1_0_1; }
+
+ //readOnly?="read-only"
+ public Assignment getReadOnlyAssignment_3_1_0_1_0() { return cReadOnlyAssignment_3_1_0_1_0; }
+
+ //"read-only"
+ public Keyword getReadOnlyReadOnlyKeyword_3_1_0_1_0_0() { return cReadOnlyReadOnlyKeyword_3_1_0_1_0_0; }
+
+ //"read-write"
+ public Keyword getReadWriteKeyword_3_1_0_1_1() { return cReadWriteKeyword_3_1_0_1_1; }
+
+ //attributes+=AttrInstanceConfig*
+ public Assignment getAttributesAssignment_3_1_1() { return cAttributesAssignment_3_1_1; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
}
public class RefPathElements extends AbstractParserRuleElementFinder {
@@ -684,6 +879,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//// HZ = 'Hz'|
//// KW
////;
+ //// LiteralArray = BooleanLiteral+|NumberLiteral+
+ //// LiteralArray = StringLiteral
//LiteralArray:
// literals+=Literal ("," literals+=Literal)*;
public ParserRule getRule() { return rule; }
@@ -1106,6 +1303,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
private ConfigModelElements pConfigModel;
private ConfigElementElements pConfigElement;
+ private SubSystemConfigElements pSubSystemConfig;
+ private DynamicConfigElements pDynamicConfig;
private ActorClassConfigElements pActorClassConfig;
private ActorInstanceConfigElements pActorInstanceConfig;
private ProtocolClassConfigElements pProtocolClassConfig;
@@ -1170,7 +1369,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
}
//ConfigElement:
- // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
+ // SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
public ConfigElementElements getConfigElementAccess() {
return (pConfigElement != null) ? pConfigElement : (pConfigElement = new ConfigElementElements());
}
@@ -1179,6 +1378,26 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
return getConfigElementAccess().getRule();
}
+ //SubSystemConfig:
+ // "SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}";
+ public SubSystemConfigElements getSubSystemConfigAccess() {
+ return (pSubSystemConfig != null) ? pSubSystemConfig : (pSubSystemConfig = new SubSystemConfigElements());
+ }
+
+ public ParserRule getSubSystemConfigRule() {
+ return getSubSystemConfigAccess().getRule();
+ }
+
+ //DynamicConfig:
+ // "dynamic configuration" "{" ("source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT) "}";
+ public DynamicConfigElements getDynamicConfigAccess() {
+ return (pDynamicConfig != null) ? pDynamicConfig : (pDynamicConfig = new DynamicConfigElements());
+ }
+
+ public ParserRule getDynamicConfigRule() {
+ return getDynamicConfigAccess().getRule();
+ }
+
/// *
// * Validation:
// * duplicates config, attributes
@@ -1199,7 +1418,7 @@ 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());
@@ -1264,7 +1483,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
// *
// * / AttrClassConfig:
// "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- // max=NumberLiteral)?) "}")?;
+ // max=NumberLiteral)?) attributes+=AttrClassConfig* "}")?;
public AttrClassConfigElements getAttrClassConfigAccess() {
return (pAttrClassConfig != null) ? pAttrClassConfig : (pAttrClassConfig = new AttrClassConfigElements());
}
@@ -1274,7 +1493,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
}
//AttrInstanceConfig:
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration"
+ // (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")?;
public AttrInstanceConfigElements getAttrInstanceConfigAccess() {
return (pAttrInstanceConfig != null) ? pAttrInstanceConfig : (pAttrInstanceConfig = new AttrInstanceConfigElements());
}
@@ -1342,6 +1562,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
//// HZ = 'Hz'|
//// KW
////;
+ //// LiteralArray = BooleanLiteral+|NumberLiteral+
+ //// LiteralArray = StringLiteral
//LiteralArray:
// literals+=Literal ("," literals+=Literal)*;
public LiteralArrayElements getLiteralArrayAccess() {

Back to the top