Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-11 08:02:27 +0000
committerHenrik Rentz-Reichert2012-09-11 08:02:27 +0000
commit84d7579c94b310ce805810c3c8b90e6a69b3282f (patch)
tree63640c39b4de908951edd8e5ea07a7787593caf2 /plugins/org.eclipse.etrice.core.config/src-gen/org
parenta49fd8507422c6ea39179a3ddf18b1d3bdd8811a (diff)
parentbbb4a782fa43b721efa92ff8abbb7055a6020626 (diff)
downloadorg.eclipse.etrice-84d7579c94b310ce805810c3c8b90e6a69b3282f.tar.gz
org.eclipse.etrice-84d7579c94b310ce805810c3c8b90e6a69b3282f.tar.xz
org.eclipse.etrice-84d7579c94b310ce805810c3c8b90e6a69b3282f.zip
Merge branch 'change/7581/1'
Conflicts: plugins/org.eclipse.etrice.generator.c/xtend-gen/org/eclipse/etrice/generator/c/gen/CExtensions.java plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/ActorClassGen.java plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/JavaExtensions.java plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/SubSystemClassGen.java plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ConfigExtension.java plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/ProcedureHelpers.java plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/RoomExtensions.java plugins/org.eclipse.etrice.generator/xtend-gen/org/eclipse/etrice/generator/generic/TypeHelpers.java plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.c.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.modellib.java.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.runtime.c.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.runtime.java.zip plugins/org.eclipse.etrice.ui.runtime/contents/org.eclipse.etrice.tutorials.zip runtime/org.eclipse.etrice.modellib.java/src-gen/org/eclipse/etrice/modellib/Socket/SocketClient.java runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/logging/ALogService.java runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/ATcpClient.java runtime/org.eclipse.etrice.modellib.java/src-gen/room/basic/service/tcp/ATcpServer.java
Diffstat (limited to 'plugins/org.eclipse.etrice.core.config/src-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java324
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.ecore27
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel18
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi185
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java86
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java18
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java77
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java18
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java9
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigPackage.java396
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java132
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java6
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java78
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java46
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java252
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java24
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java15
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java169
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java345
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java12
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java260
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java40
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g484
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.tokens89
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigLexer.java1426
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java3274
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSemanticSequencer.java47
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSyntacticSequencer.java12
-rw-r--r--plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java3558
30 files changed, 7676 insertions, 3798 deletions
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java
index c1bdce9cb..61110b1ad 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/AbstractConfigRuntimeModule.java
@@ -1,162 +1,162 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.etrice.core;
-
-import java.util.Properties;
-
-import org.eclipse.xtext.Constants;
-import org.eclipse.xtext.service.DefaultRuntimeModule;
-
-import com.google.inject.Binder;
-import com.google.inject.name.Names;
-
-/**
- * Manual modifications go to {org.eclipse.etrice.core.ConfigRuntimeModule}
- */
- @SuppressWarnings("all")
-public abstract class AbstractConfigRuntimeModule extends DefaultRuntimeModule {
-
- protected Properties properties = null;
-
- @Override
- public void configure(Binder binder) {
- properties = tryBindProperties(binder, "org/eclipse/etrice/core/Config.properties");
- super.configure(binder);
- }
-
- public void configureLanguageName(Binder binder) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.etrice.core.Config");
- }
-
- public void configureFileExtensions(Binder binder) {
- if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
- binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("config");
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public java.lang.ClassLoader bindClassLoaderToInstance() {
- return getClass().getClassLoader();
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
- return org.eclipse.etrice.core.services.ConfigGrammarAccess.class;
- }
-
- // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() {
- return org.eclipse.etrice.core.serializer.ConfigSemanticSequencer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() {
- return org.eclipse.etrice.core.serializer.ConfigSyntacticSequencer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
- public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() {
- return org.eclipse.xtext.serializer.impl.Serializer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
- return org.eclipse.etrice.core.parser.antlr.ConfigParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
- return org.eclipse.etrice.core.parser.antlr.ConfigAntlrTokenFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
- return org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public com.google.inject.Provider<org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer> provideInternalConfigLexer() {
- return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public void configureRuntimeLexer(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
- return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() {
- return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class;
- }
-
- // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
- @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.etrice.core.validation.ConfigJavaValidator> bindConfigJavaValidator() {
- return org.eclipse.etrice.core.validation.ConfigJavaValidator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
- return org.eclipse.etrice.core.scoping.ConfigScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
- return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
- binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
- public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
- return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
- return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() {
- return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptions(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
- }
-
- // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
- public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
- }
-
- // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
- public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator() {
- return org.eclipse.etrice.core.generator.ConfigGenerator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
- return org.eclipse.etrice.core.formatting.ConfigFormatter.class;
- }
-
-}
+/*
+ * generated by Xtext
+ */
+package org.eclipse.etrice.core;
+
+import java.util.Properties;
+
+import org.eclipse.xtext.Constants;
+import org.eclipse.xtext.service.DefaultRuntimeModule;
+
+import com.google.inject.Binder;
+import com.google.inject.name.Names;
+
+/**
+ * Manual modifications go to {org.eclipse.etrice.core.ConfigRuntimeModule}
+ */
+ @SuppressWarnings("all")
+public abstract class AbstractConfigRuntimeModule extends DefaultRuntimeModule {
+
+ protected Properties properties = null;
+
+ @Override
+ public void configure(Binder binder) {
+ properties = tryBindProperties(binder, "org/eclipse/etrice/core/Config.properties");
+ super.configure(binder);
+ }
+
+ public void configureLanguageName(Binder binder) {
+ binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.etrice.core.Config");
+ }
+
+ public void configureFileExtensions(Binder binder) {
+ if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null)
+ binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("config");
+ }
+
+ // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
+ public java.lang.ClassLoader bindClassLoaderToInstance() {
+ return getClass().getClassLoader();
+ }
+
+ // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
+ public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
+ return org.eclipse.etrice.core.services.ConfigGrammarAccess.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
+ public Class<? extends org.eclipse.xtext.serializer.sequencer.ISemanticSequencer> bindISemanticSequencer() {
+ return org.eclipse.etrice.core.serializer.ConfigSemanticSequencer.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
+ public Class<? extends org.eclipse.xtext.serializer.sequencer.ISyntacticSequencer> bindISyntacticSequencer() {
+ return org.eclipse.etrice.core.serializer.ConfigSyntacticSequencer.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.serializer.SerializerFragment
+ public Class<? extends org.eclipse.xtext.serializer.ISerializer> bindISerializer() {
+ return org.eclipse.xtext.serializer.impl.Serializer.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
+ return org.eclipse.etrice.core.parser.antlr.ConfigParser.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() {
+ return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() {
+ return org.eclipse.etrice.core.parser.antlr.ConfigAntlrTokenFileProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
+ return org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public com.google.inject.Provider<org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer> provideInternalConfigLexer() {
+ return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public void configureRuntimeLexer(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.etrice.core.parser.antlr.internal.InternalConfigLexer.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() {
+ return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
+ public Class<? extends org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper> bindIUnorderedGroupHelper() {
+ return org.eclipse.xtext.parser.antlr.UnorderedGroupHelper.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment
+ @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.etrice.core.validation.ConfigJavaValidator> bindConfigJavaValidator() {
+ return org.eclipse.etrice.core.validation.ConfigJavaValidator.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
+ return org.eclipse.etrice.core.scoping.ConfigScopeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE)).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
+ return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
+ public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
+ binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
+ }
+
+ // contributed by org.eclipse.xtext.generator.exporting.QualifiedNamesFragment
+ public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
+ return org.eclipse.xtext.naming.DefaultDeclarativeQualifiedNameProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.resource.IContainer.Manager> bindIContainer$Manager() {
+ return org.eclipse.xtext.resource.containers.StateBasedContainerManager.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public Class<? extends org.eclipse.xtext.resource.containers.IAllContainersState.Provider> bindIAllContainersState$Provider() {
+ return org.eclipse.xtext.resource.containers.ResourceSetBasedAllContainersStateProvider.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptions(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.builder.BuilderIntegrationFragment
+ public void configureIResourceDescriptionsBuilderScope(com.google.inject.Binder binder) {
+ binder.bind(org.eclipse.xtext.resource.IResourceDescriptions.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.resource.impl.ResourceDescriptionsProvider.NAMED_BUILDER_SCOPE)).to(org.eclipse.xtext.resource.impl.ResourceSetBasedResourceDescriptions.class);
+ }
+
+ // contributed by org.eclipse.xtext.generator.generator.GeneratorFragment
+ public Class<? extends org.eclipse.xtext.generator.IGenerator> bindIGenerator() {
+ return org.eclipse.etrice.core.generator.ConfigGenerator.class;
+ }
+
+ // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
+ public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
+ return org.eclipse.etrice.core.formatting.ConfigFormatter.class;
+ }
+
+}
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 9d60629e8..5c015048a 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
@@ -17,12 +17,28 @@
<details key="body" value="EList&lt;ProtocolClassConfig> list = new org.eclipse.emf.common.util.BasicEList&lt;ProtocolClassConfig>();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;for(ConfigElement element : this.getConfigElements())&#xD;&#xA;&#x9;&#x9;&#x9; &#x9;&#x9;if(element instanceof ProtocolClassConfig)&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;list.add((ProtocolClassConfig) element);&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;return list;"/>
</eAnnotations>
</eOperations>
+ <eOperations name="getSubSystemConfigs" upperBound="-1" eType="#//SubSystemConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="body" value="EList&lt;SubSystemConfig> list = new org.eclipse.emf.common.util.BasicEList&lt;SubSystemConfig>();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;for(ConfigElement element : this.getConfigElements())&#xD;&#xA;&#x9;&#x9;&#x9; &#x9;&#x9;if(element instanceof SubSystemConfig)&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;list.add((SubSystemConfig) element);&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;return list;"/>
+ </eAnnotations>
+ </eOperations>
<eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
eType="#//Import" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="configElements" upperBound="-1"
eType="#//ConfigElement" containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ConfigElement"/>
+ <eClassifiers xsi:type="ecore:EClass" name="SubSystemConfig" eSuperTypes="#//ConfigElement">
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subSystem" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemClass"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dynConfig" eType="#//DynamicConfig"
+ containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DynamicConfig">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="filePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="userCode2" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="polling" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ActorClassConfig" eSuperTypes="#//ConfigElement">
<eStructuralFeatures xsi:type="ecore:EReference" name="actor" eType="ecore:EClass ../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//ActorClass"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
@@ -63,8 +79,15 @@
containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="max" eType="#//NumberLiteral"
containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrClassConfig" containment="true"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AttrInstanceConfig" eSuperTypes="#//AttrConfig">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dynConfig" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="readOnly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
+ eType="#//AttrInstanceConfig" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AttrInstanceConfig" eSuperTypes="#//AttrConfig"/>
<eClassifiers xsi:type="ecore:EClass" name="RefPath">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="refs" unique="false" upperBound="-1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -86,7 +109,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="IntLiteral" eSuperTypes="#//NumberLiteral">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="StringLiteral" eSuperTypes="#//Literal">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.genmodel
index d65a29062..d51932dd5 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
@@ -13,8 +13,19 @@
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getActorClassConfigs"/>
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getActorInstanceConfigs"/>
<genOperations ecoreOperation="Config.ecore#//ConfigModel/getProtocolClassConfigs"/>
+ <genOperations ecoreOperation="Config.ecore#//ConfigModel/getSubSystemConfigs"/>
</genClasses>
<genClasses ecoreClass="Config.ecore#//ConfigElement"/>
+ <genClasses ecoreClass="Config.ecore#//SubSystemConfig">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//SubSystemConfig/subSystem"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//SubSystemConfig/dynConfig"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//DynamicConfig">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/filePath"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/userCode1"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/userCode2"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//DynamicConfig/polling"/>
+ </genClasses>
<genClasses ecoreClass="Config.ecore#//ActorClassConfig">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference Config.ecore#//ActorClassConfig/actor"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//ActorClassConfig/attributes"/>
@@ -44,8 +55,13 @@
<genClasses ecoreClass="Config.ecore#//AttrClassConfig">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/min"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/max"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrClassConfig/attributes"/>
+ </genClasses>
+ <genClasses ecoreClass="Config.ecore#//AttrInstanceConfig">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//AttrInstanceConfig/dynConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//AttrInstanceConfig/readOnly"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Config.ecore#//AttrInstanceConfig/attributes"/>
</genClasses>
- <genClasses ecoreClass="Config.ecore#//AttrInstanceConfig"/>
<genClasses ecoreClass="Config.ecore#//RefPath">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Config.ecore#//RefPath/refs"/>
</genClasses>
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
index d0e14b869..1f8b3e820 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/Config.xmi
@@ -16,7 +16,7 @@
</type>
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" cardinality="*" feature="imports" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
</elements>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="configElements" operator="+=">
<terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
@@ -29,8 +29,70 @@
</type>
<alternatives xsi:type="xtext:Alternatives">
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="SubSystemConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//SubSystemConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="SubSystemConfig"/>
+ <elements xsi:type="xtext:Assignment" feature="subSystem" operator="=">
+ <terminal xsi:type="xtext:CrossReference">
+ <type metamodel="/0/@metamodelDeclarations.2">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//SubSystemClass"/>
+ </type>
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
+ </terminal>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:Assignment" feature="dynConfig" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:ParserRule" name="DynamicConfig">
+ <type metamodel="/0/@metamodelDeclarations.0">
+ <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//DynamicConfig"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="dynamic configuration"/>
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="file path"/>
+ <elements xsi:type="xtext:Assignment" feature="filePath" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="user import"/>
+ <elements xsi:type="xtext:Assignment" feature="userCode1" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Keyword" value="user constructor"/>
+ <elements xsi:type="xtext:Assignment" feature="userCode2" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
+ </elements>
+ </elements>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="polling timer [ms]"/>
+ <elements xsi:type="xtext:Assignment" feature="polling" operator="=">
+ <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
+ </elements>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="ActorClassConfig">
@@ -44,12 +106,12 @@
<type metamodel="/0/@metamodelDeclarations.2">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ActorClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -65,19 +127,21 @@
<type metamodel="/0/@metamodelDeclarations.2">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//SubSystemClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="/"/>
<elements xsi:type="xtext:Assignment" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="ports" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
+ <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ </elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="ports" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ </elements>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -93,7 +157,7 @@
<type metamodel="/0/@metamodelDeclarations.2">
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/Room#//ProtocolClass"/>
</type>
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
</terminal>
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
@@ -101,13 +165,13 @@
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="regular"/>
<elements xsi:type="xtext:Assignment" feature="regular" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="conjugate"/>
<elements xsi:type="xtext:Assignment" feature="conjugated" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
</elements>
</elements>
</elements>
@@ -127,7 +191,7 @@
<elements xsi:type="xtext:Keyword" value="Port"/>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -148,7 +212,7 @@
</elements>
<elements xsi:type="xtext:Keyword" value="{"/>
<elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</alternatives>
@@ -158,8 +222,8 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//AttrConfig"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="AttrClassConfig">
@@ -179,26 +243,29 @@
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:UnorderedGroup">
+ <elements xsi:type="xtext:Group">
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="min"/>
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="min" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</elements>
</elements>
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="max"/>
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="max" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
</elements>
</elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
+ </elements>
</elements>
<elements xsi:type="xtext:Keyword" value="}"/>
</elements>
@@ -221,9 +288,29 @@
<elements xsi:type="xtext:Group" cardinality="?">
<elements xsi:type="xtext:Keyword" value="="/>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
</elements>
</elements>
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Keyword" value="{"/>
+ <elements xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Group" cardinality="?">
+ <elements xsi:type="xtext:Assignment" feature="dynConfig" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="dynamic configuration"/>
+ </elements>
+ <elements xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:Assignment" feature="readOnly" operator="?=">
+ <terminal xsi:type="xtext:Keyword" value="read"/>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="write"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Assignment" cardinality="*" feature="attributes" operator="+=">
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
+ </elements>
+ </elements>
+ <elements xsi:type="xtext:Keyword" value="}"/>
+ </elements>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="RefPath">
@@ -251,7 +338,7 @@
<elements xsi:type="xtext:Alternatives">
<elements xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" feature="importedNamespace" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
</elements>
<elements xsi:type="xtext:Keyword" value="from"/>
</elements>
@@ -267,7 +354,7 @@
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</type>
<alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
<elements xsi:type="xtext:Keyword" cardinality="?" value=".*"/>
</alternatives>
</rules>
@@ -289,12 +376,12 @@
</type>
<alternatives xsi:type="xtext:Group">
<elements xsi:type="xtext:Assignment" feature="literals" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</elements>
<elements xsi:type="xtext:Group" cardinality="*">
<elements xsi:type="xtext:Keyword" value=","/>
<elements xsi:type="xtext:Assignment" feature="literals" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
</elements>
</elements>
</alternatives>
@@ -304,9 +391,9 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//Literal"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="BooleanLiteral">
@@ -332,8 +419,8 @@
<classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/etrice/core/Config#//NumberLiteral"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="RealLiteral">
@@ -347,7 +434,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
</elements>
</alternatives>
</rules>
@@ -362,7 +449,7 @@
</type>
</elements>
<elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
+ <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
</elements>
</alternatives>
</rules>
@@ -383,11 +470,11 @@
</rules>
<rules xsi:type="xtext:ParserRule" name="Integer">
<type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
+ <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="SignedInteger" definesHiddenTokens="true">
@@ -406,17 +493,17 @@
<type metamodel="/0/@metamodelDeclarations.1">
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</type>
- <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
+ <alternatives xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
</rules>
<rules xsi:type="xtext:ParserRule" name="Real">
<type metamodel="/0/@metamodelDeclarations.1">
<classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
</type>
<alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
<elements xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.30"/>
</alternatives>
</rules>
<rules xsi:type="xtext:ParserRule" name="Decimal" definesHiddenTokens="true">
@@ -471,12 +558,26 @@
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
<elements xsi:type="xtext:Keyword" value="."/>
<elements xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
+ <elements xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
+ </alternatives>
+ </rules>
+ <rules xsi:type="xtext:TerminalRule" name="EXP">
+ <type metamodel="/0/@metamodelDeclarations.1">
+ <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
+ </type>
+ <alternatives xsi:type="xtext:Group">
+ <elements xsi:type="xtext:Alternatives">
+ <elements xsi:type="xtext:Keyword" value="e"/>
+ <elements xsi:type="xtext:Keyword" value="E"/>
+ </elements>
<elements xsi:type="xtext:Alternatives" cardinality="?">
<elements xsi:type="xtext:Keyword" value="+"/>
<elements xsi:type="xtext:Keyword" value="-"/>
</elements>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
+ <elements xsi:type="xtext:CharacterRange" cardinality="+">
+ <left value="0"/>
+ <right value="9"/>
+ </elements>
</alternatives>
</rules>
<rules xsi:type="xtext:TerminalRule" name="HEX">
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
index d31b31c64..4651430a3 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/ConfigStandaloneSetupGenerated.java
@@ -1,43 +1,43 @@
-
-package org.eclipse.etrice.core;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.ISetup;
-import org.eclipse.emf.ecore.resource.Resource;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-/**
- * Generated from StandaloneSetup.xpt!
- */
-@SuppressWarnings("all")
-public class ConfigStandaloneSetupGenerated implements ISetup {
-
- public Injector createInjectorAndDoEMFRegistration() {
- org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
-
- Injector injector = createInjector();
- register(injector);
- return injector;
- }
-
- public Injector createInjector() {
- return Guice.createInjector(new org.eclipse.etrice.core.ConfigRuntimeModule());
- }
-
- public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/core/Config")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/core/Config", org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
- }
-
- org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
- org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
- Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("config", resourceFactory);
- org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("config", serviceProvider);
-
-
-
-
- }
-}
+
+package org.eclipse.etrice.core;
+
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.xtext.ISetup;
+import org.eclipse.emf.ecore.resource.Resource;
+
+import com.google.inject.Guice;
+import com.google.inject.Injector;
+
+/**
+ * Generated from StandaloneSetup.xpt!
+ */
+@SuppressWarnings("all")
+public class ConfigStandaloneSetupGenerated implements ISetup {
+
+ public Injector createInjectorAndDoEMFRegistration() {
+ org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup();
+
+ Injector injector = createInjector();
+ register(injector);
+ return injector;
+ }
+
+ public Injector createInjector() {
+ return Guice.createInjector(new org.eclipse.etrice.core.ConfigRuntimeModule());
+ }
+
+ public void register(Injector injector) {
+ if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/etrice/core/Config")) {
+ EPackage.Registry.INSTANCE.put("http://www.eclipse.org/etrice/core/Config", org.eclipse.etrice.core.config.ConfigPackage.eINSTANCE);
+ }
+
+ org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class);
+ org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class);
+ Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("config", resourceFactory);
+ org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("config", serviceProvider);
+
+
+
+
+ }
+}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
index 4c1a167b2..c8e4032db 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrClassConfig.java
@@ -2,6 +2,7 @@
*/
package org.eclipse.etrice.core.config;
+import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
@@ -13,6 +14,7 @@ package org.eclipse.etrice.core.config;
* <ul>
* <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getMin <em>Min</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrClassConfig#getAttributes <em>Attributes</em>}</li>
* </ul>
* </p>
*
@@ -74,4 +76,20 @@ public interface AttrClassConfig extends AttrConfig
*/
void setMax(NumberLiteral value);
+ /**
+ * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.AttrClassConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attributes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrClassConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrClassConfig> getAttributes();
+
} // AttrClassConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
index b9750bb19..41ff51746 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/AttrInstanceConfig.java
@@ -2,12 +2,21 @@
*/
package org.eclipse.etrice.core.config;
+import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Attr Instance Config</b></em>'.
* <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.AttrInstanceConfig#getAttributes <em>Attributes</em>}</li>
+ * </ul>
+ * </p>
*
* @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig()
* @model
@@ -15,4 +24,72 @@ package org.eclipse.etrice.core.config;
*/
public interface AttrInstanceConfig extends AttrConfig
{
+ /**
+ * Returns the value of the '<em><b>Dyn Config</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dyn Config</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Dyn Config</em>' attribute.
+ * @see #setDynConfig(boolean)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_DynConfig()
+ * @model
+ * @generated
+ */
+ boolean isDynConfig();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dyn Config</em>' attribute.
+ * @see #isDynConfig()
+ * @generated
+ */
+ void setDynConfig(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Read Only</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Read Only</em>' attribute.
+ * @see #setReadOnly(boolean)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_ReadOnly()
+ * @model
+ * @generated
+ */
+ boolean isReadOnly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Read Only</em>' attribute.
+ * @see #isReadOnly()
+ * @generated
+ */
+ void setReadOnly(boolean value);
+
+ /**
+ * Returns the value of the '<em><b>Attributes</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.etrice.core.config.AttrInstanceConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Attributes</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Attributes</em>' containment reference list.
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getAttrInstanceConfig_Attributes()
+ * @model containment="true"
+ * @generated
+ */
+ EList<AttrInstanceConfig> getAttributes();
+
} // AttrInstanceConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
index 9490d0e47..70d175b4d 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigFactory.java
@@ -41,6 +41,24 @@ public interface ConfigFactory extends EFactory
ConfigElement createConfigElement();
/**
+ * Returns a new object of class '<em>Sub System Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub System Config</em>'.
+ * @generated
+ */
+ SubSystemConfig createSubSystemConfig();
+
+ /**
+ * Returns a new object of class '<em>Dynamic Config</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Dynamic Config</em>'.
+ * @generated
+ */
+ DynamicConfig createDynamicConfig();
+
+ /**
* Returns a new object of class '<em>Actor Class Config</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/ConfigModel.java
index dd2539827..26a95f2e6 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
@@ -84,4 +84,13 @@ public interface ConfigModel extends EObject
*/
EList<ProtocolClassConfig> getProtocolClassConfigs();
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * annotation="http://www.eclipse.org/emf/2002/GenModel body='EList<SubSystemConfig> list = new org.eclipse.emf.common.util.BasicEList<SubSystemConfig>();\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<SubSystemConfig> 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 fa8c4dcbd..e6e347730 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
@@ -113,6 +113,98 @@ public interface ConfigPackage extends EPackage
int CONFIG_ELEMENT_FEATURE_COUNT = 0;
/**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl <em>Sub System Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.SubSystemConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getSubSystemConfig()
+ * @generated
+ */
+ int SUB_SYSTEM_CONFIG = 2;
+
+ /**
+ * The feature id for the '<em><b>Sub System</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG__SUB_SYSTEM = CONFIG_ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Dyn Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG__DYN_CONFIG = CONFIG_ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Sub System Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_SYSTEM_CONFIG_FEATURE_COUNT = CONFIG_ELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl <em>Dynamic Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.DynamicConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getDynamicConfig()
+ * @generated
+ */
+ int DYNAMIC_CONFIG = 3;
+
+ /**
+ * The feature id for the '<em><b>File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__FILE_PATH = 0;
+
+ /**
+ * The feature id for the '<em><b>User Code1</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__USER_CODE1 = 1;
+
+ /**
+ * The feature id for the '<em><b>User Code2</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__USER_CODE2 = 2;
+
+ /**
+ * The feature id for the '<em><b>Polling</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG__POLLING = 3;
+
+ /**
+ * The number of structural features of the '<em>Dynamic Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DYNAMIC_CONFIG_FEATURE_COUNT = 4;
+
+ /**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.ActorClassConfigImpl <em>Actor Class Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -120,7 +212,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getActorClassConfig()
* @generated
*/
- int ACTOR_CLASS_CONFIG = 2;
+ int ACTOR_CLASS_CONFIG = 4;
/**
* The feature id for the '<em><b>Actor</b></em>' reference.
@@ -157,7 +249,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getActorInstanceConfig()
* @generated
*/
- int ACTOR_INSTANCE_CONFIG = 3;
+ int ACTOR_INSTANCE_CONFIG = 5;
/**
* The feature id for the '<em><b>Root</b></em>' reference.
@@ -212,7 +304,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getProtocolClassConfig()
* @generated
*/
- int PROTOCOL_CLASS_CONFIG = 4;
+ int PROTOCOL_CLASS_CONFIG = 6;
/**
* The feature id for the '<em><b>Protocol</b></em>' reference.
@@ -258,7 +350,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortClassConfig()
* @generated
*/
- int PORT_CLASS_CONFIG = 5;
+ int PORT_CLASS_CONFIG = 7;
/**
* The feature id for the '<em><b>Attributes</b></em>' containment reference list.
@@ -286,7 +378,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getPortInstanceConfig()
* @generated
*/
- int PORT_INSTANCE_CONFIG = 6;
+ int PORT_INSTANCE_CONFIG = 8;
/**
* The feature id for the '<em><b>Item</b></em>' reference.
@@ -323,7 +415,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrConfig()
* @generated
*/
- int ATTR_CONFIG = 7;
+ int ATTR_CONFIG = 9;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -360,7 +452,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrClassConfig()
* @generated
*/
- int ATTR_CLASS_CONFIG = 8;
+ int ATTR_CLASS_CONFIG = 10;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -399,13 +491,22 @@ public interface ConfigPackage extends EPackage
int ATTR_CLASS_CONFIG__MAX = ATTR_CONFIG_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_CLASS_CONFIG__ATTRIBUTES = ATTR_CONFIG_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Attr Class Config</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ATTR_CLASS_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 2;
+ int ATTR_CLASS_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl <em>Attr Instance Config</em>}' class.
@@ -415,7 +516,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getAttrInstanceConfig()
* @generated
*/
- int ATTR_INSTANCE_CONFIG = 9;
+ int ATTR_INSTANCE_CONFIG = 11;
/**
* The feature id for the '<em><b>Attribute</b></em>' reference.
@@ -436,13 +537,40 @@ public interface ConfigPackage extends EPackage
int ATTR_INSTANCE_CONFIG__VALUE = ATTR_CONFIG__VALUE;
/**
+ * The feature id for the '<em><b>Dyn Config</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__DYN_CONFIG = ATTR_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Read Only</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__READ_ONLY = ATTR_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Attributes</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ATTR_INSTANCE_CONFIG__ATTRIBUTES = ATTR_CONFIG_FEATURE_COUNT + 2;
+
+ /**
* The number of structural features of the '<em>Attr Instance Config</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ATTR_INSTANCE_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 0;
+ int ATTR_INSTANCE_CONFIG_FEATURE_COUNT = ATTR_CONFIG_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link org.eclipse.etrice.core.config.impl.RefPathImpl <em>Ref Path</em>}' class.
@@ -452,7 +580,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRefPath()
* @generated
*/
- int REF_PATH = 10;
+ int REF_PATH = 12;
/**
* The feature id for the '<em><b>Refs</b></em>' attribute list.
@@ -480,7 +608,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getImport()
* @generated
*/
- int IMPORT = 11;
+ int IMPORT = 13;
/**
* The feature id for the '<em><b>Imported Namespace</b></em>' attribute.
@@ -517,7 +645,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteralArray()
* @generated
*/
- int LITERAL_ARRAY = 12;
+ int LITERAL_ARRAY = 14;
/**
* The feature id for the '<em><b>Literals</b></em>' containment reference list.
@@ -545,7 +673,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getLiteral()
* @generated
*/
- int LITERAL = 13;
+ int LITERAL = 15;
/**
* The number of structural features of the '<em>Literal</em>' class.
@@ -564,7 +692,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getBooleanLiteral()
* @generated
*/
- int BOOLEAN_LITERAL = 14;
+ int BOOLEAN_LITERAL = 16;
/**
* The feature id for the '<em><b>Is True</b></em>' attribute.
@@ -592,7 +720,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getNumberLiteral()
* @generated
*/
- int NUMBER_LITERAL = 15;
+ int NUMBER_LITERAL = 17;
/**
* The number of structural features of the '<em>Number Literal</em>' class.
@@ -611,7 +739,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getRealLiteral()
* @generated
*/
- int REAL_LITERAL = 16;
+ int REAL_LITERAL = 18;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -639,7 +767,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getIntLiteral()
* @generated
*/
- int INT_LITERAL = 17;
+ int INT_LITERAL = 19;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -667,7 +795,7 @@ public interface ConfigPackage extends EPackage
* @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getStringLiteral()
* @generated
*/
- int STRING_LITERAL = 18;
+ int STRING_LITERAL = 20;
/**
* The feature id for the '<em><b>Value</b></em>' attribute.
@@ -731,6 +859,92 @@ public interface ConfigPackage extends EPackage
EClass getConfigElement();
/**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.SubSystemConfig <em>Sub System Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub System Config</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig
+ * @generated
+ */
+ EClass getSubSystemConfig();
+
+ /**
+ * Returns the meta object for the reference '{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Sub System</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem()
+ * @see #getSubSystemConfig()
+ * @generated
+ */
+ EReference getSubSystemConfig_SubSystem();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Dyn Config</em>'.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig()
+ * @see #getSubSystemConfig()
+ * @generated
+ */
+ EReference getSubSystemConfig_DynConfig();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.etrice.core.config.DynamicConfig <em>Dynamic Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Dynamic Config</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig
+ * @generated
+ */
+ EClass getDynamicConfig();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>File Path</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getFilePath()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_FilePath();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 <em>User Code1</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>User Code1</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getUserCode1()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_UserCode1();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode2 <em>User Code2</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>User Code2</em>'.
+ * @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 <em>Polling</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Polling</em>'.
+ * @see org.eclipse.etrice.core.config.DynamicConfig#getPolling()
+ * @see #getDynamicConfig()
+ * @generated
+ */
+ EAttribute getDynamicConfig_Polling();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.ActorClassConfig <em>Actor Class Config</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -977,6 +1191,17 @@ public interface ConfigPackage extends EPackage
EReference getAttrClassConfig_Max();
/**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.AttrClassConfig#getAttributes <em>Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Attributes</em>'.
+ * @see org.eclipse.etrice.core.config.AttrClassConfig#getAttributes()
+ * @see #getAttrClassConfig()
+ * @generated
+ */
+ EReference getAttrClassConfig_Attributes();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.AttrInstanceConfig <em>Attr Instance Config</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -987,6 +1212,39 @@ public interface ConfigPackage extends EPackage
EClass getAttrInstanceConfig();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig <em>Dyn Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Dyn Config</em>'.
+ * @see org.eclipse.etrice.core.config.AttrInstanceConfig#isDynConfig()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EAttribute getAttrInstanceConfig_DynConfig();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly <em>Read Only</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Read Only</em>'.
+ * @see org.eclipse.etrice.core.config.AttrInstanceConfig#isReadOnly()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EAttribute getAttrInstanceConfig_ReadOnly();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.etrice.core.config.AttrInstanceConfig#getAttributes <em>Attributes</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Attributes</em>'.
+ * @see org.eclipse.etrice.core.config.AttrInstanceConfig#getAttributes()
+ * @see #getAttrInstanceConfig()
+ * @generated
+ */
+ EReference getAttrInstanceConfig_Attributes();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.etrice.core.config.RefPath <em>Ref Path</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1224,6 +1482,74 @@ public interface ConfigPackage extends EPackage
EClass CONFIG_ELEMENT = eINSTANCE.getConfigElement();
/**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl <em>Sub System Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.SubSystemConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getSubSystemConfig()
+ * @generated
+ */
+ EClass SUB_SYSTEM_CONFIG = eINSTANCE.getSubSystemConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Sub System</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_SYSTEM_CONFIG__SUB_SYSTEM = eINSTANCE.getSubSystemConfig_SubSystem();
+
+ /**
+ * The meta object literal for the '<em><b>Dyn Config</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SUB_SYSTEM_CONFIG__DYN_CONFIG = eINSTANCE.getSubSystemConfig_DynConfig();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl <em>Dynamic Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.etrice.core.config.impl.DynamicConfigImpl
+ * @see org.eclipse.etrice.core.config.impl.ConfigPackageImpl#getDynamicConfig()
+ * @generated
+ */
+ EClass DYNAMIC_CONFIG = eINSTANCE.getDynamicConfig();
+
+ /**
+ * The meta object literal for the '<em><b>File Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__FILE_PATH = eINSTANCE.getDynamicConfig_FilePath();
+
+ /**
+ * The meta object literal for the '<em><b>User Code1</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__USER_CODE1 = eINSTANCE.getDynamicConfig_UserCode1();
+
+ /**
+ * The meta object literal for the '<em><b>User Code2</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__USER_CODE2 = eINSTANCE.getDynamicConfig_UserCode2();
+
+ /**
+ * The meta object literal for the '<em><b>Polling</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DYNAMIC_CONFIG__POLLING = eINSTANCE.getDynamicConfig_Polling();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.ActorClassConfigImpl <em>Actor Class Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1422,6 +1748,14 @@ public interface ConfigPackage extends EPackage
EReference ATTR_CLASS_CONFIG__MAX = eINSTANCE.getAttrClassConfig_Max();
/**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ATTR_CLASS_CONFIG__ATTRIBUTES = eINSTANCE.getAttrClassConfig_Attributes();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl <em>Attr Instance Config</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1432,6 +1766,30 @@ public interface ConfigPackage extends EPackage
EClass ATTR_INSTANCE_CONFIG = eINSTANCE.getAttrInstanceConfig();
/**
+ * The meta object literal for the '<em><b>Dyn Config</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ATTR_INSTANCE_CONFIG__DYN_CONFIG = eINSTANCE.getAttrInstanceConfig_DynConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Read Only</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ATTR_INSTANCE_CONFIG__READ_ONLY = eINSTANCE.getAttrInstanceConfig_ReadOnly();
+
+ /**
+ * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ATTR_INSTANCE_CONFIG__ATTRIBUTES = eINSTANCE.getAttrInstanceConfig_Attributes();
+
+ /**
* The meta object literal for the '{@link org.eclipse.etrice.core.config.impl.RefPathImpl <em>Ref Path</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java
new file mode 100644
index 000000000..32f8daf46
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/DynamicConfig.java
@@ -0,0 +1,132 @@
+/**
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Dynamic Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 <em>User Code1</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode2 <em>User Code2</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling <em>Polling</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig()
+ * @model
+ * @generated
+ */
+public interface DynamicConfig extends EObject
+{
+ /**
+ * Returns the value of the '<em><b>File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>File Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>File Path</em>' attribute.
+ * @see #setFilePath(String)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_FilePath()
+ * @model
+ * @generated
+ */
+ String getFilePath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getFilePath <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>File Path</em>' attribute.
+ * @see #getFilePath()
+ * @generated
+ */
+ void setFilePath(String value);
+
+ /**
+ * Returns the value of the '<em><b>User Code1</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User Code1</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User Code1</em>' attribute.
+ * @see #setUserCode1(String)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_UserCode1()
+ * @model
+ * @generated
+ */
+ String getUserCode1();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getUserCode1 <em>User Code1</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User Code1</em>' attribute.
+ * @see #getUserCode1()
+ * @generated
+ */
+ void setUserCode1(String value);
+
+ /**
+ * Returns the value of the '<em><b>User Code2</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>User Code2</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>User Code2</em>' 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 <em>User Code2</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>User Code2</em>' attribute.
+ * @see #getUserCode2()
+ * @generated
+ */
+ void setUserCode2(String value);
+
+ /**
+ * Returns the value of the '<em><b>Polling</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Polling</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Polling</em>' attribute.
+ * @see #setPolling(int)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getDynamicConfig_Polling()
+ * @model
+ * @generated
+ */
+ int getPolling();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.DynamicConfig#getPolling <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Polling</em>' attribute.
+ * @see #getPolling()
+ * @generated
+ */
+ void setPolling(int value);
+
+} // DynamicConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/IntLiteral.java
index c3904f137..13c92a3ab 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
@@ -30,12 +30,12 @@ public interface IntLiteral extends NumberLiteral
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' 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 <em>Value</em>}' attribute.
@@ -45,6 +45,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/SubSystemConfig.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java
new file mode 100644
index 000000000..a386742b7
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/SubSystemConfig.java
@@ -0,0 +1,78 @@
+/**
+ */
+package org.eclipse.etrice.core.config;
+
+import org.eclipse.etrice.core.room.SubSystemClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub System Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig()
+ * @model
+ * @generated
+ */
+public interface SubSystemConfig extends ConfigElement
+{
+ /**
+ * Returns the value of the '<em><b>Sub System</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub System</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub System</em>' reference.
+ * @see #setSubSystem(SubSystemClass)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_SubSystem()
+ * @model
+ * @generated
+ */
+ SubSystemClass getSubSystem();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.SubSystemConfig#getSubSystem <em>Sub System</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub System</em>' reference.
+ * @see #getSubSystem()
+ * @generated
+ */
+ void setSubSystem(SubSystemClass value);
+
+ /**
+ * Returns the value of the '<em><b>Dyn Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dyn Config</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Dyn Config</em>' containment reference.
+ * @see #setDynConfig(DynamicConfig)
+ * @see org.eclipse.etrice.core.config.ConfigPackage#getSubSystemConfig_DynConfig()
+ * @model containment="true"
+ * @generated
+ */
+ DynamicConfig getDynConfig();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.etrice.core.config.SubSystemConfig#getDynConfig <em>Dyn Config</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dyn Config</em>' containment reference.
+ * @see #getDynConfig()
+ * @generated
+ */
+ void setDynConfig(DynamicConfig value);
+
+} // SubSystemConfig
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
index 6da8632ee..6c2235ce6 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrClassConfigImpl.java
@@ -2,14 +2,21 @@
*/
package org.eclipse.etrice.core.config.impl;
+import java.util.Collection;
+
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
import org.eclipse.etrice.core.config.AttrClassConfig;
import org.eclipse.etrice.core.config.ConfigPackage;
import org.eclipse.etrice.core.config.NumberLiteral;
@@ -23,6 +30,7 @@ import org.eclipse.etrice.core.config.NumberLiteral;
* <ul>
* <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getMin <em>Min</em>}</li>
* <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getMax <em>Max</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrClassConfigImpl#getAttributes <em>Attributes</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +59,16 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
protected NumberLiteral max;
/**
+ * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributes()
+ * @generated
+ * @ordered
+ */
+ protected EList<AttrClassConfig> attributes;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -172,6 +190,20 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
* <!-- end-user-doc -->
* @generated
*/
+ public EList<AttrClassConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrClassConfig>(AttrClassConfig.class, this, ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES);
+ }
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
@@ -181,6 +213,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return basicSetMin(null, msgs);
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return basicSetMax(null, msgs);
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return ((InternalEList<?>)getAttributes()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -199,6 +233,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return getMin();
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return getMax();
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return getAttributes();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -208,6 +244,7 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
* <!-- end-user-doc -->
* @generated
*/
+ @SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue)
{
@@ -219,6 +256,10 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
setMax((NumberLiteral)newValue);
return;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ getAttributes().addAll((Collection<? extends AttrClassConfig>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -239,6 +280,9 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
setMax((NumberLiteral)null);
return;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -257,6 +301,8 @@ public class AttrClassConfigImpl extends AttrConfigImpl implements AttrClassConf
return min != null;
case ConfigPackage.ATTR_CLASS_CONFIG__MAX:
return max != null;
+ case ConfigPackage.ATTR_CLASS_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
index e1e26984d..9b01d2fcf 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/AttrInstanceConfigImpl.java
@@ -2,7 +2,20 @@
*/
package org.eclipse.etrice.core.config.impl;
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
import org.eclipse.etrice.core.config.AttrInstanceConfig;
import org.eclipse.etrice.core.config.ConfigPackage;
@@ -12,6 +25,12 @@ import org.eclipse.etrice.core.config.ConfigPackage;
* An implementation of the model object '<em><b>Attr Instance Config</b></em>'.
* <!-- end-user-doc -->
* <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#isDynConfig <em>Dyn Config</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#isReadOnly <em>Read Only</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.AttrInstanceConfigImpl#getAttributes <em>Attributes</em>}</li>
+ * </ul>
* </p>
*
* @generated
@@ -19,6 +38,56 @@ import org.eclipse.etrice.core.config.ConfigPackage;
public class AttrInstanceConfigImpl extends AttrConfigImpl implements AttrInstanceConfig
{
/**
+ * The default value of the '{@link #isDynConfig() <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean DYN_CONFIG_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isDynConfig() <em>Dyn Config</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected boolean dynConfig = DYN_CONFIG_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READ_ONLY_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isReadOnly() <em>Read Only</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadOnly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readOnly = READ_ONLY_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAttributes()
+ * @generated
+ * @ordered
+ */
+ protected EList<AttrInstanceConfig> attributes;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -39,4 +108,187 @@ public class AttrInstanceConfigImpl extends AttrConfigImpl implements AttrInstan
return ConfigPackage.Literals.ATTR_INSTANCE_CONFIG;
}
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isDynConfig()
+ {
+ return dynConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDynConfig(boolean newDynConfig)
+ {
+ boolean oldDynConfig = dynConfig;
+ dynConfig = newDynConfig;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG, oldDynConfig, dynConfig));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isReadOnly()
+ {
+ return readOnly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReadOnly(boolean newReadOnly)
+ {
+ boolean oldReadOnly = readOnly;
+ readOnly = newReadOnly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY, oldReadOnly, readOnly));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AttrInstanceConfig> getAttributes()
+ {
+ if (attributes == null)
+ {
+ attributes = new EObjectContainmentEList<AttrInstanceConfig>(AttrInstanceConfig.class, this, ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES);
+ }
+ return attributes;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ return ((InternalEList<?>)getAttributes()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ return isDynConfig();
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ return isReadOnly();
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ return getAttributes();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ setDynConfig((Boolean)newValue);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ setReadOnly((Boolean)newValue);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ getAttributes().addAll((Collection<? extends AttrInstanceConfig>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ setDynConfig(DYN_CONFIG_EDEFAULT);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ setReadOnly(READ_ONLY_EDEFAULT);
+ return;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ getAttributes().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__DYN_CONFIG:
+ return dynConfig != DYN_CONFIG_EDEFAULT;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__READ_ONLY:
+ return readOnly != READ_ONLY_EDEFAULT;
+ case ConfigPackage.ATTR_INSTANCE_CONFIG__ATTRIBUTES:
+ return attributes != null && !attributes.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (dynConfig: ");
+ result.append(dynConfig);
+ result.append(", readOnly: ");
+ result.append(readOnly);
+ result.append(')');
+ return result.toString();
+ }
+
} //AttrInstanceConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
index 3f9571218..d737efbb0 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigFactoryImpl.java
@@ -66,6 +66,8 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
{
case ConfigPackage.CONFIG_MODEL: return createConfigModel();
case ConfigPackage.CONFIG_ELEMENT: return createConfigElement();
+ case ConfigPackage.SUB_SYSTEM_CONFIG: return createSubSystemConfig();
+ case ConfigPackage.DYNAMIC_CONFIG: return createDynamicConfig();
case ConfigPackage.ACTOR_CLASS_CONFIG: return createActorClassConfig();
case ConfigPackage.ACTOR_INSTANCE_CONFIG: return createActorInstanceConfig();
case ConfigPackage.PROTOCOL_CLASS_CONFIG: return createProtocolClassConfig();
@@ -115,6 +117,28 @@ public class ConfigFactoryImpl extends EFactoryImpl implements ConfigFactory
* <!-- end-user-doc -->
* @generated
*/
+ public SubSystemConfig createSubSystemConfig()
+ {
+ SubSystemConfigImpl subSystemConfig = new SubSystemConfigImpl();
+ return subSystemConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DynamicConfig createDynamicConfig()
+ {
+ DynamicConfigImpl dynamicConfig = new DynamicConfigImpl();
+ return dynamicConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public ActorClassConfig createActorClassConfig()
{
ActorClassConfigImpl actorClassConfig = new ActorClassConfigImpl();
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigModelImpl.java
index bd9377e3a..6204b4cec 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
@@ -23,6 +23,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;
/**
* <!-- begin-user-doc -->
@@ -156,6 +157,20 @@ public class ConfigModelImpl extends MinimalEObjectImpl.Container implements Con
* <!-- end-user-doc -->
* @generated
*/
+ public EList<SubSystemConfig> getSubSystemConfigs()
+ {
+ EList<SubSystemConfig> list = new org.eclipse.emf.common.util.BasicEList<SubSystemConfig>();
+ for(ConfigElement element : this.getConfigElements())
+ if(element instanceof SubSystemConfig)
+ list.add((SubSystemConfig) element);
+ return list;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/ConfigPackageImpl.java
index 5a50f70a3..f06fde557 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
@@ -19,6 +19,7 @@ import org.eclipse.etrice.core.config.ConfigElement;
import org.eclipse.etrice.core.config.ConfigFactory;
import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.Literal;
@@ -30,6 +31,7 @@ import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.config.StringLiteral;
+import org.eclipse.etrice.core.config.SubSystemConfig;
import org.eclipse.etrice.core.room.RoomPackage;
@@ -60,6 +62,20 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ private EClass subSystemConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dynamicConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
private EClass actorClassConfigEClass = null;
/**
@@ -285,6 +301,86 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getSubSystemConfig()
+ {
+ return subSystemConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubSystemConfig_SubSystem()
+ {
+ return (EReference)subSystemConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSubSystemConfig_DynConfig()
+ {
+ return (EReference)subSystemConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDynamicConfig()
+ {
+ return dynamicConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_FilePath()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_UserCode1()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_UserCode2()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDynamicConfig_Polling()
+ {
+ return (EAttribute)dynamicConfigEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getActorClassConfig()
{
return actorClassConfigEClass;
@@ -515,6 +611,16 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getAttrClassConfig_Attributes()
+ {
+ return (EReference)attrClassConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getAttrInstanceConfig()
{
return attrInstanceConfigEClass;
@@ -525,6 +631,36 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getAttrInstanceConfig_DynConfig()
+ {
+ return (EAttribute)attrInstanceConfigEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAttrInstanceConfig_ReadOnly()
+ {
+ return (EAttribute)attrInstanceConfigEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getAttrInstanceConfig_Attributes()
+ {
+ return (EReference)attrInstanceConfigEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getRefPath()
{
return refPathEClass;
@@ -726,6 +862,16 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
configElementEClass = createEClass(CONFIG_ELEMENT);
+ subSystemConfigEClass = createEClass(SUB_SYSTEM_CONFIG);
+ createEReference(subSystemConfigEClass, SUB_SYSTEM_CONFIG__SUB_SYSTEM);
+ createEReference(subSystemConfigEClass, SUB_SYSTEM_CONFIG__DYN_CONFIG);
+
+ dynamicConfigEClass = createEClass(DYNAMIC_CONFIG);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__FILE_PATH);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__USER_CODE1);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__USER_CODE2);
+ createEAttribute(dynamicConfigEClass, DYNAMIC_CONFIG__POLLING);
+
actorClassConfigEClass = createEClass(ACTOR_CLASS_CONFIG);
createEReference(actorClassConfigEClass, ACTOR_CLASS_CONFIG__ACTOR);
createEReference(actorClassConfigEClass, ACTOR_CLASS_CONFIG__ATTRIBUTES);
@@ -755,8 +901,12 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
attrClassConfigEClass = createEClass(ATTR_CLASS_CONFIG);
createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__MIN);
createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__MAX);
+ createEReference(attrClassConfigEClass, ATTR_CLASS_CONFIG__ATTRIBUTES);
attrInstanceConfigEClass = createEClass(ATTR_INSTANCE_CONFIG);
+ createEAttribute(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__DYN_CONFIG);
+ createEAttribute(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__READ_ONLY);
+ createEReference(attrInstanceConfigEClass, ATTR_INSTANCE_CONFIG__ATTRIBUTES);
refPathEClass = createEClass(REF_PATH);
createEAttribute(refPathEClass, REF_PATH__REFS);
@@ -817,6 +967,7 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
// Set bounds for type parameters
// Add supertypes to classes
+ subSystemConfigEClass.getESuperTypes().add(this.getConfigElement());
actorClassConfigEClass.getESuperTypes().add(this.getConfigElement());
actorInstanceConfigEClass.getESuperTypes().add(this.getConfigElement());
protocolClassConfigEClass.getESuperTypes().add(this.getConfigElement());
@@ -839,8 +990,20 @@ 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);
+ initEReference(getSubSystemConfig_SubSystem(), theRoomPackage.getSubSystemClass(), null, "subSystem", null, 0, 1, SubSystemConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSubSystemConfig_DynConfig(), this.getDynamicConfig(), null, "dynConfig", null, 0, 1, SubSystemConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dynamicConfigEClass, DynamicConfig.class, "DynamicConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDynamicConfig_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);
initEReference(getActorClassConfig_Actor(), theRoomPackage.getActorClass(), null, "actor", null, 0, 1, ActorClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getActorClassConfig_Attributes(), this.getAttrClassConfig(), null, "attributes", null, 0, -1, ActorClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -870,8 +1033,12 @@ public class ConfigPackageImpl extends EPackageImpl implements ConfigPackage
initEClass(attrClassConfigEClass, AttrClassConfig.class, "AttrClassConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getAttrClassConfig_Min(), this.getNumberLiteral(), null, "min", null, 0, 1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getAttrClassConfig_Max(), this.getNumberLiteral(), null, "max", null, 0, 1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAttrClassConfig_Attributes(), this.getAttrClassConfig(), null, "attributes", null, 0, -1, AttrClassConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(attrInstanceConfigEClass, AttrInstanceConfig.class, "AttrInstanceConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAttrInstanceConfig_DynConfig(), ecorePackage.getEBoolean(), "dynConfig", null, 0, 1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getAttrInstanceConfig_ReadOnly(), ecorePackage.getEBoolean(), "readOnly", null, 0, 1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getAttrInstanceConfig_Attributes(), this.getAttrInstanceConfig(), null, "attributes", null, 0, -1, AttrInstanceConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(refPathEClass, RefPath.class, "RefPath", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getRefPath_Refs(), ecorePackage.getEString(), "refs", null, 0, -1, RefPath.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -894,7 +1061,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
new file mode 100644
index 000000000..67430583d
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/DynamicConfigImpl.java
@@ -0,0 +1,345 @@
+/**
+ */
+package org.eclipse.etrice.core.config.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Dynamic Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getFilePath <em>File Path</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getUserCode1 <em>User Code1</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getUserCode2 <em>User Code2</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.DynamicConfigImpl#getPolling <em>Polling</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DynamicConfigImpl extends MinimalEObjectImpl.Container implements DynamicConfig
+{
+ /**
+ * The default value of the '{@link #getFilePath() <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFilePath()
+ * @generated
+ * @ordered
+ */
+ protected static final String FILE_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFilePath() <em>File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFilePath()
+ * @generated
+ * @ordered
+ */
+ protected String filePath = FILE_PATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUserCode1() <em>User Code1</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserCode1()
+ * @generated
+ * @ordered
+ */
+ protected static final String USER_CODE1_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUserCode1() <em>User Code1</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserCode1()
+ * @generated
+ * @ordered
+ */
+ protected String userCode1 = USER_CODE1_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUserCode2() <em>User Code2</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserCode2()
+ * @generated
+ * @ordered
+ */
+ protected static final String USER_CODE2_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUserCode2() <em>User Code2</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUserCode2()
+ * @generated
+ * @ordered
+ */
+ protected String userCode2 = USER_CODE2_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPolling() <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPolling()
+ * @generated
+ * @ordered
+ */
+ protected static final int POLLING_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getPolling() <em>Polling</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPolling()
+ * @generated
+ * @ordered
+ */
+ protected int polling = POLLING_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DynamicConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.DYNAMIC_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFilePath()
+ {
+ return filePath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFilePath(String newFilePath)
+ {
+ String oldFilePath = filePath;
+ filePath = newFilePath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__FILE_PATH, oldFilePath, filePath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUserCode1()
+ {
+ return userCode1;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUserCode1(String newUserCode1)
+ {
+ String oldUserCode1 = userCode1;
+ userCode1 = newUserCode1;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__USER_CODE1, oldUserCode1, userCode1));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUserCode2()
+ {
+ return userCode2;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @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));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPolling()
+ {
+ return polling;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPolling(int newPolling)
+ {
+ int oldPolling = polling;
+ polling = newPolling;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.DYNAMIC_CONFIG__POLLING, oldPolling, polling));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.DYNAMIC_CONFIG__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();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.DYNAMIC_CONFIG__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;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ 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;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ 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;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString()
+ {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (filePath: ");
+ result.append(filePath);
+ result.append(", userCode1: ");
+ result.append(userCode1);
+ result.append(", userCode2: ");
+ result.append(userCode2);
+ result.append(", polling: ");
+ result.append(polling);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DynamicConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/IntLiteralImpl.java
index 5f3084db1..a9cfc4ebf 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
@@ -34,7 +34,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() <em>Value</em>}' attribute.
@@ -44,7 +44,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral
* @generated
* @ordered
*/
- protected int value = VALUE_EDEFAULT;
+ protected long value = VALUE_EDEFAULT;
/**
* <!-- begin-user-doc -->
@@ -72,7 +72,7 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral
* <!-- end-user-doc -->
* @generated
*/
- public int getValue()
+ public long getValue()
{
return value;
}
@@ -82,9 +82,9 @@ public class IntLiteralImpl extends NumberLiteralImpl implements IntLiteral
* <!-- end-user-doc -->
* @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));
@@ -117,7 +117,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/config/impl/SubSystemConfigImpl.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java
new file mode 100644
index 000000000..3c9df8df9
--- /dev/null
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/impl/SubSystemConfigImpl.java
@@ -0,0 +1,260 @@
+/**
+ */
+package org.eclipse.etrice.core.config.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
+import org.eclipse.etrice.core.config.SubSystemConfig;
+
+import org.eclipse.etrice.core.room.SubSystemClass;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub System Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl#getSubSystem <em>Sub System</em>}</li>
+ * <li>{@link org.eclipse.etrice.core.config.impl.SubSystemConfigImpl#getDynConfig <em>Dyn Config</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubSystemConfigImpl extends ConfigElementImpl implements SubSystemConfig
+{
+ /**
+ * The cached value of the '{@link #getSubSystem() <em>Sub System</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubSystem()
+ * @generated
+ * @ordered
+ */
+ protected SubSystemClass subSystem;
+
+ /**
+ * The cached value of the '{@link #getDynConfig() <em>Dyn Config</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDynConfig()
+ * @generated
+ * @ordered
+ */
+ protected DynamicConfig dynConfig;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubSystemConfigImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass()
+ {
+ return ConfigPackage.Literals.SUB_SYSTEM_CONFIG;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubSystemClass getSubSystem()
+ {
+ if (subSystem != null && subSystem.eIsProxy())
+ {
+ InternalEObject oldSubSystem = (InternalEObject)subSystem;
+ subSystem = (SubSystemClass)eResolveProxy(oldSubSystem);
+ if (subSystem != oldSubSystem)
+ {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM, oldSubSystem, subSystem));
+ }
+ }
+ return subSystem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubSystemClass basicGetSubSystem()
+ {
+ return subSystem;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubSystem(SubSystemClass newSubSystem)
+ {
+ SubSystemClass oldSubSystem = subSystem;
+ subSystem = newSubSystem;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM, oldSubSystem, subSystem));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DynamicConfig getDynConfig()
+ {
+ return dynConfig;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDynConfig(DynamicConfig newDynConfig, NotificationChain msgs)
+ {
+ DynamicConfig oldDynConfig = dynConfig;
+ dynConfig = newDynConfig;
+ if (eNotificationRequired())
+ {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, oldDynConfig, newDynConfig);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDynConfig(DynamicConfig newDynConfig)
+ {
+ if (newDynConfig != dynConfig)
+ {
+ NotificationChain msgs = null;
+ if (dynConfig != null)
+ msgs = ((InternalEObject)dynConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, null, msgs);
+ if (newDynConfig != null)
+ msgs = ((InternalEObject)newDynConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, null, msgs);
+ msgs = basicSetDynConfig(newDynConfig, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG, newDynConfig, newDynConfig));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return basicSetDynConfig(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ if (resolve) return getSubSystem();
+ return basicGetSubSystem();
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return getDynConfig();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ setSubSystem((SubSystemClass)newValue);
+ return;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ setDynConfig((DynamicConfig)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ setSubSystem((SubSystemClass)null);
+ return;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ setDynConfig((DynamicConfig)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID)
+ {
+ switch (featureID)
+ {
+ case ConfigPackage.SUB_SYSTEM_CONFIG__SUB_SYSTEM:
+ return subSystem != null;
+ case ConfigPackage.SUB_SYSTEM_CONFIG__DYN_CONFIG:
+ return dynConfig != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SubSystemConfigImpl
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
index ff95dcf08..2049a1230 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigAdapterFactory.java
@@ -85,6 +85,16 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
return createConfigElementAdapter();
}
@Override
+ public Adapter caseSubSystemConfig(SubSystemConfig object)
+ {
+ return createSubSystemConfigAdapter();
+ }
+ @Override
+ public Adapter caseDynamicConfig(DynamicConfig object)
+ {
+ return createDynamicConfigAdapter();
+ }
+ @Override
public Adapter caseActorClassConfig(ActorClassConfig object)
{
return createActorClassConfigAdapter();
@@ -222,6 +232,36 @@ public class ConfigAdapterFactory extends AdapterFactoryImpl
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.SubSystemConfig <em>Sub System Config</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.etrice.core.config.SubSystemConfig
+ * @generated
+ */
+ public Adapter createSubSystemConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.DynamicConfig <em>Dynamic Config</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.etrice.core.config.DynamicConfig
+ * @generated
+ */
+ public Adapter createDynamicConfigAdapter()
+ {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.config.ActorClassConfig <em>Actor Class Config</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
index ab7d81a01..e5bfbbd8f 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/config/util/ConfigSwitch.java
@@ -86,6 +86,21 @@ public class ConfigSwitch<T> extends Switch<T>
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case ConfigPackage.SUB_SYSTEM_CONFIG:
+ {
+ SubSystemConfig subSystemConfig = (SubSystemConfig)theEObject;
+ T result = caseSubSystemConfig(subSystemConfig);
+ if (result == null) result = caseConfigElement(subSystemConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case ConfigPackage.DYNAMIC_CONFIG:
+ {
+ DynamicConfig dynamicConfig = (DynamicConfig)theEObject;
+ T result = caseDynamicConfig(dynamicConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
case ConfigPackage.ACTOR_CLASS_CONFIG:
{
ActorClassConfig actorClassConfig = (ActorClassConfig)theEObject;
@@ -254,6 +269,38 @@ public class ConfigSwitch<T> extends Switch<T>
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Sub System Config</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Sub System Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubSystemConfig(SubSystemConfig object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Dynamic Config</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dynamic Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDynamicConfig(DynamicConfig object)
+ {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Actor Class Config</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
index 5183c5268..a9e7e19bf 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g
@@ -136,33 +136,270 @@ ruleConfigElement returns [EObject current=null]
@after { leaveRule(); }:
(
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_0());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0());
}
- this_ActorClassConfig_0=ruleActorClassConfig
+ this_SubSystemConfig_0=ruleSubSystemConfig
{
- $current = $this_ActorClassConfig_0.current;
+ $current = $this_SubSystemConfig_0.current;
afterParserOrEnumRuleCall();
}
|
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_1());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1());
}
- this_ActorInstanceConfig_1=ruleActorInstanceConfig
+ this_ActorClassConfig_1=ruleActorClassConfig
{
- $current = $this_ActorInstanceConfig_1.current;
+ $current = $this_ActorClassConfig_1.current;
afterParserOrEnumRuleCall();
}
|
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2());
}
- this_ProtocolClassConfig_2=ruleProtocolClassConfig
+ this_ActorInstanceConfig_2=ruleActorInstanceConfig
{
- $current = $this_ProtocolClassConfig_2.current;
+ $current = $this_ActorInstanceConfig_2.current;
afterParserOrEnumRuleCall();
}
+
+ |
+ {
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3());
+ }
+ this_ProtocolClassConfig_3=ruleProtocolClassConfig
+ {
+ $current = $this_ProtocolClassConfig_3.current;
+ afterParserOrEnumRuleCall();
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRuleSubSystemConfig
+entryRuleSubSystemConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getSubSystemConfigRule()); }
+ iv_ruleSubSystemConfig=ruleSubSystemConfig
+ { $current=$iv_ruleSubSystemConfig.current; }
+ EOF
+;
+
+// Rule SubSystemConfig
+ruleSubSystemConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='SubSystemConfig'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0());
+ }
+(
+(
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getSubSystemConfigRule());
+ }
+ }
+ otherlv_1=RULE_ID
+ {
+ newLeafNode(otherlv_1, grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0());
+ }
+
+)
+) otherlv_2='{'
+ {
+ newLeafNode(otherlv_2, grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2());
+ }
+(
+(
+ {
+ newCompositeNode(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0());
+ }
+ lv_dynConfig_3_0=ruleDynamicConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getSubSystemConfigRule());
+ }
+ set(
+ $current,
+ "dynConfig",
+ lv_dynConfig_3_0,
+ "DynamicConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+) otherlv_4='}'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4());
+ }
+)
+;
+
+
+
+
+
+// Entry rule entryRuleDynamicConfig
+entryRuleDynamicConfig returns [EObject current=null]
+ :
+ { newCompositeNode(grammarAccess.getDynamicConfigRule()); }
+ iv_ruleDynamicConfig=ruleDynamicConfig
+ { $current=$iv_ruleDynamicConfig.current; }
+ EOF
+;
+
+// Rule DynamicConfig
+ruleDynamicConfig returns [EObject current=null]
+ @init { enterRule();
+ }
+ @after { leaveRule(); }:
+( otherlv_0='dynamic configuration'
+ {
+ newLeafNode(otherlv_0, grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0());
+ }
+ otherlv_1='{'
+ {
+ newLeafNode(otherlv_1, grammarAccess.getDynamicConfigAccess().getLeftCurlyBracketKeyword_1());
+ }
+(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0);
+ }
+ ({true}?=>(( otherlv_3='file path'
+ {
+ newLeafNode(otherlv_3, grammarAccess.getDynamicConfigAccess().getFilePathKeyword_2_0_0_0());
+ }
+(
+(
+ lv_filePath_4_0=RULE_STRING
+ {
+ newLeafNode(lv_filePath_4_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "filePath",
+ lv_filePath_4_0,
+ "STRING");
+ }
+
+)
+))
+ |(( otherlv_5='user import'
+ {
+ newLeafNode(otherlv_5, grammarAccess.getDynamicConfigAccess().getUserImportKeyword_2_0_1_0_0());
+ }
+(
+(
+ lv_userCode1_6_0=RULE_STRING
+ {
+ 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");
+ }
+
+)
+))( 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());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 1);
+ }
+ ({true}?=>( otherlv_9='polling timer [ms]'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getDynamicConfigAccess().getPollingTimerMsKeyword_2_1_0());
+ }
+(
+(
+ lv_polling_10_0=RULE_INT
+ {
+ newLeafNode(lv_polling_10_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0());
+ }
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ $current,
+ "polling",
+ lv_polling_10_0,
+ "INT");
+ }
+
+)
+)))
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+ )
+ )
+
+ )+
+ {getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2())}?
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+ }
+
+) otherlv_11='}'
+ {
+ newLeafNode(otherlv_11, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3());
+ }
)
;
@@ -296,44 +533,84 @@ ruleActorInstanceConfig returns [EObject current=null]
newLeafNode(otherlv_4, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4());
}
(
+
+(
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+ }
+ (
+ (
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0);
+ }
+ ({true}?=>(
(
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0_0());
}
- lv_attributes_5_0=ruleAttrInstanceConfig {
+ lv_attributes_6_0=ruleAttrInstanceConfig {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
add(
$current,
"attributes",
- lv_attributes_5_0,
+ lv_attributes_6_0,
"AttrInstanceConfig");
afterParserOrEnumRuleCall();
}
)
-)*(
+))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+ }
+ )
+ ) |
+
+ (
+ {getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1)}?=>(
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1);
+ }
+ ({true}?=>(
(
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
+ newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_5_1_0());
}
- lv_ports_6_0=rulePortInstanceConfig {
+ lv_ports_7_0=rulePortInstanceConfig {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
}
add(
$current,
"ports",
- lv_ports_6_0,
+ lv_ports_7_0,
"PortInstanceConfig");
afterParserOrEnumRuleCall();
}
)
-)* otherlv_7='}'
+))+
+ {
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+ }
+ )
+ )
+
+ )*
+ )
+)
+ {
+ getUnorderedGroupHelper().leave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+ }
+
+) otherlv_8='}'
{
- newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
+ newLeafNode(otherlv_8, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6());
}
)
;
@@ -654,99 +931,77 @@ ruleAttrClassConfig returns [EObject current=null]
{
newLeafNode(otherlv_4, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0());
}
-(
-
-(
- {
- getUnorderedGroupHelper().enter(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
- }
- (
- (
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0);
- }
- ({true}?=>( otherlv_6='min'
+(( otherlv_5='min'
{
- newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
+ newLeafNode(otherlv_5, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
}
- otherlv_7='='
+ otherlv_6='='
{
- newLeafNode(otherlv_7, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1());
+ newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1());
}
(
(
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0());
}
- lv_min_8_0=ruleNumberLiteral {
+ lv_min_7_0=ruleNumberLiteral {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
}
set(
$current,
"min",
- lv_min_8_0,
+ lv_min_7_0,
"NumberLiteral");
afterParserOrEnumRuleCall();
}
)
-)))
- {
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
- }
- )
- ) |
-
- (
- {getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1)}?=>(
- {
- getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1);
- }
- ({true}?=>( otherlv_9='max'
+))?( otherlv_8='max'
{
- newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
+ newLeafNode(otherlv_8, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
}
- otherlv_10='='
+ otherlv_9='='
{
- newLeafNode(otherlv_10, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1());
+ newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1());
}
(
(
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0());
}
- lv_max_11_0=ruleNumberLiteral {
+ lv_max_10_0=ruleNumberLiteral {
if ($current==null) {
$current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
}
set(
$current,
"max",
- lv_max_11_0,
+ lv_max_10_0,
"NumberLiteral");
afterParserOrEnumRuleCall();
}
)
-)))
- {
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
- }
- )
- )
+))?(
+(
+ {
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_1_2_0());
+ }
+ lv_attributes_11_0=ruleAttrClassConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_11_0,
+ "AttrClassConfig");
+ afterParserOrEnumRuleCall();
+ }
- )*
- )
)
- {
- getUnorderedGroupHelper().leave(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
- }
-
-) otherlv_12='}'
+)*) otherlv_12='}'
{
newLeafNode(otherlv_12, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2());
}
@@ -810,7 +1065,68 @@ ruleAttrInstanceConfig returns [EObject current=null]
}
)
-))?)
+))?( otherlv_4='{'
+ {
+ newLeafNode(otherlv_4, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0());
+ }
+(((
+(
+ lv_dynConfig_5_0= 'dynamic configuration'
+ {
+ newLeafNode(lv_dynConfig_5_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0());
+ }
+
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed($current, "dynConfig", true, "dynamic configuration");
+ }
+
+)
+)((
+(
+ lv_readOnly_6_0= 'read'
+ {
+ newLeafNode(lv_readOnly_6_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_1_0_0());
+ }
+
+ {
+ if ($current==null) {
+ $current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed($current, "readOnly", true, "read");
+ }
+
+)
+)
+ | otherlv_7='write'
+ {
+ newLeafNode(otherlv_7, grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1());
+ }
+))?(
+(
+ {
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0());
+ }
+ lv_attributes_8_0=ruleAttrInstanceConfig {
+ if ($current==null) {
+ $current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule());
+ }
+ add(
+ $current,
+ "attributes",
+ lv_attributes_8_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+ }
+
+)
+)*) otherlv_9='}'
+ {
+ newLeafNode(otherlv_9, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2());
+ }
+)?)
;
@@ -1793,32 +2109,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);
- }
-
- {
- 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);
+ this_EXP_5=RULE_EXP {
+ $current.merge(this_EXP_5);
}
{
- newLeafNode(this_INT_8, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_6());
+ newLeafNode(this_EXP_5, grammarAccess.getDecimalExpAccess().getEXPTerminalRuleCall_4());
}
)
;
@@ -1830,6 +2126,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 aeb69ec85..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,4 +1,5 @@
RULE_ID=4
+RULE_EXP=8
T__29=29
T__28=28
T__27=27
@@ -7,50 +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__32=32
-T__33=33
T__16=16
-T__34=34
T__15=15
-T__35=35
T__18=18
T__17=17
-T__12=12
T__14=14
T__13=13
RULE_INT=6
-RULE_WS=10
-'Attr'=22
-'true'=33
-'}'=14
-'/'=16
-'model'=28
-'ActorClassConfig'=12
-'{'=13
-'.*'=29
-'conjugate'=19
-'ActorInstanceConfig'=15
-'false'=32
-'='=23
-'Port'=20
-'-'=35
-'InterfaceItem'=21
-'+'=34
-'min'=24
-','=31
-'.'=30
-'ProtocolClassConfig'=17
-'regular'=18
-'max'=25
-'from'=27
-'import'=26
+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__34=34
+T__35=35
+T__36=36
+T__37=37
+T__38=38
+T__39=39
+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'=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 bede177eb..76bae0166 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
@@ -13,6 +13,7 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalConfigLexer extends Lexer {
public static final int RULE_ID=4;
+ 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;
@@ -21,30 +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__30=30;
public static final int T__19=19;
- public static final int T__31=31;
- public static final int T__32=32;
- public static final int RULE_STRING=5;
public static final int RULE_HEX=7;
public static final int T__16=16;
- public static final int T__33=33;
public static final int T__15=15;
- public static final int T__34=34;
public static final int T__18=18;
- public static final int T__35=35;
public static final int T__17=17;
- public static final int T__12=12;
public static final int T__14=14;
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 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__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int T__37=37;
+ public static final int T__38=38;
+ public static final int T__39=39;
+ public static final int RULE_WS=11;
// delegates
// delegators
@@ -59,36 +68,16 @@ 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 {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:7: ( 'ActorClassConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:9: 'ActorClassConfig'
- {
- match("ActorClassConfig");
-
-
- }
-
- 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: '{'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:7: ( 'SubSystemConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:11:9: 'SubSystemConfig'
{
- match('{');
+ match("SubSystemConfig");
+
}
@@ -105,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('{');
}
@@ -125,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: ( 'ActorInstanceConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:14:9: 'ActorInstanceConfig'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:7: ( '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:13:9: '}'
{
- match("ActorInstanceConfig");
-
+ match('}');
}
@@ -146,10 +134,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__16;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:7: ( '/' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:15:9: '/'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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('/');
+ match("dynamic configuration");
+
}
@@ -166,10 +155,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__17;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:7: ( 'ProtocolClassConfig' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:16:9: 'ProtocolClassConfig'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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("ProtocolClassConfig");
+ match("file path");
}
@@ -187,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: ( 'regular' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:17:9: 'regular'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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("regular");
+ match("user import");
}
@@ -208,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: ( 'conjugate' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:18:9: 'conjugate'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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("conjugate");
+ match("user constructor");
}
@@ -229,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: ( 'Port' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'Port'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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("Port");
+ match("polling timer [ms]");
}
@@ -250,10 +239,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__21;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( 'InterfaceItem' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'InterfaceItem'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:7: ( 'ActorClassConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:19:9: 'ActorClassConfig'
{
- match("InterfaceItem");
+ match("ActorClassConfig");
}
@@ -271,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: ( 'Attr' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: 'Attr'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:7: ( 'ActorInstanceConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:20:9: 'ActorInstanceConfig'
{
- match("Attr");
+ match("ActorInstanceConfig");
}
@@ -292,10 +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: ( '=' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: '='
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:7: ( '/' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:21:9: '/'
{
- match('=');
+ match('/');
}
@@ -312,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: ( 'min' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'min'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:7: ( 'ProtocolClassConfig' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:22:9: 'ProtocolClassConfig'
{
- match("min");
+ match("ProtocolClassConfig");
}
@@ -333,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: ( 'max' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'max'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:7: ( 'regular' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:23:9: 'regular'
{
- match("max");
+ match("regular");
}
@@ -354,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: ( 'import' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'import'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:7: ( 'conjugate' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:24:9: 'conjugate'
{
- match("import");
+ match("conjugate");
}
@@ -375,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: ( 'from' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'from'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:7: ( 'Port' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:25:9: 'Port'
{
- match("from");
+ match("Port");
}
@@ -396,10 +385,10 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__28;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( 'model' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: 'model'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:7: ( 'InterfaceItem' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:26:9: 'InterfaceItem'
{
- match("model");
+ match("InterfaceItem");
}
@@ -417,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: ( '.*' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: '.*'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:7: ( 'Attr' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:27:9: 'Attr'
{
- match(".*");
+ match("Attr");
}
@@ -438,10 +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: ( '.' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: '.'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:7: ( '=' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:28:9: '='
{
- match('.');
+ match('=');
}
@@ -458,10 +447,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__31;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:7: ( ',' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: ','
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:7: ( 'min' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:29:9: 'min'
{
- match(',');
+ match("min");
+
}
@@ -478,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: ( 'false' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'false'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:7: ( 'max' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:30:9: 'max'
{
- match("false");
+ match("max");
}
@@ -499,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: ( 'true' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'true'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:7: ( 'read' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:31:9: 'read'
{
- match("true");
+ match("read");
}
@@ -520,10 +510,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__34;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:7: ( '+' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:7: ( 'write' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:32:9: 'write'
{
- match('+');
+ match("write");
+
}
@@ -540,10 +531,11 @@ public class InternalConfigLexer extends Lexer {
try {
int _type = T__35;
int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:7: ( '-' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:7: ( 'import' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:33:9: 'import'
{
- match('-');
+ match("import");
+
}
@@ -555,43 +547,312 @@ public class InternalConfigLexer extends Lexer {
}
// $ANTLR end "T__35"
+ // $ANTLR start "T__36"
+ public final void mT__36() throws RecognitionException {
+ try {
+ int _type = T__36;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:7: ( 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:34:9: 'from'
+ {
+ match("from");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__36"
+
+ // $ANTLR start "T__37"
+ public final void mT__37() throws RecognitionException {
+ try {
+ int _type = T__37;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:7: ( 'model' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:35:9: 'model'
+ {
+ match("model");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__37"
+
+ // $ANTLR start "T__38"
+ public final void mT__38() throws RecognitionException {
+ try {
+ int _type = T__38;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:36:7: ( '.*' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:36:9: '.*'
+ {
+ match(".*");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__38"
+
+ // $ANTLR start "T__39"
+ public final void mT__39() throws RecognitionException {
+ try {
+ int _type = T__39;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:37:7: ( '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:37:9: '.'
+ {
+ match('.');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__39"
+
+ // $ANTLR start "T__40"
+ public final void mT__40() throws RecognitionException {
+ try {
+ int _type = T__40;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:7: ( ',' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:38:9: ','
+ {
+ match(',');
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__40"
+
+ // $ANTLR start "T__41"
+ public final void mT__41() throws RecognitionException {
+ try {
+ int _type = T__41;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:7: ( 'false' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:39:9: 'false'
+ {
+ match("false");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $ANTLR end "T__41"
+
+ // $ANTLR start "T__42"
+ public final void mT__42() throws RecognitionException {
+ try {
+ int _type = T__42;
+ int _channel = DEFAULT_TOKEN_CHANNEL;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:7: ( 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:40:9: 'true'
+ {
+ match("true");
+
+
+ }
+
+ state.type = _type;
+ state.channel = _channel;
+ }
+ finally {
+ }
+ }
+ // $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:2129:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2129: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:2129: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:2129: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:2129: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:1833:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2131: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:2131:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:12: ( '0x' | '0X' )
- 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:2131: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:1833:13: '0x'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2131:13: '0x'
{
match("0x");
@@ -599,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:1833:18: '0X'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2131:18: '0X'
{
match("0X");
@@ -609,19 +870,19 @@ public class InternalConfigLexer extends Lexer {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1833:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+
- int cnt2=0;
- loop2:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2131: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:
{
@@ -639,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);
@@ -663,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:1835:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2133: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:2133:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1835:11: ( '^' )?
- 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:2133: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:1835:11: '^'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2133:11: '^'
{
match('^');
@@ -693,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:1835:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop4:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2133: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:
{
@@ -722,7 +983,7 @@ public class InternalConfigLexer extends Lexer {
break;
default :
- break loop4;
+ break loop6;
}
} while (true);
@@ -742,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:1837:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:12: ( '0' .. '9' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2135:10: ( ( '0' .. '9' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2135:12: ( '0' .. '9' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1837:12: ( '0' .. '9' )+
- int cnt5=0;
- loop5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2135: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:1837:13: '0' .. '9'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2135:13: '0' .. '9'
{
matchRange('0','9');
@@ -767,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);
@@ -791,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:1839:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137: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:2137:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )
- int alt8=2;
- int LA8_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137: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:1839:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"'
{
match('\"');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop6:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137: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:1839:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
@@ -847,7 +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:1839:66: ~ ( ( '\\\\' | '\"' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:66: ~ ( ( '\\\\' | '\"' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -863,7 +1124,7 @@ public class InternalConfigLexer extends Lexer {
break;
default :
- break loop6;
+ break loop8;
}
} while (true);
@@ -872,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:1839:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\''
{
match('\'');
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )*
- loop7:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137: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:1839:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' )
{
match('\\');
if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) {
@@ -907,7 +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:1839:137: ~ ( ( '\\\\' | '\\'' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2137:137: ~ ( ( '\\\\' | '\\'' ) )
{
if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) {
input.consume();
@@ -923,7 +1184,7 @@ public class InternalConfigLexer extends Lexer {
break;
default :
- break loop7;
+ break loop9;
}
} while (true);
@@ -950,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:1841:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:19: '/*' ( options {greedy=false; } : . )* '*/'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2139:17: ( '/*' ( options {greedy=false; } : . )* '*/' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2139:19: '/*' ( options {greedy=false; } : . )* '*/'
{
match("/*");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1841:24: ( options {greedy=false; } : . )*
- loop9:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2139: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:1841:52: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2139:52: .
{
matchAny();
@@ -988,7 +1249,7 @@ public class InternalConfigLexer extends Lexer {
break;
default :
- break loop9;
+ break loop11;
}
} while (true);
@@ -1010,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:1843:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )?
{
match("//");
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:24: (~ ( ( '\\n' | '\\r' ) ) )*
- loop10:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141: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:1843:24: ~ ( ( '\\n' | '\\r' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141: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();
@@ -1044,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:1843: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:2141: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:1843:41: ( '\\r' )? '\\n'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141:41: ( '\\r' )? '\\n'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1843:41: ( '\\r' )?
- int alt11=2;
- int LA11_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141: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:1843:41: '\\r'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2141:41: '\\r'
{
match('\r');
@@ -1100,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:1845:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1845:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2143:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2143:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1845:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt13=0;
- loop13:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2143: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:
{
@@ -1133,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);
@@ -1157,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:1847:16: ( . )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1847:18: .
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2145:16: ( . )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2145:18: .
{
matchAny();
@@ -1173,229 +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 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER )
- int alt14=32;
- alt14 = dfa14.predict(input);
- switch (alt14) {
+ // ../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: RULE_HEX
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:154: T__37
{
- mRULE_HEX();
+ mT__37();
}
break;
case 26 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:163: RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:160: T__38
{
- mRULE_ID();
+ mT__38();
}
break;
case 27 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:171: RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:166: T__39
{
- mRULE_INT();
+ mT__39();
}
break;
case 28 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:180: RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:172: T__40
{
- mRULE_STRING();
+ mT__40();
}
break;
case 29 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:192: RULE_ML_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:178: T__41
{
- mRULE_ML_COMMENT();
+ mT__41();
}
break;
case 30 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:208: RULE_SL_COMMENT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:184: T__42
{
- mRULE_SL_COMMENT();
+ mT__42();
}
break;
case 31 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:224: RULE_WS
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:190: T__43
{
- mRULE_WS();
+ mT__43();
}
break;
case 32 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:232: RULE_ANY_OTHER
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:196: T__44
+ {
+ mT__44();
+
+ }
+ break;
+ case 33 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:202: RULE_EXP
+ {
+ mRULE_EXP();
+
+ }
+ break;
+ case 34 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:211: RULE_HEX
+ {
+ mRULE_HEX();
+
+ }
+ break;
+ case 35 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:220: RULE_ID
+ {
+ mRULE_ID();
+
+ }
+ break;
+ case 36 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:228: RULE_INT
+ {
+ mRULE_INT();
+
+ }
+ break;
+ case 37 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:237: RULE_STRING
+ {
+ mRULE_STRING();
+
+ }
+ break;
+ case 38 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1:249: RULE_ML_COMMENT
+ {
+ mRULE_ML_COMMENT();
+
+ }
+ break;
+ case 39 :
+ // ../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();
@@ -1407,336 +1731,416 @@ public class InternalConfigLexer extends Lexer {
}
- protected DFA14 dfa14 = new DFA14(this);
- static final String DFA14_eotS =
- "\1\uffff\1\34\2\uffff\1\41\4\34\1\uffff\3\34\1\57\1\uffff\1\34"+
- "\2\uffff\1\65\1\31\2\uffff\2\31\2\uffff\2\34\6\uffff\5\34\1\uffff"+
- "\6\34\3\uffff\1\34\6\uffff\7\34\1\115\1\116\6\34\1\125\1\34\1\127"+
- "\3\34\2\uffff\2\34\1\135\1\34\1\137\1\34\1\uffff\1\34\1\uffff\3"+
- "\34\1\146\1\34\1\uffff\1\150\1\uffff\6\34\1\uffff\1\157\1\uffff"+
- "\3\34\1\163\2\34\1\uffff\3\34\1\uffff\5\34\1\176\4\34\1\uffff\14"+
- "\34\1\u008f\3\34\1\uffff\3\34\1\u0096\2\34\1\uffff\4\34\1\u009d"+
- "\1\u009e\2\uffff";
- static final String DFA14_eofS =
- "\u009f\uffff";
- static final String DFA14_minS =
- "\1\0\1\143\2\uffff\1\52\1\157\1\145\1\157\1\156\1\uffff\1\141\1"+
- "\155\1\141\1\52\1\uffff\1\162\2\uffff\1\130\1\101\2\uffff\2\0\2"+
- "\uffff\2\164\6\uffff\1\157\1\162\1\147\1\156\1\164\1\uffff\1\156"+
- "\1\170\1\144\1\160\1\157\1\154\3\uffff\1\165\6\uffff\1\157\1\162"+
- "\2\164\1\165\1\152\1\145\2\60\1\145\1\157\1\155\1\163\1\145\1\162"+
- "\1\60\1\157\1\60\1\154\1\165\1\162\2\uffff\1\154\1\162\1\60\1\145"+
- "\1\60\1\103\1\uffff\1\143\1\uffff\1\141\1\147\1\146\1\60\1\164\1"+
- "\uffff\1\60\1\uffff\1\154\1\156\1\157\1\162\2\141\1\uffff\1\60\1"+
- "\uffff\1\141\1\163\1\154\1\60\1\164\1\143\1\uffff\1\163\1\164\1"+
- "\103\1\uffff\2\145\1\163\1\141\1\154\1\60\1\111\1\103\1\156\1\141"+
- "\1\uffff\1\164\1\157\1\143\1\163\1\145\1\156\1\145\1\163\1\155\1"+
- "\146\2\103\1\60\1\151\2\157\1\uffff\1\147\2\156\1\60\2\146\1\uffff"+
- "\2\151\2\147\2\60\2\uffff";
- static final String DFA14_maxS =
- "\1\uffff\1\164\2\uffff\1\57\1\162\1\145\1\157\1\156\1\uffff\1\157"+
- "\1\155\1\162\1\52\1\uffff\1\162\2\uffff\1\170\1\172\2\uffff\2\uffff"+
- "\2\uffff\2\164\6\uffff\1\157\1\162\1\147\1\156\1\164\1\uffff\1\156"+
- "\1\170\1\144\1\160\1\157\1\154\3\uffff\1\165\6\uffff\1\157\1\162"+
- "\2\164\1\165\1\152\1\145\2\172\1\145\1\157\1\155\1\163\1\145\1\162"+
- "\1\172\1\157\1\172\1\154\1\165\1\162\2\uffff\1\154\1\162\1\172\1"+
- "\145\1\172\1\111\1\uffff\1\143\1\uffff\1\141\1\147\1\146\1\172\1"+
- "\164\1\uffff\1\172\1\uffff\1\154\1\156\1\157\1\162\2\141\1\uffff"+
- "\1\172\1\uffff\1\141\1\163\1\154\1\172\1\164\1\143\1\uffff\1\163"+
- "\1\164\1\103\1\uffff\2\145\1\163\1\141\1\154\1\172\1\111\1\103\1"+
- "\156\1\141\1\uffff\1\164\1\157\1\143\1\163\1\145\1\156\1\145\1\163"+
- "\1\155\1\146\2\103\1\172\1\151\2\157\1\uffff\1\147\2\156\1\172\2"+
- "\146\1\uffff\2\151\2\147\2\172\2\uffff";
- static final String DFA14_acceptS =
- "\2\uffff\1\2\1\3\5\uffff\1\14\4\uffff\1\24\1\uffff\1\27\1\30\2"+
- "\uffff\1\32\1\33\2\uffff\1\37\1\40\2\uffff\1\32\1\2\1\3\1\35\1\36"+
- "\1\5\5\uffff\1\14\6\uffff\1\22\1\23\1\24\1\uffff\1\27\1\30\1\31"+
- "\1\33\1\34\1\37\25\uffff\1\15\1\16\6\uffff\1\13\1\uffff\1\11\5\uffff"+
- "\1\20\1\uffff\1\26\6\uffff\1\21\1\uffff\1\25\6\uffff\1\17\3\uffff"+
- "\1\7\12\uffff\1\10\20\uffff\1\12\6\uffff\1\1\6\uffff\1\4\1\6";
- static final String DFA14_specialS =
- "\1\1\25\uffff\1\0\1\2\u0087\uffff}>";
- static final String[] DFA14_transitionS = {
- "\11\31\2\30\2\31\1\30\22\31\1\30\1\31\1\26\4\31\1\27\3\31\1"+
- "\20\1\16\1\21\1\15\1\4\1\22\11\25\3\31\1\11\3\31\1\1\7\24\1"+
- "\10\6\24\1\5\12\24\3\31\1\23\1\24\1\31\2\24\1\7\2\24\1\14\2"+
- "\24\1\13\3\24\1\12\4\24\1\6\1\24\1\17\6\24\1\2\1\31\1\3\uff82"+
- "\31",
- "\1\32\20\uffff\1\33",
+ 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\37\4\uffff\1\40",
- "\1\43\2\uffff\1\42",
"\1\44",
- "\1\45",
- "\1\46",
- "",
- "\1\51\7\uffff\1\50\5\uffff\1\52",
- "\1\53",
- "\1\55\20\uffff\1\54",
- "\1\56",
- "",
+ "\1\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\37\uffff\1\64",
- "\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
- "",
- "\0\66",
- "\0\66",
- "",
- "",
+ "\1\66\7\uffff\1\65\5\uffff\1\67",
"\1\70",
"\1\71",
- "",
- "",
- "",
- "",
- "",
- "",
"\1\72",
- "\1\73",
- "\1\74",
- "\1\75",
- "\1\76",
"",
- "\1\77",
- "\1\100",
- "\1\101",
- "\1\102",
- "\1\103",
- "\1\104",
+ "\1\75",
"",
"",
+ "\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",
"",
- "\1\105",
"",
+ "\0\104",
+ "\0\104",
"",
"",
+ "\1\106",
"",
"",
"",
- "\1\106",
"\1\107",
"\1\110",
"\1\111",
"\1\112",
"\1\113",
"\1\114",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\115",
+ "\1\116",
+ "",
+ "",
+ "",
"\1\117",
"\1\120",
- "\1\121",
- "\1\122",
+ "\1\122\5\uffff\1\121",
"\1\123",
"\1\124",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "",
+ "\1\125",
"\1\126",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\127",
"\1\130",
"\1\131",
+ "",
+ "",
+ "",
"\1\132",
"",
"",
+ "",
+ "\12\101\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
+ "",
+ "",
+ "",
+ "",
"\1\133",
"\1\134",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\135",
"\1\136",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "\1\140\5\uffff\1\141",
- "",
+ "\1\137",
+ "\1\140",
+ "\1\141",
"\1\142",
- "",
"\1\143",
"\1\144",
"\1\145",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\146",
"\1\147",
- "",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
+ "\1\150",
"\1\151",
- "\1\152",
- "\1\153",
+ "\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",
"\1\155",
"\1\156",
- "",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "",
+ "\1\157",
"\1\160",
"\1\161",
"\1\162",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\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",
- "\1\172",
+ "\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",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\176",
+ "",
+ "",
"\1\177",
"\1\u0080",
"\1\u0081",
- "\1\u0082",
- "",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
"\1\u0083",
"\1\u0084",
- "\1\u0085",
- "\1\u0086",
- "\1\u0087",
+ "",
+ "",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
+ "\1\u0087\5\uffff\1\u0086",
"\1\u0088",
- "\1\u0089",
- "\1\u008a",
+ "\1\u0089\5\uffff\1\u008a",
+ "",
"\1\u008b",
+ "",
"\1\u008c",
+ "",
"\1\u008d",
"\1\u008e",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "\1\u0090",
+ "\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\u0092",
"\1\u0093",
+ "",
+ "",
+ "",
"\1\u0094",
"\1\u0095",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u0096",
"\1\u0097",
"\1\u0098",
- "",
"\1\u0099",
"\1\u009a",
- "\1\u009b",
+ "",
+ "",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
"\1\u009c",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
- "\12\34\7\uffff\32\34\4\uffff\1\34\1\uffff\32\34",
+ "\1\u009d",
+ "\1\u009e",
+ "\1\u009f",
+ "\1\u00a0",
+ "\1\u00a1",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
+ "\1\u00a3",
+ "\1\u00a4",
+ "",
+ "\1\u00a5",
+ "",
+ "",
+ "\1\u00a6",
+ "\1\u00a7",
+ "\1\u00a8",
+ "",
+ "\1\u00a9",
+ "\1\u00aa",
+ "\1\u00ab",
+ "\1\u00ac",
+ "\1\u00ad",
+ "\1\u00ae",
+ "\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",
+ "\1\u00b8",
+ "\1\u00b9",
+ "\1\u00ba",
+ "\1\u00bb",
+ "\1\u00bc",
+ "\1\u00bd",
+ "\1\u00be",
+ "\1\u00bf",
+ "\1\u00c0",
+ "\1\u00c1",
+ "\1\u00c2",
+ "\1\u00c3",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
+ "\1\u00c5",
+ "\1\u00c6",
+ "\1\u00c7",
+ "\1\u00c8",
+ "",
+ "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41",
+ "\1\u00ca",
+ "\1\u00cb",
+ "\1\u00cc",
+ "",
+ "\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<numStates; i++) {
- DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]);
+ DFA16_transition[i] = DFA.unpackEncodedString(DFA16_transitionS[i]);
}
}
- class DFA14 extends DFA {
+ class DFA16 extends DFA {
- public DFA14(BaseRecognizer recognizer) {
+ public DFA16(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 14;
- this.eot = DFA14_eot;
- this.eof = DFA14_eof;
- this.min = DFA14_min;
- this.max = DFA14_max;
- this.accept = DFA14_accept;
- this.special = DFA14_special;
- this.transition = DFA14_transition;
+ this.decisionNumber = 16;
+ this.eot = DFA16_eot;
+ this.eof = DFA16_eof;
+ this.min = DFA16_min;
+ this.max = DFA16_max;
+ this.accept = DFA16_accept;
+ this.special = DFA16_special;
+ this.transition = DFA16_transition;
}
public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );";
+ return "1:1: Tokens : ( T__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 );";
}
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
IntStream input = _input;
int _s = s;
switch ( s ) {
case 0 :
- int LA14_22 = input.LA(1);
+ int LA16_29 = input.LA(1);
s = -1;
- if ( ((LA14_22>='\u0000' && LA14_22<='\uFFFF')) ) {s = 54;}
+ if ( ((LA16_29>='\u0000' && LA16_29<='\uFFFF')) ) {s = 68;}
- else s = 25;
+ else s = 31;
if ( s>=0 ) return s;
break;
case 1 :
- int LA14_0 = input.LA(1);
+ int LA16_0 = input.LA(1);
s = -1;
- if ( (LA14_0=='A') ) {s = 1;}
+ if ( (LA16_0=='S') ) {s = 1;}
+
+ else if ( (LA16_0=='{') ) {s = 2;}
+
+ else if ( (LA16_0=='}') ) {s = 3;}
+
+ else if ( (LA16_0=='d') ) {s = 4;}
+
+ else if ( (LA16_0=='f') ) {s = 5;}
+
+ else if ( (LA16_0=='u') ) {s = 6;}
+
+ else if ( (LA16_0=='p') ) {s = 7;}
- else if ( (LA14_0=='{') ) {s = 2;}
+ else if ( (LA16_0=='A') ) {s = 8;}
- else if ( (LA14_0=='}') ) {s = 3;}
+ else if ( (LA16_0=='/') ) {s = 9;}
- else if ( (LA14_0=='/') ) {s = 4;}
+ else if ( (LA16_0=='P') ) {s = 10;}
- else if ( (LA14_0=='P') ) {s = 5;}
+ else if ( (LA16_0=='r') ) {s = 11;}
- else if ( (LA14_0=='r') ) {s = 6;}
+ else if ( (LA16_0=='c') ) {s = 12;}
- else if ( (LA14_0=='c') ) {s = 7;}
+ else if ( (LA16_0=='I') ) {s = 13;}
- else if ( (LA14_0=='I') ) {s = 8;}
+ else if ( (LA16_0=='=') ) {s = 14;}
- else if ( (LA14_0=='=') ) {s = 9;}
+ else if ( (LA16_0=='m') ) {s = 15;}
- else if ( (LA14_0=='m') ) {s = 10;}
+ else if ( (LA16_0=='w') ) {s = 16;}
- else if ( (LA14_0=='i') ) {s = 11;}
+ else if ( (LA16_0=='i') ) {s = 17;}
- else if ( (LA14_0=='f') ) {s = 12;}
+ else if ( (LA16_0=='.') ) {s = 18;}
- else if ( (LA14_0=='.') ) {s = 13;}
+ else if ( (LA16_0==',') ) {s = 19;}
- else if ( (LA14_0==',') ) {s = 14;}
+ else if ( (LA16_0=='t') ) {s = 20;}
- else if ( (LA14_0=='t') ) {s = 15;}
+ else if ( (LA16_0=='+') ) {s = 21;}
- else if ( (LA14_0=='+') ) {s = 16;}
+ else if ( (LA16_0=='-') ) {s = 22;}
- else if ( (LA14_0=='-') ) {s = 17;}
+ else if ( (LA16_0=='E'||LA16_0=='e') ) {s = 23;}
- else if ( (LA14_0=='0') ) {s = 18;}
+ else if ( (LA16_0=='0') ) {s = 24;}
- else if ( (LA14_0=='^') ) {s = 19;}
+ else if ( (LA16_0=='^') ) {s = 25;}
- else if ( ((LA14_0>='B' && LA14_0<='H')||(LA14_0>='J' && LA14_0<='O')||(LA14_0>='Q' && LA14_0<='Z')||LA14_0=='_'||(LA14_0>='a' && LA14_0<='b')||(LA14_0>='d' && LA14_0<='e')||(LA14_0>='g' && LA14_0<='h')||(LA14_0>='j' && LA14_0<='l')||(LA14_0>='n' && LA14_0<='q')||LA14_0=='s'||(LA14_0>='u' && LA14_0<='z')) ) {s = 20;}
+ else if ( ((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>='1' && LA14_0<='9')) ) {s = 21;}
+ else if ( ((LA16_0>='1' && LA16_0<='9')) ) {s = 27;}
- else if ( (LA14_0=='\"') ) {s = 22;}
+ else if ( (LA16_0=='\"') ) {s = 28;}
- else if ( (LA14_0=='\'') ) {s = 23;}
+ else if ( (LA16_0=='\'') ) {s = 29;}
- else if ( ((LA14_0>='\t' && LA14_0<='\n')||LA14_0=='\r'||LA14_0==' ') ) {s = 24;}
+ else if ( ((LA16_0>='\t' && LA16_0<='\n')||LA16_0=='\r'||LA16_0==' ') ) {s = 30;}
- else if ( ((LA14_0>='\u0000' && LA14_0<='\b')||(LA14_0>='\u000B' && LA14_0<='\f')||(LA14_0>='\u000E' && LA14_0<='\u001F')||LA14_0=='!'||(LA14_0>='#' && LA14_0<='&')||(LA14_0>='(' && LA14_0<='*')||(LA14_0>=':' && LA14_0<='<')||(LA14_0>='>' && LA14_0<='@')||(LA14_0>='[' && LA14_0<=']')||LA14_0=='`'||LA14_0=='|'||(LA14_0>='~' && LA14_0<='\uFFFF')) ) {s = 25;}
+ else if ( ((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;}
if ( s>=0 ) return s;
break;
case 2 :
- int LA14_23 = input.LA(1);
+ int LA16_28 = input.LA(1);
s = -1;
- if ( ((LA14_23>='\u0000' && LA14_23<='\uFFFF')) ) {s = 54;}
+ if ( ((LA16_28>='\u0000' && LA16_28<='\uFFFF')) ) {s = 68;}
- else s = 25;
+ 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 8e8861d56..7a0f82a96 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfigParser.java
@@ -21,9 +21,10 @@ import java.util.ArrayList;
@SuppressWarnings("all")
public class InternalConfigParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'ActorClassConfig'", "'{'", "'}'", "'ActorInstanceConfig'", "'/'", "'ProtocolClassConfig'", "'regular'", "'conjugate'", "'Port'", "'InterfaceItem'", "'Attr'", "'='", "'min'", "'max'", "'import'", "'from'", "'model'", "'.*'", "'.'", "','", "'false'", "'true'", "'+'", "'-'"
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_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 RULE_ID=4;
+ 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;
@@ -32,30 +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__32=32;
- public static final int T__33=33;
public static final int T__16=16;
- public static final int T__34=34;
public static final int T__15=15;
- public static final int T__35=35;
public static final int T__18=18;
public static final int T__17=17;
- public static final int T__12=12;
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 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__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int T__37=37;
+ public static final int T__38=38;
+ public static final int T__39=39;
+ public static final int RULE_WS=11;
// delegates
// delegators
@@ -156,7 +165,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt1=2;
int LA1_0 = input.LA(1);
- if ( (LA1_0==26) ) {
+ if ( (LA1_0==35) ) {
alt1=1;
}
@@ -205,7 +214,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
int alt2=2;
int LA2_0 = input.LA(1);
- if ( (LA2_0==12||LA2_0==15||LA2_0==17) ) {
+ if ( (LA2_0==13||(LA2_0>=21 && LA2_0<=22)||LA2_0==24) ) {
alt2=1;
}
@@ -305,41 +314,48 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleConfigElement"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:133:1: ruleConfigElement returns [EObject current=null] : (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:133:1: ruleConfigElement returns [EObject current=null] : (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig ) ;
public final EObject ruleConfigElement() throws RecognitionException {
EObject current = null;
- EObject this_ActorClassConfig_0 = null;
+ EObject this_SubSystemConfig_0 = null;
+
+ EObject this_ActorClassConfig_1 = null;
- EObject this_ActorInstanceConfig_1 = null;
+ EObject this_ActorInstanceConfig_2 = null;
- EObject this_ProtocolClassConfig_2 = null;
+ EObject this_ProtocolClassConfig_3 = null;
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:136:28: ( (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:136:28: ( (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_ActorClassConfig_0= ruleActorClassConfig | this_ActorInstanceConfig_1= ruleActorInstanceConfig | this_ProtocolClassConfig_2= ruleProtocolClassConfig )
- int alt3=3;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:137:1: (this_SubSystemConfig_0= ruleSubSystemConfig | this_ActorClassConfig_1= ruleActorClassConfig | this_ActorInstanceConfig_2= ruleActorInstanceConfig | this_ProtocolClassConfig_3= ruleProtocolClassConfig )
+ int alt3=4;
switch ( input.LA(1) ) {
- case 12:
+ case 13:
{
alt3=1;
}
break;
- case 15:
+ case 21:
{
alt3=2;
}
break;
- case 17:
+ case 22:
{
alt3=3;
}
break;
+ case 24:
+ {
+ alt3=4;
+ }
+ break;
default:
NoViableAltException nvae =
new NoViableAltException("", 3, 0, input);
@@ -349,54 +365,72 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
switch (alt3) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:138:5: this_ActorClassConfig_0= ruleActorClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:138:5: this_SubSystemConfig_0= ruleSubSystemConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_0());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getSubSystemConfigParserRuleCall_0());
- pushFollow(FOLLOW_ruleActorClassConfig_in_ruleConfigElement247);
- this_ActorClassConfig_0=ruleActorClassConfig();
+ pushFollow(FOLLOW_ruleSubSystemConfig_in_ruleConfigElement247);
+ this_SubSystemConfig_0=ruleSubSystemConfig();
state._fsp--;
- current = this_ActorClassConfig_0;
+ current = this_SubSystemConfig_0;
afterParserOrEnumRuleCall();
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:148:5: this_ActorInstanceConfig_1= ruleActorInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:148:5: this_ActorClassConfig_1= ruleActorClassConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_1());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorClassConfigParserRuleCall_1());
- pushFollow(FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement274);
- this_ActorInstanceConfig_1=ruleActorInstanceConfig();
+ pushFollow(FOLLOW_ruleActorClassConfig_in_ruleConfigElement274);
+ this_ActorClassConfig_1=ruleActorClassConfig();
state._fsp--;
- current = this_ActorInstanceConfig_1;
+ current = this_ActorClassConfig_1;
afterParserOrEnumRuleCall();
}
break;
case 3 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:158:5: this_ProtocolClassConfig_2= ruleProtocolClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:158:5: this_ActorInstanceConfig_2= ruleActorInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getConfigElementAccess().getActorInstanceConfigParserRuleCall_2());
+
+ pushFollow(FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement301);
+ this_ActorInstanceConfig_2=ruleActorInstanceConfig();
+
+ state._fsp--;
+
+
+ current = this_ActorInstanceConfig_2;
+ afterParserOrEnumRuleCall();
+
+
+ }
+ break;
+ case 4 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:168:5: this_ProtocolClassConfig_3= ruleProtocolClassConfig
{
- newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_2());
+ newCompositeNode(grammarAccess.getConfigElementAccess().getProtocolClassConfigParserRuleCall_3());
- pushFollow(FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement301);
- this_ProtocolClassConfig_2=ruleProtocolClassConfig();
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement328);
+ this_ProtocolClassConfig_3=ruleProtocolClassConfig();
state._fsp--;
- current = this_ProtocolClassConfig_2;
+ current = this_ProtocolClassConfig_3;
afterParserOrEnumRuleCall();
@@ -422,8 +456,550 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR end "ruleConfigElement"
+ // $ANTLR start "entryRuleSubSystemConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:184:1: entryRuleSubSystemConfig returns [EObject current=null] : iv_ruleSubSystemConfig= ruleSubSystemConfig EOF ;
+ public final EObject entryRuleSubSystemConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSubSystemConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:185:2: (iv_ruleSubSystemConfig= ruleSubSystemConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:186:2: iv_ruleSubSystemConfig= ruleSubSystemConfig EOF
+ {
+ newCompositeNode(grammarAccess.getSubSystemConfigRule());
+ pushFollow(FOLLOW_ruleSubSystemConfig_in_entryRuleSubSystemConfig363);
+ iv_ruleSubSystemConfig=ruleSubSystemConfig();
+
+ state._fsp--;
+
+ current =iv_ruleSubSystemConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSubSystemConfig373);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSubSystemConfig"
+
+
+ // $ANTLR start "ruleSubSystemConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:193:1: ruleSubSystemConfig returns [EObject current=null] : (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' ) ;
+ public final EObject ruleSubSystemConfig() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject lv_dynConfig_3_0 = null;
+
+
+ enterRule();
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:196:28: ( (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:1: (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:1: (otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:197:3: otherlv_0= 'SubSystemConfig' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_dynConfig_3_0= ruleDynamicConfig ) ) otherlv_4= '}'
+ {
+ otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleSubSystemConfig410);
+
+ newLeafNode(otherlv_0, grammarAccess.getSubSystemConfigAccess().getSubSystemConfigKeyword_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:201:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:202:1: (otherlv_1= RULE_ID )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:202:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:203:3: otherlv_1= RULE_ID
+ {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSubSystemConfigRule());
+ }
+
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubSystemConfig430);
+
+ newLeafNode(otherlv_1, grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassCrossReference_1_0());
+
+
+ }
+
+
+ }
+
+ otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleSubSystemConfig442);
+
+ newLeafNode(otherlv_2, grammarAccess.getSubSystemConfigAccess().getLeftCurlyBracketKeyword_2());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:218:1: ( (lv_dynConfig_3_0= ruleDynamicConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:219:1: (lv_dynConfig_3_0= ruleDynamicConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:219:1: (lv_dynConfig_3_0= ruleDynamicConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:220:3: lv_dynConfig_3_0= ruleDynamicConfig
+ {
+
+ newCompositeNode(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0());
+
+ pushFollow(FOLLOW_ruleDynamicConfig_in_ruleSubSystemConfig463);
+ lv_dynConfig_3_0=ruleDynamicConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSubSystemConfigRule());
+ }
+ set(
+ current,
+ "dynConfig",
+ lv_dynConfig_3_0,
+ "DynamicConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleSubSystemConfig475);
+
+ newLeafNode(otherlv_4, grammarAccess.getSubSystemConfigAccess().getRightCurlyBracketKeyword_4());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSubSystemConfig"
+
+
+ // $ANTLR start "entryRuleDynamicConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:248:1: entryRuleDynamicConfig returns [EObject current=null] : iv_ruleDynamicConfig= ruleDynamicConfig EOF ;
+ public final EObject entryRuleDynamicConfig() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDynamicConfig = null;
+
+
+ try {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:249:2: (iv_ruleDynamicConfig= ruleDynamicConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:250:2: iv_ruleDynamicConfig= ruleDynamicConfig EOF
+ {
+ newCompositeNode(grammarAccess.getDynamicConfigRule());
+ pushFollow(FOLLOW_ruleDynamicConfig_in_entryRuleDynamicConfig511);
+ iv_ruleDynamicConfig=ruleDynamicConfig();
+
+ state._fsp--;
+
+ current =iv_ruleDynamicConfig;
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDynamicConfig521);
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDynamicConfig"
+
+
+ // $ANTLR start "ruleDynamicConfig"
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:257:1: ruleDynamicConfig returns [EObject current=null] : (otherlv_0= 'dynamic configuration' otherlv_1= '{' ( ( ( ( ({...}? => ( ({...}? => ( (otherlv_3= '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_filePath_4_0=null;
+ Token otherlv_5=null;
+ Token lv_userCode1_6_0=null;
+ Token otherlv_7=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= '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= '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,16,FOLLOW_16_in_ruleDynamicConfig558);
+
+ newLeafNode(otherlv_0, grammarAccess.getDynamicConfigAccess().getDynamicConfigurationKeyword_0());
+
+ 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= '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= '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= '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= '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 >=17 && LA5_0<=18 && getUnorderedGroupHelper().canSelect(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2(), 0) ) {
+ alt5=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= '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= '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= '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= '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= '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: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_3=(Token)match(input,17,FOLLOW_17_in_ruleDynamicConfig629);
+
+ 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: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: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_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDynamicConfig646);
+
+ newLeafNode(lv_filePath_4_0, grammarAccess.getDynamicConfigAccess().getFilePathSTRINGTerminalRuleCall_2_0_0_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ current,
+ "filePath",
+ lv_filePath_4_0,
+ "STRING");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ 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;
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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: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: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: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: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_9=(Token)match(input,20,FOLLOW_20_in_ruleDynamicConfig800);
+
+ 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: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: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_10_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDynamicConfig817);
+
+ newLeafNode(lv_polling_10_0, grammarAccess.getDynamicConfigAccess().getPollingINTTerminalRuleCall_2_1_1_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getDynamicConfigRule());
+ }
+ setWithLastConsumed(
+ current,
+ "polling",
+ lv_polling_10_0,
+ "INT");
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt5 >= 1 ) break loop5;
+ EarlyExitException eee =
+ new EarlyExitException(5, input);
+ throw eee;
+ }
+ cnt5++;
+ } while (true);
+
+ if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2()) ) {
+ throw new FailedPredicateException(input, "ruleDynamicConfig", "getUnorderedGroupHelper().canLeave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2())");
+ }
+
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getDynamicConfigAccess().getUnorderedGroup_2());
+
+
+ }
+
+ otherlv_11=(Token)match(input,15,FOLLOW_15_in_ruleDynamicConfig881);
+
+ newLeafNode(otherlv_11, grammarAccess.getDynamicConfigAccess().getRightCurlyBracketKeyword_3());
+
+
+ }
+
+
+ }
+
+ leaveRule();
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDynamicConfig"
+
+
// $ANTLR start "entryRuleActorClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:174:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:411:1: entryRuleActorClassConfig returns [EObject current=null] : iv_ruleActorClassConfig= ruleActorClassConfig EOF ;
public final EObject entryRuleActorClassConfig() throws RecognitionException {
EObject current = null;
@@ -431,17 +1007,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:175:2: (iv_ruleActorClassConfig= ruleActorClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:176:2: iv_ruleActorClassConfig= ruleActorClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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_entryRuleActorClassConfig336);
+ pushFollow(FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig917);
iv_ruleActorClassConfig=ruleActorClassConfig();
state._fsp--;
current =iv_ruleActorClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig346);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorClassConfig927);
}
@@ -459,7 +1035,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleActorClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:183:1: ruleActorClassConfig returns [EObject current=null] : (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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;
@@ -472,21 +1048,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:186:28: ( (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:187:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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:187:1: (otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:187:3: otherlv_0= 'ActorClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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,12,FOLLOW_12_in_ruleActorClassConfig383);
+ 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:191:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:192:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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:192:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:193:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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) {
@@ -496,7 +1072,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getActorClassConfigAccess().getActorActorClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig406);
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorClassConfig987);
ruleFQN();
state._fsp--;
@@ -510,32 +1086,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleActorClassConfig418);
+ 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:210:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
- loop4:
+ // ../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 alt4=2;
- int LA4_0 = input.LA(1);
+ int alt6=2;
+ int LA6_0 = input.LA(1);
- if ( (LA4_0==22) ) {
- alt4=1;
+ if ( (LA6_0==29) ) {
+ alt6=1;
}
- switch (alt4) {
+ switch (alt6) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:211:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:448:1: (lv_attributes_3_0= ruleAttrClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:211:1: (lv_attributes_3_0= ruleAttrClassConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:212:3: lv_attributes_3_0= ruleAttrClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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_ruleActorClassConfig439);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig1020);
lv_attributes_3_0=ruleAttrClassConfig();
state._fsp--;
@@ -559,11 +1135,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop4;
+ break loop6;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorClassConfig452);
+ otherlv_4=(Token)match(input,15,FOLLOW_15_in_ruleActorClassConfig1033);
newLeafNode(otherlv_4, grammarAccess.getActorClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -588,7 +1164,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleActorInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:240:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:477:1: entryRuleActorInstanceConfig returns [EObject current=null] : iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF ;
public final EObject entryRuleActorInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -596,17 +1172,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:241:2: (iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:242:2: iv_ruleActorInstanceConfig= ruleActorInstanceConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g: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_entryRuleActorInstanceConfig488);
+ pushFollow(FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig1069);
iv_ruleActorInstanceConfig=ruleActorInstanceConfig();
state._fsp--;
current =iv_ruleActorInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig498);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleActorInstanceConfig1079);
}
@@ -624,39 +1200,39 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleActorInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:249:1: ruleActorInstanceConfig returns [EObject current=null] : (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:486:1: ruleActorInstanceConfig returns [EObject current=null] : (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_8= '}' ) ;
public final EObject ruleActorInstanceConfig() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
- Token otherlv_7=null;
+ Token otherlv_8=null;
EObject lv_path_3_0 = null;
- EObject lv_attributes_5_0 = null;
+ EObject lv_attributes_6_0 = null;
- EObject lv_ports_6_0 = null;
+ EObject lv_ports_7_0 = null;
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:252:28: ( (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:489:28: ( (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( (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_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_8= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:253:3: otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )* ( (lv_ports_6_0= rulePortInstanceConfig ) )* otherlv_7= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:490:1: (otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( (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:3: otherlv_0= 'ActorInstanceConfig' ( ( ruleFQN ) ) otherlv_2= '/' ( (lv_path_3_0= ruleRefPath ) ) otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) ) ) otherlv_8= '}'
{
- otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleActorInstanceConfig535);
+ otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleActorInstanceConfig1116);
newLeafNode(otherlv_0, grammarAccess.getActorInstanceConfigAccess().getActorInstanceConfigKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:257:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:258:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:494:1: ( ( ruleFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:495:1: ( ruleFQN )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:258:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:259:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:495:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:496:3: ruleFQN
{
if (current==null) {
@@ -666,7 +1242,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getRootSubSystemClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig558);
+ pushFollow(FOLLOW_ruleFQN_in_ruleActorInstanceConfig1139);
ruleFQN();
state._fsp--;
@@ -680,20 +1256,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleActorInstanceConfig570);
+ otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleActorInstanceConfig1151);
newLeafNode(otherlv_2, grammarAccess.getActorInstanceConfigAccess().getSolidusKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:276:1: ( (lv_path_3_0= ruleRefPath ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:277:1: (lv_path_3_0= ruleRefPath )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:513:1: ( (lv_path_3_0= ruleRefPath ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:514:1: (lv_path_3_0= ruleRefPath )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:277:1: (lv_path_3_0= ruleRefPath )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:278:3: lv_path_3_0= ruleRefPath
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:514:1: (lv_path_3_0= ruleRefPath )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:515:3: lv_path_3_0= ruleRefPath
{
newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPathRefPathParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig591);
+ pushFollow(FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1172);
lv_path_3_0=ruleRefPath();
state._fsp--;
@@ -715,96 +1291,223 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleActorInstanceConfig603);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig1184);
newLeafNode(otherlv_4, grammarAccess.getActorInstanceConfigAccess().getLeftCurlyBracketKeyword_4());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:298:1: ( (lv_attributes_5_0= ruleAttrInstanceConfig ) )*
- loop5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:535:1: ( ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:537:1: ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:537:1: ( ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:538:2: ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* )
+ {
+
+ getUnorderedGroupHelper().enter(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:541:2: ( ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:542:3: ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )*
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:542:3: ( ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) ) )*
+ loop9:
do {
- int alt5=2;
- int LA5_0 = input.LA(1);
+ int alt9=3;
+ int LA9_0 = input.LA(1);
- if ( (LA5_0==22) ) {
- alt5=1;
+ if ( LA9_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0) ) {
+ alt9=1;
+ }
+ else if ( LA9_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1) ) {
+ alt9=2;
}
- switch (alt5) {
+ switch (alt9) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:299:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:544:4: ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:299:1: (lv_attributes_5_0= ruleAttrInstanceConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:300:3: lv_attributes_5_0= ruleAttrInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:544:4: ({...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:545:5: {...}? => ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:545:116: ( ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:546:6: ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_5_0());
-
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig624);
- lv_attributes_5_0=ruleAttrInstanceConfig();
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 0);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:549:6: ({...}? => ( (lv_attributes_6_0= ruleAttrInstanceConfig ) ) )+
+ int cnt7=0;
+ loop7:
+ do {
+ int alt7=2;
+ int LA7_0 = input.LA(1);
- state._fsp--;
+ if ( (LA7_0==29) ) {
+ int LA7_2 = input.LA(2);
+ if ( ((true)) ) {
+ alt7=1;
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
- }
- add(
- current,
- "attributes",
- lv_attributes_5_0,
- "AttrInstanceConfig");
- afterParserOrEnumRuleCall();
-
- }
+ }
- }
- break;
+ switch (alt7) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:549:7: {...}? => ( (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:549:16: ( (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: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_5_0_0());
+
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1250);
+ lv_attributes_6_0=ruleAttrInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_6_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt7 >= 1 ) break loop7;
+ EarlyExitException eee =
+ new EarlyExitException(7, input);
+ throw eee;
+ }
+ cnt7++;
+ } while (true);
- default :
- break loop5;
- }
- } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:316:3: ( (lv_ports_6_0= rulePortInstanceConfig ) )*
- loop6:
- do {
- int alt6=2;
- int LA6_0 = input.LA(1);
+ }
- if ( (LA6_0==21) ) {
- alt6=1;
- }
+ }
- switch (alt6) {
- case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:317:1: (lv_ports_6_0= rulePortInstanceConfig )
+
+ }
+ break;
+ case 2 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:574:4: ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:317:1: (lv_ports_6_0= rulePortInstanceConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:318:3: lv_ports_6_0= rulePortInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:574:4: ({...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:575:5: {...}? => ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1)");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:575:116: ( ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+ )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:576:6: ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+
{
- newCompositeNode(grammarAccess.getActorInstanceConfigAccess().getPortsPortInstanceConfigParserRuleCall_6_0());
-
- pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig646);
- lv_ports_6_0=rulePortInstanceConfig();
+ getUnorderedGroupHelper().select(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5(), 1);
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579:6: ({...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) ) )+
+ int cnt8=0;
+ loop8:
+ do {
+ int alt8=2;
+ int LA8_0 = input.LA(1);
- state._fsp--;
+ if ( (LA8_0==28) ) {
+ int LA8_2 = input.LA(2);
+ if ( ((true)) ) {
+ alt8=1;
+ }
+
+
+ }
+
+
+ switch (alt8) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579:7: {...}? => ( (lv_ports_7_0= rulePortInstanceConfig ) )
+ {
+ if ( !((true)) ) {
+ throw new FailedPredicateException(input, "ruleActorInstanceConfig", "true");
+ }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:579:16: ( (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: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_5_1_0());
+
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1326);
+ lv_ports_7_0=rulePortInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
+ }
+ add(
+ current,
+ "ports",
+ lv_ports_7_0,
+ "PortInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt8 >= 1 ) break loop8;
+ EarlyExitException eee =
+ new EarlyExitException(8, input);
+ throw eee;
+ }
+ cnt8++;
+ } while (true);
+
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+
+
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getActorInstanceConfigRule());
- }
- add(
- current,
- "ports",
- lv_ports_6_0,
- "PortInstanceConfig");
- afterParserOrEnumRuleCall();
-
}
@@ -813,13 +1516,25 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop6;
+ break loop9;
}
} while (true);
- otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleActorInstanceConfig659);
- newLeafNode(otherlv_7, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_7());
+ }
+
+
+ }
+
+
+ getUnorderedGroupHelper().leave(grammarAccess.getActorInstanceConfigAccess().getUnorderedGroup_5());
+
+
+ }
+
+ otherlv_8=(Token)match(input,15,FOLLOW_15_in_ruleActorInstanceConfig1379);
+
+ newLeafNode(otherlv_8, grammarAccess.getActorInstanceConfigAccess().getRightCurlyBracketKeyword_6());
}
@@ -842,7 +1557,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleProtocolClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:346:1: entryRuleProtocolClassConfig returns [EObject current=null] : iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:623:1: entryRuleProtocolClassConfig returns [EObject current=null] : iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF ;
public final EObject entryRuleProtocolClassConfig() throws RecognitionException {
EObject current = null;
@@ -850,17 +1565,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:347:2: (iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:348:2: iv_ruleProtocolClassConfig= ruleProtocolClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:624: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
{
newCompositeNode(grammarAccess.getProtocolClassConfigRule());
- pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig695);
+ pushFollow(FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1415);
iv_ruleProtocolClassConfig=ruleProtocolClassConfig();
state._fsp--;
current =iv_ruleProtocolClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig705);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleProtocolClassConfig1425);
}
@@ -878,7 +1593,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleProtocolClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:355:1: ruleProtocolClassConfig returns [EObject current=null] : (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:632:1: ruleProtocolClassConfig returns [EObject current=null] : (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' ) ;
public final EObject ruleProtocolClassConfig() throws RecognitionException {
EObject current = null;
@@ -895,21 +1610,21 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:358:28: ( (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:1: (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:635: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:636:1: (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:1: (otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:359:3: otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:636: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:3: otherlv_0= 'ProtocolClassConfig' ( ( ruleFQN ) ) otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) ) otherlv_8= '}'
{
- otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleProtocolClassConfig742);
+ otherlv_0=(Token)match(input,24,FOLLOW_24_in_ruleProtocolClassConfig1462);
newLeafNode(otherlv_0, grammarAccess.getProtocolClassConfigAccess().getProtocolClassConfigKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:363:1: ( ( ruleFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:364:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:640: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:364:1: ( ruleFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:365:3: ruleFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:641:1: ( ruleFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:642:3: ruleFQN
{
if (current==null) {
@@ -919,7 +1634,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getProtocolProtocolClassCrossReference_1_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig765);
+ pushFollow(FOLLOW_ruleFQN_in_ruleProtocolClassConfig1485);
ruleFQN();
state._fsp--;
@@ -933,75 +1648,75 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleProtocolClassConfig777);
+ otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig1497);
newLeafNode(otherlv_2, grammarAccess.getProtocolClassConfigAccess().getLeftCurlyBracketKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:382:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:384:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:659: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:661:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:384:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:385:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:661: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:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* )
{
getUnorderedGroupHelper().enter(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:388:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:389:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:665: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:666:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:389:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
- loop7:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:666:3: ( ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) ) )*
+ loop10:
do {
- int alt7=3;
- int LA7_0 = input.LA(1);
+ int alt10=3;
+ int LA10_0 = input.LA(1);
- if ( LA7_0 ==18 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
- alt7=1;
+ if ( LA10_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
+ alt10=1;
}
- else if ( LA7_0 ==19 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
- alt7=2;
+ else if ( LA10_0 ==26 && getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
+ alt10=2;
}
- switch (alt7) {
+ switch (alt10) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:391:4: ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:668:4: ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:391:4: ({...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:392:5: {...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:668: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:5: {...}? => ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0) ) {
throw new FailedPredicateException(input, "ruleProtocolClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0)");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:392:116: ( ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:393:6: ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:669: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:670:6: ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 0);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:6: ({...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:7: {...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:673: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:673:7: {...}? => (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) )
{
if ( !((true)) ) {
throw new FailedPredicateException(input, "ruleProtocolClassConfig", "true");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:16: (otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:396:18: otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:673: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:673:18: otherlv_4= 'regular' ( (lv_regular_5_0= rulePortClassConfig ) )
{
- otherlv_4=(Token)match(input,18,FOLLOW_18_in_ruleProtocolClassConfig835);
+ otherlv_4=(Token)match(input,25,FOLLOW_25_in_ruleProtocolClassConfig1555);
newLeafNode(otherlv_4, grammarAccess.getProtocolClassConfigAccess().getRegularKeyword_3_0_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:400:1: ( (lv_regular_5_0= rulePortClassConfig ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:401:1: (lv_regular_5_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:677: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:401:1: (lv_regular_5_0= rulePortClassConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:402:3: lv_regular_5_0= rulePortClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:678:1: (lv_regular_5_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:679:3: lv_regular_5_0= rulePortClassConfig
{
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getRegularPortClassConfigParserRuleCall_3_0_1_0());
- pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig856);
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1576);
lv_regular_5_0=rulePortClassConfig();
state._fsp--;
@@ -1042,43 +1757,43 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:4: ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:702:4: ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:425:4: ({...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:426:5: {...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:702: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:5: {...}? => ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1) ) {
throw new FailedPredicateException(input, "ruleProtocolClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1)");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:426:116: ( ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:427:6: ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:703: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:704:6: ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getProtocolClassConfigAccess().getUnorderedGroup_3(), 1);
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:6: ({...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:7: {...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:707: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:707:7: {...}? => (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) )
{
if ( !((true)) ) {
throw new FailedPredicateException(input, "ruleProtocolClassConfig", "true");
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:16: (otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:430:18: otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:707: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:707:18: otherlv_6= 'conjugate' ( (lv_conjugated_7_0= rulePortClassConfig ) )
{
- otherlv_6=(Token)match(input,19,FOLLOW_19_in_ruleProtocolClassConfig924);
+ otherlv_6=(Token)match(input,26,FOLLOW_26_in_ruleProtocolClassConfig1644);
newLeafNode(otherlv_6, grammarAccess.getProtocolClassConfigAccess().getConjugateKeyword_3_1_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:434:1: ( (lv_conjugated_7_0= rulePortClassConfig ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:435:1: (lv_conjugated_7_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:711: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:435:1: (lv_conjugated_7_0= rulePortClassConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:436:3: lv_conjugated_7_0= rulePortClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:712:1: (lv_conjugated_7_0= rulePortClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:713:3: lv_conjugated_7_0= rulePortClassConfig
{
newCompositeNode(grammarAccess.getProtocolClassConfigAccess().getConjugatedPortClassConfigParserRuleCall_3_1_1_0());
- pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig945);
+ pushFollow(FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1665);
lv_conjugated_7_0=rulePortClassConfig();
state._fsp--;
@@ -1120,7 +1835,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop7;
+ break loop10;
}
} while (true);
@@ -1136,7 +1851,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_8=(Token)match(input,14,FOLLOW_14_in_ruleProtocolClassConfig998);
+ otherlv_8=(Token)match(input,15,FOLLOW_15_in_ruleProtocolClassConfig1718);
newLeafNode(otherlv_8, grammarAccess.getProtocolClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1161,7 +1876,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePortClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:478:1: entryRulePortClassConfig returns [EObject current=null] : iv_rulePortClassConfig= rulePortClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:755:1: entryRulePortClassConfig returns [EObject current=null] : iv_rulePortClassConfig= rulePortClassConfig EOF ;
public final EObject entryRulePortClassConfig() throws RecognitionException {
EObject current = null;
@@ -1169,17 +1884,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:479:2: (iv_rulePortClassConfig= rulePortClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:480:2: iv_rulePortClassConfig= rulePortClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:756: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
{
newCompositeNode(grammarAccess.getPortClassConfigRule());
- pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1034);
+ pushFollow(FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1754);
iv_rulePortClassConfig=rulePortClassConfig();
state._fsp--;
current =iv_rulePortClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1044);
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortClassConfig1764);
}
@@ -1197,7 +1912,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePortClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:487:1: rulePortClassConfig returns [EObject current=null] : ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:764:1: rulePortClassConfig returns [EObject current=null] : ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) ;
public final EObject rulePortClassConfig() throws RecognitionException {
EObject current = null;
@@ -1210,14 +1925,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:490:28: ( ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:1: ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:767: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:768:1: ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:1: ( () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:2: () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:768: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:2: () otherlv_1= 'Port' otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrClassConfig ) )* otherlv_4= '}'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:491:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:492:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:768:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:769:5:
{
current = forceCreateModelElement(
@@ -1227,36 +1942,36 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_1=(Token)match(input,20,FOLLOW_20_in_rulePortClassConfig1090);
+ otherlv_1=(Token)match(input,27,FOLLOW_27_in_rulePortClassConfig1810);
newLeafNode(otherlv_1, grammarAccess.getPortClassConfigAccess().getPortKeyword_1());
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortClassConfig1102);
+ otherlv_2=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1822);
newLeafNode(otherlv_2, grammarAccess.getPortClassConfigAccess().getLeftCurlyBracketKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:505:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
- loop8:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:782:1: ( (lv_attributes_3_0= ruleAttrClassConfig ) )*
+ loop11:
do {
- int alt8=2;
- int LA8_0 = input.LA(1);
+ int alt11=2;
+ int LA11_0 = input.LA(1);
- if ( (LA8_0==22) ) {
- alt8=1;
+ if ( (LA11_0==29) ) {
+ alt11=1;
}
- switch (alt8) {
+ switch (alt11) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:506:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:783:1: (lv_attributes_3_0= ruleAttrClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:506:1: (lv_attributes_3_0= ruleAttrClassConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:507:3: lv_attributes_3_0= ruleAttrClassConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:783:1: (lv_attributes_3_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:784:3: lv_attributes_3_0= ruleAttrClassConfig
{
newCompositeNode(grammarAccess.getPortClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1123);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1843);
lv_attributes_3_0=ruleAttrClassConfig();
state._fsp--;
@@ -1280,11 +1995,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop8;
+ break loop11;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortClassConfig1136);
+ otherlv_4=(Token)match(input,15,FOLLOW_15_in_rulePortClassConfig1856);
newLeafNode(otherlv_4, grammarAccess.getPortClassConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1309,7 +2024,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRulePortInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:535:1: entryRulePortInstanceConfig returns [EObject current=null] : iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:812:1: entryRulePortInstanceConfig returns [EObject current=null] : iv_rulePortInstanceConfig= rulePortInstanceConfig EOF ;
public final EObject entryRulePortInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1317,17 +2032,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:536:2: (iv_rulePortInstanceConfig= rulePortInstanceConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:537:2: iv_rulePortInstanceConfig= rulePortInstanceConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:813: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
{
newCompositeNode(grammarAccess.getPortInstanceConfigRule());
- pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1172);
+ pushFollow(FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1892);
iv_rulePortInstanceConfig=rulePortInstanceConfig();
state._fsp--;
current =iv_rulePortInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1182);
+ match(input,EOF,FOLLOW_EOF_in_entryRulePortInstanceConfig1902);
}
@@ -1345,7 +2060,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "rulePortInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:544:1: rulePortInstanceConfig returns [EObject current=null] : (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:821:1: rulePortInstanceConfig returns [EObject current=null] : (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' ) ;
public final EObject rulePortInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1359,28 +2074,28 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:547:28: ( (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:1: (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:824: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:825:1: (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:1: (otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:548:3: otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:825: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:3: otherlv_0= 'InterfaceItem' ( (otherlv_1= RULE_ID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )* otherlv_4= '}'
{
- otherlv_0=(Token)match(input,21,FOLLOW_21_in_rulePortInstanceConfig1219);
+ otherlv_0=(Token)match(input,28,FOLLOW_28_in_rulePortInstanceConfig1939);
newLeafNode(otherlv_0, grammarAccess.getPortInstanceConfigAccess().getInterfaceItemKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:552:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:553:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:829: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:553:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:554:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:830:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:831:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getPortInstanceConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1239);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePortInstanceConfig1959);
newLeafNode(otherlv_1, grammarAccess.getPortInstanceConfigAccess().getItemInterfaceItemCrossReference_1_0());
@@ -1390,32 +2105,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,13,FOLLOW_13_in_rulePortInstanceConfig1251);
+ otherlv_2=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1971);
newLeafNode(otherlv_2, grammarAccess.getPortInstanceConfigAccess().getLeftCurlyBracketKeyword_2());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:569:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )*
- loop9:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:846:1: ( (lv_attributes_3_0= ruleAttrInstanceConfig ) )*
+ loop12:
do {
- int alt9=2;
- int LA9_0 = input.LA(1);
+ int alt12=2;
+ int LA12_0 = input.LA(1);
- if ( (LA9_0==22) ) {
- alt9=1;
+ if ( (LA12_0==29) ) {
+ alt12=1;
}
- switch (alt9) {
+ switch (alt12) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:570:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:847:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:570:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:571:3: lv_attributes_3_0= ruleAttrInstanceConfig
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:847:1: (lv_attributes_3_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:848:3: lv_attributes_3_0= ruleAttrInstanceConfig
{
newCompositeNode(grammarAccess.getPortInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_0());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1272);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1992);
lv_attributes_3_0=ruleAttrInstanceConfig();
state._fsp--;
@@ -1439,11 +2154,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop9;
+ break loop12;
}
} while (true);
- otherlv_4=(Token)match(input,14,FOLLOW_14_in_rulePortInstanceConfig1285);
+ otherlv_4=(Token)match(input,15,FOLLOW_15_in_rulePortInstanceConfig2005);
newLeafNode(otherlv_4, grammarAccess.getPortInstanceConfigAccess().getRightCurlyBracketKeyword_4());
@@ -1468,7 +2183,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAttrClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:601:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:878:1: entryRuleAttrClassConfig returns [EObject current=null] : iv_ruleAttrClassConfig= ruleAttrClassConfig EOF ;
public final EObject entryRuleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -1476,17 +2191,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:602:2: (iv_ruleAttrClassConfig= ruleAttrClassConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:603:2: iv_ruleAttrClassConfig= ruleAttrClassConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:879: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
{
newCompositeNode(grammarAccess.getAttrClassConfigRule());
- pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig1323);
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2043);
iv_ruleAttrClassConfig=ruleAttrClassConfig();
state._fsp--;
current =iv_ruleAttrClassConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig1333);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrClassConfig2053);
}
@@ -1504,7 +2219,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAttrClassConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:610:1: ruleAttrClassConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:887:1: ruleAttrClassConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )? ) ;
public final EObject ruleAttrClassConfig() throws RecognitionException {
EObject current = null;
@@ -1512,43 +2227,45 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
+ Token otherlv_5=null;
Token otherlv_6=null;
- Token otherlv_7=null;
+ Token otherlv_8=null;
Token otherlv_9=null;
- Token otherlv_10=null;
Token otherlv_12=null;
EObject lv_value_3_0 = null;
- EObject lv_min_8_0 = null;
+ EObject lv_min_7_0 = null;
+
+ EObject lv_max_10_0 = null;
- EObject lv_max_11_0 = null;
+ EObject lv_attributes_11_0 = null;
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:613:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:890:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )? )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:614:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )?
{
- otherlv_0=(Token)match(input,22,FOLLOW_22_in_ruleAttrClassConfig1370);
+ otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleAttrClassConfig2090);
newLeafNode(otherlv_0, grammarAccess.getAttrClassConfigAccess().getAttrKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:618:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:619:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895: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:619:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:620:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:896:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:897:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrClassConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig1390);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrClassConfig2110);
newLeafNode(otherlv_1, grammarAccess.getAttrClassConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -1558,31 +2275,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:631:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
- int alt10=2;
- int LA10_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:908:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt13=2;
+ int LA13_0 = input.LA(1);
- if ( (LA10_0==23) ) {
- alt10=1;
+ if ( (LA13_0==30) ) {
+ alt13=1;
}
- switch (alt10) {
+ switch (alt13) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:631:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:908:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1403);
+ otherlv_2=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2123);
newLeafNode(otherlv_2, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_2_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:635:1: ( (lv_value_3_0= ruleLiteralArray ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:636:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:912: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:636:1: (lv_value_3_0= ruleLiteralArray )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:637:3: lv_value_3_0= ruleLiteralArray
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:913:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:914:3: lv_value_3_0= ruleLiteralArray
{
newCompositeNode(grammarAccess.getAttrClassConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig1424);
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2144);
lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -1610,172 +2327,159 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:653:4: (otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}' )?
- int alt12=2;
- int LA12_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:930:4: (otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}' )?
+ int alt17=2;
+ int LA17_0 = input.LA(1);
- if ( (LA12_0==13) ) {
- alt12=1;
+ if ( (LA17_0==14) ) {
+ alt17=1;
}
- switch (alt12) {
+ switch (alt17) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:653:6: otherlv_4= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) ) otherlv_12= '}'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:930:6: otherlv_4= '{' ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* ) otherlv_12= '}'
{
- otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleAttrClassConfig1439);
+ otherlv_4=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig2159);
newLeafNode(otherlv_4, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:657:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:659:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
- {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:659:1: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:660:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
- {
-
- getUnorderedGroupHelper().enter(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:663:2: ( ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:664:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:934:1: ( (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:934:2: (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )? (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )? ( (lv_attributes_11_0= ruleAttrClassConfig ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:664:3: ( ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) ) )*
- loop11:
- do {
- int alt11=3;
- int LA11_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:934:2: (otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) ) )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
- if ( LA11_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
- alt11=1;
- }
- else if ( LA11_0 ==25 && getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
- alt11=2;
- }
+ if ( (LA14_0==31) ) {
+ alt14=1;
+ }
+ switch (alt14) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:934:4: otherlv_5= 'min' otherlv_6= '=' ( (lv_min_7_0= ruleNumberLiteral ) )
+ {
+ otherlv_5=(Token)match(input,31,FOLLOW_31_in_ruleAttrClassConfig2173);
+ newLeafNode(otherlv_5, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
+
+ otherlv_6=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2185);
- switch (alt11) {
- case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:666:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
- {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:666:4: ({...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:667:5: {...}? => ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
- {
- if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0) ) {
- throw new FailedPredicateException(input, "ruleAttrClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0)");
- }
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:667:114: ( ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:668:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
- {
-
- getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 0);
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:6: ({...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:7: {...}? => (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
- {
- if ( !((true)) ) {
- throw new FailedPredicateException(input, "ruleAttrClassConfig", "true");
- }
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:16: (otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:671:18: otherlv_6= 'min' otherlv_7= '=' ( (lv_min_8_0= ruleNumberLiteral ) )
- {
- otherlv_6=(Token)match(input,24,FOLLOW_24_in_ruleAttrClassConfig1497);
+ newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:942:1: ( (lv_min_7_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:943:1: (lv_min_7_0= ruleNumberLiteral )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:943:1: (lv_min_7_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:944:3: lv_min_7_0= ruleNumberLiteral
+ {
+
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0());
+
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2206);
+ lv_min_7_0=ruleNumberLiteral();
- newLeafNode(otherlv_6, grammarAccess.getAttrClassConfigAccess().getMinKeyword_3_1_0_0());
-
- otherlv_7=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1509);
+ state._fsp--;
- newLeafNode(otherlv_7, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_0_1());
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:679:1: ( (lv_min_8_0= ruleNumberLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:1: (lv_min_8_0= ruleNumberLiteral )
- {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:680:1: (lv_min_8_0= ruleNumberLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:681:3: lv_min_8_0= ruleNumberLiteral
- {
-
- newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMinNumberLiteralParserRuleCall_3_1_0_2_0());
-
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1530);
- lv_min_8_0=ruleNumberLiteral();
- state._fsp--;
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
+ }
+ set(
+ current,
+ "min",
+ lv_min_7_0,
+ "NumberLiteral");
+ afterParserOrEnumRuleCall();
+
+ }
- if (current==null) {
- current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
- }
- set(
- current,
- "min",
- lv_min_8_0,
- "NumberLiteral");
- afterParserOrEnumRuleCall();
-
- }
+ }
- }
+ }
+ break;
+ }
- }
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:960:4: (otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) ) )?
+ int alt15=2;
+ int LA15_0 = input.LA(1);
+ if ( (LA15_0==32) ) {
+ alt15=1;
+ }
+ switch (alt15) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:960:6: otherlv_8= 'max' otherlv_9= '=' ( (lv_max_10_0= ruleNumberLiteral ) )
+ {
+ otherlv_8=(Token)match(input,32,FOLLOW_32_in_ruleAttrClassConfig2221);
- }
+ newLeafNode(otherlv_8, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
+
+ otherlv_9=(Token)match(input,30,FOLLOW_30_in_ruleAttrClassConfig2233);
-
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
-
+ newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:968:1: ( (lv_max_10_0= ruleNumberLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:969:1: (lv_max_10_0= ruleNumberLiteral )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:969:1: (lv_max_10_0= ruleNumberLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:970:3: lv_max_10_0= ruleNumberLiteral
+ {
+
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0());
+
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2254);
+ lv_max_10_0=ruleNumberLiteral();
- }
+ state._fsp--;
- }
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
+ }
+ set(
+ current,
+ "max",
+ lv_max_10_0,
+ "NumberLiteral");
+ afterParserOrEnumRuleCall();
+
+ }
- }
- break;
- case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:704:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
- {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:704:4: ({...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:705:5: {...}? => ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
- {
- if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1) ) {
- throw new FailedPredicateException(input, "ruleAttrClassConfig", "getUnorderedGroupHelper().canSelect(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1)");
- }
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:705:114: ( ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:706:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
- {
-
- getUnorderedGroupHelper().select(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1(), 1);
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:6: ({...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:7: {...}? => (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
- {
- if ( !((true)) ) {
- throw new FailedPredicateException(input, "ruleAttrClassConfig", "true");
- }
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:16: (otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:709:18: otherlv_9= 'max' otherlv_10= '=' ( (lv_max_11_0= ruleNumberLiteral ) )
- {
- otherlv_9=(Token)match(input,25,FOLLOW_25_in_ruleAttrClassConfig1598);
- newLeafNode(otherlv_9, grammarAccess.getAttrClassConfigAccess().getMaxKeyword_3_1_1_0());
-
- otherlv_10=(Token)match(input,23,FOLLOW_23_in_ruleAttrClassConfig1610);
+ }
+
+
+ }
+ break;
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:986:4: ( (lv_attributes_11_0= ruleAttrClassConfig ) )*
+ loop16:
+ do {
+ int alt16=2;
+ int LA16_0 = input.LA(1);
+
+ if ( (LA16_0==29) ) {
+ alt16=1;
+ }
+
- newLeafNode(otherlv_10, grammarAccess.getAttrClassConfigAccess().getEqualsSignKeyword_3_1_1_1());
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:717:1: ( (lv_max_11_0= ruleNumberLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:718:1: (lv_max_11_0= ruleNumberLiteral )
+ switch (alt16) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:987:1: (lv_attributes_11_0= ruleAttrClassConfig )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:718:1: (lv_max_11_0= ruleNumberLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:719:3: lv_max_11_0= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:987:1: (lv_attributes_11_0= ruleAttrClassConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:988:3: lv_attributes_11_0= ruleAttrClassConfig
{
- newCompositeNode(grammarAccess.getAttrClassConfigAccess().getMaxNumberLiteralParserRuleCall_3_1_1_2_0());
+ newCompositeNode(grammarAccess.getAttrClassConfigAccess().getAttributesAttrClassConfigParserRuleCall_3_1_2_0());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1631);
- lv_max_11_0=ruleNumberLiteral();
+ pushFollow(FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2277);
+ lv_attributes_11_0=ruleAttrClassConfig();
state._fsp--;
@@ -1783,11 +2487,11 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
if (current==null) {
current = createModelElementForParent(grammarAccess.getAttrClassConfigRule());
}
- set(
+ add(
current,
- "max",
- lv_max_11_0,
- "NumberLiteral");
+ "attributes",
+ lv_attributes_11_0,
+ "AttrClassConfig");
afterParserOrEnumRuleCall();
@@ -1795,44 +2499,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
-
-
- }
-
-
- }
-
-
- getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
-
-
- }
-
-
- }
-
-
- }
break;
default :
- break loop11;
+ break loop16;
}
} while (true);
}
-
- }
-
-
- getUnorderedGroupHelper().leave(grammarAccess.getAttrClassConfigAccess().getUnorderedGroup_3_1());
-
-
- }
-
- otherlv_12=(Token)match(input,14,FOLLOW_14_in_ruleAttrClassConfig1684);
+ otherlv_12=(Token)match(input,15,FOLLOW_15_in_ruleAttrClassConfig2291);
newLeafNode(otherlv_12, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2());
@@ -1863,7 +2540,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleAttrInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:761:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1016:1: entryRuleAttrInstanceConfig returns [EObject current=null] : iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF ;
public final EObject entryRuleAttrInstanceConfig() throws RecognitionException {
EObject current = null;
@@ -1871,17 +2548,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:762:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:763:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1017:2: (iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1018:2: iv_ruleAttrInstanceConfig= ruleAttrInstanceConfig EOF
{
newCompositeNode(grammarAccess.getAttrInstanceConfigRule());
- pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1722);
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2329);
iv_ruleAttrInstanceConfig=ruleAttrInstanceConfig();
state._fsp--;
current =iv_ruleAttrInstanceConfig;
- match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig1732);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleAttrInstanceConfig2339);
}
@@ -1899,41 +2576,48 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleAttrInstanceConfig"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:770:1: ruleAttrInstanceConfig returns [EObject current=null] : (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1025: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;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
+ Token otherlv_4=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_8_0 = null;
+
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:773:28: ( (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1028: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:1029: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:774:1: (otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:774:3: otherlv_0= 'Attr' ( (otherlv_1= RULE_ID ) ) (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1029: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:1029: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,22,FOLLOW_22_in_ruleAttrInstanceConfig1769);
+ otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleAttrInstanceConfig2376);
newLeafNode(otherlv_0, grammarAccess.getAttrInstanceConfigAccess().getAttrKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:778:1: ( (otherlv_1= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:779:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1033:1: ( (otherlv_1= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1034:1: (otherlv_1= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:779:1: (otherlv_1= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:780:3: otherlv_1= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1034:1: (otherlv_1= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1035:3: otherlv_1= RULE_ID
{
if (current==null) {
current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
}
- otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1789);
+ otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2396);
newLeafNode(otherlv_1, grammarAccess.getAttrInstanceConfigAccess().getAttributeAttributeCrossReference_1_0());
@@ -1943,31 +2627,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:791:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
- int alt13=2;
- int LA13_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1046:2: (otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) ) )?
+ int alt18=2;
+ int LA18_0 = input.LA(1);
- if ( (LA13_0==23) ) {
- alt13=1;
+ if ( (LA18_0==30) ) {
+ alt18=1;
}
- switch (alt13) {
+ switch (alt18) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:791:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1046:4: otherlv_2= '=' ( (lv_value_3_0= ruleLiteralArray ) )
{
- otherlv_2=(Token)match(input,23,FOLLOW_23_in_ruleAttrInstanceConfig1802);
+ otherlv_2=(Token)match(input,30,FOLLOW_30_in_ruleAttrInstanceConfig2409);
newLeafNode(otherlv_2, grammarAccess.getAttrInstanceConfigAccess().getEqualsSignKeyword_2_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:795:1: ( (lv_value_3_0= ruleLiteralArray ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:796:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1050:1: ( (lv_value_3_0= ruleLiteralArray ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1051:1: (lv_value_3_0= ruleLiteralArray )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:796:1: (lv_value_3_0= ruleLiteralArray )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:797:3: lv_value_3_0= ruleLiteralArray
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1051:1: (lv_value_3_0= ruleLiteralArray )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1052:3: lv_value_3_0= ruleLiteralArray
{
newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getValueLiteralArrayParserRuleCall_2_1_0());
- pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig1823);
+ pushFollow(FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2430);
lv_value_3_0=ruleLiteralArray();
state._fsp--;
@@ -1995,6 +2679,183 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1068: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 alt22=2;
+ int LA22_0 = input.LA(1);
+
+ if ( (LA22_0==14) ) {
+ alt22=1;
+ }
+ switch (alt22) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1068: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,14,FOLLOW_14_in_ruleAttrInstanceConfig2445);
+
+ newLeafNode(otherlv_4, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0());
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1072:1: ( ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1072:2: ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )? ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )*
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1072:2: ( ( (lv_dynConfig_5_0= 'dynamic configuration' ) ) ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' ) )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
+
+ if ( (LA20_0==16) ) {
+ alt20=1;
+ }
+ switch (alt20) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1072:3: ( (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:1072:3: ( (lv_dynConfig_5_0= 'dynamic configuration' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1073:1: (lv_dynConfig_5_0= 'dynamic configuration' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1073:1: (lv_dynConfig_5_0= 'dynamic configuration' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1074:3: lv_dynConfig_5_0= 'dynamic configuration'
+ {
+ lv_dynConfig_5_0=(Token)match(input,16,FOLLOW_16_in_ruleAttrInstanceConfig2465);
+
+ newLeafNode(lv_dynConfig_5_0, grammarAccess.getAttrInstanceConfigAccess().getDynConfigDynamicConfigurationKeyword_3_1_0_0_0());
+
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getAttrInstanceConfigRule());
+ }
+ setWithLastConsumed(current, "dynConfig", true, "dynamic configuration");
+
+
+ }
+
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:2: ( ( (lv_readOnly_6_0= 'read' ) ) | otherlv_7= 'write' )
+ int alt19=2;
+ int LA19_0 = input.LA(1);
+
+ if ( (LA19_0==33) ) {
+ alt19=1;
+ }
+ else if ( (LA19_0==34) ) {
+ alt19=2;
+ }
+ else {
+ NoViableAltException nvae =
+ new NoViableAltException("", 19, 0, input);
+
+ throw nvae;
+ }
+ switch (alt19) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:3: ( (lv_readOnly_6_0= 'read' ) )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1087:3: ( (lv_readOnly_6_0= 'read' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1088:1: (lv_readOnly_6_0= 'read' )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1088:1: (lv_readOnly_6_0= 'read' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1089:3: lv_readOnly_6_0= 'read'
+ {
+ lv_readOnly_6_0=(Token)match(input,33,FOLLOW_33_in_ruleAttrInstanceConfig2497);
+
+ newLeafNode(lv_readOnly_6_0, grammarAccess.getAttrInstanceConfigAccess().getReadOnlyReadKeyword_3_1_0_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:1103:7: otherlv_7= 'write'
+ {
+ otherlv_7=(Token)match(input,34,FOLLOW_34_in_ruleAttrInstanceConfig2528);
+
+ newLeafNode(otherlv_7, grammarAccess.getAttrInstanceConfigAccess().getWriteKeyword_3_1_0_1_1());
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1107:4: ( (lv_attributes_8_0= ruleAttrInstanceConfig ) )*
+ loop21:
+ do {
+ int alt21=2;
+ int LA21_0 = input.LA(1);
+
+ if ( (LA21_0==29) ) {
+ alt21=1;
+ }
+
+
+ switch (alt21) {
+ case 1 :
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1108:1: (lv_attributes_8_0= ruleAttrInstanceConfig )
+ {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1108:1: (lv_attributes_8_0= ruleAttrInstanceConfig )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1109:3: lv_attributes_8_0= ruleAttrInstanceConfig
+ {
+
+ newCompositeNode(grammarAccess.getAttrInstanceConfigAccess().getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0());
+
+ pushFollow(FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2552);
+ lv_attributes_8_0=ruleAttrInstanceConfig();
+
+ state._fsp--;
+
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAttrInstanceConfigRule());
+ }
+ add(
+ current,
+ "attributes",
+ lv_attributes_8_0,
+ "AttrInstanceConfig");
+ afterParserOrEnumRuleCall();
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop21;
+ }
+ } while (true);
+
+
+ }
+
+ otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleAttrInstanceConfig2566);
+
+ newLeafNode(otherlv_9, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2());
+
+
+ }
+ break;
+
+ }
+
}
@@ -2016,7 +2877,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRefPath"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:821:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1137:1: entryRuleRefPath returns [EObject current=null] : iv_ruleRefPath= ruleRefPath EOF ;
public final EObject entryRuleRefPath() throws RecognitionException {
EObject current = null;
@@ -2024,17 +2885,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:822:2: (iv_ruleRefPath= ruleRefPath EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:823:2: iv_ruleRefPath= ruleRefPath EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1138:2: (iv_ruleRefPath= ruleRefPath EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1139:2: iv_ruleRefPath= ruleRefPath EOF
{
newCompositeNode(grammarAccess.getRefPathRule());
- pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath1861);
+ pushFollow(FOLLOW_ruleRefPath_in_entryRuleRefPath2604);
iv_ruleRefPath=ruleRefPath();
state._fsp--;
current =iv_ruleRefPath;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath1871);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRefPath2614);
}
@@ -2052,7 +2913,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRefPath"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:830:1: ruleRefPath returns [EObject current=null] : ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1146:1: ruleRefPath returns [EObject current=null] : ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) ;
public final EObject ruleRefPath() throws RecognitionException {
EObject current = null;
@@ -2063,19 +2924,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:833:28: ( ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1149: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:1150:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:1: ( ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:2: ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1150: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:1150:2: ( (lv_refs_0_0= RULE_ID ) ) (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:834:2: ( (lv_refs_0_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:835:1: (lv_refs_0_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1150:2: ( (lv_refs_0_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:1: (lv_refs_0_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:835:1: (lv_refs_0_0= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:836:3: lv_refs_0_0= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:1: (lv_refs_0_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1152:3: lv_refs_0_0= RULE_ID
{
- lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1913);
+ lv_refs_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2656);
newLeafNode(lv_refs_0_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_0_0());
@@ -2095,32 +2956,32 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:852:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
- loop14:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:2: (otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) ) )*
+ loop23:
do {
- int alt14=2;
- int LA14_0 = input.LA(1);
+ int alt23=2;
+ int LA23_0 = input.LA(1);
- if ( (LA14_0==16) ) {
- alt14=1;
+ if ( (LA23_0==23) ) {
+ alt23=1;
}
- switch (alt14) {
+ switch (alt23) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:852:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:4: otherlv_1= '/' ( (lv_refs_2_0= RULE_ID ) )
{
- otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleRefPath1931);
+ otherlv_1=(Token)match(input,23,FOLLOW_23_in_ruleRefPath2674);
newLeafNode(otherlv_1, grammarAccess.getRefPathAccess().getSolidusKeyword_1_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:856:1: ( (lv_refs_2_0= RULE_ID ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:857:1: (lv_refs_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1172:1: ( (lv_refs_2_0= RULE_ID ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1173:1: (lv_refs_2_0= RULE_ID )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:857:1: (lv_refs_2_0= RULE_ID )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:858:3: lv_refs_2_0= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1173:1: (lv_refs_2_0= RULE_ID )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1174:3: lv_refs_2_0= RULE_ID
{
- lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath1948);
+ lv_refs_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleRefPath2691);
newLeafNode(lv_refs_2_0, grammarAccess.getRefPathAccess().getRefsIDTerminalRuleCall_1_1_0());
@@ -2145,7 +3006,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop14;
+ break loop23;
}
} while (true);
@@ -2170,7 +3031,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleImport"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:882:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1198:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
public final EObject entryRuleImport() throws RecognitionException {
EObject current = null;
@@ -2178,17 +3039,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:883:2: (iv_ruleImport= ruleImport EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:884:2: iv_ruleImport= ruleImport EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1199:2: (iv_ruleImport= ruleImport EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1200:2: iv_ruleImport= ruleImport EOF
{
newCompositeNode(grammarAccess.getImportRule());
- pushFollow(FOLLOW_ruleImport_in_entryRuleImport1991);
+ pushFollow(FOLLOW_ruleImport_in_entryRuleImport2734);
iv_ruleImport=ruleImport();
state._fsp--;
current =iv_ruleImport;
- match(input,EOF,FOLLOW_EOF_in_entryRuleImport2001);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImport2744);
}
@@ -2206,7 +3067,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImport"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:891:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1207:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ;
public final EObject ruleImport() throws RecognitionException {
EObject current = null;
@@ -2220,49 +3081,49 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:894:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1210: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:1211:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:895:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1211: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:1211:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) )
{
- otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleImport2038);
+ otherlv_0=(Token)match(input,35,FOLLOW_35_in_ruleImport2781);
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
- int alt15=2;
- int LA15_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1215:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' )
+ int alt24=2;
+ int LA24_0 = input.LA(1);
- if ( (LA15_0==RULE_ID) ) {
- alt15=1;
+ if ( (LA24_0==RULE_ID) ) {
+ alt24=1;
}
- else if ( (LA15_0==28) ) {
- alt15=2;
+ else if ( (LA24_0==37) ) {
+ alt24=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
+ new NoViableAltException("", 24, 0, input);
throw nvae;
}
- switch (alt15) {
+ switch (alt24) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1215:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1215: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:1215:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:899:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1215:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1216:1: (lv_importedNamespace_1_0= ruleImportedFQN )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:900:1: (lv_importedNamespace_1_0= ruleImportedFQN )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:901:3: lv_importedNamespace_1_0= ruleImportedFQN
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1216:1: (lv_importedNamespace_1_0= ruleImportedFQN )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1217:3: lv_importedNamespace_1_0= ruleImportedFQN
{
newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0());
- pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2061);
+ pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport2804);
lv_importedNamespace_1_0=ruleImportedFQN();
state._fsp--;
@@ -2284,7 +3145,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- otherlv_2=(Token)match(input,27,FOLLOW_27_in_ruleImport2073);
+ otherlv_2=(Token)match(input,36,FOLLOW_36_in_ruleImport2816);
newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1());
@@ -2295,9 +3156,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:922:7: otherlv_3= 'model'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1238:7: otherlv_3= 'model'
{
- otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleImport2092);
+ otherlv_3=(Token)match(input,37,FOLLOW_37_in_ruleImport2835);
newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1());
@@ -2307,13 +3168,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:926:2: ( (lv_importURI_4_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:927:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:2: ( (lv_importURI_4_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:1: (lv_importURI_4_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:927:1: (lv_importURI_4_0= RULE_STRING )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:928:3: lv_importURI_4_0= RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:1: (lv_importURI_4_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1244:3: lv_importURI_4_0= RULE_STRING
{
- lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2110);
+ lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport2853);
newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0());
@@ -2354,7 +3215,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleImportedFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:952:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1268:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ;
public final String entryRuleImportedFQN() throws RecognitionException {
String current = null;
@@ -2362,17 +3223,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:953:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:954:2: iv_ruleImportedFQN= ruleImportedFQN EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1269:2: (iv_ruleImportedFQN= ruleImportedFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1270:2: iv_ruleImportedFQN= ruleImportedFQN EOF
{
newCompositeNode(grammarAccess.getImportedFQNRule());
- pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2152);
+ pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2895);
iv_ruleImportedFQN=ruleImportedFQN();
state._fsp--;
current =iv_ruleImportedFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2163);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN2906);
}
@@ -2390,7 +3251,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleImportedFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:961:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1277:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ;
public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2401,16 +3262,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:964:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:965:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1280:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1281:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:965:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:966:5: this_FQN_0= ruleFQN (kw= '.*' )?
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1281:1: (this_FQN_0= ruleFQN (kw= '.*' )? )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1282:5: this_FQN_0= ruleFQN (kw= '.*' )?
{
newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0());
- pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2210);
+ pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN2953);
this_FQN_0=ruleFQN();
state._fsp--;
@@ -2421,18 +3282,18 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
afterParserOrEnumRuleCall();
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:976:1: (kw= '.*' )?
- int alt16=2;
- int LA16_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1292:1: (kw= '.*' )?
+ int alt25=2;
+ int LA25_0 = input.LA(1);
- if ( (LA16_0==29) ) {
- alt16=1;
+ if ( (LA25_0==38) ) {
+ alt25=1;
}
- switch (alt16) {
+ switch (alt25) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:977:2: kw= '.*'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1293:2: kw= '.*'
{
- kw=(Token)match(input,29,FOLLOW_29_in_ruleImportedFQN2229);
+ kw=(Token)match(input,38,FOLLOW_38_in_ruleImportedFQN2972);
current.merge(kw);
newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1());
@@ -2464,7 +3325,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:990:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1306:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ;
public final String entryRuleFQN() throws RecognitionException {
String current = null;
@@ -2472,17 +3333,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:991:2: (iv_ruleFQN= ruleFQN EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:992:2: iv_ruleFQN= ruleFQN EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1307:2: (iv_ruleFQN= ruleFQN EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1308:2: iv_ruleFQN= ruleFQN EOF
{
newCompositeNode(grammarAccess.getFQNRule());
- pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN2272);
+ pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3015);
iv_ruleFQN=ruleFQN();
state._fsp--;
current =iv_ruleFQN.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleFQN2283);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3026);
}
@@ -2500,7 +3361,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleFQN"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:999:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1315:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -2511,40 +3372,40 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1002:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1318: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:1319:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1003:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1319: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:1319:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
{
- this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2323);
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3066);
current.merge(this_ID_0);
newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1010:1: (kw= '.' this_ID_2= RULE_ID )*
- loop17:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1326:1: (kw= '.' this_ID_2= RULE_ID )*
+ loop26:
do {
- int alt17=2;
- int LA17_0 = input.LA(1);
+ int alt26=2;
+ int LA26_0 = input.LA(1);
- if ( (LA17_0==30) ) {
- alt17=1;
+ if ( (LA26_0==39) ) {
+ alt26=1;
}
- switch (alt17) {
+ switch (alt26) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1011:2: kw= '.' this_ID_2= RULE_ID
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1327:2: kw= '.' this_ID_2= RULE_ID
{
- kw=(Token)match(input,30,FOLLOW_30_in_ruleFQN2342);
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleFQN3085);
current.merge(kw);
newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0());
- this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN2357);
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3100);
current.merge(this_ID_2);
@@ -2556,7 +3417,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop17;
+ break loop26;
}
} while (true);
@@ -2581,7 +3442,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteralArray"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1031:1: entryRuleLiteralArray returns [EObject current=null] : iv_ruleLiteralArray= ruleLiteralArray EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1347:1: entryRuleLiteralArray returns [EObject current=null] : iv_ruleLiteralArray= ruleLiteralArray EOF ;
public final EObject entryRuleLiteralArray() throws RecognitionException {
EObject current = null;
@@ -2589,17 +3450,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1032:2: (iv_ruleLiteralArray= ruleLiteralArray EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1033:2: iv_ruleLiteralArray= ruleLiteralArray EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1348:2: (iv_ruleLiteralArray= ruleLiteralArray EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1349:2: iv_ruleLiteralArray= ruleLiteralArray EOF
{
newCompositeNode(grammarAccess.getLiteralArrayRule());
- pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray2404);
+ pushFollow(FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3147);
iv_ruleLiteralArray=ruleLiteralArray();
state._fsp--;
current =iv_ruleLiteralArray;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray2414);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteralArray3157);
}
@@ -2617,7 +3478,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteralArray"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1040:1: ruleLiteralArray returns [EObject current=null] : ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1356:1: ruleLiteralArray returns [EObject current=null] : ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* ) ;
public final EObject ruleLiteralArray() throws RecognitionException {
EObject current = null;
@@ -2630,22 +3491,22 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1043:28: ( ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:1: ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1359: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:1360:1: ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:1: ( ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )* )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:2: ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1360: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:1360:2: ( (lv_literals_0_0= ruleLiteral ) ) (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1044:2: ( (lv_literals_0_0= ruleLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1045:1: (lv_literals_0_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1360:2: ( (lv_literals_0_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1361:1: (lv_literals_0_0= ruleLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1045:1: (lv_literals_0_0= ruleLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1046:3: lv_literals_0_0= ruleLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1361:1: (lv_literals_0_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1362:3: lv_literals_0_0= ruleLiteral
{
newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_0_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2460);
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3203);
lv_literals_0_0=ruleLiteral();
state._fsp--;
@@ -2667,35 +3528,35 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1062:2: (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
- loop18:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1378:2: (otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) )*
+ loop27:
do {
- int alt18=2;
- int LA18_0 = input.LA(1);
+ int alt27=2;
+ int LA27_0 = input.LA(1);
- if ( (LA18_0==31) ) {
- alt18=1;
+ if ( (LA27_0==40) ) {
+ alt27=1;
}
- switch (alt18) {
+ switch (alt27) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1062:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1378:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) )
{
- otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleLiteralArray2473);
+ otherlv_1=(Token)match(input,40,FOLLOW_40_in_ruleLiteralArray3216);
newLeafNode(otherlv_1, grammarAccess.getLiteralArrayAccess().getCommaKeyword_1_0());
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1066:1: ( (lv_literals_2_0= ruleLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1067:1: (lv_literals_2_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1382:1: ( (lv_literals_2_0= ruleLiteral ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1383:1: (lv_literals_2_0= ruleLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1067:1: (lv_literals_2_0= ruleLiteral )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1068:3: lv_literals_2_0= ruleLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1383:1: (lv_literals_2_0= ruleLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1384:3: lv_literals_2_0= ruleLiteral
{
newCompositeNode(grammarAccess.getLiteralArrayAccess().getLiteralsLiteralParserRuleCall_1_1_0());
- pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray2494);
+ pushFollow(FOLLOW_ruleLiteral_in_ruleLiteralArray3237);
lv_literals_2_0=ruleLiteral();
state._fsp--;
@@ -2722,7 +3583,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
default :
- break loop18;
+ break loop27;
}
} while (true);
@@ -2747,7 +3608,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1092:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1408:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ;
public final EObject entryRuleLiteral() throws RecognitionException {
EObject current = null;
@@ -2755,17 +3616,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1093:2: (iv_ruleLiteral= ruleLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1094:2: iv_ruleLiteral= ruleLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1409:2: (iv_ruleLiteral= ruleLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1410:2: iv_ruleLiteral= ruleLiteral EOF
{
newCompositeNode(grammarAccess.getLiteralRule());
- pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2532);
+ pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral3275);
iv_ruleLiteral=ruleLiteral();
state._fsp--;
current =iv_ruleLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2542);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral3285);
}
@@ -2783,7 +3644,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1101:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1417:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ;
public final EObject ruleLiteral() throws RecognitionException {
EObject current = null;
@@ -2797,47 +3658,47 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1104:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1420: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:1421:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1105:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
- int alt19=3;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1421:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral )
+ int alt28=3;
switch ( input.LA(1) ) {
- case 32:
- case 33:
+ case 41:
+ case 42:
{
- alt19=1;
+ alt28=1;
}
break;
case RULE_INT:
case RULE_HEX:
- case 30:
- case 34:
- case 35:
+ case 39:
+ case 43:
+ case 44:
{
- alt19=2;
+ alt28=2;
}
break;
case RULE_STRING:
{
- alt19=3;
+ alt28=3;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 19, 0, input);
+ new NoViableAltException("", 28, 0, input);
throw nvae;
}
- switch (alt19) {
+ switch (alt28) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1106:5: this_BooleanLiteral_0= ruleBooleanLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1422:5: this_BooleanLiteral_0= ruleBooleanLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral2589);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral3332);
this_BooleanLiteral_0=ruleBooleanLiteral();
state._fsp--;
@@ -2850,12 +3711,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1116:5: this_NumberLiteral_1= ruleNumberLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1432:5: this_NumberLiteral_1= ruleNumberLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral2616);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral3359);
this_NumberLiteral_1=ruleNumberLiteral();
state._fsp--;
@@ -2868,12 +3729,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1126:5: this_StringLiteral_2= ruleStringLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1442:5: this_StringLiteral_2= ruleStringLiteral
{
newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2());
- pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral2643);
+ pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral3386);
this_StringLiteral_2=ruleStringLiteral();
state._fsp--;
@@ -2906,7 +3767,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleBooleanLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1142:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1458:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ;
public final EObject entryRuleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2914,17 +3775,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1143:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1144:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1459:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1460:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF
{
newCompositeNode(grammarAccess.getBooleanLiteralRule());
- pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2678);
+ pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3421);
iv_ruleBooleanLiteral=ruleBooleanLiteral();
state._fsp--;
current =iv_ruleBooleanLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral2688);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral3431);
}
@@ -2942,7 +3803,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleBooleanLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1151:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1467:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ;
public final EObject ruleBooleanLiteral() throws RecognitionException {
EObject current = null;
@@ -2952,14 +3813,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1154:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1470: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:1471:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1471: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:1471:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1155:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1156:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1471:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1472:5:
{
current = forceCreateModelElement(
@@ -2969,27 +3830,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1161:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
- int alt20=2;
- int LA20_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1477:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) )
+ int alt29=2;
+ int LA29_0 = input.LA(1);
- if ( (LA20_0==32) ) {
- alt20=1;
+ if ( (LA29_0==41) ) {
+ alt29=1;
}
- else if ( (LA20_0==33) ) {
- alt20=2;
+ else if ( (LA29_0==42) ) {
+ alt29=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 20, 0, input);
+ new NoViableAltException("", 29, 0, input);
throw nvae;
}
- switch (alt20) {
+ switch (alt29) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1161:4: otherlv_1= 'false'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1477:4: otherlv_1= 'false'
{
- otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleBooleanLiteral2735);
+ otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleBooleanLiteral3478);
newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0());
@@ -2997,15 +3858,15 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1166:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1482:6: ( (lv_isTrue_2_0= 'true' ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1166:6: ( (lv_isTrue_2_0= 'true' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1167:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1482:6: ( (lv_isTrue_2_0= 'true' ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1483:1: (lv_isTrue_2_0= 'true' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1167:1: (lv_isTrue_2_0= 'true' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1168:3: lv_isTrue_2_0= 'true'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1483:1: (lv_isTrue_2_0= 'true' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1484:3: lv_isTrue_2_0= 'true'
{
- lv_isTrue_2_0=(Token)match(input,33,FOLLOW_33_in_ruleBooleanLiteral2759);
+ lv_isTrue_2_0=(Token)match(input,42,FOLLOW_42_in_ruleBooleanLiteral3502);
newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0());
@@ -3048,7 +3909,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleNumberLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1189:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1505:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ;
public final EObject entryRuleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -3056,17 +3917,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1190:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1191:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1506:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1507:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF
{
newCompositeNode(grammarAccess.getNumberLiteralRule());
- pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2809);
+ pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3552);
iv_ruleNumberLiteral=ruleNumberLiteral();
state._fsp--;
current =iv_ruleNumberLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2819);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral3562);
}
@@ -3084,7 +3945,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleNumberLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1198:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1514:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ;
public final EObject ruleNumberLiteral() throws RecognitionException {
EObject current = null;
@@ -3096,69 +3957,69 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1201:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1202:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1517: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:1518:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1202:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
- int alt21=2;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1518:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral )
+ int alt30=2;
switch ( input.LA(1) ) {
- case 34:
+ case 43:
{
- int LA21_1 = input.LA(2);
+ int LA30_1 = input.LA(2);
- if ( (LA21_1==RULE_INT) ) {
- int LA21_3 = input.LA(3);
+ if ( (LA30_1==RULE_INT) ) {
+ int LA30_3 = input.LA(3);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA30_3==39) ) {
+ alt30=2;
}
- else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
- alt21=1;
+ else if ( (LA30_3==EOF||(LA30_3>=14 && LA30_3<=15)||(LA30_3>=28 && LA30_3<=29)||LA30_3==32||LA30_3==40) ) {
+ alt30=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 30, 3, input);
throw nvae;
}
}
- else if ( (LA21_1==30) ) {
- alt21=2;
+ else if ( (LA30_1==39) ) {
+ alt30=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 1, input);
+ new NoViableAltException("", 30, 1, input);
throw nvae;
}
}
break;
- case 35:
+ case 44:
{
- int LA21_2 = input.LA(2);
+ int LA30_2 = input.LA(2);
- if ( (LA21_2==RULE_INT) ) {
- int LA21_3 = input.LA(3);
+ if ( (LA30_2==39) ) {
+ alt30=2;
+ }
+ else if ( (LA30_2==RULE_INT) ) {
+ int LA30_3 = input.LA(3);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA30_3==39) ) {
+ alt30=2;
}
- else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
- alt21=1;
+ else if ( (LA30_3==EOF||(LA30_3>=14 && LA30_3<=15)||(LA30_3>=28 && LA30_3<=29)||LA30_3==32||LA30_3==40) ) {
+ alt30=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 30, 3, input);
throw nvae;
}
}
- else if ( (LA21_2==30) ) {
- alt21=2;
- }
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 2, input);
+ new NoViableAltException("", 30, 2, input);
throw nvae;
}
@@ -3166,17 +4027,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_INT:
{
- int LA21_3 = input.LA(2);
+ int LA30_3 = input.LA(2);
- if ( (LA21_3==30) ) {
- alt21=2;
+ if ( (LA30_3==39) ) {
+ alt30=2;
}
- else if ( (LA21_3==EOF||(LA21_3>=13 && LA21_3<=14)||(LA21_3>=21 && LA21_3<=22)||(LA21_3>=24 && LA21_3<=25)||LA21_3==31) ) {
- alt21=1;
+ else if ( (LA30_3==EOF||(LA30_3>=14 && LA30_3<=15)||(LA30_3>=28 && LA30_3<=29)||LA30_3==32||LA30_3==40) ) {
+ alt30=1;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 21, 3, input);
+ new NoViableAltException("", 30, 3, input);
throw nvae;
}
@@ -3184,29 +4045,29 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
break;
case RULE_HEX:
{
- alt21=1;
+ alt30=1;
}
break;
- case 30:
+ case 39:
{
- alt21=2;
+ alt30=2;
}
break;
default:
NoViableAltException nvae =
- new NoViableAltException("", 21, 0, input);
+ new NoViableAltException("", 30, 0, input);
throw nvae;
}
- switch (alt21) {
+ switch (alt30) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1203:5: this_IntLiteral_0= ruleIntLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1519:5: this_IntLiteral_0= ruleIntLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0());
- pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2866);
+ pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3609);
this_IntLiteral_0=ruleIntLiteral();
state._fsp--;
@@ -3219,12 +4080,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1213:5: this_RealLiteral_1= ruleRealLiteral
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1529:5: this_RealLiteral_1= ruleRealLiteral
{
newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1());
- pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2893);
+ pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3636);
this_RealLiteral_1=ruleRealLiteral();
state._fsp--;
@@ -3257,7 +4118,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleRealLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1229:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1545:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ;
public final EObject entryRuleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -3265,17 +4126,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1230:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1231:2: iv_ruleRealLiteral= ruleRealLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1546:2: (iv_ruleRealLiteral= ruleRealLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1547:2: iv_ruleRealLiteral= ruleRealLiteral EOF
{
newCompositeNode(grammarAccess.getRealLiteralRule());
- pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2928);
+ pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3671);
iv_ruleRealLiteral=ruleRealLiteral();
state._fsp--;
current =iv_ruleRealLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2938);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral3681);
}
@@ -3293,7 +4154,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleRealLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1238:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1554:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ;
public final EObject ruleRealLiteral() throws RecognitionException {
EObject current = null;
@@ -3303,14 +4164,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1241:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1557:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1558:1: ( () ( (lv_value_1_0= ruleReal ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:1: ( () ( (lv_value_1_0= ruleReal ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:2: () ( (lv_value_1_0= ruleReal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1558:1: ( () ( (lv_value_1_0= ruleReal ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1558:2: () ( (lv_value_1_0= ruleReal ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1242:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1243:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1558:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1559:5:
{
current = forceCreateModelElement(
@@ -3320,16 +4181,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1248:2: ( (lv_value_1_0= ruleReal ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1249:1: (lv_value_1_0= ruleReal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1564:2: ( (lv_value_1_0= ruleReal ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1565:1: (lv_value_1_0= ruleReal )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1249:1: (lv_value_1_0= ruleReal )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1250:3: lv_value_1_0= ruleReal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1565:1: (lv_value_1_0= ruleReal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1566:3: lv_value_1_0= ruleReal
{
newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2993);
+ pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral3736);
lv_value_1_0=ruleReal();
state._fsp--;
@@ -3372,7 +4233,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleIntLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1274:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1590:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ;
public final EObject entryRuleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -3380,17 +4241,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1275:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1276:2: iv_ruleIntLiteral= ruleIntLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1591:2: (iv_ruleIntLiteral= ruleIntLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1592:2: iv_ruleIntLiteral= ruleIntLiteral EOF
{
newCompositeNode(grammarAccess.getIntLiteralRule());
- pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3029);
+ pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3772);
iv_ruleIntLiteral=ruleIntLiteral();
state._fsp--;
current =iv_ruleIntLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral3039);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral3782);
}
@@ -3408,7 +4269,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleIntLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1283:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1599:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ;
public final EObject ruleIntLiteral() throws RecognitionException {
EObject current = null;
@@ -3418,14 +4279,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1286:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1602:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1603:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:2: () ( (lv_value_1_0= ruleInteger ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1603:1: ( () ( (lv_value_1_0= ruleInteger ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1603:2: () ( (lv_value_1_0= ruleInteger ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1287:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1288:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1603:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1604:5:
{
current = forceCreateModelElement(
@@ -3435,16 +4296,16 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1293:2: ( (lv_value_1_0= ruleInteger ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1294:1: (lv_value_1_0= ruleInteger )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1609:2: ( (lv_value_1_0= ruleInteger ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1610:1: (lv_value_1_0= ruleInteger )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1294:1: (lv_value_1_0= ruleInteger )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1295:3: lv_value_1_0= ruleInteger
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1610:1: (lv_value_1_0= ruleInteger )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1611:3: lv_value_1_0= ruleInteger
{
newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0());
- pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral3094);
+ pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral3837);
lv_value_1_0=ruleInteger();
state._fsp--;
@@ -3487,7 +4348,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleStringLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1319:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1635:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ;
public final EObject entryRuleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -3495,17 +4356,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1320:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1321:2: iv_ruleStringLiteral= ruleStringLiteral EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1636:2: (iv_ruleStringLiteral= ruleStringLiteral EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1637:2: iv_ruleStringLiteral= ruleStringLiteral EOF
{
newCompositeNode(grammarAccess.getStringLiteralRule());
- pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3130);
+ pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3873);
iv_ruleStringLiteral=ruleStringLiteral();
state._fsp--;
current =iv_ruleStringLiteral;
- match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral3140);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral3883);
}
@@ -3523,7 +4384,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleStringLiteral"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1328:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ;
public final EObject ruleStringLiteral() throws RecognitionException {
EObject current = null;
@@ -3532,14 +4393,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1331:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1647:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:2: () ( (lv_value_1_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:1: ( () ( (lv_value_1_0= RULE_STRING ) ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:2: () ( (lv_value_1_0= RULE_STRING ) )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1332:2: ()
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1333:5:
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:2: ()
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:5:
{
current = forceCreateModelElement(
@@ -3549,13 +4410,13 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1338:2: ( (lv_value_1_0= RULE_STRING ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (lv_value_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1654:2: ( (lv_value_1_0= RULE_STRING ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1655:1: (lv_value_1_0= RULE_STRING )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1339:1: (lv_value_1_0= RULE_STRING )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1340:3: lv_value_1_0= RULE_STRING
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1655:1: (lv_value_1_0= RULE_STRING )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1656:3: lv_value_1_0= RULE_STRING
{
- lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral3191);
+ lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral3934);
newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0());
@@ -3596,7 +4457,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1364:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1680:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ;
public final String entryRuleInteger() throws RecognitionException {
String current = null;
@@ -3604,17 +4465,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1365:2: (iv_ruleInteger= ruleInteger EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1366:2: iv_ruleInteger= ruleInteger EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1681:2: (iv_ruleInteger= ruleInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1682:2: iv_ruleInteger= ruleInteger EOF
{
newCompositeNode(grammarAccess.getIntegerRule());
- pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger3233);
+ pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger3976);
iv_ruleInteger=ruleInteger();
state._fsp--;
current =iv_ruleInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleInteger3244);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleInteger3987);
}
@@ -3632,7 +4493,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1373:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1689:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ;
public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3644,33 +4505,33 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1376:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1377:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1692: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:1693:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1377:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
- int alt22=2;
- int LA22_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1693:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal )
+ int alt31=2;
+ int LA31_0 = input.LA(1);
- if ( (LA22_0==RULE_INT||(LA22_0>=34 && LA22_0<=35)) ) {
- alt22=1;
+ if ( (LA31_0==RULE_INT||(LA31_0>=43 && LA31_0<=44)) ) {
+ alt31=1;
}
- else if ( (LA22_0==RULE_HEX) ) {
- alt22=2;
+ else if ( (LA31_0==RULE_HEX) ) {
+ alt31=2;
}
else {
NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
+ new NoViableAltException("", 31, 0, input);
throw nvae;
}
- switch (alt22) {
+ switch (alt31) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1378:5: this_SignedInteger_0= ruleSignedInteger
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1694:5: this_SignedInteger_0= ruleSignedInteger
{
newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0());
- pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger3291);
+ pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger4034);
this_SignedInteger_0=ruleSignedInteger();
state._fsp--;
@@ -3685,12 +4546,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1390:5: this_Hexadecimal_1= ruleHexadecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:5: this_Hexadecimal_1= ruleHexadecimal
{
newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger3324);
+ pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger4067);
this_Hexadecimal_1=ruleHexadecimal();
state._fsp--;
@@ -3725,7 +4586,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleSignedInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1408:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1724:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ;
public final String entryRuleSignedInteger() throws RecognitionException {
String current = null;
@@ -3736,17 +4597,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1412:2: (iv_ruleSignedInteger= ruleSignedInteger EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1413:2: iv_ruleSignedInteger= ruleSignedInteger EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1728:2: (iv_ruleSignedInteger= ruleSignedInteger EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1729:2: iv_ruleSignedInteger= ruleSignedInteger EOF
{
newCompositeNode(grammarAccess.getSignedIntegerRule());
- pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger3376);
+ pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4119);
iv_ruleSignedInteger=ruleSignedInteger();
state._fsp--;
current =iv_ruleSignedInteger.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger3387);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger4130);
}
@@ -3767,7 +4628,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleSignedInteger"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1423:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1739:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3778,27 +4639,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1427:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1743:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1744:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1744:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1744:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1428:2: (kw= '+' | kw= '-' )?
- int alt23=3;
- int LA23_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1744:2: (kw= '+' | kw= '-' )?
+ int alt32=3;
+ int LA32_0 = input.LA(1);
- if ( (LA23_0==34) ) {
- alt23=1;
+ if ( (LA32_0==43) ) {
+ alt32=1;
}
- else if ( (LA23_0==35) ) {
- alt23=2;
+ else if ( (LA32_0==44) ) {
+ alt32=2;
}
- switch (alt23) {
+ switch (alt32) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1429:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1745:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleSignedInteger3430);
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleSignedInteger4173);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0());
@@ -3807,9 +4668,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1436:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1752:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleSignedInteger3449);
+ kw=(Token)match(input,44,FOLLOW_44_in_ruleSignedInteger4192);
current.merge(kw);
newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1());
@@ -3820,7 +4681,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger3466);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger4209);
current.merge(this_INT_2);
@@ -3851,7 +4712,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleHexadecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1459:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1775:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ;
public final String entryRuleHexadecimal() throws RecognitionException {
String current = null;
@@ -3862,17 +4723,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1463:2: (iv_ruleHexadecimal= ruleHexadecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1464:2: iv_ruleHexadecimal= ruleHexadecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1779:2: (iv_ruleHexadecimal= ruleHexadecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1780:2: iv_ruleHexadecimal= ruleHexadecimal EOF
{
newCompositeNode(grammarAccess.getHexadecimalRule());
- pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal3522);
+ pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4265);
iv_ruleHexadecimal=ruleHexadecimal();
state._fsp--;
current =iv_ruleHexadecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal3533);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal4276);
}
@@ -3893,7 +4754,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleHexadecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1474:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1790:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ;
public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3903,10 +4764,10 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1478:28: (this_HEX_0= RULE_HEX )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1479:5: this_HEX_0= RULE_HEX
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1794:28: (this_HEX_0= RULE_HEX )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1795:5: this_HEX_0= RULE_HEX
{
- this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal3576);
+ this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal4319);
current.merge(this_HEX_0);
@@ -3934,7 +4795,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleReal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1497:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1813:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ;
public final String entryRuleReal() throws RecognitionException {
String current = null;
@@ -3942,17 +4803,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1498:2: (iv_ruleReal= ruleReal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1499:2: iv_ruleReal= ruleReal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1814:2: (iv_ruleReal= ruleReal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1815:2: iv_ruleReal= ruleReal EOF
{
newCompositeNode(grammarAccess.getRealRule());
- pushFollow(FOLLOW_ruleReal_in_entryRuleReal3625);
+ pushFollow(FOLLOW_ruleReal_in_entryRuleReal4368);
iv_ruleReal=ruleReal();
state._fsp--;
current =iv_ruleReal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleReal3636);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleReal4379);
}
@@ -3970,7 +4831,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleReal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1506:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1822:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ;
public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -3986,20 +4847,20 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
enterRule();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1509:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1825: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:1826:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
- int alt24=4;
- alt24 = dfa24.predict(input);
- switch (alt24) {
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1826:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )
+ int alt33=4;
+ alt33 = dfa33.predict(input);
+ switch (alt33) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1511:5: this_Decimal_0= ruleDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1827:5: this_Decimal_0= ruleDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0());
- pushFollow(FOLLOW_ruleDecimal_in_ruleReal3683);
+ pushFollow(FOLLOW_ruleDecimal_in_ruleReal4426);
this_Decimal_0=ruleDecimal();
state._fsp--;
@@ -4014,12 +4875,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1523:5: this_DotDecimal_1= ruleDotDecimal
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1839:5: this_DotDecimal_1= ruleDotDecimal
{
newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1());
- pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal3716);
+ pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal4459);
this_DotDecimal_1=ruleDotDecimal();
state._fsp--;
@@ -4034,12 +4895,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 3 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1535:5: this_DecimalDot_2= ruleDecimalDot
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1851:5: this_DecimalDot_2= ruleDecimalDot
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2());
- pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal3749);
+ pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal4492);
this_DecimalDot_2=ruleDecimalDot();
state._fsp--;
@@ -4054,12 +4915,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 4 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1547:5: this_DecimalExp_3= ruleDecimalExp
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1863:5: this_DecimalExp_3= ruleDecimalExp
{
newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3());
- pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal3782);
+ pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal4525);
this_DecimalExp_3=ruleDecimalExp();
state._fsp--;
@@ -4094,7 +4955,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1565:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1881:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ;
public final String entryRuleDecimal() throws RecognitionException {
String current = null;
@@ -4105,17 +4966,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1569:2: (iv_ruleDecimal= ruleDecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1570:2: iv_ruleDecimal= ruleDecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1885:2: (iv_ruleDecimal= ruleDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1886:2: iv_ruleDecimal= ruleDecimal EOF
{
newCompositeNode(grammarAccess.getDecimalRule());
- pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal3834);
+ pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal4577);
iv_ruleDecimal=ruleDecimal();
state._fsp--;
current =iv_ruleDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal3845);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal4588);
}
@@ -4136,7 +4997,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1580:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1896:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4148,27 +5009,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1584:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1900: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:1901:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1901: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:1901:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1585:2: (kw= '+' | kw= '-' )?
- int alt25=3;
- int LA25_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1901:2: (kw= '+' | kw= '-' )?
+ int alt34=3;
+ int LA34_0 = input.LA(1);
- if ( (LA25_0==34) ) {
- alt25=1;
+ if ( (LA34_0==43) ) {
+ alt34=1;
}
- else if ( (LA25_0==35) ) {
- alt25=2;
+ else if ( (LA34_0==44) ) {
+ alt34=2;
}
- switch (alt25) {
+ switch (alt34) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1586:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1902:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal3888);
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimal4631);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0());
@@ -4177,9 +5038,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1593:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1909:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal3907);
+ kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimal4650);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -4190,19 +5051,19 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3924);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4667);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal3942);
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimal4685);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3957);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal4700);
current.merge(this_INT_4);
@@ -4233,7 +5094,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDotDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1629:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1945:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ;
public final String entryRuleDotDecimal() throws RecognitionException {
String current = null;
@@ -4244,17 +5105,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1633:2: (iv_ruleDotDecimal= ruleDotDecimal EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1634:2: iv_ruleDotDecimal= ruleDotDecimal EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1949:2: (iv_ruleDotDecimal= ruleDotDecimal EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1950:2: iv_ruleDotDecimal= ruleDotDecimal EOF
{
newCompositeNode(grammarAccess.getDotDecimalRule());
- pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4013);
+ pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4756);
iv_ruleDotDecimal=ruleDotDecimal();
state._fsp--;
current =iv_ruleDotDecimal.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal4024);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal4767);
}
@@ -4275,7 +5136,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDotDecimal"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1644:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1960:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ;
public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4286,27 +5147,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1648:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1964: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:1965:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1965: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:1965:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1649:2: (kw= '+' | kw= '-' )?
- int alt26=3;
- int LA26_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1965:2: (kw= '+' | kw= '-' )?
+ int alt35=3;
+ int LA35_0 = input.LA(1);
- if ( (LA26_0==34) ) {
- alt26=1;
+ if ( (LA35_0==43) ) {
+ alt35=1;
}
- else if ( (LA26_0==35) ) {
- alt26=2;
+ else if ( (LA35_0==44) ) {
+ alt35=2;
}
- switch (alt26) {
+ switch (alt35) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1650:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1966:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDotDecimal4067);
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleDotDecimal4810);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0());
@@ -4315,9 +5176,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1657:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1973:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDotDecimal4086);
+ kw=(Token)match(input,44,FOLLOW_44_in_ruleDotDecimal4829);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1());
@@ -4328,12 +5189,12 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal4101);
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleDotDecimal4844);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1());
- this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal4116);
+ this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal4859);
current.merge(this_INT_3);
@@ -4364,7 +5225,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalDot"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1686:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2002:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ;
public final String entryRuleDecimalDot() throws RecognitionException {
String current = null;
@@ -4375,17 +5236,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1690:2: (iv_ruleDecimalDot= ruleDecimalDot EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1691:2: iv_ruleDecimalDot= ruleDecimalDot EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2006:2: (iv_ruleDecimalDot= ruleDecimalDot EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2007:2: iv_ruleDecimalDot= ruleDecimalDot EOF
{
newCompositeNode(grammarAccess.getDecimalDotRule());
- pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4172);
+ pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4915);
iv_ruleDecimalDot=ruleDecimalDot();
state._fsp--;
current =iv_ruleDecimalDot.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot4183);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot4926);
}
@@ -4406,7 +5267,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "ruleDecimalDot"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1701:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2017:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ;
public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
@@ -4417,27 +5278,27 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1705:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2021: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:2022:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2022: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:2022:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.'
{
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1706:2: (kw= '+' | kw= '-' )?
- int alt27=3;
- int LA27_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2022:2: (kw= '+' | kw= '-' )?
+ int alt36=3;
+ int LA36_0 = input.LA(1);
- if ( (LA27_0==34) ) {
- alt27=1;
+ if ( (LA36_0==43) ) {
+ alt36=1;
}
- else if ( (LA27_0==35) ) {
- alt27=2;
+ else if ( (LA36_0==44) ) {
+ alt36=2;
}
- switch (alt27) {
+ switch (alt36) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1707:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2023:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalDot4226);
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimalDot4969);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0());
@@ -4446,9 +5307,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1714:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2030:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalDot4245);
+ kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimalDot4988);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1());
@@ -4459,14 +5320,14 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot4262);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot5005);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot4280);
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalDot5023);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2());
@@ -4495,7 +5356,7 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// $ANTLR start "entryRuleDecimalExp"
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1743:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2059:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ;
public final String entryRuleDecimalExp() throws RecognitionException {
String current = null;
@@ -4506,17 +5367,17 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens();
try {
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1747:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1748:2: iv_ruleDecimalExp= ruleDecimalExp EOF
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2063:2: (iv_ruleDecimalExp= ruleDecimalExp EOF )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2064:2: iv_ruleDecimalExp= ruleDecimalExp EOF
{
newCompositeNode(grammarAccess.getDecimalExpRule());
- pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4331);
+ pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5074);
iv_ruleDecimalExp=ruleDecimalExp();
state._fsp--;
current =iv_ruleDecimalExp.getText();
- match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp4342);
+ match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp5085);
}
@@ -4537,41 +5398,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:1758:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) ;
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2074: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:1762:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT ) )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2078: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:2079: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:1763:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT )
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1763:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_ID_5= RULE_ID (kw= '+' | kw= '-' )? this_INT_8= RULE_INT
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2079: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:2079: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:1763:2: (kw= '+' | kw= '-' )?
- int alt28=3;
- int LA28_0 = input.LA(1);
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2079:2: (kw= '+' | kw= '-' )?
+ int alt37=3;
+ int LA37_0 = input.LA(1);
- if ( (LA28_0==34) ) {
- alt28=1;
+ if ( (LA37_0==43) ) {
+ alt37=1;
}
- else if ( (LA28_0==35) ) {
- alt28=2;
+ else if ( (LA37_0==44) ) {
+ alt37=2;
}
- switch (alt28) {
+ switch (alt37) {
case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1764:2: kw= '+'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2080:2: kw= '+'
{
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4385);
+ kw=(Token)match(input,43,FOLLOW_43_in_ruleDecimalExp5128);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0());
@@ -4580,9 +5440,9 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
break;
case 2 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1771:2: kw= '-'
+ // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:2087:2: kw= '-'
{
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4404);
+ kw=(Token)match(input,44,FOLLOW_44_in_ruleDecimalExp5147);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1());
@@ -4593,74 +5453,31 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
}
- this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4421);
+ this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5164);
current.merge(this_INT_2);
newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1());
- kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp4439);
+ kw=(Token)match(input,39,FOLLOW_39_in_ruleDecimalExp5182);
current.merge(kw);
newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2());
- this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4454);
+ this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp5197);
current.merge(this_INT_4);
newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3());
- this_ID_5=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDecimalExp4474);
-
- current.merge(this_ID_5);
-
-
- newLeafNode(this_ID_5, grammarAccess.getDecimalExpAccess().getIDTerminalRuleCall_4());
-
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1803:1: (kw= '+' | kw= '-' )?
- int alt29=3;
- int LA29_0 = input.LA(1);
-
- if ( (LA29_0==34) ) {
- alt29=1;
- }
- else if ( (LA29_0==35) ) {
- alt29=2;
- }
- switch (alt29) {
- case 1 :
- // ../org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/parser/antlr/internal/InternalConfig.g:1804:2: kw= '+'
- {
- kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp4493);
-
- 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:1811:2: kw= '-'
- {
- kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp4512);
-
- current.merge(kw);
- newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1());
-
-
- }
- break;
-
- }
-
- this_INT_8=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp4529);
+ this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp5217);
- 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());
}
@@ -4687,231 +5504,256 @@ public class InternalConfigParser extends AbstractInternalAntlrParser {
// Delegated rules
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
+ protected DFA33 dfa33 = new DFA33(this);
+ static final String DFA33_eotS =
"\12\uffff";
- static final String DFA24_eofS =
+ static final String DFA33_eofS =
"\5\uffff\1\6\1\uffff\1\11\2\uffff";
- static final String DFA24_minS =
- "\3\6\1\36\1\uffff\1\6\1\uffff\1\4\2\uffff";
- static final String DFA24_maxS =
- "\1\43\3\36\1\uffff\1\37\1\uffff\1\37\2\uffff";
- static final String DFA24_acceptS =
+ static final String DFA33_minS =
+ "\3\6\1\47\1\uffff\1\6\1\uffff\1\10\2\uffff";
+ static final String DFA33_maxS =
+ "\1\54\3\47\1\uffff\1\50\1\uffff\1\50\2\uffff";
+ static final String DFA33_acceptS =
"\4\uffff\1\2\1\uffff\1\3\1\uffff\1\4\1\1";
- static final String DFA24_specialS =
+ static final String DFA33_specialS =
"\12\uffff}>";
- static final String[] DFA24_transitionS = {
- "\1\3\27\uffff\1\4\3\uffff\1\1\1\2",
- "\1\3\27\uffff\1\4",
- "\1\3\27\uffff\1\4",
+ static final String[] DFA33_transitionS = {
+ "\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\7\6\uffff\2\6\6\uffff\2\6\1\uffff\2\6\5\uffff\1\6",
+ "\1\7\7\uffff\2\6\14\uffff\2\6\2\uffff\1\6\7\uffff\1\6",
"",
- "\1\10\10\uffff\2\11\6\uffff\2\11\1\uffff\2\11\5\uffff\1\11",
+ "\1\10\5\uffff\2\11\14\uffff\2\11\2\uffff\1\11\7\uffff\1\11",
"",
""
};
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
+ static final short[] DFA33_eot = DFA.unpackEncodedString(DFA33_eotS);
+ static final short[] DFA33_eof = DFA.unpackEncodedString(DFA33_eofS);
+ static final char[] DFA33_min = DFA.unpackEncodedStringToUnsignedChars(DFA33_minS);
+ static final char[] DFA33_max = DFA.unpackEncodedStringToUnsignedChars(DFA33_maxS);
+ static final short[] DFA33_accept = DFA.unpackEncodedString(DFA33_acceptS);
+ static final short[] DFA33_special = DFA.unpackEncodedString(DFA33_specialS);
+ static final short[][] DFA33_transition;
static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
+ int numStates = DFA33_transitionS.length;
+ DFA33_transition = new short[numStates][];
for (int i=0; i<numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
+ DFA33_transition[i] = DFA.unpackEncodedString(DFA33_transitionS[i]);
}
}
- class DFA24 extends DFA {
+ class DFA33 extends DFA {
- public DFA24(BaseRecognizer recognizer) {
+ public DFA33(BaseRecognizer recognizer) {
this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- this.transition = DFA24_transition;
+ this.decisionNumber = 33;
+ this.eot = DFA33_eot;
+ this.eof = DFA33_eof;
+ this.min = DFA33_min;
+ this.max = DFA33_max;
+ this.accept = DFA33_accept;
+ this.special = DFA33_special;
+ this.transition = DFA33_transition;
}
public String getDescription() {
- return "1510:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )";
+ return "1826:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )";
}
}
public static final BitSet FOLLOW_ruleConfigModel_in_entryRuleConfigModel75 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleConfigModel85 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x0000000004029002L});
- public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000000029002L});
+ public static final BitSet FOLLOW_ruleImport_in_ruleConfigModel131 = new BitSet(new long[]{0x0000000801602002L});
+ public static final BitSet FOLLOW_ruleConfigElement_in_ruleConfigModel153 = new BitSet(new long[]{0x0000000001602002L});
public static final BitSet FOLLOW_ruleConfigElement_in_entryRuleConfigElement190 = new BitSet(new long[]{0x0000000000000000L});
public static final BitSet FOLLOW_EOF_in_entryRuleConfigElement200 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorClassConfig_in_ruleConfigElement247 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement274 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement301 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorClassConfig_in_entryRuleActorClassConfig336 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleActorClassConfig346 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_12_in_ruleActorClassConfig383 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleActorClassConfig406 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleActorClassConfig418 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleActorClassConfig439 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_14_in_ruleActorClassConfig452 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleActorInstanceConfig_in_entryRuleActorInstanceConfig488 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleActorInstanceConfig498 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_15_in_ruleActorInstanceConfig535 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig558 = new BitSet(new long[]{0x0000000000010000L});
- public static final BitSet FOLLOW_16_in_ruleActorInstanceConfig570 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig591 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleActorInstanceConfig603 = new BitSet(new long[]{0x0000000000604000L});
- public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig624 = new BitSet(new long[]{0x0000000000604000L});
- public static final BitSet FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig646 = new BitSet(new long[]{0x0000000000204000L});
- public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig659 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig695 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleProtocolClassConfig705 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_17_in_ruleProtocolClassConfig742 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleProtocolClassConfig765 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_ruleProtocolClassConfig777 = new BitSet(new long[]{0x00000000000C4000L});
- public static final BitSet FOLLOW_18_in_ruleProtocolClassConfig835 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig856 = new BitSet(new long[]{0x00000000000C4000L});
- public static final BitSet FOLLOW_19_in_ruleProtocolClassConfig924 = new BitSet(new long[]{0x0000000000100000L});
- public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig945 = new BitSet(new long[]{0x00000000000C4000L});
- public static final BitSet FOLLOW_14_in_ruleProtocolClassConfig998 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1034 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePortClassConfig1044 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_20_in_rulePortClassConfig1090 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePortClassConfig1102 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1123 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_14_in_rulePortClassConfig1136 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1172 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRulePortInstanceConfig1182 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_21_in_rulePortInstanceConfig1219 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_rulePortInstanceConfig1239 = new BitSet(new long[]{0x0000000000002000L});
- public static final BitSet FOLLOW_13_in_rulePortInstanceConfig1251 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1272 = new BitSet(new long[]{0x0000000000404000L});
- public static final BitSet FOLLOW_14_in_rulePortInstanceConfig1285 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig1323 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig1333 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_ruleAttrClassConfig1370 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig1390 = new BitSet(new long[]{0x0000000000802002L});
- public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1403 = new BitSet(new long[]{0x0000000F400000E0L});
- public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig1424 = new BitSet(new long[]{0x0000000000002002L});
- public static final BitSet FOLLOW_13_in_ruleAttrClassConfig1439 = new BitSet(new long[]{0x0000000003004000L});
- public static final BitSet FOLLOW_24_in_ruleAttrClassConfig1497 = new BitSet(new long[]{0x0000000000800000L});
- public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1509 = new BitSet(new long[]{0x0000000C400000C0L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1530 = new BitSet(new long[]{0x0000000003004000L});
- public static final BitSet FOLLOW_25_in_ruleAttrClassConfig1598 = new BitSet(new long[]{0x0000000000800000L});
- public static final BitSet FOLLOW_23_in_ruleAttrClassConfig1610 = new BitSet(new long[]{0x0000000C400000C0L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig1631 = new BitSet(new long[]{0x0000000003004000L});
- public static final BitSet FOLLOW_14_in_ruleAttrClassConfig1684 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig1722 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig1732 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_22_in_ruleAttrInstanceConfig1769 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig1789 = new BitSet(new long[]{0x0000000000800002L});
- public static final BitSet FOLLOW_23_in_ruleAttrInstanceConfig1802 = new BitSet(new long[]{0x0000000F400000E0L});
- public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig1823 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath1861 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRefPath1871 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1913 = new BitSet(new long[]{0x0000000000010002L});
- public static final BitSet FOLLOW_16_in_ruleRefPath1931 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath1948 = new BitSet(new long[]{0x0000000000010002L});
- public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1991 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImport2001 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_26_in_ruleImport2038 = new BitSet(new long[]{0x0000000010000010L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2061 = new BitSet(new long[]{0x0000000008000000L});
- public static final BitSet FOLLOW_27_in_ruleImport2073 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_28_in_ruleImport2092 = new BitSet(new long[]{0x0000000000000020L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2110 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2152 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2163 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2210 = new BitSet(new long[]{0x0000000020000002L});
- public static final BitSet FOLLOW_29_in_ruleImportedFQN2229 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN2272 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleFQN2283 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2323 = new BitSet(new long[]{0x0000000040000002L});
- public static final BitSet FOLLOW_30_in_ruleFQN2342 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleFQN2357 = new BitSet(new long[]{0x0000000040000002L});
- public static final BitSet FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray2404 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLiteralArray2414 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray2460 = new BitSet(new long[]{0x0000000080000002L});
- public static final BitSet FOLLOW_31_in_ruleLiteralArray2473 = new BitSet(new long[]{0x0000000F400000E0L});
- public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray2494 = new BitSet(new long[]{0x0000000080000002L});
- public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral2532 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleLiteral2542 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral2589 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral2616 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral2643 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2678 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral2688 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_32_in_ruleBooleanLiteral2735 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_33_in_ruleBooleanLiteral2759 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2809 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral2819 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2866 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2893 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2928 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2938 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2993 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3029 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral3039 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral3094 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3130 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral3140 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral3191 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger3233 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleInteger3244 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger3291 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger3324 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger3376 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger3387 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleSignedInteger3430 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_35_in_ruleSignedInteger3449 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger3466 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal3522 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal3533 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal3576 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleReal_in_entryRuleReal3625 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleReal3636 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_ruleReal3683 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal3716 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal3749 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal3782 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal3834 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimal3845 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleDecimal3888 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_35_in_ruleDecimal3907 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3924 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_ruleDecimal3942 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3957 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4013 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal4024 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleDotDecimal4067 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_35_in_ruleDotDecimal4086 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_ruleDotDecimal4101 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal4116 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4172 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot4183 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleDecimalDot4226 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_35_in_ruleDecimalDot4245 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot4262 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_ruleDecimalDot4280 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp4331 = new BitSet(new long[]{0x0000000000000000L});
- public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp4342 = new BitSet(new long[]{0x0000000000000002L});
- public static final BitSet FOLLOW_34_in_ruleDecimalExp4385 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_35_in_ruleDecimalExp4404 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4421 = new BitSet(new long[]{0x0000000040000000L});
- public static final BitSet FOLLOW_30_in_ruleDecimalExp4439 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4454 = new BitSet(new long[]{0x0000000000000010L});
- public static final BitSet FOLLOW_RULE_ID_in_ruleDecimalExp4474 = new BitSet(new long[]{0x0000000C00000040L});
- public static final BitSet FOLLOW_34_in_ruleDecimalExp4493 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_35_in_ruleDecimalExp4512 = new BitSet(new long[]{0x0000000000000040L});
- public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp4529 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSubSystemConfig_in_ruleConfigElement247 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorClassConfig_in_ruleConfigElement274 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleActorInstanceConfig_in_ruleConfigElement301 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_ruleConfigElement328 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSubSystemConfig_in_entryRuleSubSystemConfig363 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSubSystemConfig373 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_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_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_ruleActorInstanceConfig1116 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleActorInstanceConfig1139 = new BitSet(new long[]{0x0000000000800000L});
+ public static final BitSet FOLLOW_23_in_ruleActorInstanceConfig1151 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleRefPath_in_ruleActorInstanceConfig1172 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleActorInstanceConfig1184 = new BitSet(new long[]{0x0000000030008000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleActorInstanceConfig1250 = new BitSet(new long[]{0x0000000030008000L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_ruleActorInstanceConfig1326 = new BitSet(new long[]{0x0000000030008000L});
+ public static final BitSet FOLLOW_15_in_ruleActorInstanceConfig1379 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleProtocolClassConfig_in_entryRuleProtocolClassConfig1415 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleProtocolClassConfig1425 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_24_in_ruleProtocolClassConfig1462 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleProtocolClassConfig1485 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_ruleProtocolClassConfig1497 = new BitSet(new long[]{0x0000000006008000L});
+ public static final BitSet FOLLOW_25_in_ruleProtocolClassConfig1555 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1576 = new BitSet(new long[]{0x0000000006008000L});
+ public static final BitSet FOLLOW_26_in_ruleProtocolClassConfig1644 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_ruleProtocolClassConfig1665 = new BitSet(new long[]{0x0000000006008000L});
+ public static final BitSet FOLLOW_15_in_ruleProtocolClassConfig1718 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortClassConfig_in_entryRulePortClassConfig1754 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortClassConfig1764 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_27_in_rulePortClassConfig1810 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_rulePortClassConfig1822 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_rulePortClassConfig1843 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_15_in_rulePortClassConfig1856 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_rulePortInstanceConfig_in_entryRulePortInstanceConfig1892 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRulePortInstanceConfig1902 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_28_in_rulePortInstanceConfig1939 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_rulePortInstanceConfig1959 = new BitSet(new long[]{0x0000000000004000L});
+ public static final BitSet FOLLOW_14_in_rulePortInstanceConfig1971 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_rulePortInstanceConfig1992 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_15_in_rulePortInstanceConfig2005 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_entryRuleAttrClassConfig2043 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrClassConfig2053 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_29_in_ruleAttrClassConfig2090 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrClassConfig2110 = new BitSet(new long[]{0x0000000040004002L});
+ public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2123 = new BitSet(new long[]{0x00001E80000000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrClassConfig2144 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_14_in_ruleAttrClassConfig2159 = new BitSet(new long[]{0x00000001A0008000L});
+ public static final BitSet FOLLOW_31_in_ruleAttrClassConfig2173 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2185 = new BitSet(new long[]{0x00001880000000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2206 = new BitSet(new long[]{0x0000000120008000L});
+ public static final BitSet FOLLOW_32_in_ruleAttrClassConfig2221 = new BitSet(new long[]{0x0000000040000000L});
+ public static final BitSet FOLLOW_30_in_ruleAttrClassConfig2233 = new BitSet(new long[]{0x00001880000000C0L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleAttrClassConfig2254 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_ruleAttrClassConfig_in_ruleAttrClassConfig2277 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_15_in_ruleAttrClassConfig2291 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_entryRuleAttrInstanceConfig2329 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleAttrInstanceConfig2339 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_29_in_ruleAttrInstanceConfig2376 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleAttrInstanceConfig2396 = new BitSet(new long[]{0x0000000040004002L});
+ public static final BitSet FOLLOW_30_in_ruleAttrInstanceConfig2409 = new BitSet(new long[]{0x00001E80000000E0L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_ruleAttrInstanceConfig2430 = new BitSet(new long[]{0x0000000000004002L});
+ public static final BitSet FOLLOW_14_in_ruleAttrInstanceConfig2445 = new BitSet(new long[]{0x0000000020018000L});
+ public static final BitSet FOLLOW_16_in_ruleAttrInstanceConfig2465 = new BitSet(new long[]{0x0000000600000000L});
+ public static final BitSet FOLLOW_33_in_ruleAttrInstanceConfig2497 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_34_in_ruleAttrInstanceConfig2528 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_ruleAttrInstanceConfig_in_ruleAttrInstanceConfig2552 = new BitSet(new long[]{0x0000000020008000L});
+ public static final BitSet FOLLOW_15_in_ruleAttrInstanceConfig2566 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRefPath_in_entryRuleRefPath2604 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRefPath2614 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2656 = new BitSet(new long[]{0x0000000000800002L});
+ public static final BitSet FOLLOW_23_in_ruleRefPath2674 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleRefPath2691 = new BitSet(new long[]{0x0000000000800002L});
+ public static final BitSet FOLLOW_ruleImport_in_entryRuleImport2734 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImport2744 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_35_in_ruleImport2781 = new BitSet(new long[]{0x0000002000000010L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport2804 = new BitSet(new long[]{0x0000001000000000L});
+ public static final BitSet FOLLOW_36_in_ruleImport2816 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_37_in_ruleImport2835 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleImport2853 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN2895 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN2906 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN2953 = new BitSet(new long[]{0x0000004000000002L});
+ public static final BitSet FOLLOW_38_in_ruleImportedFQN2972 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3015 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleFQN3026 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3066 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_39_in_ruleFQN3085 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3100 = new BitSet(new long[]{0x0000008000000002L});
+ public static final BitSet FOLLOW_ruleLiteralArray_in_entryRuleLiteralArray3147 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteralArray3157 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3203 = new BitSet(new long[]{0x0000010000000002L});
+ public static final BitSet FOLLOW_40_in_ruleLiteralArray3216 = new BitSet(new long[]{0x00001E80000000E0L});
+ public static final BitSet FOLLOW_ruleLiteral_in_ruleLiteralArray3237 = new BitSet(new long[]{0x0000010000000002L});
+ public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral3275 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleLiteral3285 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral3332 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral3359 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral3386 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral3421 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral3431 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_41_in_ruleBooleanLiteral3478 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_42_in_ruleBooleanLiteral3502 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral3552 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral3562 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral3609 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral3636 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral3671 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral3681 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral3736 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral3772 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral3782 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral3837 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral3873 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral3883 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral3934 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger3976 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleInteger3987 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger4034 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger4067 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger4119 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger4130 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_43_in_ruleSignedInteger4173 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_44_in_ruleSignedInteger4192 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger4209 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal4265 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal4276 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal4319 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleReal_in_entryRuleReal4368 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleReal4379 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_ruleReal4426 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal4459 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal4492 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal4525 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal4577 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimal4588 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_43_in_ruleDecimal4631 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_44_in_ruleDecimal4650 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4667 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_39_in_ruleDecimal4685 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal4700 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal4756 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal4767 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_43_in_ruleDotDecimal4810 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_44_in_ruleDotDecimal4829 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_39_in_ruleDotDecimal4844 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal4859 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot4915 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot4926 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_43_in_ruleDecimalDot4969 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_44_in_ruleDecimalDot4988 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot5005 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_39_in_ruleDecimalDot5023 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp5074 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp5085 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_43_in_ruleDecimalExp5128 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_44_in_ruleDecimalExp5147 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5164 = new BitSet(new long[]{0x0000008000000000L});
+ public static final BitSet FOLLOW_39_in_ruleDecimalExp5182 = new BitSet(new long[]{0x0000000000000040L});
+ public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp5197 = new BitSet(new long[]{0x0000000000000100L});
+ public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp5217 = new BitSet(new long[]{0x0000000000000002L});
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSemanticSequencer.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSemanticSequencer.java
index 7c6fe60ee..6810f3c7b 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSemanticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSemanticSequencer.java
@@ -10,6 +10,7 @@ import org.eclipse.etrice.core.config.AttrInstanceConfig;
import org.eclipse.etrice.core.config.BooleanLiteral;
import org.eclipse.etrice.core.config.ConfigModel;
import org.eclipse.etrice.core.config.ConfigPackage;
+import org.eclipse.etrice.core.config.DynamicConfig;
import org.eclipse.etrice.core.config.Import;
import org.eclipse.etrice.core.config.IntLiteral;
import org.eclipse.etrice.core.config.LiteralArray;
@@ -19,6 +20,7 @@ import org.eclipse.etrice.core.config.ProtocolClassConfig;
import org.eclipse.etrice.core.config.RealLiteral;
import org.eclipse.etrice.core.config.RefPath;
import org.eclipse.etrice.core.config.StringLiteral;
+import org.eclipse.etrice.core.config.SubSystemConfig;
import org.eclipse.etrice.core.services.ConfigGrammarAccess;
import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor;
import org.eclipse.xtext.serializer.acceptor.SequenceFeeder;
@@ -80,6 +82,12 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
return;
}
else break;
+ case ConfigPackage.DYNAMIC_CONFIG:
+ if(context == grammarAccess.getDynamicConfigRule()) {
+ sequence_DynamicConfig(context, (DynamicConfig) semanticObject);
+ return;
+ }
+ else break;
case ConfigPackage.IMPORT:
if(context == grammarAccess.getImportRule()) {
sequence_Import(context, (Import) semanticObject);
@@ -140,6 +148,13 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
return;
}
else break;
+ case ConfigPackage.SUB_SYSTEM_CONFIG:
+ if(context == grammarAccess.getConfigElementRule() ||
+ context == grammarAccess.getSubSystemConfigRule()) {
+ sequence_SubSystemConfig(context, (SubSystemConfig) semanticObject);
+ return;
+ }
+ else break;
}
if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
@@ -164,7 +179,7 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
/**
* Constraint:
- * (attribute=[Attribute|ID] value=LiteralArray? (min=NumberLiteral? max=NumberLiteral?)?)
+ * (attribute=[Attribute|ID] value=LiteralArray? (min=NumberLiteral? max=NumberLiteral? attributes+=AttrClassConfig*)?)
*/
protected void sequence_AttrClassConfig(EObject context, AttrClassConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -173,7 +188,7 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
/**
* Constraint:
- * (attribute=[Attribute|ID] value=LiteralArray?)
+ * (attribute=[Attribute|ID] value=LiteralArray? ((dynConfig?='dynamic configuration' readOnly?='read'?)? attributes+=AttrInstanceConfig*)?)
*/
protected void sequence_AttrInstanceConfig(EObject context, AttrInstanceConfig semanticObject) {
genericSequencer.createSequence(context, semanticObject);
@@ -200,6 +215,15 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
/**
* Constraint:
+ * ((filePath=STRING | (userCode1=STRING userCode2=STRING)) polling=INT?)
+ */
+ protected void sequence_DynamicConfig(EObject context, DynamicConfig semanticObject) {
+ genericSequencer.createSequence(context, semanticObject);
+ }
+
+
+ /**
+ * Constraint:
* (importedNamespace=ImportedFQN? importURI=STRING)
*/
protected void sequence_Import(EObject context, Import semanticObject) {
@@ -298,4 +322,23 @@ public class ConfigSemanticSequencer extends AbstractDelegatingSemanticSequencer
feeder.accept(grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0(), semanticObject.getValue());
feeder.finish();
}
+
+
+ /**
+ * Constraint:
+ * (subSystem=[SubSystemClass|ID] dynConfig=DynamicConfig)
+ */
+ protected void sequence_SubSystemConfig(EObject context, SubSystemConfig semanticObject) {
+ if(errorAcceptor != null) {
+ if(transientValues.isValueTransient(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__SUB_SYSTEM) == ValueTransient.YES)
+ errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__SUB_SYSTEM));
+ if(transientValues.isValueTransient(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__DYN_CONFIG) == ValueTransient.YES)
+ errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ConfigPackage.Literals.SUB_SYSTEM_CONFIG__DYN_CONFIG));
+ }
+ INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
+ SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
+ feeder.accept(grammarAccess.getSubSystemConfigAccess().getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1(), semanticObject.getSubSystem());
+ feeder.accept(grammarAccess.getSubSystemConfigAccess().getDynConfigDynamicConfigParserRuleCall_3_0(), semanticObject.getDynConfig());
+ feeder.finish();
+ }
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSyntacticSequencer.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSyntacticSequencer.java
index 15a0879a3..760fda4f3 100644
--- a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSyntacticSequencer.java
+++ b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/serializer/ConfigSyntacticSequencer.java
@@ -19,11 +19,13 @@ public class ConfigSyntacticSequencer extends AbstractSyntacticSequencer {
protected ConfigGrammarAccess grammarAccess;
protected AbstractElementAlias match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q;
+ protected AbstractElementAlias match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q;
@Inject
protected void init(IGrammarAccess access) {
grammarAccess = (ConfigGrammarAccess) access;
match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrClassConfigAccess().getRightCurlyBracketKeyword_3_2()));
+ match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q = new GroupAlias(false, true, new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getLeftCurlyBracketKeyword_3_0()), new TokenAlias(false, false, grammarAccess.getAttrInstanceConfigAccess().getRightCurlyBracketKeyword_3_2()));
}
@Override
@@ -40,6 +42,8 @@ public class ConfigSyntacticSequencer extends AbstractSyntacticSequencer {
List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax);
if(match_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax))
emit_AttrClassConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
+ else if(match_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q.equals(syntax))
+ emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(semanticObject, getLastNavigableState(), syntaxNodes);
else acceptNodes(getLastNavigableState(), syntaxNodes);
}
}
@@ -52,4 +56,12 @@ public class ConfigSyntacticSequencer extends AbstractSyntacticSequencer {
acceptNodes(transition, nodes);
}
+ /**
+ * Syntax:
+ * ('{' '}')?
+ */
+ protected void emit_AttrInstanceConfig___LeftCurlyBracketKeyword_3_0_RightCurlyBracketKeyword_3_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) {
+ acceptNodes(transition, nodes);
+ }
+
}
diff --git a/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java b/plugins/org.eclipse.etrice.core.config/src-gen/org/eclipse/etrice/core/services/ConfigGrammarAccess.java
index e9fb70202..aba2d4c3e 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
@@ -1,1661 +1,1897 @@
-/*
-* generated by Xtext
-*/
-
-package org.eclipse.etrice.core.services;
-
-import com.google.inject.Singleton;
-import com.google.inject.Inject;
-
-import java.util.List;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.service.GrammarProvider;
-import org.eclipse.xtext.service.AbstractElementFinder.*;
-
-import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
-
-@Singleton
-public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
-
-
- public class ConfigModelElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConfigModel");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0);
- 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:
- //
- // imports+=Import* configElements+=ConfigElement*;
- public ParserRule getRule() { return rule; }
-
- //imports+=Import* configElements+=ConfigElement*
- public Group getGroup() { return cGroup; }
-
- //imports+=Import*
- public Assignment getImportsAssignment_0() { return cImportsAssignment_0; }
-
- //Import
- public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; }
-
- //configElements+=ConfigElement*
- public Assignment getConfigElementsAssignment_1() { return cConfigElementsAssignment_1; }
-
- //ConfigElement
- public RuleCall getConfigElementsConfigElementParserRuleCall_1_0() { return cConfigElementsConfigElementParserRuleCall_1_0; }
- }
-
- public class ConfigElementElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConfigElement");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cActorClassConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cActorInstanceConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cProtocolClassConfigParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
-
- //ConfigElement:
- //
- // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
- public ParserRule getRule() { return rule; }
-
- //ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //ActorClassConfig
- public RuleCall getActorClassConfigParserRuleCall_0() { return cActorClassConfigParserRuleCall_0; }
-
- //ActorInstanceConfig
- public RuleCall getActorInstanceConfigParserRuleCall_1() { return cActorInstanceConfigParserRuleCall_1; }
-
- //ProtocolClassConfig
- public RuleCall getProtocolClassConfigParserRuleCall_2() { return cProtocolClassConfigParserRuleCall_2; }
- }
-
- public class ActorClassConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActorClassConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cActorClassConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cActorAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cActorActorClassCrossReference_1_0 = (CrossReference)cActorAssignment_1.eContents().get(0);
- private final RuleCall cActorActorClassFQNParserRuleCall_1_0_1 = (RuleCall)cActorActorClassCrossReference_1_0.eContents().get(1);
- private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
-
- /// *
- // * Validation:
- // * duplicates config, attributes
- // * / ActorClassConfig:
- //
- // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}";
- public ParserRule getRule() { return rule; }
-
- //"ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}"
- public Group getGroup() { return cGroup; }
-
- //"ActorClassConfig"
- public Keyword getActorClassConfigKeyword_0() { return cActorClassConfigKeyword_0; }
-
- //actor=[room::ActorClass|FQN]
- public Assignment getActorAssignment_1() { return cActorAssignment_1; }
-
- //[room::ActorClass|FQN]
- public CrossReference getActorActorClassCrossReference_1_0() { return cActorActorClassCrossReference_1_0; }
-
- //FQN
- public RuleCall getActorActorClassFQNParserRuleCall_1_0_1() { return cActorActorClassFQNParserRuleCall_1_0_1; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
-
- //attributes+=AttrClassConfig*
- public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
-
- //AttrClassConfig
- public RuleCall getAttributesAttrClassConfigParserRuleCall_3_0() { return cAttributesAttrClassConfigParserRuleCall_3_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
- }
-
- public class ActorInstanceConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActorInstanceConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cActorInstanceConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cRootAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cRootSubSystemClassCrossReference_1_0 = (CrossReference)cRootAssignment_1.eContents().get(0);
- private final RuleCall cRootSubSystemClassFQNParserRuleCall_1_0_1 = (RuleCall)cRootSubSystemClassCrossReference_1_0.eContents().get(1);
- private final Keyword cSolidusKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cPathAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cPathRefPathParserRuleCall_3_0 = (RuleCall)cPathAssignment_3.eContents().get(0);
- private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
- private final Assignment cAttributesAssignment_5 = (Assignment)cGroup.eContents().get(5);
- private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_5_0 = (RuleCall)cAttributesAssignment_5.eContents().get(0);
- private final Assignment cPortsAssignment_6 = (Assignment)cGroup.eContents().get(6);
- private final RuleCall cPortsPortInstanceConfigParserRuleCall_6_0 = (RuleCall)cPortsAssignment_6.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_7 = (Keyword)cGroup.eContents().get(7);
-
- /// *
- // * Validation:
- // * duplicates config, attributes
- // * valid instance reference
- // * Proposal:
- // * attributes
- // * /
- //
- //ActorInstanceConfig:
- //
- // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
- //
- // ports+=PortInstanceConfig* "}";
- public ParserRule getRule() { return rule; }
-
- //"ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
- //
- //ports+=PortInstanceConfig* "}"
- public Group getGroup() { return cGroup; }
-
- //"ActorInstanceConfig"
- public Keyword getActorInstanceConfigKeyword_0() { return cActorInstanceConfigKeyword_0; }
-
- //root=[room::SubSystemClass|FQN]
- public Assignment getRootAssignment_1() { return cRootAssignment_1; }
-
- //[room::SubSystemClass|FQN]
- public CrossReference getRootSubSystemClassCrossReference_1_0() { return cRootSubSystemClassCrossReference_1_0; }
-
- //FQN
- public RuleCall getRootSubSystemClassFQNParserRuleCall_1_0_1() { return cRootSubSystemClassFQNParserRuleCall_1_0_1; }
-
- //"/"
- public Keyword getSolidusKeyword_2() { return cSolidusKeyword_2; }
-
- //path=RefPath
- public Assignment getPathAssignment_3() { return cPathAssignment_3; }
-
- //RefPath
- public RuleCall getPathRefPathParserRuleCall_3_0() { return cPathRefPathParserRuleCall_3_0; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; }
-
- //attributes+=AttrInstanceConfig*
- public Assignment getAttributesAssignment_5() { return cAttributesAssignment_5; }
-
- //AttrInstanceConfig
- public RuleCall getAttributesAttrInstanceConfigParserRuleCall_5_0() { return cAttributesAttrInstanceConfigParserRuleCall_5_0; }
-
- //ports+=PortInstanceConfig*
- public Assignment getPortsAssignment_6() { return cPortsAssignment_6; }
-
- //PortInstanceConfig
- public RuleCall getPortsPortInstanceConfigParserRuleCall_6_0() { return cPortsPortInstanceConfigParserRuleCall_6_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; }
- }
-
- public class ProtocolClassConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ProtocolClassConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cProtocolClassConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cProtocolAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cProtocolProtocolClassCrossReference_1_0 = (CrossReference)cProtocolAssignment_1.eContents().get(0);
- private final RuleCall cProtocolProtocolClassFQNParserRuleCall_1_0_1 = (RuleCall)cProtocolProtocolClassCrossReference_1_0.eContents().get(1);
- private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
- private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
- private final Keyword cRegularKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
- private final Assignment cRegularAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
- private final RuleCall cRegularPortClassConfigParserRuleCall_3_0_1_0 = (RuleCall)cRegularAssignment_3_0_1.eContents().get(0);
- private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
- private final Keyword cConjugateKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
- private final Assignment cConjugatedAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
- private final RuleCall cConjugatedPortClassConfigParserRuleCall_3_1_1_0 = (RuleCall)cConjugatedAssignment_3_1_1.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
-
- //ProtocolClassConfig:
- //
- // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
- //
- // conjugated=PortClassConfig)?) "}";
- public ParserRule getRule() { return rule; }
-
- //"ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
- //
- //conjugated=PortClassConfig)?) "}"
- public Group getGroup() { return cGroup; }
-
- //"ProtocolClassConfig"
- public Keyword getProtocolClassConfigKeyword_0() { return cProtocolClassConfigKeyword_0; }
-
- //protocol=[room::ProtocolClass|FQN]
- public Assignment getProtocolAssignment_1() { return cProtocolAssignment_1; }
-
- //[room::ProtocolClass|FQN]
- public CrossReference getProtocolProtocolClassCrossReference_1_0() { return cProtocolProtocolClassCrossReference_1_0; }
-
- //FQN
- public RuleCall getProtocolProtocolClassFQNParserRuleCall_1_0_1() { return cProtocolProtocolClassFQNParserRuleCall_1_0_1; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
-
- //("regular" regular=PortClassConfig)? & ("conjugate" conjugated=PortClassConfig)?
- public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
-
- //("regular" regular=PortClassConfig)?
- public Group getGroup_3_0() { return cGroup_3_0; }
-
- //"regular"
- public Keyword getRegularKeyword_3_0_0() { return cRegularKeyword_3_0_0; }
-
- //regular=PortClassConfig
- public Assignment getRegularAssignment_3_0_1() { return cRegularAssignment_3_0_1; }
-
- //PortClassConfig
- public RuleCall getRegularPortClassConfigParserRuleCall_3_0_1_0() { return cRegularPortClassConfigParserRuleCall_3_0_1_0; }
-
- //("conjugate" conjugated=PortClassConfig)?
- public Group getGroup_3_1() { return cGroup_3_1; }
-
- //"conjugate"
- public Keyword getConjugateKeyword_3_1_0() { return cConjugateKeyword_3_1_0; }
-
- //conjugated=PortClassConfig
- public Assignment getConjugatedAssignment_3_1_1() { return cConjugatedAssignment_3_1_1; }
-
- //PortClassConfig
- public RuleCall getConjugatedPortClassConfigParserRuleCall_3_1_1_0() { return cConjugatedPortClassConfigParserRuleCall_3_1_1_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
- }
-
- public class PortClassConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortClassConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cPortClassConfigAction_0 = (Action)cGroup.eContents().get(0);
- private final Keyword cPortKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
-
- //PortClassConfig:
- //
- // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
- public ParserRule getRule() { return rule; }
-
- //{PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}"
- public Group getGroup() { return cGroup; }
-
- //{PortClassConfig}
- public Action getPortClassConfigAction_0() { return cPortClassConfigAction_0; }
-
- //"Port"
- public Keyword getPortKeyword_1() { return cPortKeyword_1; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
-
- //attributes+=AttrClassConfig*
- public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
-
- //AttrClassConfig
- public RuleCall getAttributesAttrClassConfigParserRuleCall_3_0() { return cAttributesAttrClassConfigParserRuleCall_3_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
- }
-
- public class PortInstanceConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortInstanceConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cInterfaceItemKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cItemAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cItemInterfaceItemCrossReference_1_0 = (CrossReference)cItemAssignment_1.eContents().get(0);
- private final RuleCall cItemInterfaceItemIDTerminalRuleCall_1_0_1 = (RuleCall)cItemInterfaceItemCrossReference_1_0.eContents().get(1);
- private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
- private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
- private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
-
- //PortInstanceConfig:
- //
- // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
- public ParserRule getRule() { return rule; }
-
- //"InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}"
- public Group getGroup() { return cGroup; }
-
- //"InterfaceItem"
- public Keyword getInterfaceItemKeyword_0() { return cInterfaceItemKeyword_0; }
-
- //item=[room::InterfaceItem]
- public Assignment getItemAssignment_1() { return cItemAssignment_1; }
-
- //[room::InterfaceItem]
- public CrossReference getItemInterfaceItemCrossReference_1_0() { return cItemInterfaceItemCrossReference_1_0; }
-
- //ID
- public RuleCall getItemInterfaceItemIDTerminalRuleCall_1_0_1() { return cItemInterfaceItemIDTerminalRuleCall_1_0_1; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
-
- //attributes+=AttrInstanceConfig*
- public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
-
- //AttrInstanceConfig
- public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
- }
-
- public class AttrConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrConfig");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cAttrClassConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cAttrInstanceConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
-
- /// *
- // * Validation:
- // * correct value type
- // * Proposal:
- // * correct Literal
- // * / AttrConfig:
- //
- // AttrClassConfig | AttrInstanceConfig;
- public ParserRule getRule() { return rule; }
-
- //AttrClassConfig | AttrInstanceConfig
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //AttrClassConfig
- public RuleCall getAttrClassConfigParserRuleCall_0() { return cAttrClassConfigParserRuleCall_0; }
-
- //AttrInstanceConfig
- public RuleCall getAttrInstanceConfigParserRuleCall_1() { return cAttrInstanceConfigParserRuleCall_1; }
- }
-
- public class AttrClassConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrClassConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cAttrKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cAttributeAttributeCrossReference_1_0 = (CrossReference)cAttributeAssignment_1.eContents().get(0);
- private final RuleCall cAttributeAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeAttributeCrossReference_1_0.eContents().get(1);
- private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
- private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
- private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
- private final RuleCall 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 Keyword cMinKeyword_3_1_0_0 = (Keyword)cGroup_3_1_0.eContents().get(0);
- private final Keyword cEqualsSignKeyword_3_1_0_1 = (Keyword)cGroup_3_1_0.eContents().get(1);
- private final Assignment cMinAssignment_3_1_0_2 = (Assignment)cGroup_3_1_0.eContents().get(2);
- private final RuleCall cMinNumberLiteralParserRuleCall_3_1_0_2_0 = (RuleCall)cMinAssignment_3_1_0_2.eContents().get(0);
- private final Group cGroup_3_1_1 = (Group)cUnorderedGroup_3_1.eContents().get(1);
- private final Keyword cMaxKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0);
- private final Keyword cEqualsSignKeyword_3_1_1_1 = (Keyword)cGroup_3_1_1.eContents().get(1);
- private final Assignment cMaxAssignment_3_1_1_2 = (Assignment)cGroup_3_1_1.eContents().get(2);
- private final RuleCall cMaxNumberLiteralParserRuleCall_3_1_1_2_0 = (RuleCall)cMaxAssignment_3_1_1_2.eContents().get(0);
- private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
-
- /// *
- // * Validation:
- // * correct min, max type + available
- // * min <= value <= max
- // * if !value -> min <= attribute.defaultValue <= max
- // * character length
- // *
- // * /
- //
- //AttrClassConfig:
- //
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- //
- // max=NumberLiteral)?) "}")?;
- public ParserRule getRule() { return rule; }
-
- //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- //
- //max=NumberLiteral)?) "}")?
- public Group getGroup() { return cGroup; }
-
- //"Attr"
- public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
-
- //attribute=[room::Attribute]
- public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; }
-
- //[room::Attribute]
- public CrossReference getAttributeAttributeCrossReference_1_0() { return cAttributeAttributeCrossReference_1_0; }
-
- //ID
- public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
-
- //("=" value=LiteralArray)?
- public Group getGroup_2() { return cGroup_2; }
-
- //"="
- public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
-
- //value=LiteralArray
- public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
-
- //LiteralArray
- public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
-
- //("{" (("min" "=" min=NumberLiteral)? & ("max" "=" max=NumberLiteral)?) "}")?
- public Group getGroup_3() { return cGroup_3; }
-
- //"{"
- public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
-
- //("min" "=" min=NumberLiteral)? & ("max" "=" max=NumberLiteral)?
- public UnorderedGroup getUnorderedGroup_3_1() { return cUnorderedGroup_3_1; }
-
- //("min" "=" min=NumberLiteral)?
- public Group getGroup_3_1_0() { return cGroup_3_1_0; }
-
- //"min"
- public Keyword getMinKeyword_3_1_0_0() { return cMinKeyword_3_1_0_0; }
-
- //"="
- public Keyword getEqualsSignKeyword_3_1_0_1() { return cEqualsSignKeyword_3_1_0_1; }
-
- //min=NumberLiteral
- public Assignment getMinAssignment_3_1_0_2() { return cMinAssignment_3_1_0_2; }
-
- //NumberLiteral
- public RuleCall getMinNumberLiteralParserRuleCall_3_1_0_2_0() { return cMinNumberLiteralParserRuleCall_3_1_0_2_0; }
-
- //("max" "=" max=NumberLiteral)?
- public Group getGroup_3_1_1() { return cGroup_3_1_1; }
-
- //"max"
- public Keyword getMaxKeyword_3_1_1_0() { return cMaxKeyword_3_1_1_0; }
-
- //"="
- public Keyword getEqualsSignKeyword_3_1_1_1() { return cEqualsSignKeyword_3_1_1_1; }
-
- //max=NumberLiteral
- public Assignment getMaxAssignment_3_1_1_2() { return cMaxAssignment_3_1_1_2; }
-
- //NumberLiteral
- public RuleCall getMaxNumberLiteralParserRuleCall_3_1_1_2_0() { return cMaxNumberLiteralParserRuleCall_3_1_1_2_0; }
-
- //"}"
- public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
- }
-
- public class AttrInstanceConfigElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrInstanceConfig");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cAttrKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final CrossReference cAttributeAttributeCrossReference_1_0 = (CrossReference)cAttributeAssignment_1.eContents().get(0);
- private final RuleCall cAttributeAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeAttributeCrossReference_1_0.eContents().get(1);
- private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
- private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
- private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
- private final RuleCall cValueLiteralArrayParserRuleCall_2_1_0 = (RuleCall)cValueAssignment_2_1.eContents().get(0);
-
- //AttrInstanceConfig:
- //
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
- public ParserRule getRule() { return rule; }
-
- //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?
- public Group getGroup() { return cGroup; }
-
- //"Attr"
- public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
-
- //attribute=[room::Attribute]
- public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; }
-
- //[room::Attribute]
- public CrossReference getAttributeAttributeCrossReference_1_0() { return cAttributeAttributeCrossReference_1_0; }
-
- //ID
- public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
-
- //("=" value=LiteralArray)?
- public Group getGroup_2() { return cGroup_2; }
-
- //"="
- public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
-
- //value=LiteralArray
- public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
-
- //LiteralArray
- public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
- }
-
- public class RefPathElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RefPath");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cRefsAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final RuleCall cRefsIDTerminalRuleCall_0_0 = (RuleCall)cRefsAssignment_0.eContents().get(0);
- private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
- private final Keyword cSolidusKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
- private final Assignment cRefsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
- private final RuleCall cRefsIDTerminalRuleCall_1_1_0 = (RuleCall)cRefsAssignment_1_1.eContents().get(0);
-
- /// *
- // * Proposal:
- // * for ActorInstanceConfig
- // * / RefPath:
- //
- // refs+=ID ("/" refs+=ID)*;
- public ParserRule getRule() { return rule; }
-
- //refs+=ID ("/" refs+=ID)*
- public Group getGroup() { return cGroup; }
-
- //refs+=ID
- public Assignment getRefsAssignment_0() { return cRefsAssignment_0; }
-
- //ID
- public RuleCall getRefsIDTerminalRuleCall_0_0() { return cRefsIDTerminalRuleCall_0_0; }
-
- //("/" refs+=ID)*
- public Group getGroup_1() { return cGroup_1; }
-
- //"/"
- public Keyword getSolidusKeyword_1_0() { return cSolidusKeyword_1_0; }
-
- //refs+=ID
- public Assignment getRefsAssignment_1_1() { return cRefsAssignment_1_1; }
-
- //ID
- public RuleCall getRefsIDTerminalRuleCall_1_1_0() { return cRefsIDTerminalRuleCall_1_1_0; }
- }
-
- public class ImportElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
- private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
- private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0);
- private final Assignment cImportedNamespaceAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0);
- private final RuleCall cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0 = (RuleCall)cImportedNamespaceAssignment_1_0_0.eContents().get(0);
- private final Keyword cFromKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1);
- private final Keyword cModelKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1);
- private final Assignment cImportURIAssignment_2 = (Assignment)cGroup.eContents().get(2);
- private final RuleCall cImportURISTRINGTerminalRuleCall_2_0 = (RuleCall)cImportURIAssignment_2.eContents().get(0);
-
- //// -------------------- from org.eclipse.etrice.core.Room.xtext ---------------
- // Import:
- //
- // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
- public ParserRule getRule() { return rule; }
-
- //"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING
- public Group getGroup() { return cGroup; }
-
- //"import"
- public Keyword getImportKeyword_0() { return cImportKeyword_0; }
-
- //importedNamespace=ImportedFQN "from" | "model"
- public Alternatives getAlternatives_1() { return cAlternatives_1; }
-
- //importedNamespace=ImportedFQN "from"
- public Group getGroup_1_0() { return cGroup_1_0; }
-
- //importedNamespace=ImportedFQN
- public Assignment getImportedNamespaceAssignment_1_0_0() { return cImportedNamespaceAssignment_1_0_0; }
-
- //ImportedFQN
- public RuleCall getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0() { return cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0; }
-
- //"from"
- public Keyword getFromKeyword_1_0_1() { return cFromKeyword_1_0_1; }
-
- //"model"
- public Keyword getModelKeyword_1_1() { return cModelKeyword_1_1; }
-
- //importURI=STRING
- public Assignment getImportURIAssignment_2() { return cImportURIAssignment_2; }
-
- //STRING
- public RuleCall getImportURISTRINGTerminalRuleCall_2_0() { return cImportURISTRINGTerminalRuleCall_2_0; }
- }
-
- public class ImportedFQNElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportedFQN");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final RuleCall cFQNParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
- private final Keyword cFullStopAsteriskKeyword_1 = (Keyword)cGroup.eContents().get(1);
-
- //ImportedFQN:
- //
- // FQN ".*"?;
- public ParserRule getRule() { return rule; }
-
- //FQN ".*"?
- public Group getGroup() { return cGroup; }
-
- //FQN
- public RuleCall getFQNParserRuleCall_0() { return cFQNParserRuleCall_0; }
-
- //".*"?
- public Keyword getFullStopAsteriskKeyword_1() { return cFullStopAsteriskKeyword_1; }
- }
-
- public class FQNElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FQN");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
- private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
- private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
- private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
-
- //FQN:
- //
- // ID ("." ID)*;
- public ParserRule getRule() { return rule; }
-
- //ID ("." ID)*
- public Group getGroup() { return cGroup; }
-
- //ID
- public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; }
-
- //("." ID)*
- public Group getGroup_1() { return cGroup_1; }
-
- //"."
- public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
-
- //ID
- public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
- }
-
- public class LiteralArrayElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LiteralArray");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Assignment cLiteralsAssignment_0 = (Assignment)cGroup.eContents().get(0);
- private final RuleCall cLiteralsLiteralParserRuleCall_0_0 = (RuleCall)cLiteralsAssignment_0.eContents().get(0);
- private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
- private final Keyword cCommaKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
- private final Assignment cLiteralsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
- private final RuleCall cLiteralsLiteralParserRuleCall_1_1_0 = (RuleCall)cLiteralsAssignment_1_1.eContents().get(0);
-
- //// -----------------------------------------------------------------------------
- // //enum Unit:
- // // N|
- // // W|
- //
- //
- //// S = 's'|
- // // KG = 'kg'|
- // // M = 'm'|
- // // C|
- // // NM|
- // // RPM|
- // // V|
- // // A|
- // // HZ = 'Hz'|
- // // KW
- // //;
- //
- //
- //// LiteralArray = BooleanLiteral+|NumberLiteral+
- // // LiteralArray = StringLiteral
- // LiteralArray:
- //
- // literals+=Literal ("," literals+=Literal)*;
- public ParserRule getRule() { return rule; }
-
- //literals+=Literal ("," literals+=Literal)*
- public Group getGroup() { return cGroup; }
-
- //literals+=Literal
- public Assignment getLiteralsAssignment_0() { return cLiteralsAssignment_0; }
-
- //Literal
- public RuleCall getLiteralsLiteralParserRuleCall_0_0() { return cLiteralsLiteralParserRuleCall_0_0; }
-
- //("," literals+=Literal)*
- public Group getGroup_1() { return cGroup_1; }
-
- //","
- public Keyword getCommaKeyword_1_0() { return cCommaKeyword_1_0; }
-
- //literals+=Literal
- public Assignment getLiteralsAssignment_1_1() { return cLiteralsAssignment_1_1; }
-
- //Literal
- public RuleCall getLiteralsLiteralParserRuleCall_1_1_0() { return cLiteralsLiteralParserRuleCall_1_1_0; }
- }
-
- public class LiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Literal");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cBooleanLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cNumberLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cStringLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
-
- //// Value Types for Attributes
- // Literal:
- //
- // BooleanLiteral | NumberLiteral | StringLiteral;
- public ParserRule getRule() { return rule; }
-
- //BooleanLiteral | NumberLiteral | StringLiteral
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //BooleanLiteral
- public RuleCall getBooleanLiteralParserRuleCall_0() { return cBooleanLiteralParserRuleCall_0; }
-
- //NumberLiteral
- public RuleCall getNumberLiteralParserRuleCall_1() { return cNumberLiteralParserRuleCall_1; }
-
- //StringLiteral
- public RuleCall getStringLiteralParserRuleCall_2() { return cStringLiteralParserRuleCall_2; }
- }
-
- public class BooleanLiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanLiteral");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cBooleanLiteralAction_0 = (Action)cGroup.eContents().get(0);
- private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
- private final Keyword cFalseKeyword_1_0 = (Keyword)cAlternatives_1.eContents().get(0);
- private final Assignment cIsTrueAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1);
- private final Keyword cIsTrueTrueKeyword_1_1_0 = (Keyword)cIsTrueAssignment_1_1.eContents().get(0);
-
- //BooleanLiteral:
- //
- // {BooleanLiteral} ("false" | isTrue?="true");
- public ParserRule getRule() { return rule; }
-
- //{BooleanLiteral} ("false" | isTrue?="true")
- public Group getGroup() { return cGroup; }
-
- //{BooleanLiteral}
- public Action getBooleanLiteralAction_0() { return cBooleanLiteralAction_0; }
-
- //"false" | isTrue?="true"
- public Alternatives getAlternatives_1() { return cAlternatives_1; }
-
- //"false"
- public Keyword getFalseKeyword_1_0() { return cFalseKeyword_1_0; }
-
- //isTrue?="true"
- public Assignment getIsTrueAssignment_1_1() { return cIsTrueAssignment_1_1; }
-
- //"true"
- public Keyword getIsTrueTrueKeyword_1_1_0() { return cIsTrueTrueKeyword_1_1_0; }
- }
-
- public class NumberLiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NumberLiteral");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cIntLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cRealLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
-
- //NumberLiteral:
- //
- // IntLiteral | RealLiteral;
- public ParserRule getRule() { return rule; }
-
- //IntLiteral | RealLiteral
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //IntLiteral
- public RuleCall getIntLiteralParserRuleCall_0() { return cIntLiteralParserRuleCall_0; }
-
- //RealLiteral
- public RuleCall getRealLiteralParserRuleCall_1() { return cRealLiteralParserRuleCall_1; }
- }
-
- public class RealLiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RealLiteral");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cRealLiteralAction_0 = (Action)cGroup.eContents().get(0);
- private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cValueRealParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
-
- //RealLiteral:
- //
- // {RealLiteral} value=Real;
- public ParserRule getRule() { return rule; }
-
- //{RealLiteral} value=Real
- public Group getGroup() { return cGroup; }
-
- //{RealLiteral}
- public Action getRealLiteralAction_0() { return cRealLiteralAction_0; }
-
- //value=Real
- public Assignment getValueAssignment_1() { return cValueAssignment_1; }
-
- //Real
- public RuleCall getValueRealParserRuleCall_1_0() { return cValueRealParserRuleCall_1_0; }
- }
-
- public class IntLiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntLiteral");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cIntLiteralAction_0 = (Action)cGroup.eContents().get(0);
- private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cValueIntegerParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
-
- //IntLiteral:
- //
- // {IntLiteral} value=Integer;
- public ParserRule getRule() { return rule; }
-
- //{IntLiteral} value=Integer
- public Group getGroup() { return cGroup; }
-
- //{IntLiteral}
- public Action getIntLiteralAction_0() { return cIntLiteralAction_0; }
-
- //value=Integer
- public Assignment getValueAssignment_1() { return cValueAssignment_1; }
-
- //Integer
- public RuleCall getValueIntegerParserRuleCall_1_0() { return cValueIntegerParserRuleCall_1_0; }
- }
-
- public class StringLiteralElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringLiteral");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Action cStringLiteralAction_0 = (Action)cGroup.eContents().get(0);
- private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
- private final RuleCall cValueSTRINGTerminalRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
-
- //StringLiteral:
- //
- // {StringLiteral} value=STRING;
- public ParserRule getRule() { return rule; }
-
- //{StringLiteral} value=STRING
- public Group getGroup() { return cGroup; }
-
- //{StringLiteral}
- public Action getStringLiteralAction_0() { return cStringLiteralAction_0; }
-
- //value=STRING
- public Assignment getValueAssignment_1() { return cValueAssignment_1; }
-
- //STRING
- public RuleCall getValueSTRINGTerminalRuleCall_1_0() { return cValueSTRINGTerminalRuleCall_1_0; }
- }
-
- public class IntegerElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Integer");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cSignedIntegerParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cHexadecimalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
-
- //Integer returns ecore::EInt:
- //
- // SignedInteger | Hexadecimal;
- public ParserRule getRule() { return rule; }
-
- //SignedInteger | Hexadecimal
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //SignedInteger
- public RuleCall getSignedIntegerParserRuleCall_0() { return cSignedIntegerParserRuleCall_0; }
-
- //Hexadecimal
- public RuleCall getHexadecimalParserRuleCall_1() { return cHexadecimalParserRuleCall_1; }
- }
-
- public class SignedIntegerElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SignedInteger");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
- private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
- private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
- private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
-
- //SignedInteger hidden():
- //
- // ("+" | "-")? INT;
- public ParserRule getRule() { return rule; }
-
- //("+" | "-")? INT
- public Group getGroup() { return cGroup; }
-
- //("+" | "-")?
- public Alternatives getAlternatives_0() { return cAlternatives_0; }
-
- //"+"
- public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
-
- //"-"
- public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
- }
-
- public class HexadecimalElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Hexadecimal");
- private final RuleCall cHEXTerminalRuleCall = (RuleCall)rule.eContents().get(1);
-
- //Hexadecimal hidden():
- //
- // HEX;
- public ParserRule getRule() { return rule; }
-
- //HEX
- public RuleCall getHEXTerminalRuleCall() { return cHEXTerminalRuleCall; }
- }
-
- public class RealElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Real");
- private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
- private final RuleCall cDecimalParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
- private final RuleCall cDotDecimalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
- private final RuleCall cDecimalDotParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
- private final RuleCall cDecimalExpParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
-
- //Real returns ecore::EDouble:
- //
- // Decimal | DotDecimal | DecimalDot | DecimalExp;
- public ParserRule getRule() { return rule; }
-
- //Decimal | DotDecimal | DecimalDot | DecimalExp
- public Alternatives getAlternatives() { return cAlternatives; }
-
- //Decimal
- public RuleCall getDecimalParserRuleCall_0() { return cDecimalParserRuleCall_0; }
-
- //DotDecimal
- public RuleCall getDotDecimalParserRuleCall_1() { return cDotDecimalParserRuleCall_1; }
-
- //DecimalDot
- public RuleCall getDecimalDotParserRuleCall_2() { return cDecimalDotParserRuleCall_2; }
-
- //DecimalExp
- public RuleCall getDecimalExpParserRuleCall_3() { return cDecimalExpParserRuleCall_3; }
- }
-
- public class DecimalElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Decimal");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
- private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
- private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
- 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);
-
- //Decimal hidden():
- //
- // ("+" | "-")? INT "." INT;
- public ParserRule getRule() { return rule; }
-
- //("+" | "-")? INT "." INT
- public Group getGroup() { return cGroup; }
-
- //("+" | "-")?
- public Alternatives getAlternatives_0() { return cAlternatives_0; }
-
- //"+"
- public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
-
- //"-"
- public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; }
- }
-
- public class DotDecimalElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DotDecimal");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
- private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
- private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
- private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1);
- private final RuleCall cINTTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2);
-
- //DotDecimal hidden():
- //
- // ("+" | "-")? "." INT;
- public ParserRule getRule() { return rule; }
-
- //("+" | "-")? "." INT
- public Group getGroup() { return cGroup; }
-
- //("+" | "-")?
- public Alternatives getAlternatives_0() { return cAlternatives_0; }
-
- //"+"
- public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
-
- //"-"
- public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
-
- //"."
- public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_2() { return cINTTerminalRuleCall_2; }
- }
-
- public class DecimalDotElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DecimalDot");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
- private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
- private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
- private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
- private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
-
- //DecimalDot hidden():
- //
- // ("+" | "-")? INT ".";
- public ParserRule getRule() { return rule; }
-
- //("+" | "-")? INT "."
- public Group getGroup() { return cGroup; }
-
- //("+" | "-")?
- public Alternatives getAlternatives_0() { return cAlternatives_0; }
-
- //"+"
- public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
-
- //"-"
- public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
- }
-
- public class DecimalExpElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DecimalExp");
- private final Group cGroup = (Group)rule.eContents().get(1);
- private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
- private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
- private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
- 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);
-
- //DecimalExp hidden():
- //
- // ("+" | "-")? INT "." INT ID ("+" | "-")? INT;
- public ParserRule getRule() { return rule; }
-
- //("+" | "-")? INT "." INT ID ("+" | "-")? INT
- public Group getGroup() { return cGroup; }
-
- //("+" | "-")?
- public Alternatives getAlternatives_0() { return cAlternatives_0; }
-
- //"+"
- public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
-
- //"-"
- public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
-
- //INT
- public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
-
- //"."
- public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
-
- //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; }
- }
-
-
- private ConfigModelElements pConfigModel;
- private ConfigElementElements pConfigElement;
- private ActorClassConfigElements pActorClassConfig;
- private ActorInstanceConfigElements pActorInstanceConfig;
- private ProtocolClassConfigElements pProtocolClassConfig;
- private PortClassConfigElements pPortClassConfig;
- private PortInstanceConfigElements pPortInstanceConfig;
- private AttrConfigElements pAttrConfig;
- private AttrClassConfigElements pAttrClassConfig;
- private AttrInstanceConfigElements pAttrInstanceConfig;
- private RefPathElements pRefPath;
- private ImportElements pImport;
- private ImportedFQNElements pImportedFQN;
- private FQNElements pFQN;
- private LiteralArrayElements pLiteralArray;
- private LiteralElements pLiteral;
- private BooleanLiteralElements pBooleanLiteral;
- private NumberLiteralElements pNumberLiteral;
- private RealLiteralElements pRealLiteral;
- private IntLiteralElements pIntLiteral;
- private StringLiteralElements pStringLiteral;
- private IntegerElements pInteger;
- private SignedIntegerElements pSignedInteger;
- private HexadecimalElements pHexadecimal;
- private RealElements pReal;
- private DecimalElements pDecimal;
- private DotDecimalElements pDotDecimal;
- private DecimalDotElements pDecimalDot;
- private DecimalExpElements pDecimalExp;
- private TerminalRule tHEX;
-
- private final Grammar grammar;
-
- private TerminalsGrammarAccess gaTerminals;
-
- @Inject
- public ConfigGrammarAccess(GrammarProvider grammarProvider,
- TerminalsGrammarAccess gaTerminals) {
- this.grammar = internalFindGrammar(grammarProvider);
- this.gaTerminals = gaTerminals;
- }
-
- protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
- Grammar grammar = grammarProvider.getGrammar(this);
- while (grammar != null) {
- if ("org.eclipse.etrice.core.Config".equals(grammar.getName())) {
- return grammar;
- }
- List<Grammar> grammars = grammar.getUsedGrammars();
- if (!grammars.isEmpty()) {
- grammar = grammars.iterator().next();
- } else {
- return null;
- }
- }
- return grammar;
- }
-
-
- public Grammar getGrammar() {
- return grammar;
- }
-
-
- public TerminalsGrammarAccess getTerminalsGrammarAccess() {
- return gaTerminals;
- }
-
-
- /// *
- // * Postprocessor:
- // * getActor(Class|Instance)Config()
- // * / ConfigModel:
- //
- // imports+=Import* configElements+=ConfigElement*;
- public ConfigModelElements getConfigModelAccess() {
- return (pConfigModel != null) ? pConfigModel : (pConfigModel = new ConfigModelElements());
- }
-
- public ParserRule getConfigModelRule() {
- return getConfigModelAccess().getRule();
- }
-
- //ConfigElement:
- //
- // ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
- public ConfigElementElements getConfigElementAccess() {
- return (pConfigElement != null) ? pConfigElement : (pConfigElement = new ConfigElementElements());
- }
-
- public ParserRule getConfigElementRule() {
- return getConfigElementAccess().getRule();
- }
-
- /// *
- // * Validation:
- // * duplicates config, attributes
- // * / ActorClassConfig:
- //
- // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}";
- public ActorClassConfigElements getActorClassConfigAccess() {
- return (pActorClassConfig != null) ? pActorClassConfig : (pActorClassConfig = new ActorClassConfigElements());
- }
-
- public ParserRule getActorClassConfigRule() {
- return getActorClassConfigAccess().getRule();
- }
-
- /// *
- // * Validation:
- // * duplicates config, attributes
- // * valid instance reference
- // * Proposal:
- // * attributes
- // * /
- //
- //ActorInstanceConfig:
- //
- // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" attributes+=AttrInstanceConfig*
- //
- // ports+=PortInstanceConfig* "}";
- public ActorInstanceConfigElements getActorInstanceConfigAccess() {
- return (pActorInstanceConfig != null) ? pActorInstanceConfig : (pActorInstanceConfig = new ActorInstanceConfigElements());
- }
-
- public ParserRule getActorInstanceConfigRule() {
- return getActorInstanceConfigAccess().getRule();
- }
-
- //ProtocolClassConfig:
- //
- // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
- //
- // conjugated=PortClassConfig)?) "}";
- public ProtocolClassConfigElements getProtocolClassConfigAccess() {
- return (pProtocolClassConfig != null) ? pProtocolClassConfig : (pProtocolClassConfig = new ProtocolClassConfigElements());
- }
-
- public ParserRule getProtocolClassConfigRule() {
- return getProtocolClassConfigAccess().getRule();
- }
-
- //PortClassConfig:
- //
- // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
- public PortClassConfigElements getPortClassConfigAccess() {
- return (pPortClassConfig != null) ? pPortClassConfig : (pPortClassConfig = new PortClassConfigElements());
- }
-
- public ParserRule getPortClassConfigRule() {
- return getPortClassConfigAccess().getRule();
- }
-
- //PortInstanceConfig:
- //
- // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
- public PortInstanceConfigElements getPortInstanceConfigAccess() {
- return (pPortInstanceConfig != null) ? pPortInstanceConfig : (pPortInstanceConfig = new PortInstanceConfigElements());
- }
-
- public ParserRule getPortInstanceConfigRule() {
- return getPortInstanceConfigAccess().getRule();
- }
-
- /// *
- // * Validation:
- // * correct value type
- // * Proposal:
- // * correct Literal
- // * / AttrConfig:
- //
- // AttrClassConfig | AttrInstanceConfig;
- public AttrConfigElements getAttrConfigAccess() {
- return (pAttrConfig != null) ? pAttrConfig : (pAttrConfig = new AttrConfigElements());
- }
-
- public ParserRule getAttrConfigRule() {
- return getAttrConfigAccess().getRule();
- }
-
- /// *
- // * Validation:
- // * correct min, max type + available
- // * min <= value <= max
- // * if !value -> min <= attribute.defaultValue <= max
- // * character length
- // *
- // * /
- //
- //AttrClassConfig:
- //
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? & ("max" "="
- //
- // max=NumberLiteral)?) "}")?;
- public AttrClassConfigElements getAttrClassConfigAccess() {
- return (pAttrClassConfig != null) ? pAttrClassConfig : (pAttrClassConfig = new AttrClassConfigElements());
- }
-
- public ParserRule getAttrClassConfigRule() {
- return getAttrClassConfigAccess().getRule();
- }
-
- //AttrInstanceConfig:
- //
- // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)?;
- public AttrInstanceConfigElements getAttrInstanceConfigAccess() {
- return (pAttrInstanceConfig != null) ? pAttrInstanceConfig : (pAttrInstanceConfig = new AttrInstanceConfigElements());
- }
-
- public ParserRule getAttrInstanceConfigRule() {
- return getAttrInstanceConfigAccess().getRule();
- }
-
- /// *
- // * Proposal:
- // * for ActorInstanceConfig
- // * / RefPath:
- //
- // refs+=ID ("/" refs+=ID)*;
- public RefPathElements getRefPathAccess() {
- return (pRefPath != null) ? pRefPath : (pRefPath = new RefPathElements());
- }
-
- public ParserRule getRefPathRule() {
- return getRefPathAccess().getRule();
- }
-
- //// -------------------- from org.eclipse.etrice.core.Room.xtext ---------------
- // Import:
- //
- // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
- public ImportElements getImportAccess() {
- return (pImport != null) ? pImport : (pImport = new ImportElements());
- }
-
- public ParserRule getImportRule() {
- return getImportAccess().getRule();
- }
-
- //ImportedFQN:
- //
- // FQN ".*"?;
- public ImportedFQNElements getImportedFQNAccess() {
- return (pImportedFQN != null) ? pImportedFQN : (pImportedFQN = new ImportedFQNElements());
- }
-
- public ParserRule getImportedFQNRule() {
- return getImportedFQNAccess().getRule();
- }
-
- //FQN:
- //
- // ID ("." ID)*;
- public FQNElements getFQNAccess() {
- return (pFQN != null) ? pFQN : (pFQN = new FQNElements());
- }
-
- public ParserRule getFQNRule() {
- return getFQNAccess().getRule();
- }
-
- //// -----------------------------------------------------------------------------
- // //enum Unit:
- // // N|
- // // W|
- //
- //
- //// S = 's'|
- // // KG = 'kg'|
- // // M = 'm'|
- // // C|
- // // NM|
- // // RPM|
- // // V|
- // // A|
- // // HZ = 'Hz'|
- // // KW
- // //;
- //
- //
- //// LiteralArray = BooleanLiteral+|NumberLiteral+
- // // LiteralArray = StringLiteral
- // LiteralArray:
- //
- // literals+=Literal ("," literals+=Literal)*;
- public LiteralArrayElements getLiteralArrayAccess() {
- return (pLiteralArray != null) ? pLiteralArray : (pLiteralArray = new LiteralArrayElements());
- }
-
- public ParserRule getLiteralArrayRule() {
- return getLiteralArrayAccess().getRule();
- }
-
- //// Value Types for Attributes
- // Literal:
- //
- // BooleanLiteral | NumberLiteral | StringLiteral;
- public LiteralElements getLiteralAccess() {
- return (pLiteral != null) ? pLiteral : (pLiteral = new LiteralElements());
- }
-
- public ParserRule getLiteralRule() {
- return getLiteralAccess().getRule();
- }
-
- //BooleanLiteral:
- //
- // {BooleanLiteral} ("false" | isTrue?="true");
- public BooleanLiteralElements getBooleanLiteralAccess() {
- return (pBooleanLiteral != null) ? pBooleanLiteral : (pBooleanLiteral = new BooleanLiteralElements());
- }
-
- public ParserRule getBooleanLiteralRule() {
- return getBooleanLiteralAccess().getRule();
- }
-
- //NumberLiteral:
- //
- // IntLiteral | RealLiteral;
- public NumberLiteralElements getNumberLiteralAccess() {
- return (pNumberLiteral != null) ? pNumberLiteral : (pNumberLiteral = new NumberLiteralElements());
- }
-
- public ParserRule getNumberLiteralRule() {
- return getNumberLiteralAccess().getRule();
- }
-
- //RealLiteral:
- //
- // {RealLiteral} value=Real;
- public RealLiteralElements getRealLiteralAccess() {
- return (pRealLiteral != null) ? pRealLiteral : (pRealLiteral = new RealLiteralElements());
- }
-
- public ParserRule getRealLiteralRule() {
- return getRealLiteralAccess().getRule();
- }
-
- //IntLiteral:
- //
- // {IntLiteral} value=Integer;
- public IntLiteralElements getIntLiteralAccess() {
- return (pIntLiteral != null) ? pIntLiteral : (pIntLiteral = new IntLiteralElements());
- }
-
- public ParserRule getIntLiteralRule() {
- return getIntLiteralAccess().getRule();
- }
-
- //StringLiteral:
- //
- // {StringLiteral} value=STRING;
- public StringLiteralElements getStringLiteralAccess() {
- return (pStringLiteral != null) ? pStringLiteral : (pStringLiteral = new StringLiteralElements());
- }
-
- public ParserRule getStringLiteralRule() {
- return getStringLiteralAccess().getRule();
- }
-
- //Integer returns ecore::EInt:
- //
- // SignedInteger | Hexadecimal;
- public IntegerElements getIntegerAccess() {
- return (pInteger != null) ? pInteger : (pInteger = new IntegerElements());
- }
-
- public ParserRule getIntegerRule() {
- return getIntegerAccess().getRule();
- }
-
- //SignedInteger hidden():
- //
- // ("+" | "-")? INT;
- public SignedIntegerElements getSignedIntegerAccess() {
- return (pSignedInteger != null) ? pSignedInteger : (pSignedInteger = new SignedIntegerElements());
- }
-
- public ParserRule getSignedIntegerRule() {
- return getSignedIntegerAccess().getRule();
- }
-
- //Hexadecimal hidden():
- //
- // HEX;
- public HexadecimalElements getHexadecimalAccess() {
- return (pHexadecimal != null) ? pHexadecimal : (pHexadecimal = new HexadecimalElements());
- }
-
- public ParserRule getHexadecimalRule() {
- return getHexadecimalAccess().getRule();
- }
-
- //Real returns ecore::EDouble:
- //
- // Decimal | DotDecimal | DecimalDot | DecimalExp;
- public RealElements getRealAccess() {
- return (pReal != null) ? pReal : (pReal = new RealElements());
- }
-
- public ParserRule getRealRule() {
- return getRealAccess().getRule();
- }
-
- //Decimal hidden():
- //
- // ("+" | "-")? INT "." INT;
- public DecimalElements getDecimalAccess() {
- return (pDecimal != null) ? pDecimal : (pDecimal = new DecimalElements());
- }
-
- public ParserRule getDecimalRule() {
- return getDecimalAccess().getRule();
- }
-
- //DotDecimal hidden():
- //
- // ("+" | "-")? "." INT;
- public DotDecimalElements getDotDecimalAccess() {
- return (pDotDecimal != null) ? pDotDecimal : (pDotDecimal = new DotDecimalElements());
- }
-
- public ParserRule getDotDecimalRule() {
- return getDotDecimalAccess().getRule();
- }
-
- //DecimalDot hidden():
- //
- // ("+" | "-")? INT ".";
- public DecimalDotElements getDecimalDotAccess() {
- return (pDecimalDot != null) ? pDecimalDot : (pDecimalDot = new DecimalDotElements());
- }
-
- public ParserRule getDecimalDotRule() {
- return getDecimalDotAccess().getRule();
- }
-
- //DecimalExp hidden():
- //
- // ("+" | "-")? INT "." INT ID ("+" | "-")? INT;
- public DecimalExpElements getDecimalExpAccess() {
- return (pDecimalExp != null) ? pDecimalExp : (pDecimalExp = new DecimalExpElements());
- }
-
- public ParserRule getDecimalExpRule() {
- return getDecimalExpAccess().getRule();
- }
-
- ////DecimalPosExp hidden():
- // // ('+' | '-')? INT '.' INT ID;
- // terminal HEX:
- //
- // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F")+;
- public TerminalRule getHEXRule() {
- return (tHEX != null) ? tHEX : (tHEX = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "HEX"));
- }
-
- //terminal ID:
- //
- // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
- public TerminalRule getIDRule() {
- return gaTerminals.getIDRule();
- }
-
- //terminal INT returns ecore::EInt:
- //
- // "0".."9"+;
- public TerminalRule getINTRule() {
- return gaTerminals.getINTRule();
- }
-
- //terminal STRING:
- //
- // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
- //
- // "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
- public TerminalRule getSTRINGRule() {
- return gaTerminals.getSTRINGRule();
- }
-
- //terminal ML_COMMENT:
- //
- // "/ *"->"* /";
- public TerminalRule getML_COMMENTRule() {
- return gaTerminals.getML_COMMENTRule();
- }
-
- //terminal SL_COMMENT:
- //
- // "//" !("\n" | "\r")* ("\r"? "\n")?;
- public TerminalRule getSL_COMMENTRule() {
- return gaTerminals.getSL_COMMENTRule();
- }
-
- //terminal WS:
- //
- // (" " | "\t" | "\r" | "\n")+;
- public TerminalRule getWSRule() {
- return gaTerminals.getWSRule();
- }
-
- //terminal ANY_OTHER:
- //
- // .;
- public TerminalRule getANY_OTHERRule() {
- return gaTerminals.getANY_OTHERRule();
- }
-}
+/*
+* generated by Xtext
+*/
+
+package org.eclipse.etrice.core.services;
+
+import com.google.inject.Singleton;
+import com.google.inject.Inject;
+
+import java.util.List;
+
+import org.eclipse.xtext.*;
+import org.eclipse.xtext.service.GrammarProvider;
+import org.eclipse.xtext.service.AbstractElementFinder.*;
+
+import org.eclipse.xtext.common.services.TerminalsGrammarAccess;
+
+@Singleton
+public class ConfigGrammarAccess extends AbstractGrammarElementFinder {
+
+
+ public class ConfigModelElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConfigModel");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment cImportsAssignment_0 = (Assignment)cGroup.eContents().get(0);
+ private final RuleCall cImportsImportParserRuleCall_0_0 = (RuleCall)cImportsAssignment_0.eContents().get(0);
+ private final Assignment cConfigElementsAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall cConfigElementsConfigElementParserRuleCall_1_0 = (RuleCall)cConfigElementsAssignment_1.eContents().get(0);
+
+ //ConfigModel:
+ //
+ // imports+=Import* configElements+=ConfigElement*;
+ public ParserRule getRule() { return rule; }
+
+ //imports+=Import* configElements+=ConfigElement*
+ public Group getGroup() { return cGroup; }
+
+ //imports+=Import*
+ public Assignment getImportsAssignment_0() { return cImportsAssignment_0; }
+
+ //Import
+ public RuleCall getImportsImportParserRuleCall_0_0() { return cImportsImportParserRuleCall_0_0; }
+
+ //configElements+=ConfigElement*
+ public Assignment getConfigElementsAssignment_1() { return cConfigElementsAssignment_1; }
+
+ //ConfigElement
+ public RuleCall getConfigElementsConfigElementParserRuleCall_1_0() { return cConfigElementsConfigElementParserRuleCall_1_0; }
+ }
+
+ public class ConfigElementElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConfigElement");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cSubSystemConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cActorClassConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cActorInstanceConfigParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+ private final RuleCall cProtocolClassConfigParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
+
+ //ConfigElement:
+ //
+ // SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
+ public ParserRule getRule() { return rule; }
+
+ //SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //SubSystemConfig
+ public RuleCall getSubSystemConfigParserRuleCall_0() { return cSubSystemConfigParserRuleCall_0; }
+
+ //ActorClassConfig
+ public RuleCall getActorClassConfigParserRuleCall_1() { return cActorClassConfigParserRuleCall_1; }
+
+ //ActorInstanceConfig
+ public RuleCall getActorInstanceConfigParserRuleCall_2() { return cActorInstanceConfigParserRuleCall_2; }
+
+ //ProtocolClassConfig
+ public RuleCall getProtocolClassConfigParserRuleCall_3() { return cProtocolClassConfigParserRuleCall_3; }
+ }
+
+ public class SubSystemConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SubSystemConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cSubSystemConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cSubSystemAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cSubSystemSubSystemClassCrossReference_1_0 = (CrossReference)cSubSystemAssignment_1.eContents().get(0);
+ private final RuleCall cSubSystemSubSystemClassIDTerminalRuleCall_1_0_1 = (RuleCall)cSubSystemSubSystemClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cDynConfigAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cDynConfigDynamicConfigParserRuleCall_3_0 = (RuleCall)cDynConfigAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //SubSystemConfig:
+ //
+ // "SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}";
+ public ParserRule getRule() { return rule; }
+
+ //"SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}"
+ public Group getGroup() { return cGroup; }
+
+ //"SubSystemConfig"
+ public Keyword getSubSystemConfigKeyword_0() { return cSubSystemConfigKeyword_0; }
+
+ //subSystem=[room::SubSystemClass]
+ public Assignment getSubSystemAssignment_1() { return cSubSystemAssignment_1; }
+
+ //[room::SubSystemClass]
+ public CrossReference getSubSystemSubSystemClassCrossReference_1_0() { return cSubSystemSubSystemClassCrossReference_1_0; }
+
+ //ID
+ public RuleCall getSubSystemSubSystemClassIDTerminalRuleCall_1_0_1() { return cSubSystemSubSystemClassIDTerminalRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //dynConfig=DynamicConfig
+ public Assignment getDynConfigAssignment_3() { return cDynConfigAssignment_3; }
+
+ //DynamicConfig
+ public RuleCall getDynConfigDynamicConfigParserRuleCall_3_0() { return cDynConfigDynamicConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class DynamicConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DynamicConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cDynamicConfigurationKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1);
+ private final UnorderedGroup cUnorderedGroup_2 = (UnorderedGroup)cGroup.eContents().get(2);
+ private final 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 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" "{" (("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor"
+ //
+ // userCode2=STRING)) & ("polling timer [ms]" polling=INT)?) "}";
+ public ParserRule getRule() { return rule; }
+
+ //"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"
+ public Keyword getDynamicConfigurationKeyword_0() { return cDynamicConfigurationKeyword_0; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; }
+
+ //("file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" userCode2=STRING)) &
+ //
+ //("polling timer [ms]" polling=INT)?
+ public UnorderedGroup getUnorderedGroup_2() { return cUnorderedGroup_2; }
+
+ //"file path" filePath=STRING | ("user import" userCode1=STRING) ("user constructor" userCode2=STRING)
+ public Alternatives getAlternatives_2_0() { return cAlternatives_2_0; }
+
+ //"file path" filePath=STRING
+ public Group getGroup_2_0_0() { return cGroup_2_0_0; }
+
+ //"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 getFilePathSTRINGTerminalRuleCall_2_0_0_1_0() { return cFilePathSTRINGTerminalRuleCall_2_0_0_1_0; }
+
+ //("user import" userCode1=STRING) ("user constructor" userCode2=STRING)
+ public Group getGroup_2_0_1() { return cGroup_2_0_1; }
+
+ //"user import" userCode1=STRING
+ public Group getGroup_2_0_1_0() { return cGroup_2_0_1_0; }
+
+ //"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 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; }
+
+ //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 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; }
+
+ //INT
+ public RuleCall getPollingINTTerminalRuleCall_2_1_1_0() { return cPollingINTTerminalRuleCall_2_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; }
+ }
+
+ public class ActorClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActorClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cActorClassConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cActorAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cActorActorClassCrossReference_1_0 = (CrossReference)cActorAssignment_1.eContents().get(0);
+ private final RuleCall cActorActorClassFQNParserRuleCall_1_0_1 = (RuleCall)cActorActorClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ /// *
+ // * Validation:
+ // * duplicates config, attributes
+ // * / ActorClassConfig:
+ //
+ // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}";
+ public ParserRule getRule() { return rule; }
+
+ //"ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}"
+ public Group getGroup() { return cGroup; }
+
+ //"ActorClassConfig"
+ public Keyword getActorClassConfigKeyword_0() { return cActorClassConfigKeyword_0; }
+
+ //actor=[room::ActorClass|FQN]
+ public Assignment getActorAssignment_1() { return cActorAssignment_1; }
+
+ //[room::ActorClass|FQN]
+ public CrossReference getActorActorClassCrossReference_1_0() { return cActorActorClassCrossReference_1_0; }
+
+ //FQN
+ public RuleCall getActorActorClassFQNParserRuleCall_1_0_1() { return cActorActorClassFQNParserRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //attributes+=AttrClassConfig*
+ public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
+
+ //AttrClassConfig
+ public RuleCall getAttributesAttrClassConfigParserRuleCall_3_0() { return cAttributesAttrClassConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class ActorInstanceConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ActorInstanceConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cActorInstanceConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cRootAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cRootSubSystemClassCrossReference_1_0 = (CrossReference)cRootAssignment_1.eContents().get(0);
+ private final RuleCall cRootSubSystemClassFQNParserRuleCall_1_0_1 = (RuleCall)cRootSubSystemClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cSolidusKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cPathAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cPathRefPathParserRuleCall_3_0 = (RuleCall)cPathAssignment_3.eContents().get(0);
+ private final Keyword cLeftCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+ private final UnorderedGroup cUnorderedGroup_5 = (UnorderedGroup)cGroup.eContents().get(5);
+ private final Assignment cAttributesAssignment_5_0 = (Assignment)cUnorderedGroup_5.eContents().get(0);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_5_0_0 = (RuleCall)cAttributesAssignment_5_0.eContents().get(0);
+ private final Assignment cPortsAssignment_5_1 = (Assignment)cUnorderedGroup_5.eContents().get(1);
+ private final RuleCall cPortsPortInstanceConfigParserRuleCall_5_1_0 = (RuleCall)cPortsAssignment_5_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6);
+
+ /// *
+ // * Validation:
+ // * duplicates config, attributes
+ // * valid instance reference
+ // * Proposal:
+ // * attributes
+ // * /
+ //
+ //ActorInstanceConfig:
+ //
+ // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" (attributes+=AttrInstanceConfig* &
+ //
+ // ports+=PortInstanceConfig*) "}";
+ public ParserRule getRule() { return rule; }
+
+ //"ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" (attributes+=AttrInstanceConfig* &
+ //
+ //ports+=PortInstanceConfig*) "}"
+ public Group getGroup() { return cGroup; }
+
+ //"ActorInstanceConfig"
+ public Keyword getActorInstanceConfigKeyword_0() { return cActorInstanceConfigKeyword_0; }
+
+ //root=[room::SubSystemClass|FQN]
+ public Assignment getRootAssignment_1() { return cRootAssignment_1; }
+
+ //[room::SubSystemClass|FQN]
+ public CrossReference getRootSubSystemClassCrossReference_1_0() { return cRootSubSystemClassCrossReference_1_0; }
+
+ //FQN
+ public RuleCall getRootSubSystemClassFQNParserRuleCall_1_0_1() { return cRootSubSystemClassFQNParserRuleCall_1_0_1; }
+
+ //"/"
+ public Keyword getSolidusKeyword_2() { return cSolidusKeyword_2; }
+
+ //path=RefPath
+ public Assignment getPathAssignment_3() { return cPathAssignment_3; }
+
+ //RefPath
+ public RuleCall getPathRefPathParserRuleCall_3_0() { return cPathRefPathParserRuleCall_3_0; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; }
+
+ //attributes+=AttrInstanceConfig* & ports+=PortInstanceConfig*
+ public UnorderedGroup getUnorderedGroup_5() { return cUnorderedGroup_5; }
+
+ //attributes+=AttrInstanceConfig*
+ public Assignment getAttributesAssignment_5_0() { return cAttributesAssignment_5_0; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_5_0_0() { return cAttributesAttrInstanceConfigParserRuleCall_5_0_0; }
+
+ //ports+=PortInstanceConfig*
+ public Assignment getPortsAssignment_5_1() { return cPortsAssignment_5_1; }
+
+ //PortInstanceConfig
+ public RuleCall getPortsPortInstanceConfigParserRuleCall_5_1_0() { return cPortsPortInstanceConfigParserRuleCall_5_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; }
+ }
+
+ public class ProtocolClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ProtocolClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cProtocolClassConfigKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cProtocolAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cProtocolProtocolClassCrossReference_1_0 = (CrossReference)cProtocolAssignment_1.eContents().get(0);
+ private final RuleCall cProtocolProtocolClassFQNParserRuleCall_1_0_1 = (RuleCall)cProtocolProtocolClassCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3);
+ private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0);
+ private final Keyword cRegularKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0);
+ private final Assignment cRegularAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1);
+ private final RuleCall cRegularPortClassConfigParserRuleCall_3_0_1_0 = (RuleCall)cRegularAssignment_3_0_1.eContents().get(0);
+ private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1);
+ private final Keyword cConjugateKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0);
+ private final Assignment cConjugatedAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
+ private final RuleCall cConjugatedPortClassConfigParserRuleCall_3_1_1_0 = (RuleCall)cConjugatedAssignment_3_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //ProtocolClassConfig:
+ //
+ // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ //
+ // conjugated=PortClassConfig)?) "}";
+ public ParserRule getRule() { return rule; }
+
+ //"ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ //
+ //conjugated=PortClassConfig)?) "}"
+ public Group getGroup() { return cGroup; }
+
+ //"ProtocolClassConfig"
+ public Keyword getProtocolClassConfigKeyword_0() { return cProtocolClassConfigKeyword_0; }
+
+ //protocol=[room::ProtocolClass|FQN]
+ public Assignment getProtocolAssignment_1() { return cProtocolAssignment_1; }
+
+ //[room::ProtocolClass|FQN]
+ public CrossReference getProtocolProtocolClassCrossReference_1_0() { return cProtocolProtocolClassCrossReference_1_0; }
+
+ //FQN
+ public RuleCall getProtocolProtocolClassFQNParserRuleCall_1_0_1() { return cProtocolProtocolClassFQNParserRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //("regular" regular=PortClassConfig)? & ("conjugate" conjugated=PortClassConfig)?
+ public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; }
+
+ //("regular" regular=PortClassConfig)?
+ public Group getGroup_3_0() { return cGroup_3_0; }
+
+ //"regular"
+ public Keyword getRegularKeyword_3_0_0() { return cRegularKeyword_3_0_0; }
+
+ //regular=PortClassConfig
+ public Assignment getRegularAssignment_3_0_1() { return cRegularAssignment_3_0_1; }
+
+ //PortClassConfig
+ public RuleCall getRegularPortClassConfigParserRuleCall_3_0_1_0() { return cRegularPortClassConfigParserRuleCall_3_0_1_0; }
+
+ //("conjugate" conjugated=PortClassConfig)?
+ public Group getGroup_3_1() { return cGroup_3_1; }
+
+ //"conjugate"
+ public Keyword getConjugateKeyword_3_1_0() { return cConjugateKeyword_3_1_0; }
+
+ //conjugated=PortClassConfig
+ public Assignment getConjugatedAssignment_3_1_1() { return cConjugatedAssignment_3_1_1; }
+
+ //PortClassConfig
+ public RuleCall getConjugatedPortClassConfigParserRuleCall_3_1_1_0() { return cConjugatedPortClassConfigParserRuleCall_3_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class PortClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cPortClassConfigAction_0 = (Action)cGroup.eContents().get(0);
+ private final Keyword cPortKeyword_1 = (Keyword)cGroup.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //PortClassConfig:
+ //
+ // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
+ public ParserRule getRule() { return rule; }
+
+ //{PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}"
+ public Group getGroup() { return cGroup; }
+
+ //{PortClassConfig}
+ public Action getPortClassConfigAction_0() { return cPortClassConfigAction_0; }
+
+ //"Port"
+ public Keyword getPortKeyword_1() { return cPortKeyword_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //attributes+=AttrClassConfig*
+ public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
+
+ //AttrClassConfig
+ public RuleCall getAttributesAttrClassConfigParserRuleCall_3_0() { return cAttributesAttrClassConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class PortInstanceConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PortInstanceConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cInterfaceItemKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cItemAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cItemInterfaceItemCrossReference_1_0 = (CrossReference)cItemAssignment_1.eContents().get(0);
+ private final RuleCall cItemInterfaceItemIDTerminalRuleCall_1_0_1 = (RuleCall)cItemInterfaceItemCrossReference_1_0.eContents().get(1);
+ private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2);
+ private final Assignment cAttributesAssignment_3 = (Assignment)cGroup.eContents().get(3);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_0 = (RuleCall)cAttributesAssignment_3.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4);
+
+ //PortInstanceConfig:
+ //
+ // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
+ public ParserRule getRule() { return rule; }
+
+ //"InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}"
+ public Group getGroup() { return cGroup; }
+
+ //"InterfaceItem"
+ public Keyword getInterfaceItemKeyword_0() { return cInterfaceItemKeyword_0; }
+
+ //item=[room::InterfaceItem]
+ public Assignment getItemAssignment_1() { return cItemAssignment_1; }
+
+ //[room::InterfaceItem]
+ public CrossReference getItemInterfaceItemCrossReference_1_0() { return cItemInterfaceItemCrossReference_1_0; }
+
+ //ID
+ public RuleCall getItemInterfaceItemIDTerminalRuleCall_1_0_1() { return cItemInterfaceItemIDTerminalRuleCall_1_0_1; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; }
+
+ //attributes+=AttrInstanceConfig*
+ public Assignment getAttributesAssignment_3() { return cAttributesAssignment_3; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; }
+ }
+
+ public class AttrConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrConfig");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cAttrClassConfigParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cAttrInstanceConfigParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+
+ /// *
+ // * Validation:
+ // * correct value type
+ // * Proposal:
+ // * correct Literal
+ // * / AttrConfig:
+ //
+ // AttrClassConfig | AttrInstanceConfig;
+ public ParserRule getRule() { return rule; }
+
+ //AttrClassConfig | AttrInstanceConfig
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //AttrClassConfig
+ public RuleCall getAttrClassConfigParserRuleCall_0() { return cAttrClassConfigParserRuleCall_0; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttrInstanceConfigParserRuleCall_1() { return cAttrInstanceConfigParserRuleCall_1; }
+ }
+
+ public class AttrClassConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrClassConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cAttrKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cAttributeAttributeCrossReference_1_0 = (CrossReference)cAttributeAssignment_1.eContents().get(0);
+ private final RuleCall cAttributeAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeAttributeCrossReference_1_0.eContents().get(1);
+ private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
+ private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
+ private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
+ private final RuleCall 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 Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1);
+ private final Group cGroup_3_1_0 = (Group)cGroup_3_1.eContents().get(0);
+ private final Keyword cMinKeyword_3_1_0_0 = (Keyword)cGroup_3_1_0.eContents().get(0);
+ private final Keyword cEqualsSignKeyword_3_1_0_1 = (Keyword)cGroup_3_1_0.eContents().get(1);
+ private final Assignment cMinAssignment_3_1_0_2 = (Assignment)cGroup_3_1_0.eContents().get(2);
+ private final RuleCall cMinNumberLiteralParserRuleCall_3_1_0_2_0 = (RuleCall)cMinAssignment_3_1_0_2.eContents().get(0);
+ private final Group cGroup_3_1_1 = (Group)cGroup_3_1.eContents().get(1);
+ private final Keyword cMaxKeyword_3_1_1_0 = (Keyword)cGroup_3_1_1.eContents().get(0);
+ private final Keyword cEqualsSignKeyword_3_1_1_1 = (Keyword)cGroup_3_1_1.eContents().get(1);
+ private final Assignment cMaxAssignment_3_1_1_2 = (Assignment)cGroup_3_1_1.eContents().get(2);
+ private final RuleCall cMaxNumberLiteralParserRuleCall_3_1_1_2_0 = (RuleCall)cMaxAssignment_3_1_1_2.eContents().get(0);
+ private final Assignment cAttributesAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2);
+ private final RuleCall cAttributesAttrClassConfigParserRuleCall_3_1_2_0 = (RuleCall)cAttributesAssignment_3_1_2.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
+
+ /// *
+ // * Validation:
+ // * correct min, max type + available
+ // * min <= value <= max
+ // * if !value -> min <= attribute.defaultValue <= max
+ // * character length
+ // *
+ // * /
+ //
+ //AttrClassConfig:
+ //
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? ("max" "="
+ //
+ // max=NumberLiteral)? attributes+=AttrClassConfig*) "}")?;
+ public ParserRule getRule() { return rule; }
+
+ //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? ("max" "="
+ //
+ //max=NumberLiteral)? attributes+=AttrClassConfig*) "}")?
+ public Group getGroup() { return cGroup; }
+
+ //"Attr"
+ public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
+
+ //attribute=[room::Attribute]
+ public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; }
+
+ //[room::Attribute]
+ public CrossReference getAttributeAttributeCrossReference_1_0() { return cAttributeAttributeCrossReference_1_0; }
+
+ //ID
+ public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
+
+ //("=" value=LiteralArray)?
+ public Group getGroup_2() { return cGroup_2; }
+
+ //"="
+ public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
+
+ //value=LiteralArray
+ public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
+
+ //LiteralArray
+ public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
+
+ //("{" (("min" "=" min=NumberLiteral)? ("max" "=" max=NumberLiteral)? attributes+=AttrClassConfig*) "}")?
+ public Group getGroup_3() { return cGroup_3; }
+
+ //"{"
+ public Keyword getLeftCurlyBracketKeyword_3_0() { return cLeftCurlyBracketKeyword_3_0; }
+
+ //("min" "=" min=NumberLiteral)? ("max" "=" max=NumberLiteral)? attributes+=AttrClassConfig*
+ public Group getGroup_3_1() { return cGroup_3_1; }
+
+ //("min" "=" min=NumberLiteral)?
+ public Group getGroup_3_1_0() { return cGroup_3_1_0; }
+
+ //"min"
+ public Keyword getMinKeyword_3_1_0_0() { return cMinKeyword_3_1_0_0; }
+
+ //"="
+ public Keyword getEqualsSignKeyword_3_1_0_1() { return cEqualsSignKeyword_3_1_0_1; }
+
+ //min=NumberLiteral
+ public Assignment getMinAssignment_3_1_0_2() { return cMinAssignment_3_1_0_2; }
+
+ //NumberLiteral
+ public RuleCall getMinNumberLiteralParserRuleCall_3_1_0_2_0() { return cMinNumberLiteralParserRuleCall_3_1_0_2_0; }
+
+ //("max" "=" max=NumberLiteral)?
+ public Group getGroup_3_1_1() { return cGroup_3_1_1; }
+
+ //"max"
+ public Keyword getMaxKeyword_3_1_1_0() { return cMaxKeyword_3_1_1_0; }
+
+ //"="
+ public Keyword getEqualsSignKeyword_3_1_1_1() { return cEqualsSignKeyword_3_1_1_1; }
+
+ //max=NumberLiteral
+ public Assignment getMaxAssignment_3_1_1_2() { return cMaxAssignment_3_1_1_2; }
+
+ //NumberLiteral
+ public RuleCall getMaxNumberLiteralParserRuleCall_3_1_1_2_0() { return cMaxNumberLiteralParserRuleCall_3_1_1_2_0; }
+
+ //attributes+=AttrClassConfig*
+ public Assignment getAttributesAssignment_3_1_2() { return cAttributesAssignment_3_1_2; }
+
+ //AttrClassConfig
+ public RuleCall getAttributesAttrClassConfigParserRuleCall_3_1_2_0() { return cAttributesAttrClassConfigParserRuleCall_3_1_2_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
+ }
+
+ public class AttrInstanceConfigElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AttrInstanceConfig");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cAttrKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Assignment cAttributeAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final CrossReference cAttributeAttributeCrossReference_1_0 = (CrossReference)cAttributeAssignment_1.eContents().get(0);
+ private final RuleCall cAttributeAttributeIDTerminalRuleCall_1_0_1 = (RuleCall)cAttributeAttributeCrossReference_1_0.eContents().get(1);
+ private final Group cGroup_2 = (Group)cGroup.eContents().get(2);
+ private final Keyword cEqualsSignKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0);
+ private final Assignment cValueAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1);
+ private final RuleCall 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 Group cGroup_3_1 = (Group)cGroup_3.eContents().get(1);
+ private final Group cGroup_3_1_0 = (Group)cGroup_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 cReadOnlyReadKeyword_3_1_0_1_0_0 = (Keyword)cReadOnlyAssignment_3_1_0_1_0.eContents().get(0);
+ private final Keyword cWriteKeyword_3_1_0_1_1 = (Keyword)cAlternatives_3_1_0_1.eContents().get(1);
+ private final Assignment cAttributesAssignment_3_1_1 = (Assignment)cGroup_3_1.eContents().get(1);
+ private final RuleCall cAttributesAttrInstanceConfigParserRuleCall_3_1_1_0 = (RuleCall)cAttributesAssignment_3_1_1.eContents().get(0);
+ private final Keyword cRightCurlyBracketKeyword_3_2 = (Keyword)cGroup_3.eContents().get(2);
+
+ //AttrInstanceConfig:
+ //
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration"
+ //
+ // (readOnly?="read" | "write"))? attributes+=AttrInstanceConfig*) "}")?;
+ public ParserRule getRule() { return rule; }
+
+ //"Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" ((dynConfig?="dynamic configuration" (readOnly?="read"
+ //
+ //| "write"))? attributes+=AttrInstanceConfig*) "}")?
+ public Group getGroup() { return cGroup; }
+
+ //"Attr"
+ public Keyword getAttrKeyword_0() { return cAttrKeyword_0; }
+
+ //attribute=[room::Attribute]
+ public Assignment getAttributeAssignment_1() { return cAttributeAssignment_1; }
+
+ //[room::Attribute]
+ public CrossReference getAttributeAttributeCrossReference_1_0() { return cAttributeAttributeCrossReference_1_0; }
+
+ //ID
+ public RuleCall getAttributeAttributeIDTerminalRuleCall_1_0_1() { return cAttributeAttributeIDTerminalRuleCall_1_0_1; }
+
+ //("=" value=LiteralArray)?
+ public Group getGroup_2() { return cGroup_2; }
+
+ //"="
+ public Keyword getEqualsSignKeyword_2_0() { return cEqualsSignKeyword_2_0; }
+
+ //value=LiteralArray
+ public Assignment getValueAssignment_2_1() { return cValueAssignment_2_1; }
+
+ //LiteralArray
+ public RuleCall getValueLiteralArrayParserRuleCall_2_1_0() { return cValueLiteralArrayParserRuleCall_2_1_0; }
+
+ //("{" ((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" | "write"))? attributes+=AttrInstanceConfig*
+ public Group getGroup_3_1() { return cGroup_3_1; }
+
+ //(dynConfig?="dynamic configuration" (readOnly?="read" | "write"))?
+ public Group getGroup_3_1_0() { return cGroup_3_1_0; }
+
+ //dynConfig?="dynamic configuration"
+ public Assignment getDynConfigAssignment_3_1_0_0() { return cDynConfigAssignment_3_1_0_0; }
+
+ //"dynamic configuration"
+ public Keyword getDynConfigDynamicConfigurationKeyword_3_1_0_0_0() { return cDynConfigDynamicConfigurationKeyword_3_1_0_0_0; }
+
+ //readOnly?="read" | "write"
+ public Alternatives getAlternatives_3_1_0_1() { return cAlternatives_3_1_0_1; }
+
+ //readOnly?="read"
+ public Assignment getReadOnlyAssignment_3_1_0_1_0() { return cReadOnlyAssignment_3_1_0_1_0; }
+
+ //"read"
+ public Keyword getReadOnlyReadKeyword_3_1_0_1_0_0() { return cReadOnlyReadKeyword_3_1_0_1_0_0; }
+
+ //"write"
+ public Keyword getWriteKeyword_3_1_0_1_1() { return cWriteKeyword_3_1_0_1_1; }
+
+ //attributes+=AttrInstanceConfig*
+ public Assignment getAttributesAssignment_3_1_1() { return cAttributesAssignment_3_1_1; }
+
+ //AttrInstanceConfig
+ public RuleCall getAttributesAttrInstanceConfigParserRuleCall_3_1_1_0() { return cAttributesAttrInstanceConfigParserRuleCall_3_1_1_0; }
+
+ //"}"
+ public Keyword getRightCurlyBracketKeyword_3_2() { return cRightCurlyBracketKeyword_3_2; }
+ }
+
+ public class RefPathElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RefPath");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment cRefsAssignment_0 = (Assignment)cGroup.eContents().get(0);
+ private final RuleCall cRefsIDTerminalRuleCall_0_0 = (RuleCall)cRefsAssignment_0.eContents().get(0);
+ private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
+ private final Keyword cSolidusKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
+ private final Assignment cRefsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
+ private final RuleCall cRefsIDTerminalRuleCall_1_1_0 = (RuleCall)cRefsAssignment_1_1.eContents().get(0);
+
+ /// *
+ // * Proposal:
+ // * for ActorInstanceConfig
+ // * / RefPath:
+ //
+ // refs+=ID ("/" refs+=ID)*;
+ public ParserRule getRule() { return rule; }
+
+ //refs+=ID ("/" refs+=ID)*
+ public Group getGroup() { return cGroup; }
+
+ //refs+=ID
+ public Assignment getRefsAssignment_0() { return cRefsAssignment_0; }
+
+ //ID
+ public RuleCall getRefsIDTerminalRuleCall_0_0() { return cRefsIDTerminalRuleCall_0_0; }
+
+ //("/" refs+=ID)*
+ public Group getGroup_1() { return cGroup_1; }
+
+ //"/"
+ public Keyword getSolidusKeyword_1_0() { return cSolidusKeyword_1_0; }
+
+ //refs+=ID
+ public Assignment getRefsAssignment_1_1() { return cRefsAssignment_1_1; }
+
+ //ID
+ public RuleCall getRefsIDTerminalRuleCall_1_1_0() { return cRefsIDTerminalRuleCall_1_1_0; }
+ }
+
+ public class ImportElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0);
+ private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
+ private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0);
+ private final Assignment cImportedNamespaceAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0);
+ private final RuleCall cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0 = (RuleCall)cImportedNamespaceAssignment_1_0_0.eContents().get(0);
+ private final Keyword cFromKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1);
+ private final Keyword cModelKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1);
+ private final Assignment cImportURIAssignment_2 = (Assignment)cGroup.eContents().get(2);
+ private final RuleCall cImportURISTRINGTerminalRuleCall_2_0 = (RuleCall)cImportURIAssignment_2.eContents().get(0);
+
+ //// -------------------- from org.eclipse.etrice.core.Room.xtext ---------------
+ // Import:
+ //
+ // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
+ public ParserRule getRule() { return rule; }
+
+ //"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING
+ public Group getGroup() { return cGroup; }
+
+ //"import"
+ public Keyword getImportKeyword_0() { return cImportKeyword_0; }
+
+ //importedNamespace=ImportedFQN "from" | "model"
+ public Alternatives getAlternatives_1() { return cAlternatives_1; }
+
+ //importedNamespace=ImportedFQN "from"
+ public Group getGroup_1_0() { return cGroup_1_0; }
+
+ //importedNamespace=ImportedFQN
+ public Assignment getImportedNamespaceAssignment_1_0_0() { return cImportedNamespaceAssignment_1_0_0; }
+
+ //ImportedFQN
+ public RuleCall getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0() { return cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0; }
+
+ //"from"
+ public Keyword getFromKeyword_1_0_1() { return cFromKeyword_1_0_1; }
+
+ //"model"
+ public Keyword getModelKeyword_1_1() { return cModelKeyword_1_1; }
+
+ //importURI=STRING
+ public Assignment getImportURIAssignment_2() { return cImportURIAssignment_2; }
+
+ //STRING
+ public RuleCall getImportURISTRINGTerminalRuleCall_2_0() { return cImportURISTRINGTerminalRuleCall_2_0; }
+ }
+
+ public class ImportedFQNElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportedFQN");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final RuleCall cFQNParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
+ private final Keyword cFullStopAsteriskKeyword_1 = (Keyword)cGroup.eContents().get(1);
+
+ //ImportedFQN:
+ //
+ // FQN ".*"?;
+ public ParserRule getRule() { return rule; }
+
+ //FQN ".*"?
+ public Group getGroup() { return cGroup; }
+
+ //FQN
+ public RuleCall getFQNParserRuleCall_0() { return cFQNParserRuleCall_0; }
+
+ //".*"?
+ public Keyword getFullStopAsteriskKeyword_1() { return cFullStopAsteriskKeyword_1; }
+ }
+
+ public class FQNElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FQN");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0);
+ private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
+ private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
+ private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1);
+
+ //FQN:
+ //
+ // ID ("." ID)*;
+ public ParserRule getRule() { return rule; }
+
+ //ID ("." ID)*
+ public Group getGroup() { return cGroup; }
+
+ //ID
+ public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; }
+
+ //("." ID)*
+ public Group getGroup_1() { return cGroup_1; }
+
+ //"."
+ public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; }
+
+ //ID
+ public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; }
+ }
+
+ public class LiteralArrayElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "LiteralArray");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Assignment cLiteralsAssignment_0 = (Assignment)cGroup.eContents().get(0);
+ private final RuleCall cLiteralsLiteralParserRuleCall_0_0 = (RuleCall)cLiteralsAssignment_0.eContents().get(0);
+ private final Group cGroup_1 = (Group)cGroup.eContents().get(1);
+ private final Keyword cCommaKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0);
+ private final Assignment cLiteralsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1);
+ private final RuleCall cLiteralsLiteralParserRuleCall_1_1_0 = (RuleCall)cLiteralsAssignment_1_1.eContents().get(0);
+
+ //// -----------------------------------------------------------------------------
+ // //enum Unit:
+ // // N|
+ // // W|
+ //
+ //
+ //// S = 's'|
+ // // KG = 'kg'|
+ // // M = 'm'|
+ // // C|
+ // // NM|
+ // // RPM|
+ // // V|
+ // // A|
+ // // HZ = 'Hz'|
+ // // KW
+ // //;
+ //
+ //
+ //// LiteralArray = BooleanLiteral+|NumberLiteral+
+ // // LiteralArray = StringLiteral
+ // LiteralArray:
+ //
+ // literals+=Literal ("," literals+=Literal)*;
+ public ParserRule getRule() { return rule; }
+
+ //literals+=Literal ("," literals+=Literal)*
+ public Group getGroup() { return cGroup; }
+
+ //literals+=Literal
+ public Assignment getLiteralsAssignment_0() { return cLiteralsAssignment_0; }
+
+ //Literal
+ public RuleCall getLiteralsLiteralParserRuleCall_0_0() { return cLiteralsLiteralParserRuleCall_0_0; }
+
+ //("," literals+=Literal)*
+ public Group getGroup_1() { return cGroup_1; }
+
+ //","
+ public Keyword getCommaKeyword_1_0() { return cCommaKeyword_1_0; }
+
+ //literals+=Literal
+ public Assignment getLiteralsAssignment_1_1() { return cLiteralsAssignment_1_1; }
+
+ //Literal
+ public RuleCall getLiteralsLiteralParserRuleCall_1_1_0() { return cLiteralsLiteralParserRuleCall_1_1_0; }
+ }
+
+ public class LiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Literal");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cBooleanLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cNumberLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cStringLiteralParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+
+ //// Value Types for Attributes
+ // Literal:
+ //
+ // BooleanLiteral | NumberLiteral | StringLiteral;
+ public ParserRule getRule() { return rule; }
+
+ //BooleanLiteral | NumberLiteral | StringLiteral
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //BooleanLiteral
+ public RuleCall getBooleanLiteralParserRuleCall_0() { return cBooleanLiteralParserRuleCall_0; }
+
+ //NumberLiteral
+ public RuleCall getNumberLiteralParserRuleCall_1() { return cNumberLiteralParserRuleCall_1; }
+
+ //StringLiteral
+ public RuleCall getStringLiteralParserRuleCall_2() { return cStringLiteralParserRuleCall_2; }
+ }
+
+ public class BooleanLiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanLiteral");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cBooleanLiteralAction_0 = (Action)cGroup.eContents().get(0);
+ private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1);
+ private final Keyword cFalseKeyword_1_0 = (Keyword)cAlternatives_1.eContents().get(0);
+ private final Assignment cIsTrueAssignment_1_1 = (Assignment)cAlternatives_1.eContents().get(1);
+ private final Keyword cIsTrueTrueKeyword_1_1_0 = (Keyword)cIsTrueAssignment_1_1.eContents().get(0);
+
+ //BooleanLiteral:
+ //
+ // {BooleanLiteral} ("false" | isTrue?="true");
+ public ParserRule getRule() { return rule; }
+
+ //{BooleanLiteral} ("false" | isTrue?="true")
+ public Group getGroup() { return cGroup; }
+
+ //{BooleanLiteral}
+ public Action getBooleanLiteralAction_0() { return cBooleanLiteralAction_0; }
+
+ //"false" | isTrue?="true"
+ public Alternatives getAlternatives_1() { return cAlternatives_1; }
+
+ //"false"
+ public Keyword getFalseKeyword_1_0() { return cFalseKeyword_1_0; }
+
+ //isTrue?="true"
+ public Assignment getIsTrueAssignment_1_1() { return cIsTrueAssignment_1_1; }
+
+ //"true"
+ public Keyword getIsTrueTrueKeyword_1_1_0() { return cIsTrueTrueKeyword_1_1_0; }
+ }
+
+ public class NumberLiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NumberLiteral");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cIntLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cRealLiteralParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+
+ //NumberLiteral:
+ //
+ // IntLiteral | RealLiteral;
+ public ParserRule getRule() { return rule; }
+
+ //IntLiteral | RealLiteral
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //IntLiteral
+ public RuleCall getIntLiteralParserRuleCall_0() { return cIntLiteralParserRuleCall_0; }
+
+ //RealLiteral
+ public RuleCall getRealLiteralParserRuleCall_1() { return cRealLiteralParserRuleCall_1; }
+ }
+
+ public class RealLiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RealLiteral");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cRealLiteralAction_0 = (Action)cGroup.eContents().get(0);
+ private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall cValueRealParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
+
+ //RealLiteral:
+ //
+ // {RealLiteral} value=Real;
+ public ParserRule getRule() { return rule; }
+
+ //{RealLiteral} value=Real
+ public Group getGroup() { return cGroup; }
+
+ //{RealLiteral}
+ public Action getRealLiteralAction_0() { return cRealLiteralAction_0; }
+
+ //value=Real
+ public Assignment getValueAssignment_1() { return cValueAssignment_1; }
+
+ //Real
+ public RuleCall getValueRealParserRuleCall_1_0() { return cValueRealParserRuleCall_1_0; }
+ }
+
+ public class IntLiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntLiteral");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cIntLiteralAction_0 = (Action)cGroup.eContents().get(0);
+ private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall cValueIntegerParserRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
+
+ //IntLiteral:
+ //
+ // {IntLiteral} value=Integer;
+ public ParserRule getRule() { return rule; }
+
+ //{IntLiteral} value=Integer
+ public Group getGroup() { return cGroup; }
+
+ //{IntLiteral}
+ public Action getIntLiteralAction_0() { return cIntLiteralAction_0; }
+
+ //value=Integer
+ public Assignment getValueAssignment_1() { return cValueAssignment_1; }
+
+ //Integer
+ public RuleCall getValueIntegerParserRuleCall_1_0() { return cValueIntegerParserRuleCall_1_0; }
+ }
+
+ public class StringLiteralElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringLiteral");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Action cStringLiteralAction_0 = (Action)cGroup.eContents().get(0);
+ private final Assignment cValueAssignment_1 = (Assignment)cGroup.eContents().get(1);
+ private final RuleCall cValueSTRINGTerminalRuleCall_1_0 = (RuleCall)cValueAssignment_1.eContents().get(0);
+
+ //StringLiteral:
+ //
+ // {StringLiteral} value=STRING;
+ public ParserRule getRule() { return rule; }
+
+ //{StringLiteral} value=STRING
+ public Group getGroup() { return cGroup; }
+
+ //{StringLiteral}
+ public Action getStringLiteralAction_0() { return cStringLiteralAction_0; }
+
+ //value=STRING
+ public Assignment getValueAssignment_1() { return cValueAssignment_1; }
+
+ //STRING
+ public RuleCall getValueSTRINGTerminalRuleCall_1_0() { return cValueSTRINGTerminalRuleCall_1_0; }
+ }
+
+ public class IntegerElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Integer");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cSignedIntegerParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cHexadecimalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+
+ //Integer returns ecore::ELong:
+ //
+ // SignedInteger | Hexadecimal;
+ public ParserRule getRule() { return rule; }
+
+ //SignedInteger | Hexadecimal
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //SignedInteger
+ public RuleCall getSignedIntegerParserRuleCall_0() { return cSignedIntegerParserRuleCall_0; }
+
+ //Hexadecimal
+ public RuleCall getHexadecimalParserRuleCall_1() { return cHexadecimalParserRuleCall_1; }
+ }
+
+ public class SignedIntegerElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SignedInteger");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
+ private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
+ private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
+
+ //SignedInteger hidden():
+ //
+ // ("+" | "-")? INT;
+ public ParserRule getRule() { return rule; }
+
+ //("+" | "-")? INT
+ public Group getGroup() { return cGroup; }
+
+ //("+" | "-")?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
+
+ //"+"
+ public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
+
+ //"-"
+ public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
+ }
+
+ public class HexadecimalElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Hexadecimal");
+ private final RuleCall cHEXTerminalRuleCall = (RuleCall)rule.eContents().get(1);
+
+ //Hexadecimal hidden():
+ //
+ // HEX;
+ public ParserRule getRule() { return rule; }
+
+ //HEX
+ public RuleCall getHEXTerminalRuleCall() { return cHEXTerminalRuleCall; }
+ }
+
+ public class RealElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Real");
+ private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1);
+ private final RuleCall cDecimalParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0);
+ private final RuleCall cDotDecimalParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1);
+ private final RuleCall cDecimalDotParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2);
+ private final RuleCall cDecimalExpParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3);
+
+ //Real returns ecore::EDouble:
+ //
+ // Decimal | DotDecimal | DecimalDot | DecimalExp;
+ public ParserRule getRule() { return rule; }
+
+ //Decimal | DotDecimal | DecimalDot | DecimalExp
+ public Alternatives getAlternatives() { return cAlternatives; }
+
+ //Decimal
+ public RuleCall getDecimalParserRuleCall_0() { return cDecimalParserRuleCall_0; }
+
+ //DotDecimal
+ public RuleCall getDotDecimalParserRuleCall_1() { return cDotDecimalParserRuleCall_1; }
+
+ //DecimalDot
+ public RuleCall getDecimalDotParserRuleCall_2() { return cDecimalDotParserRuleCall_2; }
+
+ //DecimalExp
+ public RuleCall getDecimalExpParserRuleCall_3() { return cDecimalExpParserRuleCall_3; }
+ }
+
+ public class DecimalElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Decimal");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
+ private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
+ 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);
+
+ //Decimal hidden():
+ //
+ // ("+" | "-")? INT "." INT;
+ public ParserRule getRule() { return rule; }
+
+ //("+" | "-")? INT "." INT
+ public Group getGroup() { return cGroup; }
+
+ //("+" | "-")?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
+
+ //"+"
+ public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
+
+ //"-"
+ public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
+
+ //"."
+ public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; }
+ }
+
+ public class DotDecimalElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DotDecimal");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
+ private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
+ private final Keyword cFullStopKeyword_1 = (Keyword)cGroup.eContents().get(1);
+ private final RuleCall cINTTerminalRuleCall_2 = (RuleCall)cGroup.eContents().get(2);
+
+ //DotDecimal hidden():
+ //
+ // ("+" | "-")? "." INT;
+ public ParserRule getRule() { return rule; }
+
+ //("+" | "-")? "." INT
+ public Group getGroup() { return cGroup; }
+
+ //("+" | "-")?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
+
+ //"+"
+ public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
+
+ //"-"
+ public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
+
+ //"."
+ public Keyword getFullStopKeyword_1() { return cFullStopKeyword_1; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_2() { return cINTTerminalRuleCall_2; }
+ }
+
+ public class DecimalDotElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DecimalDot");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
+ private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
+ private final RuleCall cINTTerminalRuleCall_1 = (RuleCall)cGroup.eContents().get(1);
+ private final Keyword cFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2);
+
+ //DecimalDot hidden():
+ //
+ // ("+" | "-")? INT ".";
+ public ParserRule getRule() { return rule; }
+
+ //("+" | "-")? INT "."
+ public Group getGroup() { return cGroup; }
+
+ //("+" | "-")?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
+
+ //"+"
+ public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
+
+ //"-"
+ public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
+
+ //"."
+ public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
+ }
+
+ public class DecimalExpElements extends AbstractParserRuleElementFinder {
+ private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DecimalExp");
+ private final Group cGroup = (Group)rule.eContents().get(1);
+ private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0);
+ private final Keyword cPlusSignKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0);
+ private final Keyword cHyphenMinusKeyword_0_1 = (Keyword)cAlternatives_0.eContents().get(1);
+ 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 cEXPTerminalRuleCall_4 = (RuleCall)cGroup.eContents().get(4);
+
+ //DecimalExp hidden():
+ //
+ // ("+" | "-")? INT "." INT EXP;
+ public ParserRule getRule() { return rule; }
+
+ //("+" | "-")? INT "." INT EXP
+ public Group getGroup() { return cGroup; }
+
+ //("+" | "-")?
+ public Alternatives getAlternatives_0() { return cAlternatives_0; }
+
+ //"+"
+ public Keyword getPlusSignKeyword_0_0() { return cPlusSignKeyword_0_0; }
+
+ //"-"
+ public Keyword getHyphenMinusKeyword_0_1() { return cHyphenMinusKeyword_0_1; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_1() { return cINTTerminalRuleCall_1; }
+
+ //"."
+ public Keyword getFullStopKeyword_2() { return cFullStopKeyword_2; }
+
+ //INT
+ public RuleCall getINTTerminalRuleCall_3() { return cINTTerminalRuleCall_3; }
+
+ //EXP
+ public RuleCall getEXPTerminalRuleCall_4() { return cEXPTerminalRuleCall_4; }
+ }
+
+
+ private ConfigModelElements pConfigModel;
+ private ConfigElementElements pConfigElement;
+ private SubSystemConfigElements pSubSystemConfig;
+ private DynamicConfigElements pDynamicConfig;
+ private ActorClassConfigElements pActorClassConfig;
+ private ActorInstanceConfigElements pActorInstanceConfig;
+ private ProtocolClassConfigElements pProtocolClassConfig;
+ private PortClassConfigElements pPortClassConfig;
+ private PortInstanceConfigElements pPortInstanceConfig;
+ private AttrConfigElements pAttrConfig;
+ private AttrClassConfigElements pAttrClassConfig;
+ private AttrInstanceConfigElements pAttrInstanceConfig;
+ private RefPathElements pRefPath;
+ private ImportElements pImport;
+ private ImportedFQNElements pImportedFQN;
+ private FQNElements pFQN;
+ private LiteralArrayElements pLiteralArray;
+ private LiteralElements pLiteral;
+ private BooleanLiteralElements pBooleanLiteral;
+ private NumberLiteralElements pNumberLiteral;
+ private RealLiteralElements pRealLiteral;
+ private IntLiteralElements pIntLiteral;
+ private StringLiteralElements pStringLiteral;
+ private IntegerElements pInteger;
+ private SignedIntegerElements pSignedInteger;
+ private HexadecimalElements pHexadecimal;
+ private RealElements pReal;
+ private DecimalElements pDecimal;
+ private DotDecimalElements pDotDecimal;
+ private DecimalDotElements pDecimalDot;
+ private DecimalExpElements pDecimalExp;
+ private TerminalRule tEXP;
+ private TerminalRule tHEX;
+
+ private final Grammar grammar;
+
+ private TerminalsGrammarAccess gaTerminals;
+
+ @Inject
+ public ConfigGrammarAccess(GrammarProvider grammarProvider,
+ TerminalsGrammarAccess gaTerminals) {
+ this.grammar = internalFindGrammar(grammarProvider);
+ this.gaTerminals = gaTerminals;
+ }
+
+ protected Grammar internalFindGrammar(GrammarProvider grammarProvider) {
+ Grammar grammar = grammarProvider.getGrammar(this);
+ while (grammar != null) {
+ if ("org.eclipse.etrice.core.Config".equals(grammar.getName())) {
+ return grammar;
+ }
+ List<Grammar> grammars = grammar.getUsedGrammars();
+ if (!grammars.isEmpty()) {
+ grammar = grammars.iterator().next();
+ } else {
+ return null;
+ }
+ }
+ return grammar;
+ }
+
+
+ public Grammar getGrammar() {
+ return grammar;
+ }
+
+
+ public TerminalsGrammarAccess getTerminalsGrammarAccess() {
+ return gaTerminals;
+ }
+
+
+ //ConfigModel:
+ //
+ // imports+=Import* configElements+=ConfigElement*;
+ public ConfigModelElements getConfigModelAccess() {
+ return (pConfigModel != null) ? pConfigModel : (pConfigModel = new ConfigModelElements());
+ }
+
+ public ParserRule getConfigModelRule() {
+ return getConfigModelAccess().getRule();
+ }
+
+ //ConfigElement:
+ //
+ // SubSystemConfig | ActorClassConfig | ActorInstanceConfig | ProtocolClassConfig;
+ public ConfigElementElements getConfigElementAccess() {
+ return (pConfigElement != null) ? pConfigElement : (pConfigElement = new ConfigElementElements());
+ }
+
+ public ParserRule getConfigElementRule() {
+ return getConfigElementAccess().getRule();
+ }
+
+ //SubSystemConfig:
+ //
+ // "SubSystemConfig" subSystem=[room::SubSystemClass] "{" dynConfig=DynamicConfig "}";
+ public SubSystemConfigElements getSubSystemConfigAccess() {
+ return (pSubSystemConfig != null) ? pSubSystemConfig : (pSubSystemConfig = new SubSystemConfigElements());
+ }
+
+ public ParserRule getSubSystemConfigRule() {
+ return getSubSystemConfigAccess().getRule();
+ }
+
+ //DynamicConfig:
+ //
+ // "dynamic configuration" "{" (("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());
+ }
+
+ public ParserRule getDynamicConfigRule() {
+ return getDynamicConfigAccess().getRule();
+ }
+
+ /// *
+ // * Validation:
+ // * duplicates config, attributes
+ // * / ActorClassConfig:
+ //
+ // "ActorClassConfig" actor=[room::ActorClass|FQN] "{" attributes+=AttrClassConfig* "}";
+ public ActorClassConfigElements getActorClassConfigAccess() {
+ return (pActorClassConfig != null) ? pActorClassConfig : (pActorClassConfig = new ActorClassConfigElements());
+ }
+
+ public ParserRule getActorClassConfigRule() {
+ return getActorClassConfigAccess().getRule();
+ }
+
+ /// *
+ // * Validation:
+ // * duplicates config, attributes
+ // * valid instance reference
+ // * Proposal:
+ // * attributes
+ // * /
+ //
+ //ActorInstanceConfig:
+ //
+ // "ActorInstanceConfig" root=[room::SubSystemClass|FQN] "/" path=RefPath "{" (attributes+=AttrInstanceConfig* &
+ //
+ // ports+=PortInstanceConfig*) "}";
+ public ActorInstanceConfigElements getActorInstanceConfigAccess() {
+ return (pActorInstanceConfig != null) ? pActorInstanceConfig : (pActorInstanceConfig = new ActorInstanceConfigElements());
+ }
+
+ public ParserRule getActorInstanceConfigRule() {
+ return getActorInstanceConfigAccess().getRule();
+ }
+
+ //ProtocolClassConfig:
+ //
+ // "ProtocolClassConfig" protocol=[room::ProtocolClass|FQN] "{" (("regular" regular=PortClassConfig)? & ("conjugate"
+ //
+ // conjugated=PortClassConfig)?) "}";
+ public ProtocolClassConfigElements getProtocolClassConfigAccess() {
+ return (pProtocolClassConfig != null) ? pProtocolClassConfig : (pProtocolClassConfig = new ProtocolClassConfigElements());
+ }
+
+ public ParserRule getProtocolClassConfigRule() {
+ return getProtocolClassConfigAccess().getRule();
+ }
+
+ //PortClassConfig:
+ //
+ // {PortClassConfig} "Port" "{" attributes+=AttrClassConfig* "}";
+ public PortClassConfigElements getPortClassConfigAccess() {
+ return (pPortClassConfig != null) ? pPortClassConfig : (pPortClassConfig = new PortClassConfigElements());
+ }
+
+ public ParserRule getPortClassConfigRule() {
+ return getPortClassConfigAccess().getRule();
+ }
+
+ //PortInstanceConfig:
+ //
+ // "InterfaceItem" item=[room::InterfaceItem] "{" attributes+=AttrInstanceConfig* "}";
+ public PortInstanceConfigElements getPortInstanceConfigAccess() {
+ return (pPortInstanceConfig != null) ? pPortInstanceConfig : (pPortInstanceConfig = new PortInstanceConfigElements());
+ }
+
+ public ParserRule getPortInstanceConfigRule() {
+ return getPortInstanceConfigAccess().getRule();
+ }
+
+ /// *
+ // * Validation:
+ // * correct value type
+ // * Proposal:
+ // * correct Literal
+ // * / AttrConfig:
+ //
+ // AttrClassConfig | AttrInstanceConfig;
+ public AttrConfigElements getAttrConfigAccess() {
+ return (pAttrConfig != null) ? pAttrConfig : (pAttrConfig = new AttrConfigElements());
+ }
+
+ public ParserRule getAttrConfigRule() {
+ return getAttrConfigAccess().getRule();
+ }
+
+ /// *
+ // * Validation:
+ // * correct min, max type + available
+ // * min <= value <= max
+ // * if !value -> min <= attribute.defaultValue <= max
+ // * character length
+ // *
+ // * /
+ //
+ //AttrClassConfig:
+ //
+ // "Attr" attribute=[room::Attribute] ("=" value=LiteralArray)? ("{" (("min" "=" min=NumberLiteral)? ("max" "="
+ //
+ // max=NumberLiteral)? attributes+=AttrClassConfig*) "}")?;
+ public AttrClassConfigElements getAttrClassConfigAccess() {
+ return (pAttrClassConfig != null) ? pAttrClassConfig : (pAttrClassConfig = new AttrClassConfigElements());
+ }
+
+ public ParserRule getAttrClassConfigRule() {
+ return getAttrClassConfigAccess().getRule();
+ }
+
+ //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());
+ }
+
+ public ParserRule getAttrInstanceConfigRule() {
+ return getAttrInstanceConfigAccess().getRule();
+ }
+
+ /// *
+ // * Proposal:
+ // * for ActorInstanceConfig
+ // * / RefPath:
+ //
+ // refs+=ID ("/" refs+=ID)*;
+ public RefPathElements getRefPathAccess() {
+ return (pRefPath != null) ? pRefPath : (pRefPath = new RefPathElements());
+ }
+
+ public ParserRule getRefPathRule() {
+ return getRefPathAccess().getRule();
+ }
+
+ //// -------------------- from org.eclipse.etrice.core.Room.xtext ---------------
+ // Import:
+ //
+ // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
+ public ImportElements getImportAccess() {
+ return (pImport != null) ? pImport : (pImport = new ImportElements());
+ }
+
+ public ParserRule getImportRule() {
+ return getImportAccess().getRule();
+ }
+
+ //ImportedFQN:
+ //
+ // FQN ".*"?;
+ public ImportedFQNElements getImportedFQNAccess() {
+ return (pImportedFQN != null) ? pImportedFQN : (pImportedFQN = new ImportedFQNElements());
+ }
+
+ public ParserRule getImportedFQNRule() {
+ return getImportedFQNAccess().getRule();
+ }
+
+ //FQN:
+ //
+ // ID ("." ID)*;
+ public FQNElements getFQNAccess() {
+ return (pFQN != null) ? pFQN : (pFQN = new FQNElements());
+ }
+
+ public ParserRule getFQNRule() {
+ return getFQNAccess().getRule();
+ }
+
+ //// -----------------------------------------------------------------------------
+ // //enum Unit:
+ // // N|
+ // // W|
+ //
+ //
+ //// S = 's'|
+ // // KG = 'kg'|
+ // // M = 'm'|
+ // // C|
+ // // NM|
+ // // RPM|
+ // // V|
+ // // A|
+ // // HZ = 'Hz'|
+ // // KW
+ // //;
+ //
+ //
+ //// LiteralArray = BooleanLiteral+|NumberLiteral+
+ // // LiteralArray = StringLiteral
+ // LiteralArray:
+ //
+ // literals+=Literal ("," literals+=Literal)*;
+ public LiteralArrayElements getLiteralArrayAccess() {
+ return (pLiteralArray != null) ? pLiteralArray : (pLiteralArray = new LiteralArrayElements());
+ }
+
+ public ParserRule getLiteralArrayRule() {
+ return getLiteralArrayAccess().getRule();
+ }
+
+ //// Value Types for Attributes
+ // Literal:
+ //
+ // BooleanLiteral | NumberLiteral | StringLiteral;
+ public LiteralElements getLiteralAccess() {
+ return (pLiteral != null) ? pLiteral : (pLiteral = new LiteralElements());
+ }
+
+ public ParserRule getLiteralRule() {
+ return getLiteralAccess().getRule();
+ }
+
+ //BooleanLiteral:
+ //
+ // {BooleanLiteral} ("false" | isTrue?="true");
+ public BooleanLiteralElements getBooleanLiteralAccess() {
+ return (pBooleanLiteral != null) ? pBooleanLiteral : (pBooleanLiteral = new BooleanLiteralElements());
+ }
+
+ public ParserRule getBooleanLiteralRule() {
+ return getBooleanLiteralAccess().getRule();
+ }
+
+ //NumberLiteral:
+ //
+ // IntLiteral | RealLiteral;
+ public NumberLiteralElements getNumberLiteralAccess() {
+ return (pNumberLiteral != null) ? pNumberLiteral : (pNumberLiteral = new NumberLiteralElements());
+ }
+
+ public ParserRule getNumberLiteralRule() {
+ return getNumberLiteralAccess().getRule();
+ }
+
+ //RealLiteral:
+ //
+ // {RealLiteral} value=Real;
+ public RealLiteralElements getRealLiteralAccess() {
+ return (pRealLiteral != null) ? pRealLiteral : (pRealLiteral = new RealLiteralElements());
+ }
+
+ public ParserRule getRealLiteralRule() {
+ return getRealLiteralAccess().getRule();
+ }
+
+ //IntLiteral:
+ //
+ // {IntLiteral} value=Integer;
+ public IntLiteralElements getIntLiteralAccess() {
+ return (pIntLiteral != null) ? pIntLiteral : (pIntLiteral = new IntLiteralElements());
+ }
+
+ public ParserRule getIntLiteralRule() {
+ return getIntLiteralAccess().getRule();
+ }
+
+ //StringLiteral:
+ //
+ // {StringLiteral} value=STRING;
+ public StringLiteralElements getStringLiteralAccess() {
+ return (pStringLiteral != null) ? pStringLiteral : (pStringLiteral = new StringLiteralElements());
+ }
+
+ public ParserRule getStringLiteralRule() {
+ return getStringLiteralAccess().getRule();
+ }
+
+ //Integer returns ecore::ELong:
+ //
+ // SignedInteger | Hexadecimal;
+ public IntegerElements getIntegerAccess() {
+ return (pInteger != null) ? pInteger : (pInteger = new IntegerElements());
+ }
+
+ public ParserRule getIntegerRule() {
+ return getIntegerAccess().getRule();
+ }
+
+ //SignedInteger hidden():
+ //
+ // ("+" | "-")? INT;
+ public SignedIntegerElements getSignedIntegerAccess() {
+ return (pSignedInteger != null) ? pSignedInteger : (pSignedInteger = new SignedIntegerElements());
+ }
+
+ public ParserRule getSignedIntegerRule() {
+ return getSignedIntegerAccess().getRule();
+ }
+
+ //Hexadecimal hidden():
+ //
+ // HEX;
+ public HexadecimalElements getHexadecimalAccess() {
+ return (pHexadecimal != null) ? pHexadecimal : (pHexadecimal = new HexadecimalElements());
+ }
+
+ public ParserRule getHexadecimalRule() {
+ return getHexadecimalAccess().getRule();
+ }
+
+ //Real returns ecore::EDouble:
+ //
+ // Decimal | DotDecimal | DecimalDot | DecimalExp;
+ public RealElements getRealAccess() {
+ return (pReal != null) ? pReal : (pReal = new RealElements());
+ }
+
+ public ParserRule getRealRule() {
+ return getRealAccess().getRule();
+ }
+
+ //Decimal hidden():
+ //
+ // ("+" | "-")? INT "." INT;
+ public DecimalElements getDecimalAccess() {
+ return (pDecimal != null) ? pDecimal : (pDecimal = new DecimalElements());
+ }
+
+ public ParserRule getDecimalRule() {
+ return getDecimalAccess().getRule();
+ }
+
+ //DotDecimal hidden():
+ //
+ // ("+" | "-")? "." INT;
+ public DotDecimalElements getDotDecimalAccess() {
+ return (pDotDecimal != null) ? pDotDecimal : (pDotDecimal = new DotDecimalElements());
+ }
+
+ public ParserRule getDotDecimalRule() {
+ return getDotDecimalAccess().getRule();
+ }
+
+ //DecimalDot hidden():
+ //
+ // ("+" | "-")? INT ".";
+ public DecimalDotElements getDecimalDotAccess() {
+ return (pDecimalDot != null) ? pDecimalDot : (pDecimalDot = new DecimalDotElements());
+ }
+
+ public ParserRule getDecimalDotRule() {
+ return getDecimalDotAccess().getRule();
+ }
+
+ //DecimalExp hidden():
+ //
+ // ("+" | "-")? INT "." INT EXP;
+ public DecimalExpElements getDecimalExpAccess() {
+ return (pDecimalExp != null) ? pDecimalExp : (pDecimalExp = new DecimalExpElements());
+ }
+
+ public ParserRule getDecimalExpRule() {
+ return getDecimalExpAccess().getRule();
+ }
+
+ //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() {
+ return (tHEX != null) ? tHEX : (tHEX = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "HEX"));
+ }
+
+ //terminal ID:
+ //
+ // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*;
+ public TerminalRule getIDRule() {
+ return gaTerminals.getIDRule();
+ }
+
+ //terminal INT returns ecore::EInt:
+ //
+ // "0".."9"+;
+ public TerminalRule getINTRule() {
+ return gaTerminals.getINTRule();
+ }
+
+ //terminal STRING:
+ //
+ // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" |
+ //
+ // "n" | "f" | "r" | "u" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'";
+ public TerminalRule getSTRINGRule() {
+ return gaTerminals.getSTRINGRule();
+ }
+
+ //terminal ML_COMMENT:
+ //
+ // "/ *"->"* /";
+ public TerminalRule getML_COMMENTRule() {
+ return gaTerminals.getML_COMMENTRule();
+ }
+
+ //terminal SL_COMMENT:
+ //
+ // "//" !("\n" | "\r")* ("\r"? "\n")?;
+ public TerminalRule getSL_COMMENTRule() {
+ return gaTerminals.getSL_COMMENTRule();
+ }
+
+ //terminal WS:
+ //
+ // (" " | "\t" | "\r" | "\n")+;
+ public TerminalRule getWSRule() {
+ return gaTerminals.getWSRule();
+ }
+
+ //terminal ANY_OTHER:
+ //
+ // .;
+ public TerminalRule getANY_OTHERRule() {
+ return gaTerminals.getANY_OTHERRule();
+ }
+}

Back to the top