From 537d59a08f64a6c8f053047bff966b770a676084 Mon Sep 17 00:00:00 2001 From: Juergen Haug Date: Mon, 20 Aug 2012 11:17:35 +0200 Subject: [CQ 6485][config] validation Change-Id: I49edda42d8b6baeaa04d36d74e5dbe645fa84568 --- .../src-gen/org/eclipse/etrice/core/Config.ecore | 10 +- .../org/eclipse/etrice/core/Config.genmodel | 4 +- .../src-gen/org/eclipse/etrice/core/Config.xmi | 72 +- .../eclipse/etrice/core/config/ConfigModel.java | 9 + .../eclipse/etrice/core/config/ConfigPackage.java | 64 +- .../eclipse/etrice/core/config/DynamicConfig.java | 69 +- .../org/eclipse/etrice/core/config/IntLiteral.java | 6 +- .../etrice/core/config/impl/ConfigModelImpl.java | 15 + .../etrice/core/config/impl/ConfigPackageImpl.java | 26 +- .../etrice/core/config/impl/DynamicConfigImpl.java | 132 +- .../etrice/core/config/impl/IntLiteralImpl.java | 12 +- .../core/parser/antlr/internal/InternalConfig.g | 159 +- .../parser/antlr/internal/InternalConfig.tokens | 99 +- .../parser/antlr/internal/InternalConfigLexer.java | 1284 ++++++----- .../antlr/internal/InternalConfigParser.java | 2421 ++++++++++---------- .../AbstractConfigSemanticSequencer.java | 4 +- .../AbstractConfigSyntacticSequencer.java | 10 +- .../etrice/core/services/ConfigGrammarAccess.java | 208 +- .../src/org/eclipse/etrice/core/Config.xtext | 27 +- .../eclipse/etrice/core/ConfigPostprocessor.ext | 9 + .../etrice/core/config/util/ConfigUtil.java | 25 +- .../converter/ConfigValueConverterService.java | 33 +- .../etrice/core/formatting/ConfigFormatter.java | 2 +- .../etrice/core/scoping/ConfigScopeProvider.java | 17 +- .../core/validation/ConfigJavaValidator.java | 221 +- 25 files changed, 2616 insertions(+), 2322 deletions(-) (limited to 'plugins/org.eclipse.etrice.core.config') 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 2cc22a604..e853f69f0 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 @@ -19,6 +19,11 @@
+ + +
+ + - + + @@ -105,7 +111,7 @@ - + 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 bb98171a7..8ed534cf8 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 @@ -15,6 +15,7 @@ + @@ -22,8 +23,9 @@ - + + 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 81ca3837f..14b323d13 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 @@ -63,20 +63,30 @@ - - - - - - + + + + + + + + + + + + + + + + - - + + @@ -285,22 +295,20 @@ - - - - - - - - - - - + + + - - + + + + + + + + @@ -462,7 +470,7 @@ - + @@ -485,7 +493,7 @@ - + @@ -550,12 +558,26 @@ - + + + + + + + + + + + + - + + + + diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java index 74481ea13..bbb9a2610 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java @@ -88,4 +88,13 @@ public interface ConfigModel extends EObject */ EList getProtocolClassConfigs(); + /** + * + * + * @model kind="operation" + * annotation="http://www.eclipse.org/emf/2002/GenModel body='EList list = new org.eclipse.emf.common.util.BasicEList();\r\n\t\t\t\tfor(ConfigElement element : this.getConfigElements())\r\n\t\t\t \t\tif(element instanceof SubSystemConfig)\r\n\t\t\t\t\t\tlist.add((SubSystemConfig) element);\r\n\t\t\t\treturn list;'" + * @generated + */ + EList getSubSystemConfigs(); + } // ConfigModel diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java index e4340ebc8..a0171effe 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 @@ -164,22 +164,31 @@ public interface ConfigPackage extends EPackage int DYNAMIC_CONFIG = 3; /** - * The feature id for the 'Source' attribute. + * The feature id for the 'File Path' attribute. * * * @generated * @ordered */ - int DYNAMIC_CONFIG__SOURCE = 0; + int DYNAMIC_CONFIG__FILE_PATH = 0; /** - * The feature id for the 'File Path' attribute. + * The feature id for the 'User Code1' attribute. + * + * + * @generated + * @ordered + */ + int DYNAMIC_CONFIG__USER_CODE1 = 1; + + /** + * The feature id for the 'User Code2' attribute. * * * @generated * @ordered */ - int DYNAMIC_CONFIG__FILE_PATH = 1; + int DYNAMIC_CONFIG__USER_CODE2 = 2; /** * The feature id for the 'Polling' attribute. @@ -188,7 +197,7 @@ public interface ConfigPackage extends EPackage * @generated * @ordered */ - int DYNAMIC_CONFIG__POLLING = 2; + int DYNAMIC_CONFIG__POLLING = 3; /** * The number of structural features of the 'Dynamic Config' class. @@ -197,7 +206,7 @@ public interface ConfigPackage extends EPackage * @generated * @ordered */ - int DYNAMIC_CONFIG_FEATURE_COUNT = 3; + int DYNAMIC_CONFIG_FEATURE_COUNT = 4; /** * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.ActorClassConfigImpl Actor Class Config}' class. @@ -896,26 +905,37 @@ public interface ConfigPackage extends EPackage EClass getDynamicConfig(); /** - * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getSource Source}'. + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath File Path}'. * * - * @return the meta object for the attribute 'Source'. - * @see org.eclipse.etrice.core.config.DynamicConfig#getSource() + * @return the meta object for the attribute 'File Path'. + * @see org.eclipse.etrice.core.config.DynamicConfig#getFilePath() * @see #getDynamicConfig() * @generated */ - EAttribute getDynamicConfig_Source(); + EAttribute getDynamicConfig_FilePath(); /** - * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath File Path}'. + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 User Code1}'. * * - * @return the meta object for the attribute 'File Path'. - * @see org.eclipse.etrice.core.config.DynamicConfig#getFilePath() + * @return the meta object for the attribute 'User Code1'. + * @see org.eclipse.etrice.core.config.DynamicConfig#getUserCode1() * @see #getDynamicConfig() * @generated */ - EAttribute getDynamicConfig_FilePath(); + EAttribute getDynamicConfig_UserCode1(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode2 User Code2}'. + * + * + * @return the meta object for the attribute 'User Code2'. + * @see org.eclipse.etrice.core.config.DynamicConfig#getUserCode2() + * @see #getDynamicConfig() + * @generated + */ + EAttribute getDynamicConfig_UserCode2(); /** * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling Polling}'. @@ -1502,20 +1522,28 @@ public interface ConfigPackage extends EPackage EClass DYNAMIC_CONFIG = eINSTANCE.getDynamicConfig(); /** - * The meta object literal for the 'Source' attribute feature. + * The meta object literal for the 'File Path' attribute feature. * * * @generated */ - EAttribute DYNAMIC_CONFIG__SOURCE = eINSTANCE.getDynamicConfig_Source(); + EAttribute DYNAMIC_CONFIG__FILE_PATH = eINSTANCE.getDynamicConfig_FilePath(); /** - * The meta object literal for the 'File Path' attribute feature. + * The meta object literal for the 'User Code1' attribute feature. * * * @generated */ - EAttribute DYNAMIC_CONFIG__FILE_PATH = eINSTANCE.getDynamicConfig_FilePath(); + EAttribute DYNAMIC_CONFIG__USER_CODE1 = eINSTANCE.getDynamicConfig_UserCode1(); + + /** + * The meta object literal for the 'User Code2' attribute feature. + * + * + * @generated + */ + EAttribute DYNAMIC_CONFIG__USER_CODE2 = eINSTANCE.getDynamicConfig_UserCode2(); /** * The meta object literal for the 'Polling' attribute feature. 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 index b07c882ce..e4fff52fa 100644 --- 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 @@ -16,8 +16,9 @@ import org.eclipse.emf.ecore.EObject; *

* The following features are supported: *

    - *
  • {@link org.eclipse.etrice.core.config.DynamicConfig#getSource Source}
  • *
  • {@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath File Path}
  • + *
  • {@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 User Code1}
  • + *
  • {@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode2 User Code2}
  • *
  • {@link org.eclipse.etrice.core.config.DynamicConfig#getPolling Polling}
  • *
*

@@ -29,56 +30,82 @@ import org.eclipse.emf.ecore.EObject; public interface DynamicConfig extends EObject { /** - * Returns the value of the 'Source' attribute. + * Returns the value of the 'File Path' attribute. * *

- * If the meaning of the 'Source' attribute isn't clear, + * If the meaning of the 'File Path' attribute isn't clear, * there really should be more of a description here... *

* - * @return the value of the 'Source' attribute. - * @see #setSource(String) - * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_Source() + * @return the value of the 'File Path' attribute. + * @see #setFilePath(String) + * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_FilePath() * @model * @generated */ - String getSource(); + String getFilePath(); /** - * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getSource Source}' attribute. + * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath File Path}' attribute. * * - * @param value the new value of the 'Source' attribute. - * @see #getSource() + * @param value the new value of the 'File Path' attribute. + * @see #getFilePath() * @generated */ - void setSource(String value); + void setFilePath(String value); /** - * Returns the value of the 'File Path' attribute. + * Returns the value of the 'User Code1' attribute. * *

- * If the meaning of the 'File Path' attribute isn't clear, + * If the meaning of the 'User Code1' attribute isn't clear, * there really should be more of a description here... *

* - * @return the value of the 'File Path' attribute. - * @see #setFilePath(String) - * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_FilePath() + * @return the value of the 'User Code1' attribute. + * @see #setUserCode1(String) + * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_UserCode1() * @model * @generated */ - String getFilePath(); + String getUserCode1(); /** - * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath File Path}' attribute. + * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 User Code1}' attribute. * * - * @param value the new value of the 'File Path' attribute. - * @see #getFilePath() + * @param value the new value of the 'User Code1' attribute. + * @see #getUserCode1() * @generated */ - void setFilePath(String value); + void setUserCode1(String value); + + /** + * Returns the value of the 'User Code2' attribute. + * + *

+ * If the meaning of the 'User Code2' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'User Code2' attribute. + * @see #setUserCode2(String) + * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_UserCode2() + * @model + * @generated + */ + String getUserCode2(); + + /** + * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode2 User Code2}' attribute. + * + * + * @param value the new value of the 'User Code2' attribute. + * @see #getUserCode2() + * @generated + */ + void setUserCode2(String value); /** * Returns the value of the 'Polling' attribute. diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java index d20edffaa..c768941b8 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java @@ -34,12 +34,12 @@ public interface IntLiteral extends NumberLiteral *

* * @return the value of the 'Value' attribute. - * @see #setValue(int) + * @see #setValue(long) * @see org.eclipse.etrice.core.config.ConfigPackage#getIntLiteral_Value() * @model * @generated */ - int getValue(); + long getValue(); /** * Sets the value of the '{@link org.eclipse.etrice.core.config.IntLiteral#getValue Value}' attribute. @@ -49,6 +49,6 @@ public interface IntLiteral extends NumberLiteral * @see #getValue() * @generated */ - void setValue(int value); + void setValue(long value); } // IntLiteral diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java index cee85b1e7..ee50ca0e3 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java @@ -27,6 +27,7 @@ import org.eclipse.etrice.core.config.ConfigModel; import org.eclipse.etrice.core.config.ConfigPackage; import org.eclipse.etrice.core.config.Import; import org.eclipse.etrice.core.config.ProtocolClassConfig; +import org.eclipse.etrice.core.config.SubSystemConfig; /** * @@ -155,6 +156,20 @@ public class ConfigModelImpl extends MinimalEObjectImpl.Container implements Con return list; } + /** + * + * + * @generated + */ + public EList getSubSystemConfigs() + { + EList list = new org.eclipse.emf.common.util.BasicEList(); + for(ConfigElement element : this.getConfigElements()) + if(element instanceof SubSystemConfig) + list.add((SubSystemConfig) element); + return list; + } + /** * * 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 4d443c069..9a37128e5 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 @@ -345,7 +345,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage * * @generated */ - public EAttribute getDynamicConfig_Source() + public EAttribute getDynamicConfig_FilePath() { return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(0); } @@ -355,7 +355,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage * * @generated */ - public EAttribute getDynamicConfig_FilePath() + public EAttribute getDynamicConfig_UserCode1() { return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(1); } @@ -365,11 +365,21 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage * * @generated */ - public EAttribute getDynamicConfig_Polling() + public EAttribute getDynamicConfig_UserCode2() { return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(2); } + /** + * + * + * @generated + */ + public EAttribute getDynamicConfig_Polling() + { + return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(3); + } + /** * * @@ -861,8 +871,9 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage 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__USER_CODE1); + createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__USER_CODE2); createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__POLLING); actorClassConfigEClass = createEClass(ACTOR_CLASS_CONFIG); @@ -983,6 +994,8 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage addEOperation(configModelEClass, this.getProtocolClassConfig(), "getProtocolClassConfigs", 0, -1, IS_UNIQUE, IS_ORDERED); + addEOperation(configModelEClass, this.getSubSystemConfig(), "getSubSystemConfigs", 0, -1, IS_UNIQUE, IS_ORDERED); + 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); @@ -990,8 +1003,9 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage 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_UserCode1(), ecorePackage.getEString(), "userCode1", null, 0, 1, DynamicConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDynamicConfig_UserCode2(), ecorePackage.getEString(), "userCode2", 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); @@ -1051,7 +1065,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage initEAttribute(getRealLiteral_Value(), ecorePackage.getEDouble(), "value", null, 0, 1, RealLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(intLiteralEClass, IntLiteral.class, "IntLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getIntLiteral_Value(), ecorePackage.getEInt(), "value", null, 0, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIntLiteral_Value(), ecorePackage.getELong(), "value", null, 0, 1, IntLiteral.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(stringLiteralEClass, StringLiteral.class, "StringLiteral", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getStringLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, StringLiteral.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 index 97bfa5d09..5cad00a9d 100644 --- 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 @@ -23,8 +23,9 @@ import org.eclipse.etrice.core.config.DynamicConfig; *

* The following features are implemented: *

    - *
  • {@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getSource Source}
  • *
  • {@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getFilePath File Path}
  • + *
  • {@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getUserCode1 User Code1}
  • + *
  • {@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getUserCode2 User Code2}
  • *
  • {@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getPolling Polling}
  • *
*

@@ -34,44 +35,64 @@ import org.eclipse.etrice.core.config.DynamicConfig; public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements DynamicConfig { /** - * The default value of the '{@link #getSource() Source}' attribute. + * The default value of the '{@link #getFilePath() File Path}' attribute. * * - * @see #getSource() + * @see #getFilePath() * @generated * @ordered */ - protected static final String SOURCE_EDEFAULT = null; + protected static final String FILE_PATH_EDEFAULT = null; /** - * The cached value of the '{@link #getSource() Source}' attribute. + * The cached value of the '{@link #getFilePath() File Path}' attribute. * * - * @see #getSource() + * @see #getFilePath() * @generated * @ordered */ - protected String source = SOURCE_EDEFAULT; + protected String filePath = FILE_PATH_EDEFAULT; /** - * The default value of the '{@link #getFilePath() File Path}' attribute. + * The default value of the '{@link #getUserCode1() User Code1}' attribute. * * - * @see #getFilePath() + * @see #getUserCode1() * @generated * @ordered */ - protected static final String FILE_PATH_EDEFAULT = null; + protected static final String USER_CODE1_EDEFAULT = null; /** - * The cached value of the '{@link #getFilePath() File Path}' attribute. + * The cached value of the '{@link #getUserCode1() User Code1}' attribute. * * - * @see #getFilePath() + * @see #getUserCode1() * @generated * @ordered */ - protected String filePath = FILE_PATH_EDEFAULT; + protected String userCode1 = USER_CODE1_EDEFAULT; + + /** + * The default value of the '{@link #getUserCode2() User Code2}' attribute. + * + * + * @see #getUserCode2() + * @generated + * @ordered + */ + protected static final String USER_CODE2_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUserCode2() User Code2}' attribute. + * + * + * @see #getUserCode2() + * @generated + * @ordered + */ + protected String userCode2 = USER_CODE2_EDEFAULT; /** * The default value of the '{@link #getPolling() Polling}' attribute. @@ -119,9 +140,9 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D * * @generated */ - public String getSource() + public String getFilePath() { - return source; + return filePath; } /** @@ -129,12 +150,12 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D * * @generated */ - public void setSource(String newSource) + public void setFilePath(String newFilePath) { - String oldSource = source; - source = newSource; + String oldFilePath = filePath; + filePath = newFilePath; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__SOURCE, oldSource, source)); + eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__FILE_PATH, oldFilePath, filePath)); } /** @@ -142,9 +163,9 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D * * @generated */ - public String getFilePath() + public String getUserCode1() { - return filePath; + return userCode1; } /** @@ -152,12 +173,35 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D * * @generated */ - public void setFilePath(String newFilePath) + public void setUserCode1(String newUserCode1) { - String oldFilePath = filePath; - filePath = newFilePath; + String oldUserCode1 = userCode1; + userCode1 = newUserCode1; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__FILE_PATH, oldFilePath, filePath)); + eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__USER_CODE1, oldUserCode1, userCode1)); + } + + /** + * + * + * @generated + */ + public String getUserCode2() + { + return userCode2; + } + + /** + * + * + * @generated + */ + public void setUserCode2(String newUserCode2) + { + String oldUserCode2 = userCode2; + userCode2 = newUserCode2; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__USER_CODE2, oldUserCode2, userCode2)); } /** @@ -193,10 +237,12 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D { switch (featureID) { - case ConfigPackage.DYNAMIC_CONFIG__SOURCE: - return getSource(); case ConfigPackage.DYNAMIC_CONFIG__FILE_PATH: return getFilePath(); + case ConfigPackage.DYNAMIC_CONFIG__USER_CODE1: + return getUserCode1(); + case ConfigPackage.DYNAMIC_CONFIG__USER_CODE2: + return getUserCode2(); case ConfigPackage.DYNAMIC_CONFIG__POLLING: return getPolling(); } @@ -213,12 +259,15 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D { 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__USER_CODE1: + setUserCode1((String)newValue); + return; + case ConfigPackage.DYNAMIC_CONFIG__USER_CODE2: + setUserCode2((String)newValue); + return; case ConfigPackage.DYNAMIC_CONFIG__POLLING: setPolling((Integer)newValue); return; @@ -236,12 +285,15 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D { 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__USER_CODE1: + setUserCode1(USER_CODE1_EDEFAULT); + return; + case ConfigPackage.DYNAMIC_CONFIG__USER_CODE2: + setUserCode2(USER_CODE2_EDEFAULT); + return; case ConfigPackage.DYNAMIC_CONFIG__POLLING: setPolling(POLLING_EDEFAULT); return; @@ -259,10 +311,12 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D { 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__USER_CODE1: + return USER_CODE1_EDEFAULT == null ? userCode1 != null : !USER_CODE1_EDEFAULT.equals(userCode1); + case ConfigPackage.DYNAMIC_CONFIG__USER_CODE2: + return USER_CODE2_EDEFAULT == null ? userCode2 != null : !USER_CODE2_EDEFAULT.equals(userCode2); case ConfigPackage.DYNAMIC_CONFIG__POLLING: return polling != POLLING_EDEFAULT; } @@ -280,10 +334,12 @@ public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements D 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(filePath); + result.append(", userCode1: "); + result.append(userCode1); + result.append(", userCode2: "); + result.append(userCode2); result.append(", polling: "); result.append(polling); result.append(')'); diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java index 34f0c6c1d..17e615551 100644 --- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java +++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java @@ -38,7 +38,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral * @generated * @ordered */ - protected static final int VALUE_EDEFAULT = 0; + protected static final long VALUE_EDEFAULT = 0L; /** * The cached value of the '{@link #getValue() Value}' attribute. @@ -48,7 +48,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral * @generated * @ordered */ - protected int value = VALUE_EDEFAULT; + protected long value = VALUE_EDEFAULT; /** * @@ -76,7 +76,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral * * @generated */ - public int getValue() + public long getValue() { return value; } @@ -86,9 +86,9 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral * * @generated */ - public void setValue(int newValue) + public void setValue(long newValue) { - int oldValue = value; + long oldValue = value; value = newValue; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.INT_LITERAL__VALUE, oldValue, value)); @@ -121,7 +121,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral switch (featureID) { case ConfigPackage.INT_LITERAL__VALUE: - setValue((Integer)newValue); + setValue((Long)newValue); return; } super.eSet(featureID, newValue); 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 87bc280cf..7e2b5af6e 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 @@ -280,15 +280,15 @@ ruleDynamicConfig returns [EObject current=null] { getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0); } - ({true}?=>( otherlv_3='source' + ({true}?=>(( otherlv_3='file path' { - newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getSourceKeyword_2_0_0()); + newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0()); } ( ( - lv_source_4_0=RULE_STRING + lv_filePath_4_0=RULE_STRING { - newLeafNode(lv_source_4_0, grammarAccess.getDynamicConfigAccess().getSourceSTRINGTerminalRuleCall_2_0_1_0()); + newLeafNode(lv_filePath_4_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0()); } { if ($current==null) { @@ -296,21 +296,22 @@ ruleDynamicConfig returns [EObject current=null] } setWithLastConsumed( $current, - "source", - lv_source_4_0, + "filePath", + lv_filePath_4_0, "STRING"); } ) -)( otherlv_5='file path' +)) + |(( otherlv_5='user import' { - newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_2_0()); + newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); } ( ( - lv_filePath_6_0=RULE_STRING + lv_userCode1_6_0=RULE_STRING { - newLeafNode(lv_filePath_6_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_2_1_0()); + newLeafNode(lv_userCode1_6_0, grammarAccess.getDynamicConfigAccess().getUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0()); } { if ($current==null) { @@ -318,13 +319,35 @@ ruleDynamicConfig returns [EObject current=null] } setWithLastConsumed( $current, - "filePath", - lv_filePath_6_0, + "userCode1", + lv_userCode1_6_0, + "STRING"); + } + +) +))( otherlv_7='user constructor' + { + newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); + } +( +( + lv_userCode2_8_0=RULE_STRING + { + newLeafNode(lv_userCode2_8_0, grammarAccess.getDynamicConfigAccess().getUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getDynamicConfigRule()); + } + setWithLastConsumed( + $current, + "userCode2", + lv_userCode2_8_0, "STRING"); } ) -))?)) +))))) { getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); } @@ -336,15 +359,15 @@ ruleDynamicConfig returns [EObject current=null] { getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1); } - ({true}?=>( otherlv_7='polling rate' + ({true}?=>( otherlv_9='polling timer [ms]' { - newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getPollingRateKeyword_2_1_0()); + newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0()); } ( ( - lv_polling_8_0=RULE_INT + lv_polling_10_0=RULE_INT { - newLeafNode(lv_polling_8_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); + newLeafNode(lv_polling_10_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); } { if ($current==null) { @@ -353,7 +376,7 @@ ruleDynamicConfig returns [EObject current=null] setWithLastConsumed( $current, "polling", - lv_polling_8_0, + lv_polling_10_0, "INT"); } @@ -373,9 +396,9 @@ ruleDynamicConfig returns [EObject current=null] getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()); } -) otherlv_9='}' +) otherlv_11='}' { - newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); + newLeafNode(otherlv_11, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); } ) ; @@ -1087,25 +1110,11 @@ ruleAttrInstanceConfig returns [EObject current=null] { 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' + lv_dynConfig_5_0= 'dynamic configuration' { - newLeafNode(lv_dynConfig_6_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); + newLeafNode(lv_dynConfig_5_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0()); } { @@ -1118,71 +1127,45 @@ ruleAttrInstanceConfig returns [EObject current=null] ) )(( ( - lv_readOnly_7_0= 'read-only' + lv_readOnly_6_0= 'read' { - newLeafNode(lv_readOnly_7_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadOnlyKeyword_3_1_0_1_0_0()); + newLeafNode(lv_readOnly_6_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_1_0_0()); } { if ($current==null) { $current = createModelElement(grammarAccess.getAttrInstanceConfigRule()); } - setWithLastConsumed($current, "readOnly", true, "read-only"); + setWithLastConsumed($current, "readOnly", true, "read"); } ) ) - | otherlv_8='read-write' + | otherlv_7='write' { - newLeafNode(otherlv_8, grammarAccess.getAttrInstanceConfigAccess().getReadWriteKeyword_3_1_0_1_1()); + newLeafNode(otherlv_7, grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_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()); + newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_2_0()); } - lv_attributes_9_0=ruleAttrInstanceConfig { + lv_attributes_8_0=ruleAttrInstanceConfig { if ($current==null) { $current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule()); } add( $current, "attributes", - lv_attributes_9_0, + lv_attributes_8_0, "AttrInstanceConfig"); afterParserOrEnumRuleCall(); } ) -))+ - { - getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1()); - } - ) - ) - - )* - ) -) - { - getUnorderedGroupHelper().leave(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1()); - } - -) otherlv_10='}' +)* otherlv_9='}' { - newLeafNode(otherlv_10, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2()); + newLeafNode(otherlv_9, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_3()); } )?) ; @@ -2167,32 +2150,12 @@ ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToke { newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); } - this_ID_5=RULE_ID { - $current.merge(this_ID_5); + this_EXP_5=RULE_EXP { + $current.merge(this_EXP_5); } { - newLeafNode(this_ID_5, grammarAccess.getDecimalExpAccess().getIDTerminalRuleCall_4()); - } -( - kw='+' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0()); - } - - | - kw='-' - { - $current.merge(kw); - newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1()); - } -)? this_INT_8=RULE_INT { - $current.merge(this_INT_8); - } - - { - newLeafNode(this_INT_8, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6()); + newLeafNode(this_EXP_5, grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); } ) ; @@ -2204,6 +2167,8 @@ finally { +RULE_EXP : ('e'|'E') ('+'|'-')? ('0'..'9')+; + RULE_HEX : ('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F')+; RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; 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 a2e36be03..23c5fb220 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,7 +1,5 @@ -T__42=42 RULE_ID=4 -T__40=40 -T__41=41 +RULE_EXP=8 T__29=29 T__28=28 T__27=27 @@ -10,61 +8,66 @@ T__25=25 T__24=24 T__23=23 T__22=22 -RULE_ANY_OTHER=11 +RULE_ANY_OTHER=12 T__21=21 T__20=20 -RULE_SL_COMMENT=9 -RULE_ML_COMMENT=8 -T__30=30 T__19=19 -T__31=31 RULE_HEX=7 -RULE_STRING=5 +T__16=16 +T__15=15 +T__18=18 +T__17=17 +T__14=14 +T__13=13 +RULE_INT=6 +T__42=42 +T__43=43 +T__40=40 +T__41=41 +T__44=44 +RULE_SL_COMMENT=10 +RULE_ML_COMMENT=9 +T__30=30 +T__31=31 T__32=32 +RULE_STRING=5 T__33=33 -T__16=16 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'=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 -'read-only'=31 -'ActorClassConfig'=19 -'SubSystemConfig'=12 -'dynamic configuration'=15 -'{'=13 -'ActorInstanceConfig'=20 -'false'=39 -'-'=42 -'min'=29 -','=38 +RULE_WS=11 +'Attr'=29 +'/'=23 +'model'=37 +'user import'=18 +'user constructor'=19 +'.*'=38 +'conjugate'=26 +'='=30 +'Port'=27 +'InterfaceItem'=28 +'+'=43 +'.'=39 +'ProtocolClassConfig'=24 +'regular'=25 +'max'=32 +'import'=35 +'true'=42 +'}'=15 +'ActorClassConfig'=21 +'SubSystemConfig'=13 +'polling timer [ms]'=20 +'dynamic configuration'=16 +'{'=14 +'write'=34 +'ActorInstanceConfig'=22 +'false'=41 +'-'=44 +'min'=31 +','=40 'file path'=17 -'read-write'=32 -'from'=34 +'read'=33 +'from'=36 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 c6ad50f1d..d04e2c4f6 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,10 +12,8 @@ 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 RULE_EXP=8; public static final int T__29=29; public static final int T__28=28; public static final int T__27=27; @@ -24,34 +22,38 @@ public class InternalConfigLexer extends Lexer { public static final int T__24=24; public static final int T__23=23; public static final int T__22=22; - public static final int RULE_ANY_OTHER=11; public static final int T__21=21; + public static final int RULE_ANY_OTHER=12; public static final int T__20=20; 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__19=19; + public static final int RULE_HEX=7; + public static final int T__16=16; + public static final int T__15=15; + public static final int T__18=18; + public static final int T__17=17; + public static final int T__14=14; + public static final int T__13=13; + public static final int RULE_INT=6; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__44=44; + public static final int RULE_SL_COMMENT=10; + public static final int RULE_ML_COMMENT=9; public static final int T__30=30; public static final int T__31=31; public static final int T__32=32; public static final int RULE_STRING=5; - public static final int RULE_HEX=7; - public static final int T__16=16; public static final int T__33=33; - public static final int T__15=15; public static final int T__34=34; - public static final int T__18=18; public static final int T__35=35; - public static final int T__17=17; public static final int T__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; + public static final int RULE_WS=11; // delegates // delegators @@ -66,10 +68,10 @@ public class InternalConfigLexer extends Lexer { } public String getGrammarFileName() { return "../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g"; } - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { try { - int _type = T__12; + int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; // ../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' @@ -77,26 +79,6 @@ public class InternalConfigLexer extends Lexer { match("SubSystemConfig"); - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "T__12" - - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { - try { - int _type = T__13; - int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:12:7: ( '{' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:12:9: '{' - { - match('{'); - } state.type = _type; @@ -112,10 +94,10 @@ public class InternalConfigLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:7: ( '}' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:9: '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:12:7: ( '{' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:12:9: '{' { - match('}'); + match('{'); } @@ -132,11 +114,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: ( 'dynamic configuration' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:9: 'dynamic configuration' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:7: ( '}' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:9: '}' { - match("dynamic configuration"); - + match('}'); } @@ -153,10 +134,10 @@ 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: ( 'source' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:9: 'source' + // ../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("source"); + match("dynamic configuration"); } @@ -174,8 +155,8 @@ 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: ( 'file path' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'file path' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:7: ( 'file path' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:9: 'file path' { match("file path"); @@ -195,10 +176,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: ( 'polling rate' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'polling rate' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:7: ( 'user import' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'user import' { - match("polling rate"); + match("user import"); } @@ -216,10 +197,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: ( 'ActorClassConfig' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'ActorClassConfig' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:7: ( 'user constructor' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'user constructor' { - match("ActorClassConfig"); + match("user constructor"); } @@ -237,10 +218,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: ( 'ActorInstanceConfig' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'ActorInstanceConfig' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:7: ( 'polling timer [ms]' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'polling timer [ms]' { - match("ActorInstanceConfig"); + match("polling timer [ms]"); } @@ -258,10 +239,11 @@ 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: ( '/' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: '/' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:7: ( 'ActorClassConfig' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'ActorClassConfig' { - match('/'); + match("ActorClassConfig"); + } @@ -278,10 +260,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: ( 'ProtocolClassConfig' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'ProtocolClassConfig' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( 'ActorInstanceConfig' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'ActorInstanceConfig' { - match("ProtocolClassConfig"); + match("ActorInstanceConfig"); } @@ -299,11 +281,10 @@ public class InternalConfigLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( 'regular' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: 'regular' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:7: ( '/' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: '/' { - match("regular"); - + match('/'); } @@ -320,10 +301,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: ( 'conjugate' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'conjugate' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( 'ProtocolClassConfig' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: 'ProtocolClassConfig' { - match("conjugate"); + match("ProtocolClassConfig"); } @@ -341,10 +322,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: ( 'Port' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'Port' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:7: ( 'regular' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'regular' { - match("Port"); + match("regular"); } @@ -362,10 +343,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: ( 'InterfaceItem' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'InterfaceItem' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:7: ( 'conjugate' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'conjugate' { - match("InterfaceItem"); + match("conjugate"); } @@ -383,10 +364,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: ( 'Attr' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'Attr' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:7: ( 'Port' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'Port' { - match("Attr"); + match("Port"); } @@ -404,10 +385,11 @@ public class InternalConfigLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( '=' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: '=' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:7: ( 'InterfaceItem' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'InterfaceItem' { - match('='); + match("InterfaceItem"); + } @@ -424,10 +406,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: ( 'min' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: 'min' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( 'Attr' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: 'Attr' { - match("min"); + match("Attr"); } @@ -445,11 +427,10 @@ 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: ( 'max' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: 'max' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:7: ( '=' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: '=' { - match("max"); - + match('='); } @@ -466,10 +447,10 @@ 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: ( 'read-only' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: 'read-only' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:7: ( 'min' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: 'min' { - match("read-only"); + match("min"); } @@ -487,10 +468,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: ( 'read-write' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'read-write' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:7: ( 'max' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: 'max' { - match("read-write"); + match("max"); } @@ -508,10 +489,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: ( 'import' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'import' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:7: ( 'read' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'read' { - match("import"); + match("read"); } @@ -529,10 +510,10 @@ 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: ( 'from' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: 'from' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:7: ( 'write' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'write' { - match("from"); + match("write"); } @@ -550,10 +531,10 @@ 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: ( 'model' ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: 'model' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:7: ( 'import' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: 'import' { - match("model"); + match("import"); } @@ -571,10 +552,10 @@ public class InternalConfigLexer extends Lexer { 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: '.*' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:7: ( 'from' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: 'from' { - match(".*"); + match("from"); } @@ -592,10 +573,11 @@ public class InternalConfigLexer extends Lexer { 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: '.' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:7: ( 'model' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:9: 'model' { - match('.'); + match("model"); + } @@ -612,10 +594,11 @@ public class InternalConfigLexer extends Lexer { 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: ',' + // ../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(','); + match(".*"); + } @@ -632,11 +615,10 @@ public class InternalConfigLexer extends Lexer { 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' + // ../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("false"); - + match('.'); } @@ -653,11 +635,10 @@ public class InternalConfigLexer extends Lexer { 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' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:7: ( ',' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:9: ',' { - match("true"); - + match(','); } @@ -674,10 +655,11 @@ public class InternalConfigLexer extends Lexer { 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: '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:7: ( 'false' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:9: 'false' { - match('+'); + match("false"); + } @@ -694,10 +676,11 @@ public class InternalConfigLexer extends Lexer { 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: '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:7: ( 'true' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:9: 'true' { - match('-'); + match("true"); + } @@ -709,43 +692,167 @@ public class InternalConfigLexer extends Lexer { } // $ANTLR end "T__42" + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { + try { + int _type = T__43; + 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__43" + + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { + try { + int _type = T__44; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:42:7: ( '-' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:42:9: '-' + { + match('-'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__44" + + // $ANTLR start "RULE_EXP" + public final void mRULE_EXP() throws RecognitionException { + try { + int _type = RULE_EXP; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2170:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2170:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + { + if ( input.LA(1)=='E'||input.LA(1)=='e' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2170:22: ( '+' | '-' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='+'||LA1_0=='-') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: + { + if ( input.LA(1)=='+'||input.LA(1)=='-' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + } + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2170:33: ( '0' .. '9' )+ + int cnt2=0; + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2170:34: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt2 >= 1 ) break loop2; + EarlyExitException eee = + new EarlyExitException(2, input); + throw eee; + } + cnt2++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_EXP" + // $ANTLR start "RULE_HEX" public final void mRULE_HEX() throws RecognitionException { try { int _type = RULE_HEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.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:2172: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:2172: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:12: ( '0x' | '0X' ) - int alt1=2; - int LA1_0 = input.LA(1); + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2172:12: ( '0x' | '0X' ) + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA1_0=='0') ) { - int LA1_1 = input.LA(2); + if ( (LA3_0=='0') ) { + int LA3_1 = input.LA(2); - if ( (LA1_1=='x') ) { - alt1=1; + if ( (LA3_1=='x') ) { + alt3=1; } - else if ( (LA1_1=='X') ) { - alt1=2; + else if ( (LA3_1=='X') ) { + alt3=2; } else { NoViableAltException nvae = - new NoViableAltException("", 1, 1, input); + new NoViableAltException("", 3, 1, input); throw nvae; } } else { NoViableAltException nvae = - new NoViableAltException("", 1, 0, input); + new NoViableAltException("", 3, 0, input); throw nvae; } - switch (alt1) { + switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2207:13: '0x' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2172:13: '0x' { match("0x"); @@ -753,7 +860,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:2207:18: '0X' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2172:18: '0X' { match("0X"); @@ -763,19 +870,19 @@ public class InternalConfigLexer extends Lexer { } - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2172:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + int cnt4=0; + loop4: do { - int alt2=2; - int LA2_0 = input.LA(1); + int alt4=2; + int LA4_0 = input.LA(1); - if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='F')||(LA2_0>='a' && LA2_0<='f')) ) { - alt2=1; + if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='F')||(LA4_0>='a' && LA4_0<='f')) ) { + alt4=1; } - switch (alt2) { + switch (alt4) { case 1 : // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: { @@ -793,12 +900,12 @@ public class InternalConfigLexer extends Lexer { break; default : - if ( cnt2 >= 1 ) break loop2; + if ( cnt4 >= 1 ) break loop4; EarlyExitException eee = - new EarlyExitException(2, input); + new EarlyExitException(4, input); throw eee; } - cnt2++; + cnt4++; } while (true); @@ -817,19 +924,19 @@ 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: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:2174: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:2174: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:11: ( '^' )? - int alt3=2; - int LA3_0 = input.LA(1); + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2174:11: ( '^' )? + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA3_0=='^') ) { - alt3=1; + if ( (LA5_0=='^') ) { + alt5=1; } - switch (alt3) { + switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2209:11: '^' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2174:11: '^' { match('^'); @@ -847,18 +954,18 @@ 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:2209:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop4: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2174:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop6: do { - int alt4=2; - int LA4_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( ((LA4_0>='0' && LA4_0<='9')||(LA4_0>='A' && LA4_0<='Z')||LA4_0=='_'||(LA4_0>='a' && LA4_0<='z')) ) { - alt4=1; + if ( ((LA6_0>='0' && LA6_0<='9')||(LA6_0>='A' && LA6_0<='Z')||LA6_0=='_'||(LA6_0>='a' && LA6_0<='z')) ) { + alt6=1; } - switch (alt4) { + switch (alt6) { case 1 : // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: { @@ -876,7 +983,7 @@ public class InternalConfigLexer extends Lexer { break; default : - break loop4; + break loop6; } } while (true); @@ -896,24 +1003,24 @@ 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: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:2176:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2176: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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2176:12: ( '0' .. '9' )+ + int cnt7=0; + loop7: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt7=2; + int LA7_0 = input.LA(1); - if ( ((LA5_0>='0' && LA5_0<='9')) ) { - alt5=1; + if ( ((LA7_0>='0' && LA7_0<='9')) ) { + alt7=1; } - switch (alt5) { + switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2211:13: '0' .. '9' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2176:13: '0' .. '9' { matchRange('0','9'); @@ -921,12 +1028,12 @@ public class InternalConfigLexer extends Lexer { break; default : - if ( cnt5 >= 1 ) break loop5; + if ( cnt7 >= 1 ) break loop7; EarlyExitException eee = - new EarlyExitException(5, input); + new EarlyExitException(7, input); throw eee; } - cnt5++; + cnt7++; } while (true); @@ -945,47 +1052,47 @@ 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: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:2178: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:2178: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); + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA8_0=='\"') ) { - alt8=1; + if ( (LA10_0=='\"') ) { + alt10=1; } - else if ( (LA8_0=='\'') ) { - alt8=2; + else if ( (LA10_0=='\'') ) { + alt10=2; } else { NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); + new NoViableAltException("", 10, 0, input); throw nvae; } - switch (alt8) { + switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + loop8: do { - int alt6=3; - int LA6_0 = input.LA(1); + int alt8=3; + int LA8_0 = input.LA(1); - if ( (LA6_0=='\\') ) { - alt6=1; + if ( (LA8_0=='\\') ) { + alt8=1; } - else if ( ((LA6_0>='\u0000' && LA6_0<='!')||(LA6_0>='#' && LA6_0<='[')||(LA6_0>=']' && LA6_0<='\uFFFF')) ) { - alt6=2; + else if ( ((LA8_0>='\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='\uFFFF')) ) { + alt8=2; } - switch (alt6) { + switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178: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') ) { @@ -1001,7 +1108,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:2213:66: ~ ( ( '\\\\' | '\"' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1017,7 +1124,7 @@ public class InternalConfigLexer extends Lexer { break; default : - break loop6; + break loop8; } } while (true); @@ -1026,26 +1133,26 @@ public class InternalConfigLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + loop9: do { - int alt7=3; - int LA7_0 = input.LA(1); + int alt9=3; + int LA9_0 = input.LA(1); - if ( (LA7_0=='\\') ) { - alt7=1; + if ( (LA9_0=='\\') ) { + alt9=1; } - else if ( ((LA7_0>='\u0000' && LA7_0<='&')||(LA7_0>='(' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { - alt7=2; + else if ( ((LA9_0>='\u0000' && LA9_0<='&')||(LA9_0>='(' && LA9_0<='[')||(LA9_0>=']' && LA9_0<='\uFFFF')) ) { + alt9=2; } - switch (alt7) { + switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2213:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178: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') ) { @@ -1061,7 +1168,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:2213:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1077,7 +1184,7 @@ public class InternalConfigLexer extends Lexer { break; default : - break loop7; + break loop9; } } while (true); @@ -1104,37 +1211,37 @@ 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: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; } : . )* '*/' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2180:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2180:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:24: ( options {greedy=false; } : . )* - loop9: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2180:24: ( options {greedy=false; } : . )* + loop11: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt11=2; + int LA11_0 = input.LA(1); - if ( (LA9_0=='*') ) { - int LA9_1 = input.LA(2); + if ( (LA11_0=='*') ) { + int LA11_1 = input.LA(2); - if ( (LA9_1=='/') ) { - alt9=2; + if ( (LA11_1=='/') ) { + alt11=2; } - else if ( ((LA9_1>='\u0000' && LA9_1<='.')||(LA9_1>='0' && LA9_1<='\uFFFF')) ) { - alt9=1; + else if ( ((LA11_1>='\u0000' && LA11_1<='.')||(LA11_1>='0' && LA11_1<='\uFFFF')) ) { + alt11=1; } } - else if ( ((LA9_0>='\u0000' && LA9_0<=')')||(LA9_0>='+' && LA9_0<='\uFFFF')) ) { - alt9=1; + else if ( ((LA11_0>='\u0000' && LA11_0<=')')||(LA11_0>='+' && LA11_0<='\uFFFF')) ) { + alt11=1; } - switch (alt9) { + switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2215:52: . + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2180:52: . { matchAny(); @@ -1142,7 +1249,7 @@ public class InternalConfigLexer extends Lexer { break; default : - break loop9; + break loop11; } } while (true); @@ -1164,25 +1271,25 @@ 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: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' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop10: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop12: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt12=2; + int LA12_0 = input.LA(1); - if ( ((LA10_0>='\u0000' && LA10_0<='\t')||(LA10_0>='\u000B' && LA10_0<='\f')||(LA10_0>='\u000E' && LA10_0<='\uFFFF')) ) { - alt10=1; + if ( ((LA12_0>='\u0000' && LA12_0<='\t')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\uFFFF')) ) { + alt12=1; } - switch (alt10) { + switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:24: ~ ( ( '\\n' | '\\r' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182: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(); @@ -1198,31 +1305,31 @@ public class InternalConfigLexer extends Lexer { break; default : - break loop10; + break loop12; } } while (true); - // ../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); + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:40: ( ( '\\r' )? '\\n' )? + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA12_0=='\n'||LA12_0=='\r') ) { - alt12=1; + if ( (LA14_0=='\n'||LA14_0=='\r') ) { + alt14=1; } - switch (alt12) { + switch (alt14) { case 1 : - // ../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:2182:41: ( '\\r' )? '\\n' { - // ../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); + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:41: ( '\\r' )? + int alt13=2; + int LA13_0 = input.LA(1); - if ( (LA11_0=='\r') ) { - alt11=1; + if ( (LA13_0=='\r') ) { + alt13=1; } - switch (alt11) { + switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2217:41: '\\r' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2182:41: '\\r' { match('\r'); @@ -1254,22 +1361,22 @@ 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: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:2184:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2184: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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2184:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt15=0; + loop15: do { - int alt13=2; - int LA13_0 = input.LA(1); + int alt15=2; + int LA15_0 = input.LA(1); - if ( ((LA13_0>='\t' && LA13_0<='\n')||LA13_0=='\r'||LA13_0==' ') ) { - alt13=1; + if ( ((LA15_0>='\t' && LA15_0<='\n')||LA15_0=='\r'||LA15_0==' ') ) { + alt15=1; } - switch (alt13) { + switch (alt15) { case 1 : // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: { @@ -1287,12 +1394,12 @@ public class InternalConfigLexer extends Lexer { break; default : - if ( cnt13 >= 1 ) break loop13; + if ( cnt15 >= 1 ) break loop15; EarlyExitException eee = - new EarlyExitException(13, input); + new EarlyExitException(15, input); throw eee; } - cnt13++; + cnt15++; } while (true); @@ -1311,8 +1418,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:2221:16: ( . ) - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2221:18: . + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2186:16: ( . ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2186:18: . { matchAny(); @@ -1327,278 +1434,292 @@ 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 | 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) { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt16=41; + alt16 = dfa16.predict(input); + switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:10: T__12 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:10: T__13 { - mT__12(); + mT__13(); } break; case 2 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:16: T__13 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:16: T__14 { - mT__13(); + mT__14(); } break; case 3 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:22: T__14 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:22: T__15 { - mT__14(); + mT__15(); } break; case 4 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:28: T__15 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:28: T__16 { - mT__15(); + mT__16(); } break; case 5 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:34: T__16 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:34: T__17 { - mT__16(); + mT__17(); } break; case 6 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:40: T__17 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:40: T__18 { - mT__17(); + mT__18(); } break; case 7 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:46: T__18 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:46: T__19 { - mT__18(); + mT__19(); } break; case 8 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:52: T__19 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:52: T__20 { - mT__19(); + mT__20(); } break; case 9 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:58: T__20 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:58: T__21 { - mT__20(); + mT__21(); } break; case 10 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:64: T__21 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:64: T__22 { - mT__21(); + mT__22(); } break; case 11 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:70: T__22 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:70: T__23 { - mT__22(); + mT__23(); } break; case 12 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:76: T__23 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:76: T__24 { - mT__23(); + mT__24(); } break; case 13 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:82: T__24 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:82: T__25 { - mT__24(); + mT__25(); } break; case 14 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:88: T__25 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:88: T__26 { - mT__25(); + mT__26(); } break; case 15 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:94: T__26 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:94: T__27 { - mT__26(); + mT__27(); } break; case 16 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:100: T__27 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:100: T__28 { - mT__27(); + mT__28(); } break; case 17 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:106: T__28 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:106: T__29 { - mT__28(); + mT__29(); } break; case 18 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:112: T__29 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:112: T__30 { - mT__29(); + mT__30(); } break; case 19 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:118: T__30 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:118: T__31 { - mT__30(); + mT__31(); } break; case 20 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:124: T__31 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:124: T__32 { - mT__31(); + mT__32(); } break; case 21 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:130: T__32 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:130: T__33 { - mT__32(); + mT__33(); } break; case 22 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:136: T__33 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:136: T__34 { - mT__33(); + mT__34(); } break; case 23 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:142: T__34 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:142: T__35 { - mT__34(); + mT__35(); } break; case 24 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:148: T__35 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:148: T__36 { - mT__35(); + mT__36(); } break; case 25 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: T__36 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: T__37 { - mT__36(); + mT__37(); } break; case 26 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:160: T__37 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:160: T__38 { - mT__37(); + mT__38(); } break; case 27 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:166: T__38 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:166: T__39 { - mT__38(); + mT__39(); } break; case 28 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:172: T__39 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:172: T__40 { - mT__39(); + mT__40(); } break; case 29 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:178: T__40 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:178: T__41 { - mT__40(); + mT__41(); } break; case 30 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:184: T__41 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:184: T__42 { - mT__41(); + mT__42(); } break; case 31 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:190: T__42 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:190: T__43 { - mT__42(); + mT__43(); } break; case 32 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:196: RULE_HEX + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:196: T__44 { - mRULE_HEX(); + mT__44(); } break; case 33 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:205: RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:202: RULE_EXP { - mRULE_ID(); + mRULE_EXP(); } break; case 34 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:213: RULE_INT + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:211: RULE_HEX { - mRULE_INT(); + mRULE_HEX(); } break; case 35 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:222: RULE_STRING + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:220: RULE_ID { - mRULE_STRING(); + mRULE_ID(); } break; case 36 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:234: RULE_ML_COMMENT + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:228: RULE_INT { - mRULE_ML_COMMENT(); + mRULE_INT(); } break; case 37 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:250: RULE_SL_COMMENT + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:237: RULE_STRING { - mRULE_SL_COMMENT(); + mRULE_STRING(); } break; case 38 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:266: RULE_WS + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:249: RULE_ML_COMMENT { - mRULE_WS(); + mRULE_ML_COMMENT(); } break; case 39 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:274: RULE_ANY_OTHER + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:265: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 40 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:281: RULE_WS + { + mRULE_WS(); + + } + break; + case 41 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:289: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1610,142 +1731,143 @@ public class InternalConfigLexer extends Lexer { } - protected DFA14 dfa14 = new DFA14(this); - static final String DFA14_eotS = - "\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 = - "\u00cf\uffff"; - static final String DFA14_minS = - "\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\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\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\2\31\uffff\1\0\1\1\u00b3\uffff}>"; - static final String[] DFA14_transitionS = { - "\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", + protected DFA16 dfa16 = new DFA16(this); + static final String DFA16_eotS = + "\1\uffff\1\41\2\uffff\5\41\1\56\4\41\1\uffff\3\41\1\73\1\uffff"+ + "\1\41\2\uffff\1\41\1\103\1\37\2\uffff\2\37\2\uffff\1\41\3\uffff"+ + "\10\41\3\uffff\5\41\1\uffff\5\41\3\uffff\1\41\3\uffff\1\100\4\uffff"+ + "\17\41\1\152\1\153\7\41\1\163\4\41\1\170\1\41\1\172\1\41\1\174\2"+ + "\41\2\uffff\3\41\1\u0082\2\41\2\uffff\1\u0085\1\uffff\2\41\1\uffff"+ + "\1\41\1\uffff\1\41\1\uffff\2\41\1\u008f\1\u0090\1\41\1\uffff\2\41"+ + "\3\uffff\7\41\2\uffff\1\u009b\6\41\1\u00a2\2\41\1\uffff\1\41\2\uffff"+ + "\3\41\1\uffff\6\41\1\u00af\5\41\1\uffff\17\41\1\u00c4\4\41\1\uffff"+ + "\1\u00c9\3\41\1\uffff\1\u00cd\2\41\1\uffff\4\41\1\u00d4\1\u00d5"+ + "\2\uffff"; + static final String DFA16_eofS = + "\u00d6\uffff"; + static final String DFA16_minS = + "\1\0\1\165\2\uffff\1\171\1\141\1\163\1\157\1\143\1\52\1\157\1\145"+ + "\1\157\1\156\1\uffff\1\141\1\162\1\155\1\52\1\uffff\1\162\2\uffff"+ + "\1\53\1\130\1\101\2\uffff\2\0\2\uffff\1\142\3\uffff\1\156\1\154"+ + "\1\157\1\154\1\145\1\154\2\164\3\uffff\1\157\1\162\1\141\1\156\1"+ + "\164\1\uffff\1\156\1\170\1\144\1\151\1\160\3\uffff\1\165\3\uffff"+ + "\1\60\4\uffff\1\123\1\141\1\145\1\155\1\163\1\162\1\154\1\157\1"+ + "\162\2\164\1\165\1\144\1\152\1\145\2\60\1\145\1\164\1\157\1\145"+ + "\1\171\1\155\1\40\1\60\1\145\1\40\1\151\1\162\1\60\1\157\1\60\1"+ + "\154\1\60\1\165\1\162\2\uffff\1\154\1\145\1\162\1\60\1\163\1\151"+ + "\2\uffff\1\60\1\143\1\156\1\103\1\uffff\1\143\1\uffff\1\141\1\uffff"+ + "\1\147\1\146\2\60\1\164\1\uffff\1\164\1\143\3\uffff\1\147\1\154"+ + "\1\156\1\157\1\162\2\141\2\uffff\1\60\1\145\2\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 DFA16_maxS = + "\1\uffff\1\165\2\uffff\1\171\1\162\1\163\1\157\1\164\1\57\1\162"+ + "\1\145\1\157\1\156\1\uffff\1\157\1\162\1\155\1\52\1\uffff\1\162"+ + "\2\uffff\1\71\1\170\1\172\2\uffff\2\uffff\2\uffff\1\142\3\uffff"+ + "\1\156\1\154\1\157\1\154\1\145\1\154\2\164\3\uffff\1\157\1\162\1"+ + "\147\1\156\1\164\1\uffff\1\156\1\170\1\144\1\151\1\160\3\uffff\1"+ + "\165\3\uffff\1\172\4\uffff\1\123\1\141\1\145\1\155\1\163\1\162\1"+ + "\154\1\157\1\162\2\164\1\165\1\144\1\152\1\145\2\172\1\145\1\164"+ + "\1\157\1\145\1\171\1\155\1\40\1\172\1\145\1\40\1\151\1\162\1\172"+ + "\1\157\1\172\1\154\1\172\1\165\1\162\2\uffff\1\154\1\145\1\162\1"+ + "\172\1\163\1\151\2\uffff\1\172\1\151\1\156\1\111\1\uffff\1\143\1"+ + "\uffff\1\141\1\uffff\1\147\1\146\2\172\1\164\1\uffff\1\164\1\143"+ + "\3\uffff\1\147\1\154\1\156\1\157\1\162\2\141\2\uffff\1\172\1\145"+ + "\2\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 DFA16_acceptS = + "\2\uffff\1\2\1\3\12\uffff\1\22\4\uffff\1\34\1\uffff\1\37\1\40\3"+ + "\uffff\1\43\1\44\2\uffff\1\50\1\51\1\uffff\1\43\1\2\1\3\10\uffff"+ + "\1\46\1\47\1\13\5\uffff\1\22\5\uffff\1\32\1\33\1\34\1\uffff\1\37"+ + "\1\40\1\41\1\uffff\1\42\1\44\1\45\1\50\44\uffff\1\23\1\24\6\uffff"+ + "\1\5\1\30\4\uffff\1\21\1\uffff\1\17\1\uffff\1\25\5\uffff\1\36\2"+ + "\uffff\1\35\1\6\1\7\7\uffff\1\31\1\26\12\uffff\1\27\1\uffff\1\4"+ + "\1\10\3\uffff\1\15\14\uffff\1\16\24\uffff\1\20\4\uffff\1\1\3\uffff"+ + "\1\11\6\uffff\1\12\1\14"; + static final String DFA16_specialS = + "\1\1\33\uffff\1\2\1\0\u00b8\uffff}>"; + static final String[] DFA16_transitionS = { + "\11\37\2\36\2\37\1\36\22\37\1\36\1\37\1\34\4\37\1\35\3\37\1"+ + "\25\1\23\1\26\1\22\1\11\1\30\11\33\3\37\1\16\3\37\1\10\3\32"+ + "\1\27\3\32\1\15\6\32\1\12\2\32\1\1\7\32\3\37\1\31\1\32\1\37"+ + "\2\32\1\14\1\4\1\27\1\5\2\32\1\21\3\32\1\17\2\32\1\7\1\32\1"+ + "\13\1\32\1\24\1\6\1\32\1\20\3\32\1\2\1\37\1\3\uff82\37", + "\1\40", "", "", - "\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\44", + "\1\47\7\uffff\1\45\10\uffff\1\46", + "\1\50", + "\1\51", + "\1\52\20\uffff\1\53", + "\1\54\4\uffff\1\55", + "\1\60\2\uffff\1\57", "\1\61", + "\1\62", + "\1\63", "", - "\1\64\7\uffff\1\63\5\uffff\1\65", - "\1\66", - "\1\67", - "", + "\1\66\7\uffff\1\65\5\uffff\1\67", + "\1\70", + "\1\71", "\1\72", "", + "\1\75", "", - "\1\75\37\uffff\1\75", - "\32\37\4\uffff\1\37\1\uffff\32\37", "", + "\1\100\1\uffff\1\100\2\uffff\12\101", + "\1\102\37\uffff\1\102", + "\32\41\4\uffff\1\41\1\uffff\32\41", "", - "\0\77", - "\0\77", "", + "\0\104", + "\0\104", "", - "\1\101", + "", + "\1\106", "", "", "", - "\1\102", - "\1\103", - "\1\104", - "\1\105", - "\1\106", "\1\107", "\1\110", "\1\111", - "", - "", - "", "\1\112", "\1\113", - "\1\115\5\uffff\1\114", + "\1\114", + "\1\115", "\1\116", - "\1\117", "", + "", + "", + "\1\117", "\1\120", - "\1\121", - "\1\122", + "\1\122\5\uffff\1\121", "\1\123", + "\1\124", + "", + "\1\125", + "\1\126", + "\1\127", + "\1\130", + "\1\131", "", "", "", - "\1\124", + "\1\132", "", "", "", + "\12\101\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "", "", "", "", - "\1\125", - "\1\126", - "\1\127", - "\1\130", - "\1\131", - "\1\132", "\1\133", "\1\134", "\1\135", @@ -1755,102 +1877,103 @@ public class InternalConfigLexer extends Lexer { "\1\141", "\1\142", "\1\143", - "\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\144", + "\1\145", "\1\146", "\1\147", "\1\150", "\1\151", - "\1\152", - "\1\153", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\154", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\155", "\1\156", "\1\157", "\1\160", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\161", "\1\162", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\164", "\1\165", "\1\166", "\1\167", - "", - "", - "\1\170", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\171", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\173", - "\1\174", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\175", + "\1\176", "", "", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", "\1\177", - "\1\u0080\5\uffff\1\u0081", + "\1\u0080", + "\1\u0081", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\u0083", + "\1\u0084", "", - "\1\u0082", "", - "\1\u0083", - "\1\u0084\7\uffff\1\u0085", - "\1\u0086", - "\1\u0087", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", - "\1\u0089", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\u0087\5\uffff\1\u0086", + "\1\u0088", + "\1\u0089\5\uffff\1\u008a", "", - "\1\u008a", "\1\u008b", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "", + "\1\u008c", "", "\1\u008d", "\1\u008e", - "\1\u008f", - "\1\u0090", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\u0091", "", - "", "\1\u0092", "\1\u0093", "", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "", + "", + "\1\u0094", "\1\u0095", "\1\u0096", - "", "\1\u0097", "\1\u0098", "\1\u0099", "\1\u009a", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "", + "", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\u009c", "\1\u009d", - "", "\1\u009e", - "", - "", "\1\u009f", "\1\u00a0", "\1\u00a1", - "", - "\1\u00a2", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\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\u00a8", + "", "\1\u00a9", "\1\u00aa", "\1\u00ab", "\1\u00ac", "\1\u00ad", - "", "\1\u00ae", - "\1\u00af", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\u00b0", "\1\u00b1", "\1\u00b2", "\1\u00b3", "\1\u00b4", + "", "\1\u00b5", "\1\u00b6", "\1\u00b7", @@ -1859,154 +1982,165 @@ public class InternalConfigLexer extends Lexer { "\1\u00ba", "\1\u00bb", "\1\u00bc", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\u00bd", "\1\u00be", "\1\u00bf", "\1\u00c0", "\1\u00c1", - "", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\u00c2", "\1\u00c3", - "\1\u00c4", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\u00c5", - "", - "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", + "\1\u00c6", "\1\u00c7", "\1\u00c8", "", - "\1\u00c9", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\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", + "", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\1\u00ce", + "\1\u00cf", + "", + "\1\u00d0", + "\1\u00d1", + "\1\u00d2", + "\1\u00d3", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", + "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "", "" }; - static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS); - static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS); - static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS); - static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS); - static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS); - static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS); - static final short[][] DFA14_transition; + static final short[] DFA16_eot = DFA.unpackEncodedString(DFA16_eotS); + static final short[] DFA16_eof = DFA.unpackEncodedString(DFA16_eofS); + static final char[] DFA16_min = DFA.unpackEncodedStringToUnsignedChars(DFA16_minS); + static final char[] DFA16_max = DFA.unpackEncodedStringToUnsignedChars(DFA16_maxS); + static final short[] DFA16_accept = DFA.unpackEncodedString(DFA16_acceptS); + static final short[] DFA16_special = DFA.unpackEncodedString(DFA16_specialS); + static final short[][] DFA16_transition; static { - int numStates = DFA14_transitionS.length; - DFA14_transition = new short[numStates][]; + int numStates = DFA16_transitionS.length; + DFA16_transition = new short[numStates][]; for (int i=0; i='\u0000' && LA14_26<='\uFFFF')) ) {s = 63;} + if ( ((LA16_29>='\u0000' && LA16_29<='\uFFFF')) ) {s = 68;} - else s = 29; + else s = 31; if ( s>=0 ) return s; break; case 1 : - int LA14_27 = input.LA(1); + int LA16_0 = input.LA(1); s = -1; - if ( ((LA14_27>='\u0000' && LA14_27<='\uFFFF')) ) {s = 63;} + if ( (LA16_0=='S') ) {s = 1;} - else s = 29; + else if ( (LA16_0=='{') ) {s = 2;} - if ( s>=0 ) return s; - break; - case 2 : - int LA14_0 = input.LA(1); + else if ( (LA16_0=='}') ) {s = 3;} - s = -1; - if ( (LA14_0=='S') ) {s = 1;} + else if ( (LA16_0=='d') ) {s = 4;} + + else if ( (LA16_0=='f') ) {s = 5;} - else if ( (LA14_0=='{') ) {s = 2;} + else if ( (LA16_0=='u') ) {s = 6;} - else if ( (LA14_0=='}') ) {s = 3;} + else if ( (LA16_0=='p') ) {s = 7;} - else if ( (LA14_0=='d') ) {s = 4;} + else if ( (LA16_0=='A') ) {s = 8;} - else if ( (LA14_0=='s') ) {s = 5;} + else if ( (LA16_0=='/') ) {s = 9;} - else if ( (LA14_0=='f') ) {s = 6;} + else if ( (LA16_0=='P') ) {s = 10;} - else if ( (LA14_0=='p') ) {s = 7;} + else if ( (LA16_0=='r') ) {s = 11;} - else if ( (LA14_0=='A') ) {s = 8;} + else if ( (LA16_0=='c') ) {s = 12;} - else if ( (LA14_0=='/') ) {s = 9;} + else if ( (LA16_0=='I') ) {s = 13;} - else if ( (LA14_0=='P') ) {s = 10;} + else if ( (LA16_0=='=') ) {s = 14;} - else if ( (LA14_0=='r') ) {s = 11;} + else if ( (LA16_0=='m') ) {s = 15;} - else if ( (LA14_0=='c') ) {s = 12;} + else if ( (LA16_0=='w') ) {s = 16;} - else if ( (LA14_0=='I') ) {s = 13;} + else if ( (LA16_0=='i') ) {s = 17;} - else if ( (LA14_0=='=') ) {s = 14;} + else if ( (LA16_0=='.') ) {s = 18;} - else if ( (LA14_0=='m') ) {s = 15;} + else if ( (LA16_0==',') ) {s = 19;} - else if ( (LA14_0=='i') ) {s = 16;} + else if ( (LA16_0=='t') ) {s = 20;} - else if ( (LA14_0=='.') ) {s = 17;} + else if ( (LA16_0=='+') ) {s = 21;} - else if ( (LA14_0==',') ) {s = 18;} + else if ( (LA16_0=='-') ) {s = 22;} - else if ( (LA14_0=='t') ) {s = 19;} + else if ( (LA16_0=='E'||LA16_0=='e') ) {s = 23;} - else if ( (LA14_0=='+') ) {s = 20;} + else if ( (LA16_0=='0') ) {s = 24;} - else if ( (LA14_0=='-') ) {s = 21;} + else if ( (LA16_0=='^') ) {s = 25;} - else if ( (LA14_0=='0') ) {s = 22;} + else if ( ((LA16_0>='B' && LA16_0<='D')||(LA16_0>='F' && LA16_0<='H')||(LA16_0>='J' && LA16_0<='O')||(LA16_0>='Q' && LA16_0<='R')||(LA16_0>='T' && LA16_0<='Z')||LA16_0=='_'||(LA16_0>='a' && LA16_0<='b')||(LA16_0>='g' && LA16_0<='h')||(LA16_0>='j' && LA16_0<='l')||(LA16_0>='n' && LA16_0<='o')||LA16_0=='q'||LA16_0=='s'||LA16_0=='v'||(LA16_0>='x' && LA16_0<='z')) ) {s = 26;} - else if ( (LA14_0=='^') ) {s = 23;} + else if ( ((LA16_0>='1' && LA16_0<='9')) ) {s = 27;} - 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 ( (LA16_0=='\"') ) {s = 28;} - else if ( ((LA14_0>='1' && LA14_0<='9')) ) {s = 25;} + else if ( (LA16_0=='\'') ) {s = 29;} - else if ( (LA14_0=='\"') ) {s = 26;} + else if ( ((LA16_0>='\t' && LA16_0<='\n')||LA16_0=='\r'||LA16_0==' ') ) {s = 30;} - else if ( (LA14_0=='\'') ) {s = 27;} + else if ( ((LA16_0>='\u0000' && LA16_0<='\b')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\u001F')||LA16_0=='!'||(LA16_0>='#' && LA16_0<='&')||(LA16_0>='(' && LA16_0<='*')||(LA16_0>=':' && LA16_0<='<')||(LA16_0>='>' && LA16_0<='@')||(LA16_0>='[' && LA16_0<=']')||LA16_0=='`'||LA16_0=='|'||(LA16_0>='~' && LA16_0<='\uFFFF')) ) {s = 31;} - else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 28;} + if ( s>=0 ) return s; + break; + case 2 : + int LA16_28 = input.LA(1); + + s = -1; + if ( ((LA16_28>='\u0000' && LA16_28<='\uFFFF')) ) {s = 68;} - 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;} + else s = 31; if ( s>=0 ) return s; break; } NoViableAltException nvae = - new NoViableAltException(getDescription(), 14, _s, input); + new NoViableAltException(getDescription(), 16, _s, input); error(nvae); throw nvae; } 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 cbac366ff..d10e0eb8b 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,12 +21,10 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalConfigParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "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'", "'+'", "'-'" + "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'SubSystemConfig'", "'{'", "'}'", "'dynamic configuration'", "'file path'", "'user import'", "'user constructor'", "'polling timer [ms]'", "'ActorClassConfig'", "'ActorInstanceConfig'", "'/'", "'ProtocolClassConfig'", "'regular'", "'conjugate'", "'Port'", "'InterfaceItem'", "'Attr'", "'='", "'min'", "'max'", "'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 RULE_EXP=8; public static final int T__29=29; public static final int T__28=28; public static final int T__27=27; @@ -35,34 +33,38 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { public static final int T__24=24; public static final int T__23=23; public static final int T__22=22; - public static final int RULE_ANY_OTHER=11; + public static final int RULE_ANY_OTHER=12; public static final int T__21=21; public static final int T__20=20; - public static final int RULE_SL_COMMENT=9; public static final int EOF=-1; - public static final int RULE_ML_COMMENT=8; - public static final int T__30=30; public static final int T__19=19; - public static final int T__31=31; public static final int RULE_HEX=7; - public static final int RULE_STRING=5; + public static final int T__16=16; + public static final int T__15=15; + public static final int T__18=18; + public static final int T__17=17; + public static final int T__14=14; + public static final int T__13=13; + public static final int RULE_INT=6; + public static final int T__42=42; + public static final int T__43=43; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__44=44; + public static final int RULE_SL_COMMENT=10; + public static final int RULE_ML_COMMENT=9; + public static final int T__30=30; + public static final int T__31=31; public static final int T__32=32; + public static final int RULE_STRING=5; public static final int T__33=33; - public static final int T__16=16; public static final int T__34=34; - public static final int T__15=15; public static final int T__35=35; - public static final int T__18=18; public static final int T__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; - public static final int RULE_WS=10; + public static final int RULE_WS=11; // delegates // delegators @@ -163,7 +165,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==33) ) { + if ( (LA1_0==35) ) { alt1=1; } @@ -212,7 +214,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==12||LA2_0==14||(LA2_0>=19 && LA2_0<=20)||LA2_0==22||LA2_0==26) ) { + if ( (LA2_0==13||LA2_0==15||(LA2_0>=21 && LA2_0<=22)||LA2_0==24||LA2_0==28) ) { alt2=1; } @@ -334,24 +336,24 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // ../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: + case 13: { alt3=1; } break; - case 19: + case 21: { alt3=2; } break; - case 14: - case 20: - case 26: + case 15: + case 22: + case 28: { alt3=3; } break; - case 22: + case 24: { alt3=4; } @@ -513,7 +515,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // ../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); + otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleSubSystemConfig410); newLeafNode(otherlv_0, grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0()); @@ -538,7 +540,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleSubSystemConfig442); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleSubSystemConfig442); newLeafNode(otherlv_2, grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2()); @@ -573,7 +575,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleSubSystemConfig475); + otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleSubSystemConfig475); newLeafNode(otherlv_4, grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4()); @@ -634,143 +636,124 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // $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= '}' ) ; + // ../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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_11= '}' ) ; 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 lv_filePath_4_0=null; Token otherlv_5=null; - Token lv_filePath_6_0=null; + Token lv_userCode1_6_0=null; Token otherlv_7=null; - Token lv_polling_8_0=null; + Token lv_userCode2_8_0=null; Token otherlv_9=null; + Token lv_polling_10_0=null; + Token otherlv_11=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:260:28: ( (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_11= '}' ) ) + // ../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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_11= '}' ) { - // ../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= '}' + // ../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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_11= '}' ) + // ../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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) otherlv_11= '}' { - otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleDynamicConfig558); + otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleDynamicConfig558); newLeafNode(otherlv_0, grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0()); - otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleDynamicConfig570); + otherlv_1=(Token)match(input,14,FOLLOW_14_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:269:1: ( ( ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:271:1: ( ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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 ) ) ) ) ) ) )+ {...}?) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:271:1: ( ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:272:2: ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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:275:2: ( ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) )+ {...}?) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:276:3: ( ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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) ) { + if ( LA5_0 >=17 && LA5_0<=18 && getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0) ) { alt5=1; } - else if ( LA5_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1) ) { + else if ( LA5_0 ==20 && 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= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_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 ) ) )? ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:278:4: ({...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:279:5: {...}? => ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_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 ) ) )? ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:279:110: ( ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:280:6: ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_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 ) ) )? ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:6: ({...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:7: {...}? => ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_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 ) ) )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:16: ( (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) | ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) ) int alt4=2; int LA4_0 = input.LA(1); if ( (LA4_0==17) ) { alt4=1; } + else if ( (LA4_0==18) ) { + alt4=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 4, 0, input); + + throw nvae; + } 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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:17: (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:17: (otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:283:19: otherlv_3= 'file path' ( (lv_filePath_4_0= RULE_STRING ) ) { - otherlv_5=(Token)match(input,17,FOLLOW_17_in_ruleDynamicConfig663); + otherlv_3=(Token)match(input,17,FOLLOW_17_in_ruleDynamicConfig629); - newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_2_0()); + newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_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:287:1: ( (lv_filePath_4_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:288:1: (lv_filePath_4_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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:288:1: (lv_filePath_4_0= RULE_STRING ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:289:3: lv_filePath_4_0= RULE_STRING { - lv_filePath_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig680); + lv_filePath_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig646); - newLeafNode(lv_filePath_6_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_2_1_0()); + newLeafNode(lv_filePath_4_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0()); if (current==null) { @@ -779,7 +762,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { setWithLastConsumed( current, "filePath", - lv_filePath_6_0, + lv_filePath_4_0, "STRING"); @@ -789,11 +772,95 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } + } + + } break; + case 2 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:306:6: ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:306:6: ( (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:306:7: (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:306:7: (otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:306:9: otherlv_5= 'user import' ( (lv_userCode1_6_0= RULE_STRING ) ) + { + otherlv_5=(Token)match(input,18,FOLLOW_18_in_ruleDynamicConfig672); - } + newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0()); + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:310:1: ( (lv_userCode1_6_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:311:1: (lv_userCode1_6_0= RULE_STRING ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:311:1: (lv_userCode1_6_0= RULE_STRING ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:312:3: lv_userCode1_6_0= RULE_STRING + { + lv_userCode1_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig689); + newLeafNode(lv_userCode1_6_0, grammarAccess.getDynamicConfigAccess().getUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getDynamicConfigRule()); + } + setWithLastConsumed( + current, + "userCode1", + lv_userCode1_6_0, + "STRING"); + + + } + + + } + + + } + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:328:3: (otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:328:5: otherlv_7= 'user constructor' ( (lv_userCode2_8_0= RULE_STRING ) ) + { + otherlv_7=(Token)match(input,19,FOLLOW_19_in_ruleDynamicConfig708); + + newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getUserConstructorKeyword_2_0_1_1_0()); + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:332:1: ( (lv_userCode2_8_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:333:1: (lv_userCode2_8_0= RULE_STRING ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:333:1: (lv_userCode2_8_0= RULE_STRING ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:334:3: lv_userCode2_8_0= RULE_STRING + { + lv_userCode2_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig725); + + newLeafNode(lv_userCode2_8_0, grammarAccess.getDynamicConfigAccess().getUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getDynamicConfigRule()); + } + setWithLastConsumed( + current, + "userCode2", + lv_userCode2_8_0, + "STRING"); + + + } + + + } + + + } + + + } + + + } + break; } @@ -813,42 +880,42 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } 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:357:4: ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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 ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:357:4: ({...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:358:5: {...}? => ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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 ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:358:110: ( ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:6: ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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 ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:362:6: ({...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:362:7: {...}? => (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:362:16: (otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:362:18: otherlv_9= 'polling timer [ms]' ( (lv_polling_10_0= RULE_INT ) ) { - otherlv_7=(Token)match(input,18,FOLLOW_18_in_ruleDynamicConfig755); + otherlv_9=(Token)match(input,20,FOLLOW_20_in_ruleDynamicConfig800); - newLeafNode(otherlv_7, grammarAccess.getDynamicConfigAccess().getPollingRateKeyword_2_1_0()); + newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_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:366:1: ( (lv_polling_10_0= RULE_INT ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:367:1: (lv_polling_10_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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:367:1: (lv_polling_10_0= RULE_INT ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:368:3: lv_polling_10_0= RULE_INT { - lv_polling_8_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDynamicConfig772); + lv_polling_10_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDynamicConfig817); - newLeafNode(lv_polling_8_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); + newLeafNode(lv_polling_10_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0()); if (current==null) { @@ -857,7 +924,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { setWithLastConsumed( current, "polling", - lv_polling_8_0, + lv_polling_10_0, "INT"); @@ -909,9 +976,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleDynamicConfig836); + otherlv_11=(Token)match(input,15,FOLLOW_15_in_ruleDynamicConfig881); - newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); + newLeafNode(otherlv_11, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3()); } @@ -934,7 +1001,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleActorClassConfig" - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:388: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:411:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ; public final EObject entryRuleActorClassConfig() throws RecognitionException { EObject current = null; @@ -942,17 +1009,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:412:2: (iv_ruleActorClassConfig= ruleActorClassConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:413:2: iv_ruleActorClassConfig= ruleActorClassConfig EOF { newCompositeNode(grammarAccess.getActorClassConfigRule()); - pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig872); + pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig917); iv_ruleActorClassConfig=ruleActorClassConfig(); state._fsp--; current =iv_ruleActorClassConfig; - match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig882); + match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig927); } @@ -970,7 +1037,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:397: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:420: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; @@ -983,21 +1050,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:423: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:424: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: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= '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:424: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:424:3: otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,19,FOLLOW_19_in_ruleActorClassConfig919); + otherlv_0=(Token)match(input,21,FOLLOW_21_in_ruleActorClassConfig964); newLeafNode(otherlv_0, grammarAccess.getActorClassConfigAccess().getActorClassConfigKeyword_0()); - // ../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:428:1: ( ( ruleFQN ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:429: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:407:3: ruleFQN + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:429:1: ( ruleFQN ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:3: ruleFQN { if (current==null) { @@ -1007,7 +1074,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig942); + pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig987); ruleFQN(); state._fsp--; @@ -1021,32 +1088,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig954); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig999); newLeafNode(otherlv_2, grammarAccess.getActorClassConfigAccess().getLeftCurlyBracketKeyword_2()); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:424:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:447:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )* loop6: do { int alt6=2; int LA6_0 = input.LA(1); - if ( (LA6_0==27) ) { + if ( (LA6_0==29) ) { alt6=1; } switch (alt6) { case 1 : - // ../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:448: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:426:3: lv_attributes_3_0= ruleAttrClassConfig + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:448:1: (lv_attributes_3_0= ruleAttrClassConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:449:3: lv_attributes_3_0= ruleAttrClassConfig { newCompositeNode(grammarAccess.getActorClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig975); + pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig1020); lv_attributes_3_0=ruleAttrClassConfig(); state._fsp--; @@ -1074,7 +1141,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig988); + otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleActorClassConfig1033); newLeafNode(otherlv_4, grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4()); @@ -1099,7 +1166,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:454: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:477:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ; public final EObject entryRuleActorInstanceConfig() throws RecognitionException { EObject current = null; @@ -1107,17 +1174,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:478:2: (iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:479:2: iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF { newCompositeNode(grammarAccess.getActorInstanceConfigRule()); - pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1024); + pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1069); iv_ruleActorInstanceConfig=ruleActorInstanceConfig(); state._fsp--; current =iv_ruleActorInstanceConfig; - match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig1034); + match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig1079); } @@ -1135,7 +1202,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleActorInstanceConfig" - // ../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= '}' ) ) ) ) )+ {...}?) ) ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:486: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; @@ -1153,28 +1220,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:489: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:490: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: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= '}' ) ) ) ) )+ {...}?) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:490: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:492: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= '}' ) ) ) ) )+ {...}?) ) - // ../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:492: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:493: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= '}' ) ) ) ) )+ {...}?) { 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:496: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:497: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= '}' ) ) ) ) )+ + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:497: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: + case 22: { int LA9_2 = input.LA(2); @@ -1185,7 +1252,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } break; - case 26: + case 28: { int LA9_3 = input.LA(2); @@ -1196,7 +1263,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } break; - case 14: + case 15: { int LA9_4 = input.LA(2); @@ -1212,38 +1279,38 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { 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:499: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 ) )* ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:499: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:500: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 ) )* ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:500: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:501: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 ) )* ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:504: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:504: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 ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:504: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:504: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); + otherlv_1=(Token)match(input,22,FOLLOW_22_in_ruleActorInstanceConfig1161); 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:508:1: ( ( ruleFQN ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:509: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:509:1: ( ruleFQN ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:510:3: ruleFQN { if (current==null) { @@ -1253,7 +1320,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_0_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig1139); + pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig1184); ruleFQN(); state._fsp--; @@ -1267,20 +1334,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_3=(Token)match(input,21,FOLLOW_21_in_ruleActorInstanceConfig1151); + otherlv_3=(Token)match(input,23,FOLLOW_23_in_ruleActorInstanceConfig1196); 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:527:1: ( (lv_path_4_0= ruleRefPath ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:528: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:506:3: lv_path_4_0= ruleRefPath + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:528:1: (lv_path_4_0= ruleRefPath ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:529:3: lv_path_4_0= ruleRefPath { newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_0_3_0()); - pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1172); + pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1217); lv_path_4_0=ruleRefPath(); state._fsp--; @@ -1302,32 +1369,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig1184); + otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig1229); 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 ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:549:1: ( (lv_attributes_6_0= ruleAttrInstanceConfig ) )* loop7: do { int alt7=2; int LA7_0 = input.LA(1); - if ( (LA7_0==27) ) { + if ( (LA7_0==29) ) { alt7=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:550: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:550:1: (lv_attributes_6_0= ruleAttrInstanceConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:551:3: lv_attributes_6_0= ruleAttrInstanceConfig { newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_0_5_0()); - pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1205); + pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1250); lv_attributes_6_0=ruleAttrInstanceConfig(); state._fsp--; @@ -1374,51 +1441,51 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } 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:574:4: ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) { - // ../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= '}' ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:574:4: ({...}? => ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:575: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= '}' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:575:114: ( ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:576:6: ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) { 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= '}' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579:6: ({...}? => ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579: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:579:16: ( ( (lv_ports_7_0= rulePortInstanceConfig ) )* otherlv_8= '}' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579: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 ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579:17: ( (lv_ports_7_0= rulePortInstanceConfig ) )* loop8: do { int alt8=2; int LA8_0 = input.LA(1); - if ( (LA8_0==26) ) { + if ( (LA8_0==28) ) { alt8=1; } 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:580: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:580:1: (lv_ports_7_0= rulePortInstanceConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:581:3: lv_ports_7_0= rulePortInstanceConfig { newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_1_0_0()); - pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1283); + pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1328); lv_ports_7_0=rulePortInstanceConfig(); state._fsp--; @@ -1446,7 +1513,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig1296); + otherlv_8=(Token)match(input,15,FOLLOW_15_in_ruleActorInstanceConfig1341); newLeafNode(otherlv_8, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_1_1()); @@ -1511,7 +1578,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:601: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:624:1: entryRuleProtocolClassConfig returns [EObject current=null] : iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ; public final EObject entryRuleProtocolClassConfig() throws RecognitionException { EObject current = null; @@ -1519,17 +1586,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_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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:625:2: (iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:626:2: iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF { newCompositeNode(grammarAccess.getProtocolClassConfigRule()); - pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1378); + pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1423); iv_ruleProtocolClassConfig=ruleProtocolClassConfig(); state._fsp--; current =iv_ruleProtocolClassConfig; - match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig1388); + match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig1433); } @@ -1547,7 +1614,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: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= '}' ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:633: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; @@ -1564,21 +1631,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:613:28: ( (otherlv_0= '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:636: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:637: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: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= '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:637: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:637: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,22,FOLLOW_22_in_ruleProtocolClassConfig1425); + otherlv_0=(Token)match(input,24,FOLLOW_24_in_ruleProtocolClassConfig1470); newLeafNode(otherlv_0, grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0()); - // ../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:641:1: ( ( ruleFQN ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:642: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:620:3: ruleFQN + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:642:1: ( ruleFQN ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:643:3: ruleFQN { if (current==null) { @@ -1588,7 +1655,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig1448); + pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig1493); ruleFQN(); state._fsp--; @@ -1602,75 +1669,75 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleProtocolClassConfig1460); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig1505); newLeafNode(otherlv_2, grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2()); - // ../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:660: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:662: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:640: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:662: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:663: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: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:666: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:667: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: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:667:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* loop10: do { int alt10=3; int LA10_0 = input.LA(1); - if ( LA10_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) { + if ( LA10_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) { alt10=1; } - else if ( LA10_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) { + else if ( LA10_0 ==26 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) { alt10=2; } switch (alt10) { case 1 : - // ../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:669: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:647: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:669: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:670: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: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 ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:670: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:671: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: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 ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:674: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:674: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: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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:674: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:674:18: otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) { - otherlv_4=(Token)match(input,23,FOLLOW_23_in_ruleProtocolClassConfig1518); + otherlv_4=(Token)match(input,25,FOLLOW_25_in_ruleProtocolClassConfig1563); 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: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:678:1: ( (lv_regular_5_0= rulePortClassConfig ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:679: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:657:3: lv_regular_5_0= rulePortClassConfig + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:679:1: (lv_regular_5_0= rulePortClassConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:3: lv_regular_5_0= rulePortClassConfig { newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0()); - pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1539); + pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1584); lv_regular_5_0=rulePortClassConfig(); state._fsp--; @@ -1711,43 +1778,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: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:703: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:681: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:703: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:704: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: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 ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:704: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:705: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: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 ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:708: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:708: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: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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:708: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:708:18: otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) { - otherlv_6=(Token)match(input,24,FOLLOW_24_in_ruleProtocolClassConfig1607); + otherlv_6=(Token)match(input,26,FOLLOW_26_in_ruleProtocolClassConfig1652); 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: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:712:1: ( (lv_conjugated_7_0= rulePortClassConfig ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:713: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:691:3: lv_conjugated_7_0= rulePortClassConfig + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:713:1: (lv_conjugated_7_0= rulePortClassConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:714:3: lv_conjugated_7_0= rulePortClassConfig { newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0()); - pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1628); + pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1673); lv_conjugated_7_0=rulePortClassConfig(); state._fsp--; @@ -1805,7 +1872,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig1681); + otherlv_8=(Token)match(input,15,FOLLOW_15_in_ruleProtocolClassConfig1726); newLeafNode(otherlv_8, grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4()); @@ -1830,7 +1897,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:733: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:756:1: entryRulePortClassConfig returns [EObject current=null] : iv_rulePortClassConfig= rulePortClassConfig EOF ; public final EObject entryRulePortClassConfig() throws RecognitionException { EObject current = null; @@ -1838,17 +1905,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:757:2: (iv_rulePortClassConfig= rulePortClassConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:758:2: iv_rulePortClassConfig= rulePortClassConfig EOF { newCompositeNode(grammarAccess.getPortClassConfigRule()); - pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1717); + pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1762); iv_rulePortClassConfig=rulePortClassConfig(); state._fsp--; current =iv_rulePortClassConfig; - match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1727); + match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1772); } @@ -1866,7 +1933,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:742: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:765: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; @@ -1879,14 +1946,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:768: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:769: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: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:769: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:769: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:2: () - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:747:5: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:769:2: () + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:770:5: { current = forceCreateModelElement( @@ -1896,36 +1963,36 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,25,FOLLOW_25_in_rulePortClassConfig1773); + otherlv_1=(Token)match(input,27,FOLLOW_27_in_rulePortClassConfig1818); newLeafNode(otherlv_1, grammarAccess.getPortClassConfigAccess().getPortKeyword_1()); - otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortClassConfig1785); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1830); newLeafNode(otherlv_2, grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2()); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:760:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:783:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )* loop11: do { int alt11=2; int LA11_0 = input.LA(1); - if ( (LA11_0==27) ) { + if ( (LA11_0==29) ) { alt11=1; } switch (alt11) { case 1 : - // ../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:784: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:762:3: lv_attributes_3_0= ruleAttrClassConfig + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:784:1: (lv_attributes_3_0= ruleAttrClassConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:785:3: lv_attributes_3_0= ruleAttrClassConfig { newCompositeNode(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1806); + pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1851); lv_attributes_3_0=ruleAttrClassConfig(); state._fsp--; @@ -1953,7 +2020,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1819); + otherlv_4=(Token)match(input,15,FOLLOW_15_in_rulePortClassConfig1864); newLeafNode(otherlv_4, grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4()); @@ -1978,7 +2045,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:790: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:813:1: entryRulePortInstanceConfig returns [EObject current=null] : iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ; public final EObject entryRulePortInstanceConfig() throws RecognitionException { EObject current = null; @@ -1986,17 +2053,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:814:2: (iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:815:2: iv_rulePortInstanceConfig= rulePortInstanceConfig EOF { newCompositeNode(grammarAccess.getPortInstanceConfigRule()); - pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1855); + pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1900); iv_rulePortInstanceConfig=rulePortInstanceConfig(); state._fsp--; current =iv_rulePortInstanceConfig; - match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1865); + match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1910); } @@ -2014,7 +2081,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:799: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:822: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; @@ -2028,28 +2095,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:825: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:826: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: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= '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:826: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:826:3: otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,26,FOLLOW_26_in_rulePortInstanceConfig1902); + otherlv_0=(Token)match(input,28,FOLLOW_28_in_rulePortInstanceConfig1947); newLeafNode(otherlv_0, grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0()); - // ../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:830:1: ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:831: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:809:3: otherlv_1= RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:831:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:832:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getPortInstanceConfigRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1922); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1967); newLeafNode(otherlv_1, grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0()); @@ -2059,32 +2126,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortInstanceConfig1934); + otherlv_2=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1979); newLeafNode(otherlv_2, grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2()); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:824:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:847:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* loop12: do { int alt12=2; int LA12_0 = input.LA(1); - if ( (LA12_0==27) ) { + if ( (LA12_0==29) ) { alt12=1; } switch (alt12) { case 1 : - // ../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:848: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:826:3: lv_attributes_3_0= ruleAttrInstanceConfig + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:848:1: (lv_attributes_3_0= ruleAttrInstanceConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:849:3: lv_attributes_3_0= ruleAttrInstanceConfig { newCompositeNode(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1955); + pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig2000); lv_attributes_3_0=ruleAttrInstanceConfig(); state._fsp--; @@ -2112,7 +2179,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1968); + otherlv_4=(Token)match(input,15,FOLLOW_15_in_rulePortInstanceConfig2013); newLeafNode(otherlv_4, grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4()); @@ -2137,7 +2204,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:856: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:879:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ; public final EObject entryRuleAttrClassConfig() throws RecognitionException { EObject current = null; @@ -2145,17 +2212,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:880:2: (iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:881:2: iv_ruleAttrClassConfig= ruleAttrClassConfig EOF { newCompositeNode(grammarAccess.getAttrClassConfigRule()); - pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2006); + pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2051); iv_ruleAttrClassConfig=ruleAttrClassConfig(); state._fsp--; current =iv_ruleAttrClassConfig; - match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig2016); + match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig2061); } @@ -2173,7 +2240,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: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= '}' )? ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:888: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; @@ -2198,28 +2265,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:891: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:892: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: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= '}' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:892: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:892: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,27,FOLLOW_27_in_ruleAttrClassConfig2053); + otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleAttrClassConfig2098); newLeafNode(otherlv_0, grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0()); - // ../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:896:1: ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:897: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:875:3: otherlv_1= RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:897:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:898:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getAttrClassConfigRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig2073); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig2118); newLeafNode(otherlv_1, grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0()); @@ -2229,31 +2296,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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 ) ) )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:909:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? int alt13=2; int LA13_0 = input.LA(1); - if ( (LA13_0==28) ) { + if ( (LA13_0==30) ) { alt13=1; } switch (alt13) { case 1 : - // ../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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:909:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) { - otherlv_2=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2086); + otherlv_2=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2131); newLeafNode(otherlv_2, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0()); - // ../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:913:1: ( (lv_value_3_0= ruleLiteralArray ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:914: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:892:3: lv_value_3_0= ruleLiteralArray + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:914:1: (lv_value_3_0= ruleLiteralArray ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:915:3: lv_value_3_0= ruleLiteralArray { newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); - pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2107); + pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2152); lv_value_3_0=ruleLiteralArray(); state._fsp--; @@ -2281,90 +2348,90 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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= '}' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:931: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 ( (LA16_0==13) ) { + if ( (LA16_0==14) ) { alt16=1; } switch (alt16) { case 1 : - // ../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= '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:931: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_ruleAttrClassConfig2122); + otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig2167); newLeafNode(otherlv_4, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()); - // ../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:935: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:937: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:915: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:937: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:938: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: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:941: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:942: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: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:942:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* loop14: do { int alt14=3; int LA14_0 = input.LA(1); - if ( LA14_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) { + if ( LA14_0 ==31 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) { alt14=1; } - else if ( LA14_0 ==30 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) { + else if ( LA14_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) { alt14=2; } switch (alt14) { case 1 : - // ../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:944: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:922: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:944: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:945: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: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 ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:945: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:946: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: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 ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:949: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:949: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: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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:949: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:949:18: otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) { - otherlv_6=(Token)match(input,29,FOLLOW_29_in_ruleAttrClassConfig2180); + otherlv_6=(Token)match(input,31,FOLLOW_31_in_ruleAttrClassConfig2225); newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0()); - otherlv_7=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2192); + otherlv_7=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2237); 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: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:957:1: ( (lv_min_8_0= ruleNumberLiteral ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:958: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:936:3: lv_min_8_0= ruleNumberLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:958:1: (lv_min_8_0= ruleNumberLiteral ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:959:3: lv_min_8_0= ruleNumberLiteral { newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2213); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2258); lv_min_8_0=ruleNumberLiteral(); state._fsp--; @@ -2405,47 +2472,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: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:982: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:960: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:982: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:983: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: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 ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:983: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:984: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: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 ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:987: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:987: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: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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:987: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:987:18: otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) { - otherlv_9=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2281); + otherlv_9=(Token)match(input,32,FOLLOW_32_in_ruleAttrClassConfig2326); newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0()); - otherlv_10=(Token)match(input,28,FOLLOW_28_in_ruleAttrClassConfig2293); + otherlv_10=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2338); 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: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:995:1: ( (lv_max_11_0= ruleNumberLiteral ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:996: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:974:3: lv_max_11_0= ruleNumberLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:996:1: (lv_max_11_0= ruleNumberLiteral ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:997:3: lv_max_11_0= ruleNumberLiteral { newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2314); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2359); lv_max_11_0=ruleNumberLiteral(); state._fsp--; @@ -2503,28 +2570,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1004:2: ( (lv_attributes_12_0= ruleAttrClassConfig ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1027:2: ( (lv_attributes_12_0= ruleAttrClassConfig ) )* loop15: do { int alt15=2; int LA15_0 = input.LA(1); - if ( (LA15_0==27) ) { + if ( (LA15_0==29) ) { 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:1028: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1028:1: (lv_attributes_12_0= ruleAttrClassConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1029:3: lv_attributes_12_0= ruleAttrClassConfig { newCompositeNode(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_2_0()); - pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2376); + pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2421); lv_attributes_12_0=ruleAttrClassConfig(); state._fsp--; @@ -2552,7 +2619,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_13=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig2389); + otherlv_13=(Token)match(input,15,FOLLOW_15_in_ruleAttrClassConfig2434); newLeafNode(otherlv_13, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_3()); @@ -2583,7 +2650,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:1034: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:1057:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ; public final EObject entryRuleAttrInstanceConfig() throws RecognitionException { EObject current = null; @@ -2591,17 +2658,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1058:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1059:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF { newCompositeNode(grammarAccess.getAttrInstanceConfigRule()); - pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2427); + pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2472); iv_ruleAttrInstanceConfig=ruleAttrInstanceConfig(); state._fsp--; current =iv_ruleAttrInstanceConfig; - match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig2437); + match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig2482); } @@ -2619,7 +2686,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAttrInstanceConfig" - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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= '}' )? ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1066:1: ruleAttrInstanceConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? ) ; public final EObject ruleAttrInstanceConfig() throws RecognitionException { EObject current = null; @@ -2627,40 +2694,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { 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; + Token lv_dynConfig_5_0=null; + Token lv_readOnly_6_0=null; + Token otherlv_7=null; + Token otherlv_9=null; EObject lv_value_3_0 = null; - EObject lv_attributes_9_0 = null; + EObject lv_attributes_8_0 = null; enterRule(); try { - // ../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:1069:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1070:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? ) { - // ../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= '}' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1070:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1070:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? { - otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleAttrInstanceConfig2474); + otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleAttrInstanceConfig2519); newLeafNode(otherlv_0, grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0()); - // ../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:1074:1: ( (otherlv_1= RULE_ID ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1075: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:1053:3: otherlv_1= RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1075:1: (otherlv_1= RULE_ID ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1076:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getAttrInstanceConfigRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2494); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2539); newLeafNode(otherlv_1, grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0()); @@ -2670,31 +2737,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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 ) ) )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? int alt17=2; int LA17_0 = input.LA(1); - if ( (LA17_0==28) ) { + if ( (LA17_0==30) ) { alt17=1; } switch (alt17) { case 1 : - // ../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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) { - otherlv_2=(Token)match(input,28,FOLLOW_28_in_ruleAttrInstanceConfig2507); + otherlv_2=(Token)match(input,30,FOLLOW_30_in_ruleAttrInstanceConfig2552); newLeafNode(otherlv_2, grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0()); - // ../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:1091:1: ( (lv_value_3_0= ruleLiteralArray ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092: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:1070:3: lv_value_3_0= ruleLiteralArray + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092:1: (lv_value_3_0= ruleLiteralArray ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1093:3: lv_value_3_0= ruleLiteralArray { newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0()); - pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2528); + pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2573); lv_value_3_0=ruleLiteralArray(); state._fsp--; @@ -2722,264 +2789,159 @@ 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= '}' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1109:4: (otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' )? int alt21=2; int LA21_0 = input.LA(1); - if ( (LA21_0==13) ) { + if ( (LA21_0==14) ) { 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= '}' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1109:6: otherlv_4= '{' ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* otherlv_9= '}' { - otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrInstanceConfig2543); + otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleAttrInstanceConfig2588); 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 ) ) )+ ) ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1113:1: ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==16) ) { + alt19=1; + } + switch (alt19) { + case 1 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1113:2: ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1113:2: ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1114:1: (lv_dynConfig_5_0= 'dynamic configuration' ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1114:1: (lv_dynConfig_5_0= 'dynamic configuration' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1115:3: lv_dynConfig_5_0= 'dynamic configuration' + { + lv_dynConfig_5_0=(Token)match(input,16,FOLLOW_16_in_ruleAttrInstanceConfig2607); + + newLeafNode(lv_dynConfig_5_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_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:1128:2: ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==33) ) { + alt18=1; + } + else if ( (LA18_0==34) ) { + 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:1128:3: ( (lv_readOnly_6_0= 'read' ) ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1128:3: ( (lv_readOnly_6_0= 'read' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1129:1: (lv_readOnly_6_0= 'read' ) + { + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1129:1: (lv_readOnly_6_0= 'read' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1130:3: lv_readOnly_6_0= 'read' + { + lv_readOnly_6_0=(Token)match(input,33,FOLLOW_33_in_ruleAttrInstanceConfig2639); + + newLeafNode(lv_readOnly_6_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_1_0_0()); + + + if (current==null) { + current = createModelElement(grammarAccess.getAttrInstanceConfigRule()); + } + setWithLastConsumed(current, "readOnly", true, "read"); + + + } + + + } + + + } + break; + case 2 : + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1144:7: otherlv_7= 'write' + { + otherlv_7=(Token)match(input,34,FOLLOW_34_in_ruleAttrInstanceConfig2670); + + newLeafNode(otherlv_7, grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_1_1()); + + + } + break; + + } + + + } + break; + + } + + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1148:4: ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* loop20: do { - int alt20=3; + int alt20=2; int LA20_0 = input.LA(1); - if ( LA20_0 ==15 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrInstanceConfigAccess().getUnorderedGroup_3_1(), 0) ) { + if ( (LA20_0==29) ) { 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:1149:1: (lv_attributes_8_0= ruleAttrInstanceConfig ) { - // ../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' ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1149:1: (lv_attributes_8_0= ruleAttrInstanceConfig ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1150:3: lv_attributes_8_0= ruleAttrInstanceConfig { - 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); + newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_2_0()); + + pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2694); + lv_attributes_8_0=ruleAttrInstanceConfig(); + + state._fsp--; - newLeafNode(lv_dynConfig_6_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0()); - if (current==null) { - current = createModelElement(grammarAccess.getAttrInstanceConfigRule()); + current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule()); } - setWithLastConsumed(current, "dynConfig", true, "dynamic configuration"); + add( + current, + "attributes", + lv_attributes_8_0, + "AttrInstanceConfig"); + afterParserOrEnumRuleCall(); } - } - - // ../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; @@ -2988,21 +2950,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } while (true); + otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleAttrInstanceConfig2707); - } - - - } - - - 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()); + newLeafNode(otherlv_9, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_3()); } @@ -3031,7 +2981,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:1195: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:1178:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ; public final EObject entryRuleRefPath() throws RecognitionException { EObject current = null; @@ -3039,17 +2989,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1179:2: (iv_ruleRefPath= ruleRefPath EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1180:2: iv_ruleRefPath= ruleRefPath EOF { newCompositeNode(grammarAccess.getRefPathRule()); - pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath2838); + pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath2745); iv_ruleRefPath=ruleRefPath(); state._fsp--; current =iv_ruleRefPath; - match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath2848); + match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath2755); } @@ -3067,7 +3017,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:1204: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:1187: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; @@ -3078,19 +3028,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1190: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:1191: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: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:1191: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:1191: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: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:1191:2: ( (lv_refs_0_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1192:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1192:1: (lv_refs_0_0= RULE_ID ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1193:3: lv_refs_0_0= RULE_ID { - lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2890); + lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2797); newLeafNode(lv_refs_0_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0()); @@ -3110,32 +3060,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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 ) ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1209:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* loop22: do { int alt22=2; int LA22_0 = input.LA(1); - if ( (LA22_0==21) ) { + if ( (LA22_0==23) ) { alt22=1; } switch (alt22) { case 1 : - // ../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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1209:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) { - otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleRefPath2908); + otherlv_1=(Token)match(input,23,FOLLOW_23_in_ruleRefPath2815); newLeafNode(otherlv_1, grammarAccess.getRefPathAccess().getSolidusKeyword_1_0()); - // ../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:1213:1: ( (lv_refs_2_0= RULE_ID ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1214: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:1232:3: lv_refs_2_0= RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1214:1: (lv_refs_2_0= RULE_ID ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1215:3: lv_refs_2_0= RULE_ID { - lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2925); + lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2832); newLeafNode(lv_refs_2_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0()); @@ -3185,7 +3135,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:1256: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:1239:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; public final EObject entryRuleImport() throws RecognitionException { EObject current = null; @@ -3193,17 +3143,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1240:2: (iv_ruleImport= ruleImport EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1241:2: iv_ruleImport= ruleImport EOF { newCompositeNode(grammarAccess.getImportRule()); - pushFollow(FOLLOW_ruleImport_in_entryRuleImport2968); + pushFollow(FOLLOW_ruleImport_in_entryRuleImport2875); iv_ruleImport=ruleImport(); state._fsp--; current =iv_ruleImport; - match(input,EOF,FOLLOW_EOF_in_entryRuleImport2978); + match(input,EOF,FOLLOW_EOF_in_entryRuleImport2885); } @@ -3221,7 +3171,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: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 ) ) ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1248: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; @@ -3235,24 +3185,24 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1251: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:1252: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: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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1252: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:1252: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,33,FOLLOW_33_in_ruleImport3015); + otherlv_0=(Token)match(input,35,FOLLOW_35_in_ruleImport2922); newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - // ../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' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1256:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) int alt23=2; int LA23_0 = input.LA(1); if ( (LA23_0==RULE_ID) ) { alt23=1; } - else if ( (LA23_0==35) ) { + else if ( (LA23_0==37) ) { alt23=2; } else { @@ -3263,21 +3213,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } switch (alt23) { case 1 : - // ../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:1256: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: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:1256: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:1256: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: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:1256:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1257:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1257:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1258:3: lv_importedNamespace_1_0= ruleImportedFQN { newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); - pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport3038); + pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2945); lv_importedNamespace_1_0=ruleImportedFQN(); state._fsp--; @@ -3299,7 +3249,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,34,FOLLOW_34_in_ruleImport3050); + otherlv_2=(Token)match(input,36,FOLLOW_36_in_ruleImport2957); newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); @@ -3310,9 +3260,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:1296:7: otherlv_3= 'model' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1279:7: otherlv_3= 'model' { - otherlv_3=(Token)match(input,35,FOLLOW_35_in_ruleImport3069); + otherlv_3=(Token)match(input,37,FOLLOW_37_in_ruleImport2976); newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); @@ -3322,13 +3272,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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:1283:2: ( (lv_importURI_4_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1284:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1284:1: (lv_importURI_4_0= RULE_STRING ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1285:3: lv_importURI_4_0= RULE_STRING { - lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport3087); + lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2994); newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); @@ -3369,7 +3319,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:1326: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:1309:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; public final String entryRuleImportedFQN() throws RecognitionException { String current = null; @@ -3377,17 +3327,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1310:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1311:2: iv_ruleImportedFQN= ruleImportedFQN EOF { newCompositeNode(grammarAccess.getImportedFQNRule()); - pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3129); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3036); iv_ruleImportedFQN=ruleImportedFQN(); state._fsp--; current =iv_ruleImportedFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN3140); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN3047); } @@ -3405,7 +3355,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:1335: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:1318:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3416,16 +3366,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1321:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1322:1: (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= '.*' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1322:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1323:5: this_FQN_0= ruleFQN (kw= '.*' )? { newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN3187); + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN3094); this_FQN_0=ruleFQN(); state._fsp--; @@ -3436,18 +3386,18 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1350:1: (kw= '.*' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1333:1: (kw= '.*' )? int alt24=2; int LA24_0 = input.LA(1); - if ( (LA24_0==36) ) { + if ( (LA24_0==38) ) { alt24=1; } switch (alt24) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1351:2: kw= '.*' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1334:2: kw= '.*' { - kw=(Token)match(input,36,FOLLOW_36_in_ruleImportedFQN3206); + kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN3113); current.merge(kw); newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); @@ -3479,7 +3429,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:1364: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:1347:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; public final String entryRuleFQN() throws RecognitionException { String current = null; @@ -3487,17 +3437,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_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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1348:2: (iv_ruleFQN= ruleFQN EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1349:2: iv_ruleFQN= ruleFQN EOF { newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3249); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3156); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3260); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3167); } @@ -3515,7 +3465,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:1373: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:1356: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(); @@ -3526,40 +3476,40 @@ 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_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:1359: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:1360: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: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 )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1360: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:1360:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3300); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3207); 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:1384:1: (kw= '.' this_ID_2= RULE_ID )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1367:1: (kw= '.' this_ID_2= RULE_ID )* loop25: do { int alt25=2; int LA25_0 = input.LA(1); - if ( (LA25_0==37) ) { + if ( (LA25_0==39) ) { alt25=1; } switch (alt25) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1385:2: kw= '.' this_ID_2= RULE_ID + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1368:2: kw= '.' this_ID_2= RULE_ID { - kw=(Token)match(input,37,FOLLOW_37_in_ruleFQN3319); + kw=(Token)match(input,39,FOLLOW_39_in_ruleFQN3226); current.merge(kw); newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3334); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3241); current.merge(this_ID_2); @@ -3596,7 +3546,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:1405: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:1388:1: entryRuleLiteralArray returns [EObject current=null] : iv_ruleLiteralArray= ruleLiteralArray EOF ; public final EObject entryRuleLiteralArray() throws RecognitionException { EObject current = null; @@ -3604,17 +3554,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1389:2: (iv_ruleLiteralArray= ruleLiteralArray EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1390:2: iv_ruleLiteralArray= ruleLiteralArray EOF { newCompositeNode(grammarAccess.getLiteralArrayRule()); - pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3381); + pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3288); iv_ruleLiteralArray=ruleLiteralArray(); state._fsp--; current =iv_ruleLiteralArray; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray3391); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray3298); } @@ -3632,7 +3582,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:1414: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:1397: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; @@ -3645,22 +3595,22 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1400: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:1401: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: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:1401: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:1401: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: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:1401:2: ( (lv_literals_0_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1402:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1402:1: (lv_literals_0_0= ruleLiteral ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1403:3: lv_literals_0_0= ruleLiteral { newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0()); - pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3437); + pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3344); lv_literals_0_0=ruleLiteral(); state._fsp--; @@ -3682,35 +3632,35 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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 ) ) )* + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1419:2: (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* loop26: do { int alt26=2; int LA26_0 = input.LA(1); - if ( (LA26_0==38) ) { + if ( (LA26_0==40) ) { alt26=1; } switch (alt26) { case 1 : - // ../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 ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1419:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) { - otherlv_1=(Token)match(input,38,FOLLOW_38_in_ruleLiteralArray3450); + otherlv_1=(Token)match(input,40,FOLLOW_40_in_ruleLiteralArray3357); newLeafNode(otherlv_1, grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0()); - // ../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:1423:1: ( (lv_literals_2_0= ruleLiteral ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1424: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:1442:3: lv_literals_2_0= ruleLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1424:1: (lv_literals_2_0= ruleLiteral ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1425:3: lv_literals_2_0= ruleLiteral { newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0()); - pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3471); + pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3378); lv_literals_2_0=ruleLiteral(); state._fsp--; @@ -3762,7 +3712,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:1466: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:1449:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -3770,17 +3720,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1450:2: (iv_ruleLiteral= ruleLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1451:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3509); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3416); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3519); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3426); } @@ -3798,7 +3748,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:1475: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:1458: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; @@ -3812,23 +3762,23 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1461: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:1462: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: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:1462:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) int alt27=3; switch ( input.LA(1) ) { - case 39: - case 40: + case 41: + case 42: { alt27=1; } break; case RULE_INT: case RULE_HEX: - case 37: - case 41: - case 42: + case 39: + case 43: + case 44: { alt27=2; } @@ -3847,12 +3797,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { switch (alt27) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1480:5: this_BooleanLiteral_0= ruleBooleanLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1463:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3566); + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3473); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -3865,12 +3815,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:1490:5: this_NumberLiteral_1= ruleNumberLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1473:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3593); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3500); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -3883,12 +3833,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:1500:5: this_StringLiteral_2= ruleStringLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1483:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3620); + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3527); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -3921,7 +3871,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:1516: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:1499:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -3929,17 +3879,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1500:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1501:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3655); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3562); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3665); + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3572); } @@ -3957,7 +3907,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:1525: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:1508:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -3967,14 +3917,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1511: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:1512: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: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:1512: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:1512: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:2: () - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1530:5: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1512:2: () + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1513:5: { current = forceCreateModelElement( @@ -3984,14 +3934,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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' ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1518:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) int alt28=2; int LA28_0 = input.LA(1); - if ( (LA28_0==39) ) { + if ( (LA28_0==41) ) { alt28=1; } - else if ( (LA28_0==40) ) { + else if ( (LA28_0==42) ) { alt28=2; } else { @@ -4002,9 +3952,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } switch (alt28) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1535:4: otherlv_1= 'false' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1518:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,39,FOLLOW_39_in_ruleBooleanLiteral3712); + otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleBooleanLiteral3619); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -4012,15 +3962,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:1540:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1523: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:1541:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1523:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1524:1: (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' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1524:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1525:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,40,FOLLOW_40_in_ruleBooleanLiteral3736); + lv_isTrue_2_0=(Token)match(input,42,FOLLOW_42_in_ruleBooleanLiteral3643); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -4063,7 +4013,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:1563: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:1546:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -4071,17 +4021,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1547:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1548:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3786); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3693); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral3796); + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral3703); } @@ -4099,7 +4049,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:1572: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:1555:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -4111,25 +4061,25 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1558: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:1559: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: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:1559:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) int alt29=2; switch ( input.LA(1) ) { - case 41: + case 43: { int LA29_1 = input.LA(2); if ( (LA29_1==RULE_INT) ) { int LA29_3 = input.LA(3); - 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 ( (LA29_3==37) ) { + if ( (LA29_3==39) ) { alt29=2; } + else if ( (LA29_3==EOF||(LA29_3>=13 && LA29_3<=15)||(LA29_3>=21 && LA29_3<=22)||LA29_3==24||(LA29_3>=28 && LA29_3<=29)||(LA29_3>=31 && LA29_3<=32)||LA29_3==40) ) { + alt29=1; + } else { NoViableAltException nvae = new NoViableAltException("", 29, 3, input); @@ -4137,7 +4087,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { throw nvae; } } - else if ( (LA29_1==37) ) { + else if ( (LA29_1==39) ) { alt29=2; } else { @@ -4148,19 +4098,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } } break; - case 42: + case 44: { int LA29_2 = input.LA(2); if ( (LA29_2==RULE_INT) ) { int LA29_3 = input.LA(3); - 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 ( (LA29_3==37) ) { + if ( (LA29_3==39) ) { alt29=2; } + else if ( (LA29_3==EOF||(LA29_3>=13 && LA29_3<=15)||(LA29_3>=21 && LA29_3<=22)||LA29_3==24||(LA29_3>=28 && LA29_3<=29)||(LA29_3>=31 && LA29_3<=32)||LA29_3==40) ) { + alt29=1; + } else { NoViableAltException nvae = new NoViableAltException("", 29, 3, input); @@ -4168,7 +4118,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { throw nvae; } } - else if ( (LA29_2==37) ) { + else if ( (LA29_2==39) ) { alt29=2; } else { @@ -4183,12 +4133,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { { int LA29_3 = input.LA(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 ( (LA29_3==37) ) { + if ( (LA29_3==39) ) { alt29=2; } + else if ( (LA29_3==EOF||(LA29_3>=13 && LA29_3<=15)||(LA29_3>=21 && LA29_3<=22)||LA29_3==24||(LA29_3>=28 && LA29_3<=29)||(LA29_3>=31 && LA29_3<=32)||LA29_3==40) ) { + alt29=1; + } else { NoViableAltException nvae = new NoViableAltException("", 29, 3, input); @@ -4202,7 +4152,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { alt29=1; } break; - case 37: + case 39: { alt29=2; } @@ -4216,12 +4166,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { switch (alt29) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1577:5: this_IntLiteral_0= ruleIntLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1560:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3843); + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3750); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -4234,12 +4184,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:1587:5: this_RealLiteral_1= ruleRealLiteral + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1570:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3870); + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3777); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -4272,7 +4222,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:1603: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:1586:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -4280,17 +4230,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1587:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1588:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3905); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3812); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral3915); + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral3822); } @@ -4308,7 +4258,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:1612: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:1595:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -4318,14 +4268,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1598:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1599:1: ( () ( (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:1599:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1599:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1599:2: () + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1600:5: { current = forceCreateModelElement( @@ -4335,16 +4285,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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:1605:2: ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1606:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1606:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1607:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral3970); + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral3877); lv_value_1_0=ruleReal(); state._fsp--; @@ -4387,7 +4337,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:1648: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:1631:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -4395,17 +4345,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1632:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1633:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral4006); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3913); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral4016); + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral3923); } @@ -4423,7 +4373,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:1657: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:1640:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -4433,14 +4383,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1643:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644:1: ( () ( (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:1644:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644:2: () + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1645:5: { current = forceCreateModelElement( @@ -4450,16 +4400,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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:1650:2: ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1651:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1651:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1652:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral4071); + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral3978); lv_value_1_0=ruleInteger(); state._fsp--; @@ -4502,7 +4452,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:1693: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:1676:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -4510,17 +4460,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1677:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1678:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4107); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4014); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4117); + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral4024); } @@ -4538,7 +4488,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:1702: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:1685:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -4547,14 +4497,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1688:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1689:1: ( () ( (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:1689:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1689:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../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: + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1689:2: () + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1690:5: { current = forceCreateModelElement( @@ -4564,13 +4514,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - // ../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:1695:2: ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1696:1: (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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1696:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1697:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4168); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral4075); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -4611,7 +4561,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:1738: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:1721:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -4619,17 +4569,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1722:2: (iv_ruleInteger= ruleInteger EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1723:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4210); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger4117); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4221); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger4128); } @@ -4647,7 +4597,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:1747: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:1730: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(); @@ -4659,14 +4609,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1733: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:1734: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: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:1734:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) int alt30=2; int LA30_0 = input.LA(1); - if ( (LA30_0==RULE_INT||(LA30_0>=41 && LA30_0<=42)) ) { + if ( (LA30_0==RULE_INT||(LA30_0>=43 && LA30_0<=44)) ) { alt30=1; } else if ( (LA30_0==RULE_HEX) ) { @@ -4680,12 +4630,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } switch (alt30) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1752:5: this_SignedInteger_0= ruleSignedInteger + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1735:5: this_SignedInteger_0= ruleSignedInteger { newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); - pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4268); + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4175); this_SignedInteger_0=ruleSignedInteger(); state._fsp--; @@ -4700,12 +4650,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:1764:5: this_Hexadecimal_1= ruleHexadecimal + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1747:5: this_Hexadecimal_1= ruleHexadecimal { newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4301); + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4208); this_Hexadecimal_1=ruleHexadecimal(); state._fsp--; @@ -4740,7 +4690,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:1782: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:1765:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; public final String entryRuleSignedInteger() throws RecognitionException { String current = null; @@ -4751,17 +4701,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1769:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1770:2: iv_ruleSignedInteger= ruleSignedInteger EOF { newCompositeNode(grammarAccess.getSignedIntegerRule()); - pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4353); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4260); iv_ruleSignedInteger=ruleSignedInteger(); state._fsp--; current =iv_ruleSignedInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4364); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4271); } @@ -4782,7 +4732,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:1797: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:1780:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4793,27 +4743,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: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:1784:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1785: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: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:1785:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1785: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:2: (kw= '+' | kw= '-' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1785:2: (kw= '+' | kw= '-' )? int alt31=3; int LA31_0 = input.LA(1); - if ( (LA31_0==41) ) { + if ( (LA31_0==43) ) { alt31=1; } - else if ( (LA31_0==42) ) { + else if ( (LA31_0==44) ) { alt31=2; } switch (alt31) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1803:2: kw= '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1786:2: kw= '+' { - kw=(Token)match(input,41,FOLLOW_41_in_ruleSignedInteger4407); + kw=(Token)match(input,43,FOLLOW_43_in_ruleSignedInteger4314); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); @@ -4822,9 +4772,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:1810:2: kw= '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1793:2: kw= '-' { - kw=(Token)match(input,42,FOLLOW_42_in_ruleSignedInteger4426); + kw=(Token)match(input,44,FOLLOW_44_in_ruleSignedInteger4333); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); @@ -4835,7 +4785,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4443); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4350); current.merge(this_INT_2); @@ -4866,7 +4816,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:1833: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:1816:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; public final String entryRuleHexadecimal() throws RecognitionException { String current = null; @@ -4877,17 +4827,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1820:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1821:2: iv_ruleHexadecimal= ruleHexadecimal EOF { newCompositeNode(grammarAccess.getHexadecimalRule()); - pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4499); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4406); iv_ruleHexadecimal=ruleHexadecimal(); state._fsp--; current =iv_ruleHexadecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4510); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4417); } @@ -4908,7 +4858,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:1848: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:1831:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -4918,10 +4868,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:28: (this_HEX_0= RULE_HEX ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1836:5: this_HEX_0= RULE_HEX { - this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4553); + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4460); current.merge(this_HEX_0); @@ -4949,7 +4899,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:1871: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:1854:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -4957,17 +4907,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { try { - // ../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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1855:2: (iv_ruleReal= ruleReal EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1856:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal4602); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal4509); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal4613); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal4520); } @@ -4985,7 +4935,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:1880: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:1863: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(); @@ -5001,20 +4951,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../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:1866: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:1867: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: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:1867: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:1885:5: this_Decimal_0= ruleDecimal + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1868:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal4660); + pushFollow(FOLLOW_ruleDecimal_in_ruleReal4567); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -5029,12 +4979,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:1897:5: this_DotDecimal_1= ruleDotDecimal + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1880:5: this_DotDecimal_1= ruleDotDecimal { newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal4693); + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal4600); this_DotDecimal_1=ruleDotDecimal(); state._fsp--; @@ -5049,12 +4999,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:1909:5: this_DecimalDot_2= ruleDecimalDot + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1892:5: this_DecimalDot_2= ruleDecimalDot { newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); - pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal4726); + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal4633); this_DecimalDot_2=ruleDecimalDot(); state._fsp--; @@ -5069,12 +5019,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:1921:5: this_DecimalExp_3= ruleDecimalExp + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1904:5: this_DecimalExp_3= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4759); + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4666); this_DecimalExp_3=ruleDecimalExp(); state._fsp--; @@ -5109,7 +5059,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:1939: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:1922:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -5120,17 +5070,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1926:2: (iv_ruleDecimal= ruleDecimal EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1927:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal4811); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal4718); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal4822); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal4729); } @@ -5151,7 +5101,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:1954: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:1937: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(); @@ -5163,27 +5113,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: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:1941: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:1942: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: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:1942: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:1942: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:2: (kw= '+' | kw= '-' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1942:2: (kw= '+' | kw= '-' )? int alt33=3; int LA33_0 = input.LA(1); - if ( (LA33_0==41) ) { + if ( (LA33_0==43) ) { alt33=1; } - else if ( (LA33_0==42) ) { + else if ( (LA33_0==44) ) { alt33=2; } switch (alt33) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1960:2: kw= '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1943:2: kw= '+' { - kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimal4865); + kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimal4772); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -5192,9 +5142,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:1967:2: kw= '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1950:2: kw= '-' { - kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimal4884); + kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimal4791); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -5205,19 +5155,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4901); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4808); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimal4919); + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimal4826); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4934); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4841); current.merge(this_INT_4); @@ -5248,7 +5198,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:2003: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:1986:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; public final String entryRuleDotDecimal() throws RecognitionException { String current = null; @@ -5259,17 +5209,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1990:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1991:2: iv_ruleDotDecimal= ruleDotDecimal EOF { newCompositeNode(grammarAccess.getDotDecimalRule()); - pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4990); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4897); iv_ruleDotDecimal=ruleDotDecimal(); state._fsp--; current =iv_ruleDotDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal5001); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal4908); } @@ -5290,7 +5240,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:2018: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:2001: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(); @@ -5301,27 +5251,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: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:2005: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:2006: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: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:2006: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:2006: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:2: (kw= '+' | kw= '-' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2006:2: (kw= '+' | kw= '-' )? int alt34=3; int LA34_0 = input.LA(1); - if ( (LA34_0==41) ) { + if ( (LA34_0==43) ) { alt34=1; } - else if ( (LA34_0==42) ) { + else if ( (LA34_0==44) ) { alt34=2; } switch (alt34) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2024:2: kw= '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2007:2: kw= '+' { - kw=(Token)match(input,41,FOLLOW_41_in_ruleDotDecimal5044); + kw=(Token)match(input,43,FOLLOW_43_in_ruleDotDecimal4951); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); @@ -5330,9 +5280,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:2031:2: kw= '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2014:2: kw= '-' { - kw=(Token)match(input,42,FOLLOW_42_in_ruleDotDecimal5063); + kw=(Token)match(input,44,FOLLOW_44_in_ruleDotDecimal4970); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -5343,12 +5293,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - kw=(Token)match(input,37,FOLLOW_37_in_ruleDotDecimal5078); + kw=(Token)match(input,39,FOLLOW_39_in_ruleDotDecimal4985); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5093); + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal5000); current.merge(this_INT_3); @@ -5379,7 +5329,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:2060: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:2043:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; public final String entryRuleDecimalDot() throws RecognitionException { String current = null; @@ -5390,17 +5340,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2047:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2048:2: iv_ruleDecimalDot= ruleDecimalDot EOF { newCompositeNode(grammarAccess.getDecimalDotRule()); - pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5149); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5056); iv_ruleDecimalDot=ruleDecimalDot(); state._fsp--; current =iv_ruleDecimalDot.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5160); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot5067); } @@ -5421,7 +5371,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:2075: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:2058: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(); @@ -5432,27 +5382,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: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:2062: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:2063: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: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:2063: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:2063: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:2: (kw= '+' | kw= '-' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2063:2: (kw= '+' | kw= '-' )? int alt35=3; int LA35_0 = input.LA(1); - if ( (LA35_0==41) ) { + if ( (LA35_0==43) ) { alt35=1; } - else if ( (LA35_0==42) ) { + else if ( (LA35_0==44) ) { alt35=2; } switch (alt35) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2081:2: kw= '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2064:2: kw= '+' { - kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalDot5203); + kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimalDot5110); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); @@ -5461,9 +5411,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:2088:2: kw= '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2071:2: kw= '-' { - kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalDot5222); + kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimalDot5129); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); @@ -5474,14 +5424,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5239); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5146); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimalDot5257); + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalDot5164); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); @@ -5510,7 +5460,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:2117: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:2100:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -5521,17 +5471,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: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 + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2104:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2105:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5308); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5215); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5319); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5226); } @@ -5552,41 +5502,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../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 ) ; + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2115:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); Token kw=null; Token this_INT_2=null; Token this_INT_4=null; - Token this_ID_5=null; - Token this_INT_8=null; + Token this_EXP_5=null; enterRule(); HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../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:2119:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2120:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) { - // ../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:2120:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2120:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP { - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:2: (kw= '+' | kw= '-' )? + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2120:2: (kw= '+' | kw= '-' )? int alt36=3; int LA36_0 = input.LA(1); - if ( (LA36_0==41) ) { + if ( (LA36_0==43) ) { alt36=1; } - else if ( (LA36_0==42) ) { + else if ( (LA36_0==44) ) { alt36=2; } switch (alt36) { case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2138:2: kw= '+' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2121:2: kw= '+' { - kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalExp5362); + kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimalExp5269); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -5595,9 +5544,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:2145:2: kw= '-' + // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2128:2: kw= '-' { - kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalExp5381); + kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimalExp5288); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -5608,74 +5557,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5398); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5305); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimalExp5416); + kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalExp5323); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5431); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5338); 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_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:2177:1: (kw= '+' | kw= '-' )? - int alt37=3; - int LA37_0 = input.LA(1); - - if ( (LA37_0==41) ) { - alt37=1; - } - else if ( (LA37_0==42) ) { - alt37=2; - } - switch (alt37) { - case 1 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2178:2: kw= '+' - { - kw=(Token)match(input,41,FOLLOW_41_in_ruleDecimalExp5470); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0()); - - - } - break; - case 2 : - // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2185:2: kw= '-' - { - kw=(Token)match(input,42,FOLLOW_42_in_ruleDecimalExp5489); - - current.merge(kw); - newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1()); - - - } - break; - - } - - this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5506); + this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp5358); - current.merge(this_INT_8); + current.merge(this_EXP_5); - newLeafNode(this_INT_8, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6()); + newLeafNode(this_EXP_5, grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4()); } @@ -5708,22 +5614,22 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { 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"; + "\3\6\1\47\1\uffff\1\6\1\10\3\uffff"; static final String DFA32_maxS = - "\1\52\3\45\1\uffff\2\46\3\uffff"; + "\1\54\3\47\1\uffff\2\50\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[] 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\3\40\uffff\1\4\3\uffff\1\1\1\2", + "\1\3\40\uffff\1\4", + "\1\3\40\uffff\1\4", "\1\5", "", - "\1\6\5\uffff\4\7\3\uffff\2\7\1\uffff\1\7\3\uffff\2\7\1\uffff"+ + "\1\6\6\uffff\3\7\5\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\10\4\uffff\3\11\5\uffff\2\11\1\uffff\1\11\3\uffff\2\11"+ "\1\uffff\2\11\7\uffff\1\11", "", "", @@ -5760,15 +5666,15 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { this.transition = DFA32_transition; } public String getDescription() { - return "1884:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + return "1867: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[]{0x0000000204585002L}); - public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000004585002L}); + public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x000000081160A002L}); + public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x000000001160A002L}); 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_ruleSubSystemConfig_in_ruleConfigElement247 = new BitSet(new long[]{0x0000000000000002L}); @@ -5777,184 +5683,183 @@ public class InternalConfigParser extends AbstractInternalAntlrParser { 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_13_in_ruleSubSystemConfig410 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleSubSystemConfig430 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleSubSystemConfig442 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_ruleDynamicConfig_in_ruleSubSystemConfig463 = new BitSet(new long[]{0x0000000000008000L}); + public static final BitSet FOLLOW_15_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}); + public static final BitSet FOLLOW_16_in_ruleDynamicConfig558 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleDynamicConfig570 = new BitSet(new long[]{0x0000000000160000L}); + public static final BitSet FOLLOW_17_in_ruleDynamicConfig629 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDynamicConfig646 = new BitSet(new long[]{0x0000000000168000L}); + public static final BitSet FOLLOW_18_in_ruleDynamicConfig672 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDynamicConfig689 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_19_in_ruleDynamicConfig708 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDynamicConfig725 = new BitSet(new long[]{0x0000000000168000L}); + public static final BitSet FOLLOW_20_in_ruleDynamicConfig800 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDynamicConfig817 = new BitSet(new long[]{0x0000000000168000L}); + public static final BitSet FOLLOW_15_in_ruleDynamicConfig881 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig917 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleActorClassConfig927 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_21_in_ruleActorClassConfig964 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleActorClassConfig987 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleActorClassConfig999 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig1020 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_15_in_ruleActorClassConfig1033 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1069 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleActorInstanceConfig1079 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_22_in_ruleActorInstanceConfig1161 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig1184 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_23_in_ruleActorInstanceConfig1196 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1217 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig1229 = new BitSet(new long[]{0x0000000030408002L}); + public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1250 = new BitSet(new long[]{0x0000000030408002L}); + public static final BitSet FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1328 = new BitSet(new long[]{0x0000000010008000L}); + public static final BitSet FOLLOW_15_in_ruleActorInstanceConfig1341 = new BitSet(new long[]{0x0000000010408002L}); + public static final BitSet FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1423 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleProtocolClassConfig1433 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_24_in_ruleProtocolClassConfig1470 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleProtocolClassConfig1493 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_ruleProtocolClassConfig1505 = new BitSet(new long[]{0x0000000006008000L}); + public static final BitSet FOLLOW_25_in_ruleProtocolClassConfig1563 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1584 = new BitSet(new long[]{0x0000000006008000L}); + public static final BitSet FOLLOW_26_in_ruleProtocolClassConfig1652 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1673 = new BitSet(new long[]{0x0000000006008000L}); + public static final BitSet FOLLOW_15_in_ruleProtocolClassConfig1726 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1762 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRulePortClassConfig1772 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_27_in_rulePortClassConfig1818 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_rulePortClassConfig1830 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1851 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_15_in_rulePortClassConfig1864 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1900 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRulePortInstanceConfig1910 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_28_in_rulePortInstanceConfig1947 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_rulePortInstanceConfig1967 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_14_in_rulePortInstanceConfig1979 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig2000 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_15_in_rulePortInstanceConfig2013 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2051 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig2061 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleAttrClassConfig2098 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig2118 = new BitSet(new long[]{0x0000000040004002L}); + public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2131 = new BitSet(new long[]{0x00001E80000000E0L}); + public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2152 = new BitSet(new long[]{0x0000000000004002L}); + public static final BitSet FOLLOW_14_in_ruleAttrClassConfig2167 = new BitSet(new long[]{0x00000001A0008000L}); + public static final BitSet FOLLOW_31_in_ruleAttrClassConfig2225 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2237 = new BitSet(new long[]{0x00001880000000C0L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2258 = new BitSet(new long[]{0x00000001A0008000L}); + public static final BitSet FOLLOW_32_in_ruleAttrClassConfig2326 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2338 = new BitSet(new long[]{0x00001880000000C0L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2359 = new BitSet(new long[]{0x00000001A0008000L}); + public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2421 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_15_in_ruleAttrClassConfig2434 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2472 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig2482 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleAttrInstanceConfig2519 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2539 = new BitSet(new long[]{0x0000000040004002L}); + public static final BitSet FOLLOW_30_in_ruleAttrInstanceConfig2552 = new BitSet(new long[]{0x00001E80000000E0L}); + public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2573 = new BitSet(new long[]{0x0000000000004002L}); + public static final BitSet FOLLOW_14_in_ruleAttrInstanceConfig2588 = new BitSet(new long[]{0x0000000020018000L}); + public static final BitSet FOLLOW_16_in_ruleAttrInstanceConfig2607 = new BitSet(new long[]{0x0000000600000000L}); + public static final BitSet FOLLOW_33_in_ruleAttrInstanceConfig2639 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_34_in_ruleAttrInstanceConfig2670 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2694 = new BitSet(new long[]{0x0000000020008000L}); + public static final BitSet FOLLOW_15_in_ruleAttrInstanceConfig2707 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath2745 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRefPath2755 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2797 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_23_in_ruleRefPath2815 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2832 = new BitSet(new long[]{0x0000000000800002L}); + public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2875 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImport2885 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_35_in_ruleImport2922 = new BitSet(new long[]{0x0000002000000010L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2945 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_36_in_ruleImport2957 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_37_in_ruleImport2976 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2994 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN3036 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN3047 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN3094 = new BitSet(new long[]{0x0000004000000002L}); + public static final BitSet FOLLOW_38_in_ruleImportedFQN3113 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3156 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleFQN3167 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3207 = new BitSet(new long[]{0x0000008000000002L}); + public static final BitSet FOLLOW_39_in_ruleFQN3226 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3241 = new BitSet(new long[]{0x0000008000000002L}); + public static final BitSet FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3288 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteralArray3298 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3344 = new BitSet(new long[]{0x0000010000000002L}); + public static final BitSet FOLLOW_40_in_ruleLiteralArray3357 = new BitSet(new long[]{0x00001E80000000E0L}); + public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3378 = new BitSet(new long[]{0x0000010000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3416 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3426 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3473 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3500 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3527 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3562 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral3572 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_41_in_ruleBooleanLiteral3619 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_42_in_ruleBooleanLiteral3643 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3693 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral3703 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3750 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3777 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3812 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral3822 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral3877 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3913 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral3923 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral3978 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral4014 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral4024 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral4075 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger4117 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInteger4128 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger4175 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger4208 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4260 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger4271 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleSignedInteger4314 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_44_in_ruleSignedInteger4333 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger4350 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4406 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal4417 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal4460 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4509 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleReal4520 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_ruleReal4567 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal4600 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal4633 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal4666 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal4718 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimal4729 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleDecimal4772 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_44_in_ruleDecimal4791 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4808 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_39_in_ruleDecimal4826 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4841 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4897 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal4908 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleDotDecimal4951 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_44_in_ruleDotDecimal4970 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_39_in_ruleDotDecimal4985 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal5000 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot5056 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot5067 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleDecimalDot5110 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_44_in_ruleDecimalDot5129 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot5146 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_39_in_ruleDecimalDot5164 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5215 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp5226 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_43_in_ruleDecimalExp5269 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_44_in_ruleDecimalExp5288 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5305 = new BitSet(new long[]{0x0000008000000000L}); + public static final BitSet FOLLOW_39_in_ruleDecimalExp5323 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5338 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp5358 = 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 87f46d5ec..43e7ff03f 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 @@ -208,7 +208,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer { /** * Constraint: - * (attribute=[Attribute|ID] value=LiteralArray? ((dynConfig?='dynamic configuration' readOnly?='read-only'?)? attributes+=AttrInstanceConfig*)?) + * (attribute=[Attribute|ID] value=LiteralArray? ((dynConfig?='dynamic configuration' readOnly?='read'?)? attributes+=AttrInstanceConfig*)?) */ protected void sequence_AttrInstanceConfig(EObject context, AttrInstanceConfig semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -235,7 +235,7 @@ public class AbstractConfigSemanticSequencer extends AbstractSemanticSequencer { /** * Constraint: - * (source=STRING filePath=STRING? polling=INT) + * ((filePath=STRING | (userCode1=STRING userCode2=STRING)) polling=INT?) */ protected void sequence_DynamicConfig(EObject context, DynamicConfig semanticObject) { genericSequencer.createSequence(context, semanticObject); 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 786ffc2a6..ee8016632 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 @@ -21,7 +21,7 @@ public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer 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; + protected AbstractElementAlias match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q; @Inject protected void init(IGrammarAccess access) { @@ -29,7 +29,7 @@ public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer 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())); + match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_3())); } @Override @@ -50,8 +50,8 @@ public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer 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 if(match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q.equals(syntax)) + emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q(semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } } @@ -84,7 +84,7 @@ public class AbstractConfigSyntacticSequencer extends AbstractSyntacticSequencer * Syntax: * ('{' '}')? */ - protected void emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List nodes) { + protected void emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_3__q(EObject semanticObject, ISynNavigable transition, List 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 c51008d68..457d54fc0 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 @@ -25,10 +25,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final Assignment cConfigElementsAssignment_1 = (Assignment)cGroup.eContents().get(1); private final RuleCall cConfigElementsConfigElementParserRuleCall_1_0 = (RuleCall)cConfigElementsAssignment_1.eContents().get(0); - /// * - // * Postprocessor: - // * getActor(Class|Instance)Config() - // * / ConfigModel: + //ConfigModel: // imports+=Import* configElements+=ConfigElement*; public ParserRule getRule() { return rule; } @@ -126,25 +123,33 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { 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 Alternatives cAlternatives_2_0 = (Alternatives)cUnorderedGroup_2.eContents().get(0); + private final Group cGroup_2_0_0 = (Group)cAlternatives_2_0.eContents().get(0); + private final Keyword cFilePathKeyword_2_0_0_0 = (Keyword)cGroup_2_0_0.eContents().get(0); + private final Assignment cFilePathAssignment_2_0_0_1 = (Assignment)cGroup_2_0_0.eContents().get(1); + private final RuleCall cFilePathSTRINGTerminalRuleCall_2_0_0_1_0 = (RuleCall)cFilePathAssignment_2_0_0_1.eContents().get(0); + private final Group cGroup_2_0_1 = (Group)cAlternatives_2_0.eContents().get(1); + private final Group cGroup_2_0_1_0 = (Group)cGroup_2_0_1.eContents().get(0); + private final Keyword cUserImportKeyword_2_0_1_0_0 = (Keyword)cGroup_2_0_1_0.eContents().get(0); + private final Assignment cUserCode1Assignment_2_0_1_0_1 = (Assignment)cGroup_2_0_1_0.eContents().get(1); + private final RuleCall cUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0 = (RuleCall)cUserCode1Assignment_2_0_1_0_1.eContents().get(0); + private final Group cGroup_2_0_1_1 = (Group)cGroup_2_0_1.eContents().get(1); + private final Keyword cUserConstructorKeyword_2_0_1_1_0 = (Keyword)cGroup_2_0_1_1.eContents().get(0); + private final Assignment cUserCode2Assignment_2_0_1_1_1 = (Assignment)cGroup_2_0_1_1.eContents().get(1); + private final RuleCall cUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0 = (RuleCall)cUserCode2Assignment_2_0_1_1_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 Keyword cPollingTimerMsKeyword_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) "}"; + // "dynamic configuration" "{" (("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" + // userCode2=STRING)) & ("polling timer [ms]" polling=INT)?) "}"; public ParserRule getRule() { return rule; } - //"dynamic configuration" "{" ("source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT) "}" + //"dynamic configuration" "{" (("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" + //userCode2=STRING)) & ("polling timer [ms]" polling=INT)?) "}" public Group getGroup() { return cGroup; } //"dynamic configuration" @@ -153,38 +158,57 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { //"{" public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } - //"source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT + //("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" userCode2=STRING)) & + //("polling timer [ms]" 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; } + //"file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" userCode2=STRING) + public Alternatives getAlternatives_2_0() { return cAlternatives_2_0; } - //"source" - public Keyword getSourceKeyword_2_0_0() { return cSourceKeyword_2_0_0; } + //"file path" filePath=STRING + public Group getGroup_2_0_0() { return cGroup_2_0_0; } - //source=STRING - public Assignment getSourceAssignment_2_0_1() { return cSourceAssignment_2_0_1; } + //"file path" + public Keyword getFilePathKeyword_2_0_0_0() { return cFilePathKeyword_2_0_0_0; } + + //filePath=STRING + public Assignment getFilePathAssignment_2_0_0_1() { return cFilePathAssignment_2_0_0_1; } //STRING - public RuleCall getSourceSTRINGTerminalRuleCall_2_0_1_0() { return cSourceSTRINGTerminalRuleCall_2_0_1_0; } + public RuleCall getFilePathSTRINGTerminalRuleCall_2_0_0_1_0() { return cFilePathSTRINGTerminalRuleCall_2_0_0_1_0; } - //("file path" filePath=STRING)? - public Group getGroup_2_0_2() { return cGroup_2_0_2; } + //("user import" userCode1=STRING) ("user constructor" userCode2=STRING) + public Group getGroup_2_0_1() { return cGroup_2_0_1; } - //"file path" - public Keyword getFilePathKeyword_2_0_2_0() { return cFilePathKeyword_2_0_2_0; } + //"user import" userCode1=STRING + public Group getGroup_2_0_1_0() { return cGroup_2_0_1_0; } - //filePath=STRING - public Assignment getFilePathAssignment_2_0_2_1() { return cFilePathAssignment_2_0_2_1; } + //"user import" + public Keyword getUserImportKeyword_2_0_1_0_0() { return cUserImportKeyword_2_0_1_0_0; } + + //userCode1=STRING + public Assignment getUserCode1Assignment_2_0_1_0_1() { return cUserCode1Assignment_2_0_1_0_1; } //STRING - public RuleCall getFilePathSTRINGTerminalRuleCall_2_0_2_1_0() { return cFilePathSTRINGTerminalRuleCall_2_0_2_1_0; } + public RuleCall getUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0() { return cUserCode1STRINGTerminalRuleCall_2_0_1_0_1_0; } + + //"user constructor" userCode2=STRING + public Group getGroup_2_0_1_1() { return cGroup_2_0_1_1; } + + //"user constructor" + public Keyword getUserConstructorKeyword_2_0_1_1_0() { return cUserConstructorKeyword_2_0_1_1_0; } - //"polling rate" polling=INT + //userCode2=STRING + public Assignment getUserCode2Assignment_2_0_1_1_1() { return cUserCode2Assignment_2_0_1_1_1; } + + //STRING + public RuleCall getUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0() { return cUserCode2STRINGTerminalRuleCall_2_0_1_1_1_0; } + + //("polling timer [ms]" 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 timer [ms]" + public Keyword getPollingTimerMsKeyword_2_1_0() { return cPollingTimerMsKeyword_2_1_0; } //polling=INT public Assignment getPollingAssignment_2_1_1() { return cPollingAssignment_2_1_1; } @@ -632,25 +656,24 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { 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); + private final Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1); + private final Assignment cDynConfigAssignment_3_1_0 = (Assignment)cGroup_3_1.eContents().get(0); + private final Keyword cDynConfigDynamicConfigurationKeyword_3_1_0_0 = (Keyword)cDynConfigAssignment_3_1_0.eContents().get(0); + private final Alternatives cAlternatives_3_1_1 = (Alternatives)cGroup_3_1.eContents().get(1); + private final Assignment cReadOnlyAssignment_3_1_1_0 = (Assignment)cAlternatives_3_1_1.eContents().get(0); + private final Keyword cReadOnlyReadKeyword_3_1_1_0_0 = (Keyword)cReadOnlyAssignment_3_1_1_0.eContents().get(0); + private final Keyword cWriteKeyword_3_1_1_1 = (Keyword)cAlternatives_3_1_1.eContents().get(1); + private final Assignment cAttributesAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); + private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_2_0 = (RuleCall)cAttributesAssignment_3_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); //AttrInstanceConfig: - // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration" - // (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")?; + // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (dynConfig?="dynamic configuration" + // (readOnly?="read" | "write"))? attributes+=AttrInstanceConfig* "}")?; public ParserRule getRule() { return rule; } - //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration" - //(readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")? + //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (dynConfig?="dynamic configuration" (readOnly?="read" + //| "write"))? attributes+=AttrInstanceConfig* "}")? public Group getGroup() { return cGroup; } //"Attr" @@ -677,45 +700,41 @@ 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*) - //"}")? + //("{" (dynConfig?="dynamic configuration" (readOnly?="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" (readOnly?="read" | "write"))? + public Group getGroup_3_1() { return cGroup_3_1; } //dynConfig?="dynamic configuration" - public Assignment getDynConfigAssignment_3_1_0_0() { return cDynConfigAssignment_3_1_0_0; } + public Assignment getDynConfigAssignment_3_1_0() { return cDynConfigAssignment_3_1_0; } //"dynamic configuration" - public Keyword getDynConfigDynamicConfigurationKeyword_3_1_0_0_0() { return cDynConfigDynamicConfigurationKeyword_3_1_0_0_0; } + public Keyword getDynConfigDynamicConfigurationKeyword_3_1_0_0() { return cDynConfigDynamicConfigurationKeyword_3_1_0_0; } - //readOnly?="read-only" | "read-write" - public Alternatives getAlternatives_3_1_0_1() { return cAlternatives_3_1_0_1; } + //readOnly?="read" | "write" + public Alternatives getAlternatives_3_1_1() { return cAlternatives_3_1_1; } - //readOnly?="read-only" - public Assignment getReadOnlyAssignment_3_1_0_1_0() { return cReadOnlyAssignment_3_1_0_1_0; } + //readOnly?="read" + public Assignment getReadOnlyAssignment_3_1_1_0() { return cReadOnlyAssignment_3_1_1_0; } - //"read-only" - public Keyword getReadOnlyReadOnlyKeyword_3_1_0_1_0_0() { return cReadOnlyReadOnlyKeyword_3_1_0_1_0_0; } + //"read" + public Keyword getReadOnlyReadKeyword_3_1_1_0_0() { return cReadOnlyReadKeyword_3_1_1_0_0; } - //"read-write" - public Keyword getReadWriteKeyword_3_1_0_1_1() { return cReadWriteKeyword_3_1_0_1_1; } + //"write" + public Keyword getWriteKeyword_3_1_1_1() { return cWriteKeyword_3_1_1_1; } //attributes+=AttrInstanceConfig* - public Assignment getAttributesAssignment_3_1_1() { return cAttributesAssignment_3_1_1; } + public Assignment getAttributesAssignment_3_2() { return cAttributesAssignment_3_2; } //AttrInstanceConfig - public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_1_1_0; } + public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_2_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_2_0; } //"}" - public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; } + public Keyword getRightCurlyBracketKeyword_3_3() { return cRightCurlyBracketKeyword_3_3; } } public class RefPathElements extends AbstractParserRuleElementFinder { @@ -1062,7 +1081,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cSignedIntegerParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); private final RuleCall cHexadecimalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - //Integer returns ecore::EInt: + //Integer returns ecore::ELong: // SignedInteger | Hexadecimal; public ParserRule getRule() { return rule; } @@ -1253,17 +1272,13 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1); private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); private final RuleCall cINTTerminalRuleCall_3 = (RuleCall)cGroup.eContents().get(3); - private final RuleCall cIDTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); - private final Alternatives cAlternatives_5 = (Alternatives)cGroup.eContents().get(5); - private final Keyword cPlusSignKeyword_5_0 = (Keyword)cAlternatives_5.eContents().get(0); - private final Keyword cHyphenMinusKeyword_5_1 = (Keyword)cAlternatives_5.eContents().get(1); - private final RuleCall cINTTerminalRuleCall_6 = (RuleCall)cGroup.eContents().get(6); + private final RuleCall cEXPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4); //DecimalExp hidden(): - // ("+" | "-")? INT "." INT ID ("+" | "-")? INT; + // ("+" | "-")? INT "." INT EXP; public ParserRule getRule() { return rule; } - //("+" | "-")? INT "." INT ID ("+" | "-")? INT + //("+" | "-")? INT "." INT EXP public Group getGroup() { return cGroup; } //("+" | "-")? @@ -1284,20 +1299,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { //INT public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; } - //ID - public RuleCall getIDTerminalRuleCall_4() { return cIDTerminalRuleCall_4; } - - //("+" | "-")? - public Alternatives getAlternatives_5() { return cAlternatives_5; } - - //"+" - public Keyword getPlusSignKeyword_5_0() { return cPlusSignKeyword_5_0; } - - //"-" - public Keyword getHyphenMinusKeyword_5_1() { return cHyphenMinusKeyword_5_1; } - - //INT - public RuleCall getINTTerminalRuleCall_6() { return cINTTerminalRuleCall_6; } + //EXP + public RuleCall getEXPTerminalRuleCall_4() { return cEXPTerminalRuleCall_4; } } @@ -1332,6 +1335,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { private DotDecimalElements pDotDecimal; private DecimalDotElements pDecimalDot; private DecimalExpElements pDecimalExp; + private TerminalRule tEXP; private TerminalRule tHEX; private final GrammarProvider grammarProvider; @@ -1355,10 +1359,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { } - /// * - // * Postprocessor: - // * getActor(Class|Instance)Config() - // * / ConfigModel: + //ConfigModel: // imports+=Import* configElements+=ConfigElement*; public ConfigModelElements getConfigModelAccess() { return (pConfigModel != null) ? pConfigModel : (pConfigModel = new ConfigModelElements()); @@ -1389,7 +1390,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { } //DynamicConfig: - // "dynamic configuration" "{" ("source" source=STRING ("file path" filePath=STRING)? & "polling rate" polling=INT) "}"; + // "dynamic configuration" "{" (("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" + // userCode2=STRING)) & ("polling timer [ms]" polling=INT)?) "}"; public DynamicConfigElements getDynamicConfigAccess() { return (pDynamicConfig != null) ? pDynamicConfig : (pDynamicConfig = new DynamicConfigElements()); } @@ -1493,8 +1495,8 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { } //AttrInstanceConfig: - // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration" - // (readOnly?="read-only" | "read-write"))? & attributes+=AttrInstanceConfig*) "}")?; + // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (dynConfig?="dynamic configuration" + // (readOnly?="read" | "write"))? attributes+=AttrInstanceConfig* "}")?; public AttrInstanceConfigElements getAttrInstanceConfigAccess() { return (pAttrInstanceConfig != null) ? pAttrInstanceConfig : (pAttrInstanceConfig = new AttrInstanceConfigElements()); } @@ -1635,7 +1637,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getStringLiteralAccess().getRule(); } - //Integer returns ecore::EInt: + //Integer returns ecore::ELong: // SignedInteger | Hexadecimal; public IntegerElements getIntegerAccess() { return (pInteger != null) ? pInteger : (pInteger = new IntegerElements()); @@ -1706,7 +1708,7 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { } //DecimalExp hidden(): - // ("+" | "-")? INT "." INT ID ("+" | "-")? INT; + // ("+" | "-")? INT "." INT EXP; public DecimalExpElements getDecimalExpAccess() { return (pDecimalExp != null) ? pDecimalExp : (pDecimalExp = new DecimalExpElements()); } @@ -1715,8 +1717,12 @@ public class ConfigGrammarAccess extends AbstractGrammarElementFinder { return getDecimalExpAccess().getRule(); } - ////DecimalPosExp hidden(): - //// ('+' | '-')? INT '.' INT ID; + //terminal EXP: + // ("e" | "E") ("+" | "-")? "0".."9"+; + public TerminalRule getEXPRule() { + return (tEXP != null) ? tEXP : (tEXP = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "EXP")); + } + //terminal HEX: // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F")+; public TerminalRule getHEXRule() { diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext index 4fb2f813b..d08d44d17 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/Config.xtext @@ -13,12 +13,8 @@ grammar org.eclipse.etrice.core.Config with org.eclipse.xtext.common.Terminals generate config "http://www.eclipse.org/etrice/core/Config" import "http://www.eclipse.org/emf/2002/Ecore" as ecore -import 'platform:/resource/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore' as room +import "platform:/resource/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore" as room -/* - * Postprocessor: - * getActor(Class|Instance)Config() - */ ConfigModel: imports+=Import* configElements+=ConfigElement*; @@ -33,9 +29,10 @@ SubSystemConfig: DynamicConfig: 'dynamic configuration' '{' - (('source' source=STRING - ('file path' filePath=STRING)?) & - ('polling rate' polling=INT)) + ((('file path' filePath=STRING) | + (('user import' userCode1=STRING) + ('user constructor' userCode2=STRING))) & + ('polling timer [ms]' polling=INT)?) '}'; /* @@ -102,8 +99,8 @@ AttrClassConfig: AttrInstanceConfig: 'Attr' attribute=[room::Attribute] ('=' value=LiteralArray)? ('{' - ((dynConfig?='dynamic configuration' (readOnly?='read-only' | 'read-write'))? & - (attributes+=AttrInstanceConfig*)) + (dynConfig?='dynamic configuration' (readOnly?='read' | 'write'))? + attributes+=AttrInstanceConfig* '}')?; /* @@ -166,7 +163,7 @@ IntLiteral: StringLiteral: {StringLiteral} value=STRING; -Integer returns ecore::EInt: +Integer returns ecore::ELong: SignedInteger | Hexadecimal; SignedInteger hidden(): @@ -188,8 +185,10 @@ DecimalDot hidden(): ('+' | '-')? INT '.'; DecimalExp hidden(): - ('+' | '-')? INT '.' INT ID ('+' | '-')? INT; - //DecimalPosExp hidden(): -// ('+' | '-')? INT '.' INT ID; + ('+' | '-')? INT '.' INT EXP; + +terminal EXP: + ('e'|'E') ('+' | '-')? ('0'..'9')+; + terminal HEX: ('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F')+; diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext index 1cb017efa..d785f05db 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/ConfigPostprocessor.ext @@ -52,6 +52,15 @@ process(EClass this) : if(element instanceof ProtocolClassConfig) list.add((ProtocolClassConfig) element); return list;' + )->addOperation( + "getSubSystemConfigs", + ePackage.getEClassifier("SubSystemConfig"), + -1, + 'EList list = new org.eclipse.emf.common.util.BasicEList(); + for(ConfigElement element : this.getConfigElements()) + if(element instanceof SubSystemConfig) + list.add((SubSystemConfig) element); + return list;' )) default: null } diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java index cb4540d32..1806e6a95 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/config/util/ConfigUtil.java @@ -16,10 +16,7 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.eclipse.etrice.core.config.IntLiteral; -import org.eclipse.etrice.core.config.NumberLiteral; import org.eclipse.etrice.core.config.PortInstanceConfig; -import org.eclipse.etrice.core.config.RealLiteral; import org.eclipse.etrice.core.config.RefPath; import org.eclipse.etrice.core.room.ActorClass; import org.eclipse.etrice.core.room.ActorContainerClass; @@ -54,11 +51,11 @@ public class ConfigUtil { return null; } - public static ActorContainerClass resolve(ActorContainerClass root, + public static ActorClass resolve(ActorContainerClass root, RefPath path) { - if (path == null) - return root; - + if(path.getRefs().isEmpty()) + return null; + ActorContainerClass result = root; for (String ref : path.getRefs()) { ActorRef match = null; @@ -74,7 +71,7 @@ public class ConfigUtil { result = match.getType(); } - return result; + return (ActorClass) result; } /** @@ -124,18 +121,6 @@ public class ConfigUtil { return null; } - public static double literalToDouble(NumberLiteral number) { - double dValue = 0; - if (number instanceof IntLiteral) - dValue = ((IntLiteral) number).getValue(); - else if (number instanceof RealLiteral) - dValue = ((RealLiteral) number).getValue(); - else - assert (false) : "unexpected type"; - - return dValue; - } - public static PortClass getPortClass(PortInstanceConfig config) { InterfaceItem item = config.getItem(); PortClass portClass = null; diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/converter/ConfigValueConverterService.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/converter/ConfigValueConverterService.java index 68634f13b..c88c8b7d0 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/converter/ConfigValueConverterService.java +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/converter/ConfigValueConverterService.java @@ -16,14 +16,14 @@ import org.eclipse.xtext.conversion.IValueConverter; import org.eclipse.xtext.conversion.ValueConverter; import org.eclipse.xtext.conversion.ValueConverterException; import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter; -import org.eclipse.xtext.conversion.impl.INTValueConverter; import org.eclipse.xtext.nodemodel.INode; +import org.eclipse.xtext.util.Strings; public class ConfigValueConverterService extends DefaultTerminalConverters { @ValueConverter(rule = "Integer") - public IValueConverter getIntegerConverter() { - return new IntegerConverter(); + public IValueConverter getLongConverter() { + return new LongConverter(); } @ValueConverter(rule = "Real") @@ -31,23 +31,31 @@ public class ConfigValueConverterService extends DefaultTerminalConverters { return new DoubleConverter(); } - public class IntegerConverter extends INTValueConverter { + public class LongConverter extends AbstractLexerBasedConverter { @Override - public Integer toValue(String string, INode node) + public Long toValue(String string, INode node) throws ValueConverterException { + if (Strings.isEmpty(string)) + throw new ValueConverterException( + "Couldn't convert empty string to integer.", node, null); if (string.startsWith("0x") || string.startsWith("0X")) { try { - int value = Integer.parseInt(string.substring(2), 16); + long value = Long.parseLong(string.substring(2), 16); return value; } catch (NumberFormatException e) { throw new ValueConverterException("Couldn't convert '" + string + "' to hex.", node, e); } - } else if (string.startsWith("+")) - return toValue(string.substring(1), node); - else - return super.toValue(string, node); + } else { + try { + long value = Long.parseLong(string); + return value; + } catch (NumberFormatException e) { + throw new ValueConverterException("Couldn't convert '" + + string + "' to integer.", node, e); + } + } } } @@ -56,12 +64,15 @@ public class ConfigValueConverterService extends DefaultTerminalConverters { @Override public Double toValue(String string, INode node) throws ValueConverterException { + if (Strings.isEmpty(string)) + throw new ValueConverterException( + "Couldn't convert empty string to double.", node, null); try { double value = Double.parseDouble(string); return value; } catch (NumberFormatException e) { throw new ValueConverterException("Couldn't convert '" + string - + "' to double.", node, null); + + "' to double.", node, e); } } diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java index 0502260cf..a45a48cac 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/formatting/ConfigFormatter.java @@ -26,7 +26,7 @@ public class ConfigFormatter extends AbstractDeclarativeFormatter { // general c.setAutoLinewrap(120); - c.setLinewrap(2).before(f.getSL_COMMENTRule()); + c.setLinewrap(1).before(f.getSL_COMMENTRule()); c.setLinewrap(2).before(f.getML_COMMENTRule()); for (Pair pair : f.findKeywordPairs("{", "}")) { diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java index 86dd605cc..b8fdae79b 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/scoping/ConfigScopeProvider.java @@ -23,7 +23,6 @@ import org.eclipse.etrice.core.config.PortInstanceConfig; import org.eclipse.etrice.core.config.ProtocolClassConfig; import org.eclipse.etrice.core.config.util.ConfigUtil; import org.eclipse.etrice.core.room.ActorClass; -import org.eclipse.etrice.core.room.ActorContainerClass; import org.eclipse.etrice.core.room.Attribute; import org.eclipse.etrice.core.room.DataClass; import org.eclipse.etrice.core.room.InterfaceItem; @@ -53,10 +52,10 @@ public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider { .eContainer(); SubSystemClass subsystem = actorConfig.getRoot(); if (subsystem != null) { - ActorContainerClass acc = ConfigUtil.resolve(subsystem, - actorConfig.getPath()); + ActorClass ac = ConfigUtil + .resolve(subsystem, actorConfig.getPath()); for (InterfaceItem item : ConfigUtil.getConfigurableInterfaceItems( - acc, true)) + ac, true)) scopes.add(EObjectDescription.create(item.getName(), item)); } @@ -104,13 +103,9 @@ public class ConfigScopeProvider extends AbstractDeclarativeScopeProvider { List scopes) { SubSystemClass subsystem = config.getRoot(); if (subsystem != null) { - ActorContainerClass actor = ConfigUtil.resolve(subsystem, - config.getPath()); - if (actor instanceof ActorClass) { - for (Attribute att : RoomHelpers - .getAllAttributes((ActorClass) actor)) { - scopes.add(EObjectDescription.create(att.getName(), att)); - } + ActorClass actor = ConfigUtil.resolve(subsystem, config.getPath()); + for (Attribute att : RoomHelpers.getAllAttributes(actor)) { + scopes.add(EObjectDescription.create(att.getName(), att)); } } } diff --git a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java index 8cfb7ab98..40c2f930d 100644 --- a/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java +++ b/plugins/org.eclipse.etrice.core.config/src/org/eclipse/etrice/core/validation/ConfigJavaValidator.java @@ -18,6 +18,7 @@ import java.util.Set; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.etrice.core.config.ActorClassConfig; import org.eclipse.etrice.core.config.ActorInstanceConfig; import org.eclipse.etrice.core.config.AttrClassConfig; @@ -35,7 +36,9 @@ 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.config.util.ConfigUtil; +import org.eclipse.etrice.core.converter.ConfigValueConverterService; import org.eclipse.etrice.core.room.ActorClass; import org.eclipse.etrice.core.room.ActorContainerClass; import org.eclipse.etrice.core.room.Attribute; @@ -44,10 +47,14 @@ import org.eclipse.etrice.core.room.InterfaceItem; import org.eclipse.etrice.core.room.LiteralType; import org.eclipse.etrice.core.room.PrimitiveType; import org.eclipse.etrice.core.room.ProtocolClass; +import org.eclipse.etrice.core.room.SubSystemClass; +import org.eclipse.xtext.conversion.ValueConverterException; import org.eclipse.xtext.validation.Check; public class ConfigJavaValidator extends AbstractConfigJavaValidator { + private ConfigValueConverterService converter = new ConfigValueConverterService(); + @Check public void checkConfigModel(ConfigModel model) { // duplicate actor class config check @@ -184,10 +191,27 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { if (attr == null) return; - if(config.eContainer() instanceof AttrConfig){ - if(config.isDynConfig()) - error("only allowed for parent attribute", ConfigPackage.eINSTANCE.getAttrInstanceConfig_DynConfig()); + EStructuralFeature feature = ConfigPackage.eINSTANCE + .getAttrInstanceConfig_DynConfig(); + if (config.isDynConfig()) { + if (!(config.eContainer() instanceof ActorInstanceConfig)) + error("dynamic configuration only at root attributes", feature); + if(config.eContainer() instanceof ActorInstanceConfig){ + SubSystemClass ssc = ((ActorInstanceConfig)config.eContainer()).getRoot(); + ConfigModel model = getConfigModel(config); + boolean found = false; + for(SubSystemConfig c : model.getSubSystemConfigs()) + if(c.getSubSystem().equals(ssc)){ + if(c.getDynConfig() == null) + error("no source for dynamic config in SubSystemConfig", feature); + found = true; + } + if(!found) + error("no SubSystemConfig found", feature); + + } } + } private void checkAttrConfigValue(PrimitiveType primitive, AttrConfig config) { @@ -201,10 +225,13 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { LiteralType type = primitive.getType(); Attribute attribute = config.getAttribute(); int attrMult = (attribute.getSize() > 0) ? attribute.getSize() : 1; - if (values.size() > attrMult) - error("too many values, multiplicity is " + attrMult, valueRef); - if (values.size() > 1 && values.size() < attrMult) - error("not enough values, multiplicity is " + attrMult, valueRef); + if (type != LiteralType.CHAR) { + if (values.size() > attrMult) + error("too many values, multiplicity is " + attrMult, valueRef); + if (values.size() > 1 && values.size() < attrMult) + error("not enough values, multiplicity is " + attrMult, + valueRef); + } // type check for (Literal value : values) { switch (type) { @@ -227,7 +254,8 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { if (values.size() > 1) error("multiplicity must be one", valueRef); StringLiteral strValue = (StringLiteral) value; - if (attrMult < strValue.getValue().length()) + if (attribute.getSize() > 0 + && attrMult < strValue.getValue().length()) error("too many characters - maximal length is " + attrMult, valueRef); } @@ -270,21 +298,38 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { if (!(value instanceof NumberLiteral)) continue; - double dValue = ConfigUtil - .literalToDouble((NumberLiteral) value); - if (min != null) { - double dMin = ConfigUtil.literalToDouble(min); - if (dMin > dValue) - error("value is less than minimum", - attrClassConfig.getValue(), arrayRef, - values.indexOf(value)); - } - if (max != null) { - double dMax = ConfigUtil.literalToDouble(max); - if (dMax < dValue) - error("value exceeds maximum", - attrClassConfig.getValue(), arrayRef, - values.indexOf(value)); + if (value instanceof RealLiteral) { + double dbValue = ((RealLiteral) value).getValue(); + if (min instanceof RealLiteral) { + double dbMin = ((RealLiteral) min).getValue(); + if (dbMin > dbValue) + error("value is less than minimum", + config.getValue(), arrayRef, + values.indexOf(value)); + } + if (max instanceof RealLiteral) { + double dbMax = ((RealLiteral) max).getValue(); + if (dbMax < dbValue) + error("value exceeds maximum", + config.getValue(), arrayRef, + values.indexOf(value)); + } + } else if (value instanceof IntLiteral) { + long lValue = ((IntLiteral) value).getValue(); + if (min instanceof IntLiteral) { + long lMin = ((IntLiteral) min).getValue(); + if (lMin > lValue) + error("value is less than minimum", + config.getValue(), arrayRef, + values.indexOf(value)); + } + if (max instanceof IntLiteral) { + long lMax = ((IntLiteral) max).getValue(); + if (lMax < lValue) + error("value exceeds maximum", + config.getValue(), arrayRef, + values.indexOf(value)); + } } } } @@ -299,29 +344,58 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { EReference minRef = ConfigPackage.eINSTANCE.getAttrClassConfig_Min(); LiteralType type = primitive.getType(); - switch (type) { - case INT: - if (config instanceof RealLiteral) - error("must be an integer", minRef); - break; - default: - if (config != null) - error("no minimum allowed", minRef); - } if (type == LiteralType.INT || type == LiteralType.REAL) { + if (config.getValue() != null) { + if (config.getValue().getLiterals().get(0) instanceof IntLiteral) { + if (!(min instanceof IntLiteral)) + error("incompatible datatype: maximum is not int", + minRef); + } else if (config.getValue().getLiterals().get(0) instanceof RealLiteral) { + if (!(min instanceof RealLiteral)) + error("incompatible datatype: maximum is not real", + minRef); + } + } // check room default if config default is not set - if (config.getValue() == null) { - double dMin = ConfigUtil.literalToDouble(min); - String defaultValue = config.getAttribute() - .getDefaultValueLiteral(); - try { - double dDefaulValue = Double.parseDouble(defaultValue); - if (dMin > dDefaulValue) - error("default value in ROOM model is less than this minimun", + String defaultValue = config.getAttribute() + .getDefaultValueLiteral(); + if (config.getValue() == null && defaultValue != null) { + if (type == LiteralType.INT) { + if (min instanceof IntLiteral) { + try { + long lDefaultValue = converter.getLongConverter() + .toValue(defaultValue, null); + long lMax = ((IntLiteral) min).getValue(); + if (lMax < lDefaultValue) + error("default value in ROOM model is less than this maximum", + minRef); + } catch (ValueConverterException e) { + warning("could not compare with int value in ROOM model (parse error)", + minRef); + } + } else + warning("could not compare with int value in ROOM model (incompatible datatypes)", + minRef); + } else if (type == LiteralType.REAL) { + if (min instanceof RealLiteral) { + try { + double dbDefaultValue = converter + .getRealConverter().toValue(defaultValue, + null); + double dbMax = ((RealLiteral) min).getValue(); + if (dbMax < dbDefaultValue) + error("default value in ROOM model is less than this maximum", + minRef); + } catch (ValueConverterException e1) { + warning("could not compare with real value in ROOM model (parse error)", + minRef); + } + } else + warning("could not compare with real value in ROOM model (incompatible datatypes)", minRef); - } catch (NumberFormatException e) { } + } } @@ -335,29 +409,58 @@ public class ConfigJavaValidator extends AbstractConfigJavaValidator { EReference maxRef = ConfigPackage.eINSTANCE.getAttrClassConfig_Max(); LiteralType type = primitive.getType(); - switch (type) { - case INT: - if (max instanceof RealLiteral) - error("must be an integer", maxRef); - break; - default: - if (max != null) - error("no maximum allowed", maxRef); - } if (type == LiteralType.INT || type == LiteralType.REAL) { + if (config.getValue() != null) { + if (config.getValue().getLiterals().get(0) instanceof IntLiteral) { + if (!(max instanceof IntLiteral)) + error("incompatible datatype: maximum is not int", + maxRef); + } else if (config.getValue().getLiterals().get(0) instanceof RealLiteral) { + if (!(max instanceof RealLiteral)) + error("incompatible datatype: maximum is not real", + maxRef); + } + } // check room default if config default is not set - if (config.getValue() == null) { - double dMax = ConfigUtil.literalToDouble(max); - String defaultValue = config.getAttribute() - .getDefaultValueLiteral(); - try { - double dDefaulValue = Double.parseDouble(defaultValue); - if (dMax < dDefaulValue) - error("default value in ROOM model exceeds this maximum", + String defaultValue = config.getAttribute() + .getDefaultValueLiteral(); + if (config.getValue() == null && defaultValue != null) { + if (type == LiteralType.INT) { + if (max instanceof IntLiteral) { + try { + long lDefaultValue = converter.getLongConverter() + .toValue(defaultValue, null); + long lMax = ((IntLiteral) max).getValue(); + if (lMax < lDefaultValue) + error("default value in ROOM model exceeds this maximum", + maxRef); + } catch (ValueConverterException e) { + warning("could not compare with int value in ROOM model (parse error)", + maxRef); + } + } else + warning("could not compare with int value in ROOM model (incompatible datatypes)", + maxRef); + } else if (type == LiteralType.REAL) { + if (max instanceof RealLiteral) { + try { + double dbDefaultValue = converter + .getRealConverter().toValue(defaultValue, + null); + double dbMax = ((RealLiteral) max).getValue(); + if (dbMax < dbDefaultValue) + error("default value in ROOM model exceeds this maximum", + maxRef); + } catch (ValueConverterException e1) { + warning("could not compare with real value in ROOM model (parse error)", + maxRef); + } + } else + warning("could not compare with real value in ROOM model (incompatible datatypes)", maxRef); - } catch (NumberFormatException e) { } + } } } -- cgit v1.2.3