diff options
author | Henrik Rentz-Reichert | 2017-01-23 16:01:42 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2017-01-23 16:01:42 +0000 |
commit | cde1fd1da9779f46e87e5c3258c6a5f2de809553 (patch) | |
tree | 8bdf40af71933d70e349c863d8d6ec8a9d96e9f9 /plugins/org.eclipse.etrice.core.etmap | |
parent | 9b02d5a62ea41136b46b744f7b2c1cf50f30a888 (diff) | |
download | org.eclipse.etrice-cde1fd1da9779f46e87e5c3258c6a5f2de809553.tar.gz org.eclipse.etrice-cde1fd1da9779f46e87e5c3258c6a5f2de809553.tar.xz org.eclipse.etrice-cde1fd1da9779f46e87e5c3258c6a5f2de809553.zip |
re-generated all Xtext languages, introduced TransitionBase
as common super class of Transition and RefinedTransition
Change-Id: Id4dc739696814d3ffc704626a37d6e9599f3432c
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etmap')
21 files changed, 931 insertions, 1094 deletions
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/AbstractETMapRuntimeModule.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/AbstractETMapRuntimeModule.java index 020bbf067..a8809359c 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/AbstractETMapRuntimeModule.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/AbstractETMapRuntimeModule.java @@ -6,7 +6,6 @@ package org.eclipse.etrice.core.etmap; 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; @@ -14,8 +13,8 @@ import com.google.inject.name.Names; /** * Manual modifications go to {org.eclipse.etrice.core.etmap.ETMapRuntimeModule} */ - @SuppressWarnings("all") -public abstract class AbstractETMapRuntimeModule extends DefaultRuntimeModule { +@SuppressWarnings("all") +public abstract class AbstractETMapRuntimeModule extends org.eclipse.xtext.service.DefaultRuntimeModule { protected Properties properties = null; diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.genmodel b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.genmodel index dc00448a6..5f1e1e102 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.genmodel +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.genmodel @@ -3,8 +3,8 @@ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.etrice.core.etmap/src-gen" editDirectory="/org.eclipse.etrice.core.etmap.edit/src" editorDirectory="/org.eclipse.etrice.core.etmap.editor/src" modelPluginID="org.eclipse.etrice.core.etmap" forceOverwrite="true" modelName="ETMap" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" - complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etmap.edit" - editorPluginID="org.eclipse.etrice.core.etmap.editor" runtimeVersion="2.10" usedGenPackages="platform:/resource/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel#//base platform:/resource/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel#//eTPhys platform:/resource/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.genmodel#//room"> + complianceLevel="6.0" copyrightFields="false" editPluginID="org.eclipse.etrice.core.etmap.edit" + editorPluginID="org.eclipse.etrice.core.etmap.editor" runtimeVersion="2.12" usedGenPackages="platform:/resource/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel#//base platform:/resource/org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.genmodel#//eTPhys platform:/resource/org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.genmodel#//room"> <genPackages prefix="ETMap" basePackage="org.eclipse.etrice.core.etmap" disposableProviderFactory="true" ecorePackage="ETMap.ecore#/"> <genClasses ecoreClass="ETMap.ecore#//MappingModel"> diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java index 8002b4d6c..bc3f903a9 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java @@ -1,11 +1,11 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.etrice.core.etmap; import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.ISetup; import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.xtext.ISetup; import com.google.inject.Guice; import com.google.inject.Injector; @@ -16,6 +16,7 @@ import com.google.inject.Injector; @SuppressWarnings("all") public class ETMapStandaloneSetupGenerated implements ISetup { + @Override public Injector createInjectorAndDoEMFRegistration() { org.eclipse.etrice.core.common.BaseStandaloneSetup.doSetup(); diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java index 4008e003f..d46418d3e 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java @@ -23,12 +23,12 @@ import org.eclipse.etrice.core.room.LogicalSystem; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.Mapping#getLogicalSys <em>Logical Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.Mapping#getPhysicalSys <em>Physical Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.Mapping#getSubsysMappings <em>Subsys Mappings</em>}</li> * </ul> - * </p> * * @see org.eclipse.etrice.core.etmap.eTMap.ETMapPackage#getMapping() * @model diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java index 0a690e656..010ad67c2 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java @@ -20,12 +20,12 @@ import org.eclipse.etrice.core.common.base.Import; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.MappingModel#getName <em>Name</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.MappingModel#getImports <em>Imports</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.MappingModel#getMappings <em>Mappings</em>}</li> * </ul> - * </p> * * @see org.eclipse.etrice.core.etmap.eTMap.ETMapPackage#getMappingModel() * @model diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java index a12a5624e..e9b5a1554 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java @@ -23,12 +23,12 @@ import org.eclipse.etrice.core.room.SubSystemRef; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.SubSystemMapping#getLogicalSubSys <em>Logical Sub Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.SubSystemMapping#getNode <em>Node</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.SubSystemMapping#getThreadMappings <em>Thread Mappings</em>}</li> * </ul> - * </p> * * @see org.eclipse.etrice.core.etmap.eTMap.ETMapPackage#getSubSystemMapping() * @model diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java index 1243f0b97..bbd101ea5 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java @@ -21,11 +21,11 @@ import org.eclipse.etrice.core.room.LogicalThread; * * <p> * The following features are supported: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.ThreadMapping#getLogicalThread <em>Logical Thread</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.ThreadMapping#getPhysicalThread <em>Physical Thread</em>}</li> * </ul> - * </p> * * @see org.eclipse.etrice.core.etmap.eTMap.ETMapPackage#getThreadMapping() * @model diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingImpl.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingImpl.java index 03e85247f..5146b7581 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingImpl.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingImpl.java @@ -32,12 +32,12 @@ import org.eclipse.etrice.core.room.LogicalSystem; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingImpl#getLogicalSys <em>Logical Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingImpl#getPhysicalSys <em>Physical Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingImpl#getSubsysMappings <em>Subsys Mappings</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingModelImpl.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingModelImpl.java index a49a15c8a..4f5276589 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingModelImpl.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/MappingModelImpl.java @@ -30,12 +30,12 @@ import org.eclipse.etrice.core.etmap.eTMap.MappingModel; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingModelImpl#getName <em>Name</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingModelImpl#getImports <em>Imports</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.MappingModelImpl#getMappings <em>Mappings</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/SubSystemMappingImpl.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/SubSystemMappingImpl.java index 1a526275c..27b15ed97 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/SubSystemMappingImpl.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/SubSystemMappingImpl.java @@ -32,12 +32,12 @@ import org.eclipse.etrice.core.room.SubSystemRef; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.SubSystemMappingImpl#getLogicalSubSys <em>Logical Sub Sys</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.SubSystemMappingImpl#getNode <em>Node</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.SubSystemMappingImpl#getThreadMappings <em>Thread Mappings</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/ThreadMappingImpl.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/ThreadMappingImpl.java index 2f73ee803..27132e7a3 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/ThreadMappingImpl.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/impl/ThreadMappingImpl.java @@ -23,11 +23,11 @@ import org.eclipse.etrice.core.room.LogicalThread; * <!-- end-user-doc --> * <p> * The following features are implemented: + * </p> * <ul> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.ThreadMappingImpl#getLogicalThread <em>Logical Thread</em>}</li> * <li>{@link org.eclipse.etrice.core.etmap.eTMap.impl.ThreadMappingImpl#getPhysicalThread <em>Physical Thread</em>}</li> * </ul> - * </p> * * @generated */ diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/util/ETMapSwitch.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/util/ETMapSwitch.java index e62aa6f3b..e42d6ebfc 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/util/ETMapSwitch.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/util/ETMapSwitch.java @@ -50,7 +50,7 @@ public class ETMapSwitch<T> extends Switch<T> * Checks whether this is a switch for the given package. * <!-- begin-user-doc --> * <!-- end-user-doc --> - * @parameter ePackage the package in question. + * @param ePackage the package in question. * @return whether this is a switch for the given package. * @generated */ diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapAntlrTokenFileProvider.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapAntlrTokenFileProvider.java index ae0f08952..a5e4a5fd4 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapAntlrTokenFileProvider.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapAntlrTokenFileProvider.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.parser.antlr; import java.io.InputStream; @@ -8,6 +8,7 @@ import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class ETMapAntlrTokenFileProvider implements IAntlrTokenFileProvider { + @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader = getClass().getClassLoader(); return classLoader.getResourceAsStream("org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.tokens"); diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapParser.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapParser.java index 9356fad6d..fb69233a8 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapParser.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/ETMapParser.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.parser.antlr; import com.google.inject.Inject; diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g index 6954427aa..5a435dd55 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ grammar InternalETMap; options { @@ -95,7 +95,7 @@ ruleMappingModel returns [EObject current=null] $current, "name", lv_name_1_0, - "FQN"); + "org.eclipse.etrice.core.common.Base.FQN"); afterParserOrEnumRuleCall(); } @@ -117,7 +117,7 @@ ruleMappingModel returns [EObject current=null] $current, "imports", lv_imports_3_0, - "Import"); + "org.eclipse.etrice.core.common.Base.Import"); afterParserOrEnumRuleCall(); } @@ -135,7 +135,7 @@ ruleMappingModel returns [EObject current=null] $current, "mappings", lv_mappings_4_0, - "Mapping"); + "org.eclipse.etrice.core.etmap.ETMap.Mapping"); afterParserOrEnumRuleCall(); } @@ -220,7 +220,7 @@ ruleMapping returns [EObject current=null] $current, "subsysMappings", lv_subsysMappings_5_0, - "SubSystemMapping"); + "org.eclipse.etrice.core.etmap.ETMap.SubSystemMapping"); afterParserOrEnumRuleCall(); } @@ -301,7 +301,7 @@ ruleSubSystemMapping returns [EObject current=null] $current, "threadMappings", lv_threadMappings_5_0, - "ThreadMapping"); + "org.eclipse.etrice.core.etmap.ETMap.ThreadMapping"); afterParserOrEnumRuleCall(); } @@ -402,7 +402,7 @@ ruleKeyValue returns [EObject current=null] $current, "key", lv_key_0_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } ) @@ -423,7 +423,7 @@ ruleKeyValue returns [EObject current=null] $current, "value", lv_value_2_0, - "Literal"); + "org.eclipse.etrice.core.common.Base.Literal"); afterParserOrEnumRuleCall(); } @@ -557,7 +557,7 @@ ruleSimpleAnnotationAttribute returns [EObject current=null] $current, "name", lv_name_3_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } ) @@ -578,7 +578,7 @@ ruleSimpleAnnotationAttribute returns [EObject current=null] $current, "type", lv_type_5_0, - "LiteralType"); + "org.eclipse.etrice.core.common.Base.LiteralType"); afterParserOrEnumRuleCall(); } @@ -642,7 +642,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null] $current, "name", lv_name_3_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } ) @@ -668,7 +668,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null] $current, "values", lv_values_6_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } ) @@ -690,7 +690,7 @@ ruleEnumAnnotationAttribute returns [EObject current=null] $current, "values", lv_values_8_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } ) @@ -736,7 +736,7 @@ ruleImport returns [EObject current=null] $current, "importedNamespace", lv_importedNamespace_1_0, - "ImportedFQN"); + "org.eclipse.etrice.core.common.Base.ImportedFQN"); afterParserOrEnumRuleCall(); } @@ -764,7 +764,7 @@ ruleImport returns [EObject current=null] $current, "importURI", lv_importURI_4_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } ) @@ -851,7 +851,7 @@ ruleDocumentation returns [EObject current=null] $current, "lines", lv_lines_2_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } ) @@ -1040,7 +1040,7 @@ ruleRealLiteral returns [EObject current=null] $current, "value", lv_value_1_0, - "Real"); + "org.eclipse.etrice.core.common.Base.Real"); afterParserOrEnumRuleCall(); } @@ -1085,7 +1085,7 @@ ruleIntLiteral returns [EObject current=null] $current, "value", lv_value_1_0, - "Integer"); + "org.eclipse.etrice.core.common.Base.Integer"); afterParserOrEnumRuleCall(); } @@ -1131,7 +1131,7 @@ ruleStringLiteral returns [EObject current=null] $current, "value", lv_value_1_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } ) diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java index 56845a5bc..064bb952a 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java @@ -63,15 +63,15 @@ public class InternalETMapLexer extends Lexer { super(input,state); } - public String getGrammarFileName() { return "../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g"; } + public String getGrammarFileName() { return "InternalETMap.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.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:11:7: ( 'MappingModel' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:11:9: 'MappingModel' + // InternalETMap.g:11:7: ( 'MappingModel' ) + // InternalETMap.g:11:9: 'MappingModel' { match("MappingModel"); @@ -91,8 +91,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__13; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:12:7: ( '{' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:12:9: '{' + // InternalETMap.g:12:7: ( '{' ) + // InternalETMap.g:12:9: '{' { match('{'); @@ -111,8 +111,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__14; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:13:7: ( '}' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:13:9: '}' + // InternalETMap.g:13:7: ( '}' ) + // InternalETMap.g:13:9: '}' { match('}'); @@ -131,8 +131,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__15; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:14:7: ( 'Mapping' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:14:9: 'Mapping' + // InternalETMap.g:14:7: ( 'Mapping' ) + // InternalETMap.g:14:9: 'Mapping' { match("Mapping"); @@ -152,8 +152,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__16; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:15:7: ( '->' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:15:9: '->' + // InternalETMap.g:15:7: ( '->' ) + // InternalETMap.g:15:9: '->' { match("->"); @@ -173,8 +173,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__17; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:16:7: ( 'SubSystemMapping' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:16:9: 'SubSystemMapping' + // InternalETMap.g:16:7: ( 'SubSystemMapping' ) + // InternalETMap.g:16:9: 'SubSystemMapping' { match("SubSystemMapping"); @@ -194,8 +194,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__18; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:17:7: ( 'ThreadMapping' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:17:9: 'ThreadMapping' + // InternalETMap.g:17:7: ( 'ThreadMapping' ) + // InternalETMap.g:17:9: 'ThreadMapping' { match("ThreadMapping"); @@ -215,8 +215,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__19; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:18:7: ( '=' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:18:9: '=' + // InternalETMap.g:18:7: ( '=' ) + // InternalETMap.g:18:9: '=' { match('='); @@ -235,8 +235,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__20; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:19:7: ( 'optional' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:19:9: 'optional' + // InternalETMap.g:19:7: ( 'optional' ) + // InternalETMap.g:19:9: 'optional' { match("optional"); @@ -256,8 +256,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__21; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:20:7: ( 'mandatory' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:20:9: 'mandatory' + // InternalETMap.g:20:7: ( 'mandatory' ) + // InternalETMap.g:20:9: 'mandatory' { match("mandatory"); @@ -277,8 +277,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__22; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:21:7: ( 'attribute' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:21:9: 'attribute' + // InternalETMap.g:21:7: ( 'attribute' ) + // InternalETMap.g:21:9: 'attribute' { match("attribute"); @@ -298,8 +298,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__23; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:22:7: ( ':' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:22:9: ':' + // InternalETMap.g:22:7: ( ':' ) + // InternalETMap.g:22:9: ':' { match(':'); @@ -318,8 +318,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:23:7: ( ',' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:23:9: ',' + // InternalETMap.g:23:7: ( ',' ) + // InternalETMap.g:23:9: ',' { match(','); @@ -338,8 +338,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:24:7: ( 'import' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:24:9: 'import' + // InternalETMap.g:24:7: ( 'import' ) + // InternalETMap.g:24:9: 'import' { match("import"); @@ -359,8 +359,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:25:7: ( 'from' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:25:9: 'from' + // InternalETMap.g:25:7: ( 'from' ) + // InternalETMap.g:25:9: 'from' { match("from"); @@ -380,8 +380,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:26:7: ( 'model' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:26:9: 'model' + // InternalETMap.g:26:7: ( 'model' ) + // InternalETMap.g:26:9: 'model' { match("model"); @@ -401,8 +401,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:27:7: ( '.*' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:27:9: '.*' + // InternalETMap.g:27:7: ( '.*' ) + // InternalETMap.g:27:9: '.*' { match(".*"); @@ -422,8 +422,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:28:7: ( '[' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:28:9: '[' + // InternalETMap.g:28:7: ( '[' ) + // InternalETMap.g:28:9: '[' { match('['); @@ -442,8 +442,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:29:7: ( ']' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:29:9: ']' + // InternalETMap.g:29:7: ( ']' ) + // InternalETMap.g:29:9: ']' { match(']'); @@ -462,8 +462,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:30:7: ( 'false' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:30:9: 'false' + // InternalETMap.g:30:7: ( 'false' ) + // InternalETMap.g:30:9: 'false' { match("false"); @@ -483,8 +483,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:31:7: ( 'true' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:31:9: 'true' + // InternalETMap.g:31:7: ( 'true' ) + // InternalETMap.g:31:9: 'true' { match("true"); @@ -504,8 +504,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:32:7: ( '+' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:32:9: '+' + // InternalETMap.g:32:7: ( '+' ) + // InternalETMap.g:32:9: '+' { match('+'); @@ -524,8 +524,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:33:7: ( '-' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:33:9: '-' + // InternalETMap.g:33:7: ( '-' ) + // InternalETMap.g:33:9: '-' { match('-'); @@ -544,8 +544,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:34:7: ( '.' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:34:9: '.' + // InternalETMap.g:34:7: ( '.' ) + // InternalETMap.g:34:9: '.' { match('.'); @@ -564,8 +564,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:35:7: ( 'e' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:35:9: 'e' + // InternalETMap.g:35:7: ( 'e' ) + // InternalETMap.g:35:9: 'e' { match('e'); @@ -584,8 +584,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:36:7: ( 'E' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:36:9: 'E' + // InternalETMap.g:36:7: ( 'E' ) + // InternalETMap.g:36:9: 'E' { match('E'); @@ -604,8 +604,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:37:7: ( 'ptBoolean' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:37:9: 'ptBoolean' + // InternalETMap.g:37:7: ( 'ptBoolean' ) + // InternalETMap.g:37:9: 'ptBoolean' { match("ptBoolean"); @@ -625,8 +625,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:38:7: ( 'ptInteger' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:38:9: 'ptInteger' + // InternalETMap.g:38:7: ( 'ptInteger' ) + // InternalETMap.g:38:9: 'ptInteger' { match("ptInteger"); @@ -646,8 +646,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:39:7: ( 'ptReal' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:39:9: 'ptReal' + // InternalETMap.g:39:7: ( 'ptReal' ) + // InternalETMap.g:39:9: 'ptReal' { match("ptReal"); @@ -667,8 +667,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:40:7: ( 'ptCharacter' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:40:9: 'ptCharacter' + // InternalETMap.g:40:7: ( 'ptCharacter' ) + // InternalETMap.g:40:9: 'ptCharacter' { match("ptCharacter"); @@ -688,10 +688,10 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_HEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // InternalETMap.g:1471:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) + // InternalETMap.g:1471:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:12: ( '0x' | '0X' ) + // InternalETMap.g:1471:12: ( '0x' | '0X' ) int alt1=2; int LA1_0 = input.LA(1); @@ -719,7 +719,7 @@ public class InternalETMapLexer extends Lexer { } switch (alt1) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:13: '0x' + // InternalETMap.g:1471:13: '0x' { match("0x"); @@ -727,7 +727,7 @@ public class InternalETMapLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:18: '0X' + // InternalETMap.g:1471:18: '0X' { match("0X"); @@ -737,7 +737,7 @@ public class InternalETMapLexer extends Lexer { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1471:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // InternalETMap.g:1471:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ int cnt2=0; loop2: do { @@ -751,7 +751,7 @@ public class InternalETMapLexer extends Lexer { switch (alt2) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g: + // InternalETMap.g: { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { input.consume(); @@ -791,10 +791,10 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalETMap.g:1473:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalETMap.g:1473:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1473:11: ( '^' )? + // InternalETMap.g:1473:11: ( '^' )? int alt3=2; int LA3_0 = input.LA(1); @@ -803,7 +803,7 @@ public class InternalETMapLexer extends Lexer { } switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1473:11: '^' + // InternalETMap.g:1473:11: '^' { match('^'); @@ -821,7 +821,7 @@ public class InternalETMapLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalETMap.g:1473:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop4: do { int alt4=2; @@ -834,7 +834,7 @@ public class InternalETMapLexer extends Lexer { switch (alt4) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g: + // InternalETMap.g: { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { input.consume(); @@ -870,10 +870,10 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1475:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1475:12: ( '0' .. '9' )+ + // InternalETMap.g:1475:10: ( ( '0' .. '9' )+ ) + // InternalETMap.g:1475:12: ( '0' .. '9' )+ { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1475:12: ( '0' .. '9' )+ + // InternalETMap.g:1475:12: ( '0' .. '9' )+ int cnt5=0; loop5: do { @@ -887,7 +887,7 @@ public class InternalETMapLexer extends Lexer { switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1475:13: '0' .. '9' + // InternalETMap.g:1475:13: '0' .. '9' { matchRange('0','9'); @@ -919,10 +919,10 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalETMap.g:1477:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalETMap.g:1477:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalETMap.g:1477:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt8=2; int LA8_0 = input.LA(1); @@ -940,10 +940,10 @@ public class InternalETMapLexer extends Lexer { } switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalETMap.g:1477:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalETMap.g:1477:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop6: do { int alt6=3; @@ -959,7 +959,7 @@ public class InternalETMapLexer extends Lexer { switch (alt6) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:21: '\\\\' . + // InternalETMap.g:1477:21: '\\\\' . { match('\\'); matchAny(); @@ -967,7 +967,7 @@ public class InternalETMapLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalETMap.g:1477:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -992,10 +992,10 @@ public class InternalETMapLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalETMap.g:1477:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalETMap.g:1477:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop7: do { int alt7=3; @@ -1011,7 +1011,7 @@ public class InternalETMapLexer extends Lexer { switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:54: '\\\\' . + // InternalETMap.g:1477:54: '\\\\' . { match('\\'); matchAny(); @@ -1019,7 +1019,7 @@ public class InternalETMapLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1477:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalETMap.g:1477:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1062,12 +1062,12 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1479:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1479:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalETMap.g:1479:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalETMap.g:1479:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1479:24: ( options {greedy=false; } : . )* + // InternalETMap.g:1479:24: ( options {greedy=false; } : . )* loop9: do { int alt9=2; @@ -1092,7 +1092,7 @@ public class InternalETMapLexer extends Lexer { switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1479:52: . + // InternalETMap.g:1479:52: . { matchAny(); @@ -1122,12 +1122,12 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalETMap.g:1481:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalETMap.g:1481:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalETMap.g:1481:24: (~ ( ( '\\n' | '\\r' ) ) )* loop10: do { int alt10=2; @@ -1140,7 +1140,7 @@ public class InternalETMapLexer extends Lexer { switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalETMap.g:1481: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(); @@ -1160,7 +1160,7 @@ public class InternalETMapLexer extends Lexer { } } while (true); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:40: ( ( '\\r' )? '\\n' )? + // InternalETMap.g:1481:40: ( ( '\\r' )? '\\n' )? int alt12=2; int LA12_0 = input.LA(1); @@ -1169,9 +1169,9 @@ public class InternalETMapLexer extends Lexer { } switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:41: ( '\\r' )? '\\n' + // InternalETMap.g:1481:41: ( '\\r' )? '\\n' { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:41: ( '\\r' )? + // InternalETMap.g:1481:41: ( '\\r' )? int alt11=2; int LA11_0 = input.LA(1); @@ -1180,7 +1180,7 @@ public class InternalETMapLexer extends Lexer { } switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1481:41: '\\r' + // InternalETMap.g:1481:41: '\\r' { match('\r'); @@ -1212,10 +1212,10 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1483:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalETMap.g:1483:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalETMap.g:1483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalETMap.g:1483:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt13=0; loop13: do { @@ -1229,7 +1229,7 @@ public class InternalETMapLexer extends Lexer { switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g: + // InternalETMap.g: { if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { input.consume(); @@ -1269,8 +1269,8 @@ public class InternalETMapLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1485:16: ( . ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1485:18: . + // InternalETMap.g:1485:16: ( . ) + // InternalETMap.g:1485:18: . { matchAny(); @@ -1285,271 +1285,271 @@ public class InternalETMapLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + // InternalETMap.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) int alt14=38; alt14 = dfa14.predict(input); switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:10: T__12 + // InternalETMap.g:1:10: T__12 { mT__12(); } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:16: T__13 + // InternalETMap.g:1:16: T__13 { mT__13(); } break; case 3 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:22: T__14 + // InternalETMap.g:1:22: T__14 { mT__14(); } break; case 4 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:28: T__15 + // InternalETMap.g:1:28: T__15 { mT__15(); } break; case 5 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:34: T__16 + // InternalETMap.g:1:34: T__16 { mT__16(); } break; case 6 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:40: T__17 + // InternalETMap.g:1:40: T__17 { mT__17(); } break; case 7 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:46: T__18 + // InternalETMap.g:1:46: T__18 { mT__18(); } break; case 8 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:52: T__19 + // InternalETMap.g:1:52: T__19 { mT__19(); } break; case 9 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:58: T__20 + // InternalETMap.g:1:58: T__20 { mT__20(); } break; case 10 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:64: T__21 + // InternalETMap.g:1:64: T__21 { mT__21(); } break; case 11 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:70: T__22 + // InternalETMap.g:1:70: T__22 { mT__22(); } break; case 12 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:76: T__23 + // InternalETMap.g:1:76: T__23 { mT__23(); } break; case 13 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:82: T__24 + // InternalETMap.g:1:82: T__24 { mT__24(); } break; case 14 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:88: T__25 + // InternalETMap.g:1:88: T__25 { mT__25(); } break; case 15 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:94: T__26 + // InternalETMap.g:1:94: T__26 { mT__26(); } break; case 16 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:100: T__27 + // InternalETMap.g:1:100: T__27 { mT__27(); } break; case 17 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:106: T__28 + // InternalETMap.g:1:106: T__28 { mT__28(); } break; case 18 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:112: T__29 + // InternalETMap.g:1:112: T__29 { mT__29(); } break; case 19 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:118: T__30 + // InternalETMap.g:1:118: T__30 { mT__30(); } break; case 20 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:124: T__31 + // InternalETMap.g:1:124: T__31 { mT__31(); } break; case 21 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:130: T__32 + // InternalETMap.g:1:130: T__32 { mT__32(); } break; case 22 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:136: T__33 + // InternalETMap.g:1:136: T__33 { mT__33(); } break; case 23 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:142: T__34 + // InternalETMap.g:1:142: T__34 { mT__34(); } break; case 24 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:148: T__35 + // InternalETMap.g:1:148: T__35 { mT__35(); } break; case 25 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:154: T__36 + // InternalETMap.g:1:154: T__36 { mT__36(); } break; case 26 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:160: T__37 + // InternalETMap.g:1:160: T__37 { mT__37(); } break; case 27 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:166: T__38 + // InternalETMap.g:1:166: T__38 { mT__38(); } break; case 28 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:172: T__39 + // InternalETMap.g:1:172: T__39 { mT__39(); } break; case 29 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:178: T__40 + // InternalETMap.g:1:178: T__40 { mT__40(); } break; case 30 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:184: T__41 + // InternalETMap.g:1:184: T__41 { mT__41(); } break; case 31 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:190: RULE_HEX + // InternalETMap.g:1:190: RULE_HEX { mRULE_HEX(); } break; case 32 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:199: RULE_ID + // InternalETMap.g:1:199: RULE_ID { mRULE_ID(); } break; case 33 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:207: RULE_INT + // InternalETMap.g:1:207: RULE_INT { mRULE_INT(); } break; case 34 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:216: RULE_STRING + // InternalETMap.g:1:216: RULE_STRING { mRULE_STRING(); } break; case 35 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:228: RULE_ML_COMMENT + // InternalETMap.g:1:228: RULE_ML_COMMENT { mRULE_ML_COMMENT(); } break; case 36 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:244: RULE_SL_COMMENT + // InternalETMap.g:1:244: RULE_SL_COMMENT { mRULE_SL_COMMENT(); } break; case 37 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:260: RULE_WS + // InternalETMap.g:1:260: RULE_WS { mRULE_WS(); } break; case 38 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1:268: RULE_ANY_OTHER + // InternalETMap.g:1:268: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1563,64 +1563,19 @@ public class InternalETMapLexer extends Lexer { protected DFA14 dfa14 = new DFA14(this); static final String DFA14_eotS = - "\1\uffff\1\41\2\uffff\1\45\2\41\1\uffff\3\41\2\uffff\2\41\1\63"+ - "\2\uffff\1\41\1\uffff\1\70\1\71\1\41\1\74\1\37\2\uffff\3\37\2\uffff"+ - "\1\41\5\uffff\2\41\1\uffff\4\41\2\uffff\3\41\4\uffff\1\41\3\uffff"+ - "\1\41\6\uffff\27\41\1\147\1\41\1\151\11\41\1\163\2\41\1\uffff\1"+ - "\166\1\uffff\11\41\1\uffff\1\41\1\u0081\1\uffff\2\41\1\u0084\1\41"+ - "\1\u0087\5\41\1\uffff\2\41\1\uffff\2\41\1\uffff\2\41\1\u0093\10"+ - "\41\1\uffff\1\u009c\1\u009d\1\u009e\1\u009f\4\41\4\uffff\4\41\1"+ - "\u00a8\1\u00a9\2\41\2\uffff\1\41\1\u00ad\1\41\1\uffff\1\41\1\u00b0"+ - "\1\uffff"; + "\1\uffff\1\41\2\uffff\1\45\2\41\1\uffff\3\41\2\uffff\2\41\1\63\2\uffff\1\41\1\uffff\1\70\1\71\1\41\1\74\1\37\2\uffff\3\37\2\uffff\1\41\5\uffff\2\41\1\uffff\4\41\2\uffff\3\41\4\uffff\1\41\3\uffff\1\41\6\uffff\27\41\1\147\1\41\1\151\11\41\1\163\2\41\1\uffff\1\166\1\uffff\11\41\1\uffff\1\41\1\u0081\1\uffff\2\41\1\u0084\1\41\1\u0087\5\41\1\uffff\2\41\1\uffff\2\41\1\uffff\2\41\1\u0093\10\41\1\uffff\1\u009c\1\u009d\1\u009e\1\u009f\4\41\4\uffff\4\41\1\u00a8\1\u00a9\2\41\2\uffff\1\41\1\u00ad\1\41\1\uffff\1\41\1\u00b0\1\uffff"; static final String DFA14_eofS = "\u00b1\uffff"; static final String DFA14_minS = - "\1\0\1\141\2\uffff\1\76\1\165\1\150\1\uffff\1\160\1\141\1\164\2"+ - "\uffff\1\155\1\141\1\52\2\uffff\1\162\1\uffff\2\60\1\164\1\130\1"+ - "\101\2\uffff\2\0\1\52\2\uffff\1\160\5\uffff\1\142\1\162\1\uffff"+ - "\1\164\1\156\1\144\1\164\2\uffff\1\160\1\157\1\154\4\uffff\1\165"+ - "\3\uffff\1\102\6\uffff\1\160\1\123\1\145\1\151\1\144\1\145\1\162"+ - "\1\157\1\155\1\163\1\145\1\157\1\156\1\145\1\150\1\151\1\171\1\141"+ - "\1\157\1\141\1\154\1\151\1\162\1\60\1\145\1\60\1\157\1\164\2\141"+ - "\1\156\1\163\1\144\1\156\1\164\1\60\1\142\1\164\1\uffff\1\60\1\uffff"+ - "\1\154\1\145\1\154\1\162\1\147\1\164\1\115\1\141\1\157\1\uffff\1"+ - "\165\1\60\1\uffff\1\145\1\147\1\60\1\141\1\60\1\145\1\141\1\154"+ - "\1\162\1\164\1\uffff\1\141\1\145\1\uffff\1\143\1\157\1\uffff\1\155"+ - "\1\160\1\60\1\171\1\145\1\156\1\162\1\164\1\144\1\115\1\160\1\uffff"+ - "\4\60\2\145\1\141\1\151\4\uffff\1\162\1\154\1\160\1\156\2\60\1\160"+ - "\1\147\2\uffff\1\151\1\60\1\156\1\uffff\1\147\1\60\1\uffff"; + "\1\0\1\141\2\uffff\1\76\1\165\1\150\1\uffff\1\160\1\141\1\164\2\uffff\1\155\1\141\1\52\2\uffff\1\162\1\uffff\2\60\1\164\1\130\1\101\2\uffff\2\0\1\52\2\uffff\1\160\5\uffff\1\142\1\162\1\uffff\1\164\1\156\1\144\1\164\2\uffff\1\160\1\157\1\154\4\uffff\1\165\3\uffff\1\102\6\uffff\1\160\1\123\1\145\1\151\1\144\1\145\1\162\1\157\1\155\1\163\1\145\1\157\1\156\1\145\1\150\1\151\1\171\1\141\1\157\1\141\1\154\1\151\1\162\1\60\1\145\1\60\1\157\1\164\2\141\1\156\1\163\1\144\1\156\1\164\1\60\1\142\1\164\1\uffff\1\60\1\uffff\1\154\1\145\1\154\1\162\1\147\1\164\1\115\1\141\1\157\1\uffff\1\165\1\60\1\uffff\1\145\1\147\1\60\1\141\1\60\1\145\1\141\1\154\1\162\1\164\1\uffff\1\141\1\145\1\uffff\1\143\1\157\1\uffff\1\155\1\160\1\60\1\171\1\145\1\156\1\162\1\164\1\144\1\115\1\160\1\uffff\4\60\2\145\1\141\1\151\4\uffff\1\162\1\154\1\160\1\156\2\60\1\160\1\147\2\uffff\1\151\1\60\1\156\1\uffff\1\147\1\60\1\uffff"; static final String DFA14_maxS = - "\1\uffff\1\141\2\uffff\1\76\1\165\1\150\1\uffff\1\160\1\157\1\164"+ - "\2\uffff\1\155\1\162\1\52\2\uffff\1\162\1\uffff\2\172\1\164\1\170"+ - "\1\172\2\uffff\2\uffff\1\57\2\uffff\1\160\5\uffff\1\142\1\162\1"+ - "\uffff\1\164\1\156\1\144\1\164\2\uffff\1\160\1\157\1\154\4\uffff"+ - "\1\165\3\uffff\1\122\6\uffff\1\160\1\123\1\145\1\151\1\144\1\145"+ - "\1\162\1\157\1\155\1\163\1\145\1\157\1\156\1\145\1\150\1\151\1\171"+ - "\1\141\1\157\1\141\1\154\1\151\1\162\1\172\1\145\1\172\1\157\1\164"+ - "\2\141\1\156\1\163\1\144\1\156\1\164\1\172\1\142\1\164\1\uffff\1"+ - "\172\1\uffff\1\154\1\145\1\154\1\162\1\147\1\164\1\115\1\141\1\157"+ - "\1\uffff\1\165\1\172\1\uffff\1\145\1\147\1\172\1\141\1\172\1\145"+ - "\1\141\1\154\1\162\1\164\1\uffff\1\141\1\145\1\uffff\1\143\1\157"+ - "\1\uffff\1\155\1\160\1\172\1\171\1\145\1\156\1\162\1\164\1\144\1"+ - "\115\1\160\1\uffff\4\172\2\145\1\141\1\151\4\uffff\1\162\1\154\1"+ - "\160\1\156\2\172\1\160\1\147\2\uffff\1\151\1\172\1\156\1\uffff\1"+ - "\147\1\172\1\uffff"; + "\1\uffff\1\141\2\uffff\1\76\1\165\1\150\1\uffff\1\160\1\157\1\164\2\uffff\1\155\1\162\1\52\2\uffff\1\162\1\uffff\2\172\1\164\1\170\1\172\2\uffff\2\uffff\1\57\2\uffff\1\160\5\uffff\1\142\1\162\1\uffff\1\164\1\156\1\144\1\164\2\uffff\1\160\1\157\1\154\4\uffff\1\165\3\uffff\1\122\6\uffff\1\160\1\123\1\145\1\151\1\144\1\145\1\162\1\157\1\155\1\163\1\145\1\157\1\156\1\145\1\150\1\151\1\171\1\141\1\157\1\141\1\154\1\151\1\162\1\172\1\145\1\172\1\157\1\164\2\141\1\156\1\163\1\144\1\156\1\164\1\172\1\142\1\164\1\uffff\1\172\1\uffff\1\154\1\145\1\154\1\162\1\147\1\164\1\115\1\141\1\157\1\uffff\1\165\1\172\1\uffff\1\145\1\147\1\172\1\141\1\172\1\145\1\141\1\154\1\162\1\164\1\uffff\1\141\1\145\1\uffff\1\143\1\157\1\uffff\1\155\1\160\1\172\1\171\1\145\1\156\1\162\1\164\1\144\1\115\1\160\1\uffff\4\172\2\145\1\141\1\151\4\uffff\1\162\1\154\1\160\1\156\2\172\1\160\1\147\2\uffff\1\151\1\172\1\156\1\uffff\1\147\1\172\1\uffff"; static final String DFA14_acceptS = - "\2\uffff\1\2\1\3\3\uffff\1\10\3\uffff\1\14\1\15\3\uffff\1\22\1"+ - "\23\1\uffff\1\26\5\uffff\1\40\1\41\3\uffff\1\45\1\46\1\uffff\1\40"+ - "\1\2\1\3\1\5\1\27\2\uffff\1\10\4\uffff\1\14\1\15\3\uffff\1\21\1"+ - "\30\1\22\1\23\1\uffff\1\26\1\31\1\32\1\uffff\1\37\1\41\1\42\1\43"+ - "\1\44\1\45\46\uffff\1\17\1\uffff\1\25\11\uffff\1\20\2\uffff\1\24"+ - "\12\uffff\1\16\2\uffff\1\35\2\uffff\1\4\13\uffff\1\11\10\uffff\1"+ - "\12\1\13\1\33\1\34\10\uffff\1\36\1\1\3\uffff\1\7\2\uffff\1\6"; + "\2\uffff\1\2\1\3\3\uffff\1\10\3\uffff\1\14\1\15\3\uffff\1\22\1\23\1\uffff\1\26\5\uffff\1\40\1\41\3\uffff\1\45\1\46\1\uffff\1\40\1\2\1\3\1\5\1\27\2\uffff\1\10\4\uffff\1\14\1\15\3\uffff\1\21\1\30\1\22\1\23\1\uffff\1\26\1\31\1\32\1\uffff\1\37\1\41\1\42\1\43\1\44\1\45\46\uffff\1\17\1\uffff\1\25\11\uffff\1\20\2\uffff\1\24\12\uffff\1\16\2\uffff\1\35\2\uffff\1\4\13\uffff\1\11\10\uffff\1\12\1\13\1\33\1\34\10\uffff\1\36\1\1\3\uffff\1\7\2\uffff\1\6"; static final String DFA14_specialS = "\1\1\32\uffff\1\0\1\2\u0094\uffff}>"; static final String[] DFA14_transitionS = { - "\11\37\2\36\2\37\1\36\22\37\1\36\1\37\1\33\4\37\1\34\3\37\1"+ - "\23\1\14\1\4\1\17\1\35\1\27\11\32\1\13\2\37\1\7\3\37\4\31\1"+ - "\25\7\31\1\1\5\31\1\5\1\6\6\31\1\20\1\37\1\21\1\30\1\31\1\37"+ - "\1\12\3\31\1\24\1\16\2\31\1\15\3\31\1\11\1\31\1\10\1\26\3\31"+ - "\1\22\6\31\1\2\1\37\1\3\uff82\37", + "\11\37\2\36\2\37\1\36\22\37\1\36\1\37\1\33\4\37\1\34\3\37\1\23\1\14\1\4\1\17\1\35\1\27\11\32\1\13\2\37\1\7\3\37\4\31\1\25\7\31\1\1\5\31\1\5\1\6\6\31\1\20\1\37\1\21\1\30\1\31\1\37\1\12\3\31\1\24\1\16\2\31\1\15\3\31\1\11\1\31\1\10\1\26\3\31\1\22\6\31\1\2\1\37\1\3\uff82\37", "\1\40", "", "", @@ -1743,8 +1698,7 @@ public class InternalETMapLexer extends Lexer { "\1\u0083", "\12\41\7\uffff\32\41\4\uffff\1\41\1\uffff\32\41", "\1\u0085", - "\12\41\7\uffff\14\41\1\u0086\15\41\4\uffff\1\41\1\uffff\32"+ - "\41", + "\12\41\7\uffff\14\41\1\u0086\15\41\4\uffff\1\41\1\uffff\32\41", "\1\u0088", "\1\u0089", "\1\u008a", diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapParser.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapParser.java index 550fad2b4..7b82d0502 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapParser.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapParser.java @@ -78,7 +78,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { public String[] getTokenNames() { return InternalETMapParser.tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g"; } + public String getGrammarFileName() { return "InternalETMap.g"; } @@ -103,7 +103,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMappingModel" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:68:1: entryRuleMappingModel returns [EObject current=null] : iv_ruleMappingModel= ruleMappingModel EOF ; + // InternalETMap.g:68:1: entryRuleMappingModel returns [EObject current=null] : iv_ruleMappingModel= ruleMappingModel EOF ; public final EObject entryRuleMappingModel() throws RecognitionException { EObject current = null; @@ -111,17 +111,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:69:2: (iv_ruleMappingModel= ruleMappingModel EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:70:2: iv_ruleMappingModel= ruleMappingModel EOF + // InternalETMap.g:69:2: (iv_ruleMappingModel= ruleMappingModel EOF ) + // InternalETMap.g:70:2: iv_ruleMappingModel= ruleMappingModel EOF { newCompositeNode(grammarAccess.getMappingModelRule()); - pushFollow(FOLLOW_ruleMappingModel_in_entryRuleMappingModel75); + pushFollow(FOLLOW_1); iv_ruleMappingModel=ruleMappingModel(); state._fsp--; current =iv_ruleMappingModel; - match(input,EOF,FOLLOW_EOF_in_entryRuleMappingModel85); + match(input,EOF,FOLLOW_2); } @@ -139,7 +139,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMappingModel" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:77:1: ruleMappingModel returns [EObject current=null] : (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) ; + // InternalETMap.g:77:1: ruleMappingModel returns [EObject current=null] : (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) ; public final EObject ruleMappingModel() throws RecognitionException { EObject current = null; @@ -156,26 +156,26 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:80:28: ( (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:81:1: (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) + // InternalETMap.g:80:28: ( (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) ) + // InternalETMap.g:81:1: (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:81:1: (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:81:3: otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' + // InternalETMap.g:81:1: (otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' ) + // InternalETMap.g:81:3: otherlv_0= 'MappingModel' ( (lv_name_1_0= ruleFQN ) ) otherlv_2= '{' ( (lv_imports_3_0= ruleImport ) )* ( (lv_mappings_4_0= ruleMapping ) )* otherlv_5= '}' { - otherlv_0=(Token)match(input,12,FOLLOW_12_in_ruleMappingModel122); + otherlv_0=(Token)match(input,12,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getMappingModelAccess().getMappingModelKeyword_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:85:1: ( (lv_name_1_0= ruleFQN ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:86:1: (lv_name_1_0= ruleFQN ) + // InternalETMap.g:85:1: ( (lv_name_1_0= ruleFQN ) ) + // InternalETMap.g:86:1: (lv_name_1_0= ruleFQN ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:86:1: (lv_name_1_0= ruleFQN ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:87:3: lv_name_1_0= ruleFQN + // InternalETMap.g:86:1: (lv_name_1_0= ruleFQN ) + // InternalETMap.g:87:3: lv_name_1_0= ruleFQN { newCompositeNode(grammarAccess.getMappingModelAccess().getNameFQNParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleMappingModel143); + pushFollow(FOLLOW_4); lv_name_1_0=ruleFQN(); state._fsp--; @@ -188,7 +188,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "name", lv_name_1_0, - "FQN"); + "org.eclipse.etrice.core.common.Base.FQN"); afterParserOrEnumRuleCall(); @@ -197,11 +197,11 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleMappingModel155); + otherlv_2=(Token)match(input,13,FOLLOW_5); newLeafNode(otherlv_2, grammarAccess.getMappingModelAccess().getLeftCurlyBracketKeyword_2()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:107:1: ( (lv_imports_3_0= ruleImport ) )* + // InternalETMap.g:107:1: ( (lv_imports_3_0= ruleImport ) )* loop1: do { int alt1=2; @@ -214,15 +214,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt1) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:108:1: (lv_imports_3_0= ruleImport ) + // InternalETMap.g:108:1: (lv_imports_3_0= ruleImport ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:108:1: (lv_imports_3_0= ruleImport ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:109:3: lv_imports_3_0= ruleImport + // InternalETMap.g:108:1: (lv_imports_3_0= ruleImport ) + // InternalETMap.g:109:3: lv_imports_3_0= ruleImport { newCompositeNode(grammarAccess.getMappingModelAccess().getImportsImportParserRuleCall_3_0()); - pushFollow(FOLLOW_ruleImport_in_ruleMappingModel176); + pushFollow(FOLLOW_5); lv_imports_3_0=ruleImport(); state._fsp--; @@ -235,7 +235,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "imports", lv_imports_3_0, - "Import"); + "org.eclipse.etrice.core.common.Base.Import"); afterParserOrEnumRuleCall(); @@ -250,7 +250,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:125:3: ( (lv_mappings_4_0= ruleMapping ) )* + // InternalETMap.g:125:3: ( (lv_mappings_4_0= ruleMapping ) )* loop2: do { int alt2=2; @@ -263,15 +263,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt2) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:126:1: (lv_mappings_4_0= ruleMapping ) + // InternalETMap.g:126:1: (lv_mappings_4_0= ruleMapping ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:126:1: (lv_mappings_4_0= ruleMapping ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:127:3: lv_mappings_4_0= ruleMapping + // InternalETMap.g:126:1: (lv_mappings_4_0= ruleMapping ) + // InternalETMap.g:127:3: lv_mappings_4_0= ruleMapping { newCompositeNode(grammarAccess.getMappingModelAccess().getMappingsMappingParserRuleCall_4_0()); - pushFollow(FOLLOW_ruleMapping_in_ruleMappingModel198); + pushFollow(FOLLOW_6); lv_mappings_4_0=ruleMapping(); state._fsp--; @@ -284,7 +284,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "mappings", lv_mappings_4_0, - "Mapping"); + "org.eclipse.etrice.core.etmap.ETMap.Mapping"); afterParserOrEnumRuleCall(); @@ -299,7 +299,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleMappingModel211); + otherlv_5=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_5, grammarAccess.getMappingModelAccess().getRightCurlyBracketKeyword_5()); @@ -324,7 +324,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:155:1: entryRuleMapping returns [EObject current=null] : iv_ruleMapping= ruleMapping EOF ; + // InternalETMap.g:155:1: entryRuleMapping returns [EObject current=null] : iv_ruleMapping= ruleMapping EOF ; public final EObject entryRuleMapping() throws RecognitionException { EObject current = null; @@ -332,17 +332,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:156:2: (iv_ruleMapping= ruleMapping EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:157:2: iv_ruleMapping= ruleMapping EOF + // InternalETMap.g:156:2: (iv_ruleMapping= ruleMapping EOF ) + // InternalETMap.g:157:2: iv_ruleMapping= ruleMapping EOF { newCompositeNode(grammarAccess.getMappingRule()); - pushFollow(FOLLOW_ruleMapping_in_entryRuleMapping247); + pushFollow(FOLLOW_1); iv_ruleMapping=ruleMapping(); state._fsp--; current =iv_ruleMapping; - match(input,EOF,FOLLOW_EOF_in_entryRuleMapping257); + match(input,EOF,FOLLOW_2); } @@ -360,7 +360,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:164:1: ruleMapping returns [EObject current=null] : (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) ; + // InternalETMap.g:164:1: ruleMapping returns [EObject current=null] : (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) ; public final EObject ruleMapping() throws RecognitionException { EObject current = null; @@ -374,21 +374,21 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:167:28: ( (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:168:1: (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) + // InternalETMap.g:167:28: ( (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) ) + // InternalETMap.g:168:1: (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:168:1: (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:168:3: otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' + // InternalETMap.g:168:1: (otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' ) + // InternalETMap.g:168:3: otherlv_0= 'Mapping' ( ( ruleFQN ) ) otherlv_2= '->' ( ( ruleFQN ) ) otherlv_4= '{' ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* otherlv_6= '}' { - otherlv_0=(Token)match(input,15,FOLLOW_15_in_ruleMapping294); + otherlv_0=(Token)match(input,15,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getMappingAccess().getMappingKeyword_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:172:1: ( ( ruleFQN ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:173:1: ( ruleFQN ) + // InternalETMap.g:172:1: ( ( ruleFQN ) ) + // InternalETMap.g:173:1: ( ruleFQN ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:173:1: ( ruleFQN ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:174:3: ruleFQN + // InternalETMap.g:173:1: ( ruleFQN ) + // InternalETMap.g:174:3: ruleFQN { if (current==null) { @@ -398,7 +398,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getMappingAccess().getLogicalSysLogicalSystemCrossReference_1_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleMapping317); + pushFollow(FOLLOW_7); ruleFQN(); state._fsp--; @@ -412,15 +412,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleMapping329); + otherlv_2=(Token)match(input,16,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getMappingAccess().getHyphenMinusGreaterThanSignKeyword_2()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:191:1: ( ( ruleFQN ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:192:1: ( ruleFQN ) + // InternalETMap.g:191:1: ( ( ruleFQN ) ) + // InternalETMap.g:192:1: ( ruleFQN ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:192:1: ( ruleFQN ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:193:3: ruleFQN + // InternalETMap.g:192:1: ( ruleFQN ) + // InternalETMap.g:193:3: ruleFQN { if (current==null) { @@ -430,7 +430,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { newCompositeNode(grammarAccess.getMappingAccess().getPhysicalSysPhysicalSystemCrossReference_3_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleMapping352); + pushFollow(FOLLOW_4); ruleFQN(); state._fsp--; @@ -444,11 +444,11 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleMapping364); + otherlv_4=(Token)match(input,13,FOLLOW_8); newLeafNode(otherlv_4, grammarAccess.getMappingAccess().getLeftCurlyBracketKeyword_4()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:210:1: ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* + // InternalETMap.g:210:1: ( (lv_subsysMappings_5_0= ruleSubSystemMapping ) )* loop3: do { int alt3=2; @@ -461,15 +461,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:211:1: (lv_subsysMappings_5_0= ruleSubSystemMapping ) + // InternalETMap.g:211:1: (lv_subsysMappings_5_0= ruleSubSystemMapping ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:211:1: (lv_subsysMappings_5_0= ruleSubSystemMapping ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:212:3: lv_subsysMappings_5_0= ruleSubSystemMapping + // InternalETMap.g:211:1: (lv_subsysMappings_5_0= ruleSubSystemMapping ) + // InternalETMap.g:212:3: lv_subsysMappings_5_0= ruleSubSystemMapping { newCompositeNode(grammarAccess.getMappingAccess().getSubsysMappingsSubSystemMappingParserRuleCall_5_0()); - pushFollow(FOLLOW_ruleSubSystemMapping_in_ruleMapping385); + pushFollow(FOLLOW_8); lv_subsysMappings_5_0=ruleSubSystemMapping(); state._fsp--; @@ -482,7 +482,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "subsysMappings", lv_subsysMappings_5_0, - "SubSystemMapping"); + "org.eclipse.etrice.core.etmap.ETMap.SubSystemMapping"); afterParserOrEnumRuleCall(); @@ -497,7 +497,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleMapping398); + otherlv_6=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getMappingAccess().getRightCurlyBracketKeyword_6()); @@ -522,7 +522,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSubSystemMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:240:1: entryRuleSubSystemMapping returns [EObject current=null] : iv_ruleSubSystemMapping= ruleSubSystemMapping EOF ; + // InternalETMap.g:240:1: entryRuleSubSystemMapping returns [EObject current=null] : iv_ruleSubSystemMapping= ruleSubSystemMapping EOF ; public final EObject entryRuleSubSystemMapping() throws RecognitionException { EObject current = null; @@ -530,17 +530,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:241:2: (iv_ruleSubSystemMapping= ruleSubSystemMapping EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:242:2: iv_ruleSubSystemMapping= ruleSubSystemMapping EOF + // InternalETMap.g:241:2: (iv_ruleSubSystemMapping= ruleSubSystemMapping EOF ) + // InternalETMap.g:242:2: iv_ruleSubSystemMapping= ruleSubSystemMapping EOF { newCompositeNode(grammarAccess.getSubSystemMappingRule()); - pushFollow(FOLLOW_ruleSubSystemMapping_in_entryRuleSubSystemMapping434); + pushFollow(FOLLOW_1); iv_ruleSubSystemMapping=ruleSubSystemMapping(); state._fsp--; current =iv_ruleSubSystemMapping; - match(input,EOF,FOLLOW_EOF_in_entryRuleSubSystemMapping444); + match(input,EOF,FOLLOW_2); } @@ -558,7 +558,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSubSystemMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:249:1: ruleSubSystemMapping returns [EObject current=null] : (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) ; + // InternalETMap.g:249:1: ruleSubSystemMapping returns [EObject current=null] : (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) ; public final EObject ruleSubSystemMapping() throws RecognitionException { EObject current = null; @@ -574,28 +574,28 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:252:28: ( (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:253:1: (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) + // InternalETMap.g:252:28: ( (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) ) + // InternalETMap.g:253:1: (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:253:1: (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:253:3: otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? + // InternalETMap.g:253:1: (otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? ) + // InternalETMap.g:253:3: otherlv_0= 'SubSystemMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? { - otherlv_0=(Token)match(input,17,FOLLOW_17_in_ruleSubSystemMapping481); + otherlv_0=(Token)match(input,17,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getSubSystemMappingAccess().getSubSystemMappingKeyword_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:257:1: ( (otherlv_1= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:258:1: (otherlv_1= RULE_ID ) + // InternalETMap.g:257:1: ( (otherlv_1= RULE_ID ) ) + // InternalETMap.g:258:1: (otherlv_1= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:258:1: (otherlv_1= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:259:3: otherlv_1= RULE_ID + // InternalETMap.g:258:1: (otherlv_1= RULE_ID ) + // InternalETMap.g:259:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getSubSystemMappingRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubSystemMapping501); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getSubSystemMappingAccess().getLogicalSubSysSubSystemRefCrossReference_1_0()); @@ -605,22 +605,22 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleSubSystemMapping513); + otherlv_2=(Token)match(input,16,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getSubSystemMappingAccess().getHyphenMinusGreaterThanSignKeyword_2()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:274:1: ( (otherlv_3= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:275:1: (otherlv_3= RULE_ID ) + // InternalETMap.g:274:1: ( (otherlv_3= RULE_ID ) ) + // InternalETMap.g:275:1: (otherlv_3= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:275:1: (otherlv_3= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:276:3: otherlv_3= RULE_ID + // InternalETMap.g:275:1: (otherlv_3= RULE_ID ) + // InternalETMap.g:276:3: otherlv_3= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getSubSystemMappingRule()); } - otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSubSystemMapping533); + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_9); newLeafNode(otherlv_3, grammarAccess.getSubSystemMappingAccess().getNodeNodeRefCrossReference_3_0()); @@ -630,7 +630,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:287:2: (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? + // InternalETMap.g:287:2: (otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' )? int alt5=2; int LA5_0 = input.LA(1); @@ -639,13 +639,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:287:4: otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' + // InternalETMap.g:287:4: otherlv_4= '{' ( (lv_threadMappings_5_0= ruleThreadMapping ) )* otherlv_6= '}' { - otherlv_4=(Token)match(input,13,FOLLOW_13_in_ruleSubSystemMapping546); + otherlv_4=(Token)match(input,13,FOLLOW_10); newLeafNode(otherlv_4, grammarAccess.getSubSystemMappingAccess().getLeftCurlyBracketKeyword_4_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:291:1: ( (lv_threadMappings_5_0= ruleThreadMapping ) )* + // InternalETMap.g:291:1: ( (lv_threadMappings_5_0= ruleThreadMapping ) )* loop4: do { int alt4=2; @@ -658,15 +658,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt4) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:292:1: (lv_threadMappings_5_0= ruleThreadMapping ) + // InternalETMap.g:292:1: (lv_threadMappings_5_0= ruleThreadMapping ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:292:1: (lv_threadMappings_5_0= ruleThreadMapping ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:293:3: lv_threadMappings_5_0= ruleThreadMapping + // InternalETMap.g:292:1: (lv_threadMappings_5_0= ruleThreadMapping ) + // InternalETMap.g:293:3: lv_threadMappings_5_0= ruleThreadMapping { newCompositeNode(grammarAccess.getSubSystemMappingAccess().getThreadMappingsThreadMappingParserRuleCall_4_1_0()); - pushFollow(FOLLOW_ruleThreadMapping_in_ruleSubSystemMapping567); + pushFollow(FOLLOW_10); lv_threadMappings_5_0=ruleThreadMapping(); state._fsp--; @@ -679,7 +679,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "threadMappings", lv_threadMappings_5_0, - "ThreadMapping"); + "org.eclipse.etrice.core.etmap.ETMap.ThreadMapping"); afterParserOrEnumRuleCall(); @@ -694,7 +694,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleSubSystemMapping580); + otherlv_6=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_6, grammarAccess.getSubSystemMappingAccess().getRightCurlyBracketKeyword_4_2()); @@ -725,7 +725,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleThreadMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:321:1: entryRuleThreadMapping returns [EObject current=null] : iv_ruleThreadMapping= ruleThreadMapping EOF ; + // InternalETMap.g:321:1: entryRuleThreadMapping returns [EObject current=null] : iv_ruleThreadMapping= ruleThreadMapping EOF ; public final EObject entryRuleThreadMapping() throws RecognitionException { EObject current = null; @@ -733,17 +733,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:322:2: (iv_ruleThreadMapping= ruleThreadMapping EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:323:2: iv_ruleThreadMapping= ruleThreadMapping EOF + // InternalETMap.g:322:2: (iv_ruleThreadMapping= ruleThreadMapping EOF ) + // InternalETMap.g:323:2: iv_ruleThreadMapping= ruleThreadMapping EOF { newCompositeNode(grammarAccess.getThreadMappingRule()); - pushFollow(FOLLOW_ruleThreadMapping_in_entryRuleThreadMapping618); + pushFollow(FOLLOW_1); iv_ruleThreadMapping=ruleThreadMapping(); state._fsp--; current =iv_ruleThreadMapping; - match(input,EOF,FOLLOW_EOF_in_entryRuleThreadMapping628); + match(input,EOF,FOLLOW_2); } @@ -761,7 +761,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleThreadMapping" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:330:1: ruleThreadMapping returns [EObject current=null] : (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) ; + // InternalETMap.g:330:1: ruleThreadMapping returns [EObject current=null] : (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) ; public final EObject ruleThreadMapping() throws RecognitionException { EObject current = null; @@ -773,28 +773,28 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:333:28: ( (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:334:1: (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) + // InternalETMap.g:333:28: ( (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) ) + // InternalETMap.g:334:1: (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:334:1: (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:334:3: otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) + // InternalETMap.g:334:1: (otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) ) + // InternalETMap.g:334:3: otherlv_0= 'ThreadMapping' ( (otherlv_1= RULE_ID ) ) otherlv_2= '->' ( (otherlv_3= RULE_ID ) ) { - otherlv_0=(Token)match(input,18,FOLLOW_18_in_ruleThreadMapping665); + otherlv_0=(Token)match(input,18,FOLLOW_3); newLeafNode(otherlv_0, grammarAccess.getThreadMappingAccess().getThreadMappingKeyword_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:338:1: ( (otherlv_1= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:339:1: (otherlv_1= RULE_ID ) + // InternalETMap.g:338:1: ( (otherlv_1= RULE_ID ) ) + // InternalETMap.g:339:1: (otherlv_1= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:339:1: (otherlv_1= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:340:3: otherlv_1= RULE_ID + // InternalETMap.g:339:1: (otherlv_1= RULE_ID ) + // InternalETMap.g:340:3: otherlv_1= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getThreadMappingRule()); } - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleThreadMapping685); + otherlv_1=(Token)match(input,RULE_ID,FOLLOW_7); newLeafNode(otherlv_1, grammarAccess.getThreadMappingAccess().getLogicalThreadLogicalThreadCrossReference_1_0()); @@ -804,22 +804,22 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,16,FOLLOW_16_in_ruleThreadMapping697); + otherlv_2=(Token)match(input,16,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getThreadMappingAccess().getHyphenMinusGreaterThanSignKeyword_2()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:355:1: ( (otherlv_3= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:356:1: (otherlv_3= RULE_ID ) + // InternalETMap.g:355:1: ( (otherlv_3= RULE_ID ) ) + // InternalETMap.g:356:1: (otherlv_3= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:356:1: (otherlv_3= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:357:3: otherlv_3= RULE_ID + // InternalETMap.g:356:1: (otherlv_3= RULE_ID ) + // InternalETMap.g:357:3: otherlv_3= RULE_ID { if (current==null) { current = createModelElement(grammarAccess.getThreadMappingRule()); } - otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleThreadMapping717); + otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getThreadMappingAccess().getPhysicalThreadPhysicalThreadCrossReference_3_0()); @@ -850,7 +850,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleKeyValue" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:378:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; + // InternalETMap.g:378:1: entryRuleKeyValue returns [EObject current=null] : iv_ruleKeyValue= ruleKeyValue EOF ; public final EObject entryRuleKeyValue() throws RecognitionException { EObject current = null; @@ -858,17 +858,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:379:2: (iv_ruleKeyValue= ruleKeyValue EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:380:2: iv_ruleKeyValue= ruleKeyValue EOF + // InternalETMap.g:379:2: (iv_ruleKeyValue= ruleKeyValue EOF ) + // InternalETMap.g:380:2: iv_ruleKeyValue= ruleKeyValue EOF { newCompositeNode(grammarAccess.getKeyValueRule()); - pushFollow(FOLLOW_ruleKeyValue_in_entryRuleKeyValue755); + pushFollow(FOLLOW_1); iv_ruleKeyValue=ruleKeyValue(); state._fsp--; current =iv_ruleKeyValue; - match(input,EOF,FOLLOW_EOF_in_entryRuleKeyValue765); + match(input,EOF,FOLLOW_2); } @@ -886,7 +886,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleKeyValue" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:387:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ; + // InternalETMap.g:387:1: ruleKeyValue returns [EObject current=null] : ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ; public final EObject ruleKeyValue() throws RecognitionException { EObject current = null; @@ -898,19 +898,19 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:390:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:391:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // InternalETMap.g:390:28: ( ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) ) + // InternalETMap.g:391:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:391:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:391:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) + // InternalETMap.g:391:1: ( ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) ) + // InternalETMap.g:391:2: ( (lv_key_0_0= RULE_ID ) ) otherlv_1= '=' ( (lv_value_2_0= ruleLiteral ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:391:2: ( (lv_key_0_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:392:1: (lv_key_0_0= RULE_ID ) + // InternalETMap.g:391:2: ( (lv_key_0_0= RULE_ID ) ) + // InternalETMap.g:392:1: (lv_key_0_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:392:1: (lv_key_0_0= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:393:3: lv_key_0_0= RULE_ID + // InternalETMap.g:392:1: (lv_key_0_0= RULE_ID ) + // InternalETMap.g:393:3: lv_key_0_0= RULE_ID { - lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleKeyValue807); + lv_key_0_0=(Token)match(input,RULE_ID,FOLLOW_11); newLeafNode(lv_key_0_0, grammarAccess.getKeyValueAccess().getKeyIDTerminalRuleCall_0_0()); @@ -922,7 +922,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "key", lv_key_0_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } @@ -930,20 +930,20 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleKeyValue824); + otherlv_1=(Token)match(input,19,FOLLOW_12); newLeafNode(otherlv_1, grammarAccess.getKeyValueAccess().getEqualsSignKeyword_1()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:413:1: ( (lv_value_2_0= ruleLiteral ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:414:1: (lv_value_2_0= ruleLiteral ) + // InternalETMap.g:413:1: ( (lv_value_2_0= ruleLiteral ) ) + // InternalETMap.g:414:1: (lv_value_2_0= ruleLiteral ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:414:1: (lv_value_2_0= ruleLiteral ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:415:3: lv_value_2_0= ruleLiteral + // InternalETMap.g:414:1: (lv_value_2_0= ruleLiteral ) + // InternalETMap.g:415:3: lv_value_2_0= ruleLiteral { newCompositeNode(grammarAccess.getKeyValueAccess().getValueLiteralParserRuleCall_2_0()); - pushFollow(FOLLOW_ruleLiteral_in_ruleKeyValue845); + pushFollow(FOLLOW_2); lv_value_2_0=ruleLiteral(); state._fsp--; @@ -956,7 +956,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "value", lv_value_2_0, - "Literal"); + "org.eclipse.etrice.core.common.Base.Literal"); afterParserOrEnumRuleCall(); @@ -986,7 +986,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationTargetType" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:441:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; + // InternalETMap.g:441:1: entryRuleAnnotationTargetType returns [String current=null] : iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ; public final String entryRuleAnnotationTargetType() throws RecognitionException { String current = null; @@ -994,17 +994,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:442:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:443:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF + // InternalETMap.g:442:2: (iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF ) + // InternalETMap.g:443:2: iv_ruleAnnotationTargetType= ruleAnnotationTargetType EOF { newCompositeNode(grammarAccess.getAnnotationTargetTypeRule()); - pushFollow(FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType884); + pushFollow(FOLLOW_1); iv_ruleAnnotationTargetType=ruleAnnotationTargetType(); state._fsp--; current =iv_ruleAnnotationTargetType.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationTargetType895); + match(input,EOF,FOLLOW_2); } @@ -1022,7 +1022,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationTargetType" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:450:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; + // InternalETMap.g:450:1: ruleAnnotationTargetType returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; public final AntlrDatatypeRuleToken ruleAnnotationTargetType() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -1031,10 +1031,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:453:28: (this_ID_0= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:454:5: this_ID_0= RULE_ID + // InternalETMap.g:453:28: (this_ID_0= RULE_ID ) + // InternalETMap.g:454:5: this_ID_0= RULE_ID { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleAnnotationTargetType934); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); current.merge(this_ID_0); @@ -1059,7 +1059,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:469:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; + // InternalETMap.g:469:1: entryRuleAnnotationAttribute returns [EObject current=null] : iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ; public final EObject entryRuleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1067,17 +1067,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:470:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:471:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF + // InternalETMap.g:470:2: (iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF ) + // InternalETMap.g:471:2: iv_ruleAnnotationAttribute= ruleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute978); + pushFollow(FOLLOW_1); iv_ruleAnnotationAttribute=ruleAnnotationAttribute(); state._fsp--; current =iv_ruleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleAnnotationAttribute988); + match(input,EOF,FOLLOW_2); } @@ -1095,7 +1095,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:478:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; + // InternalETMap.g:478:1: ruleAnnotationAttribute returns [EObject current=null] : (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ; public final EObject ruleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1107,10 +1107,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:481:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:482:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + // InternalETMap.g:481:28: ( (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) ) + // InternalETMap.g:482:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:482:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) + // InternalETMap.g:482:1: (this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute | this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute ) int alt6=2; int LA6_0 = input.LA(1); @@ -1214,12 +1214,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt6) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:483:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute + // InternalETMap.g:483:5: this_SimpleAnnotationAttribute_0= ruleSimpleAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getSimpleAnnotationAttributeParserRuleCall_0()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute1035); + pushFollow(FOLLOW_2); this_SimpleAnnotationAttribute_0=ruleSimpleAnnotationAttribute(); state._fsp--; @@ -1232,12 +1232,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:493:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute + // InternalETMap.g:493:5: this_EnumAnnotationAttribute_1= ruleEnumAnnotationAttribute { newCompositeNode(grammarAccess.getAnnotationAttributeAccess().getEnumAnnotationAttributeParserRuleCall_1()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute1062); + pushFollow(FOLLOW_2); this_EnumAnnotationAttribute_1=ruleEnumAnnotationAttribute(); state._fsp--; @@ -1270,7 +1270,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:509:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; + // InternalETMap.g:509:1: entryRuleSimpleAnnotationAttribute returns [EObject current=null] : iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ; public final EObject entryRuleSimpleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1278,17 +1278,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:510:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:511:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF + // InternalETMap.g:510:2: (iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF ) + // InternalETMap.g:511:2: iv_ruleSimpleAnnotationAttribute= ruleSimpleAnnotationAttribute EOF { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute1097); + pushFollow(FOLLOW_1); iv_ruleSimpleAnnotationAttribute=ruleSimpleAnnotationAttribute(); state._fsp--; current =iv_ruleSimpleAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute1107); + match(input,EOF,FOLLOW_2); } @@ -1306,7 +1306,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSimpleAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:518:1: ruleSimpleAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ; + // InternalETMap.g:518:1: ruleSimpleAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ; public final EObject ruleSimpleAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1321,13 +1321,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:521:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) + // InternalETMap.g:521:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) ) + // InternalETMap.g:522:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) + // InternalETMap.g:522:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) ) + // InternalETMap.g:522:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' ( (lv_type_5_0= ruleLiteralType ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + // InternalETMap.g:522:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) int alt7=2; int LA7_0 = input.LA(1); @@ -1345,15 +1345,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:3: ( (lv_optional_0_0= 'optional' ) ) + // InternalETMap.g:522:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:522:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:523:1: (lv_optional_0_0= 'optional' ) + // InternalETMap.g:522:3: ( (lv_optional_0_0= 'optional' ) ) + // InternalETMap.g:523:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:523:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:524:3: lv_optional_0_0= 'optional' + // InternalETMap.g:523:1: (lv_optional_0_0= 'optional' ) + // InternalETMap.g:524:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,20,FOLLOW_20_in_ruleSimpleAnnotationAttribute1151); + lv_optional_0_0=(Token)match(input,20,FOLLOW_13); newLeafNode(lv_optional_0_0, grammarAccess.getSimpleAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -1373,9 +1373,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:538:7: otherlv_1= 'mandatory' + // InternalETMap.g:538:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleSimpleAnnotationAttribute1182); + otherlv_1=(Token)match(input,21,FOLLOW_13); newLeafNode(otherlv_1, grammarAccess.getSimpleAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -1385,17 +1385,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleSimpleAnnotationAttribute1195); + otherlv_2=(Token)match(input,22,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getSimpleAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:546:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:547:1: (lv_name_3_0= RULE_ID ) + // InternalETMap.g:546:1: ( (lv_name_3_0= RULE_ID ) ) + // InternalETMap.g:547:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:547:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:548:3: lv_name_3_0= RULE_ID + // InternalETMap.g:547:1: (lv_name_3_0= RULE_ID ) + // InternalETMap.g:548:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute1212); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_14); newLeafNode(lv_name_3_0, grammarAccess.getSimpleAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -1407,7 +1407,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "name", lv_name_3_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } @@ -1415,20 +1415,20 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,23,FOLLOW_23_in_ruleSimpleAnnotationAttribute1229); + otherlv_4=(Token)match(input,23,FOLLOW_15); newLeafNode(otherlv_4, grammarAccess.getSimpleAnnotationAttributeAccess().getColonKeyword_3()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:568:1: ( (lv_type_5_0= ruleLiteralType ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:569:1: (lv_type_5_0= ruleLiteralType ) + // InternalETMap.g:568:1: ( (lv_type_5_0= ruleLiteralType ) ) + // InternalETMap.g:569:1: (lv_type_5_0= ruleLiteralType ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:569:1: (lv_type_5_0= ruleLiteralType ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:570:3: lv_type_5_0= ruleLiteralType + // InternalETMap.g:569:1: (lv_type_5_0= ruleLiteralType ) + // InternalETMap.g:570:3: lv_type_5_0= ruleLiteralType { newCompositeNode(grammarAccess.getSimpleAnnotationAttributeAccess().getTypeLiteralTypeEnumRuleCall_4_0()); - pushFollow(FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute1250); + pushFollow(FOLLOW_2); lv_type_5_0=ruleLiteralType(); state._fsp--; @@ -1441,7 +1441,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "type", lv_type_5_0, - "LiteralType"); + "org.eclipse.etrice.core.common.Base.LiteralType"); afterParserOrEnumRuleCall(); @@ -1471,7 +1471,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:594:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; + // InternalETMap.g:594:1: entryRuleEnumAnnotationAttribute returns [EObject current=null] : iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ; public final EObject entryRuleEnumAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1479,17 +1479,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:595:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:596:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF + // InternalETMap.g:595:2: (iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF ) + // InternalETMap.g:596:2: iv_ruleEnumAnnotationAttribute= ruleEnumAnnotationAttribute EOF { newCompositeNode(grammarAccess.getEnumAnnotationAttributeRule()); - pushFollow(FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute1286); + pushFollow(FOLLOW_1); iv_ruleEnumAnnotationAttribute=ruleEnumAnnotationAttribute(); state._fsp--; current =iv_ruleEnumAnnotationAttribute; - match(input,EOF,FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute1296); + match(input,EOF,FOLLOW_2); } @@ -1507,7 +1507,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleEnumAnnotationAttribute" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:603:1: ruleEnumAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ; + // InternalETMap.g:603:1: ruleEnumAnnotationAttribute returns [EObject current=null] : ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ; public final EObject ruleEnumAnnotationAttribute() throws RecognitionException { EObject current = null; @@ -1525,13 +1525,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:606:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) + // InternalETMap.g:606:28: ( ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) ) + // InternalETMap.g:607:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' + // InternalETMap.g:607:1: ( ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' ) + // InternalETMap.g:607:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) otherlv_2= 'attribute' ( (lv_name_3_0= RULE_ID ) ) otherlv_4= ':' otherlv_5= '{' ( (lv_values_6_0= RULE_STRING ) ) (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* otherlv_9= '}' { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) + // InternalETMap.g:607:2: ( ( (lv_optional_0_0= 'optional' ) ) | otherlv_1= 'mandatory' ) int alt8=2; int LA8_0 = input.LA(1); @@ -1549,15 +1549,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:3: ( (lv_optional_0_0= 'optional' ) ) + // InternalETMap.g:607:3: ( (lv_optional_0_0= 'optional' ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:607:3: ( (lv_optional_0_0= 'optional' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:608:1: (lv_optional_0_0= 'optional' ) + // InternalETMap.g:607:3: ( (lv_optional_0_0= 'optional' ) ) + // InternalETMap.g:608:1: (lv_optional_0_0= 'optional' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:608:1: (lv_optional_0_0= 'optional' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:609:3: lv_optional_0_0= 'optional' + // InternalETMap.g:608:1: (lv_optional_0_0= 'optional' ) + // InternalETMap.g:609:3: lv_optional_0_0= 'optional' { - lv_optional_0_0=(Token)match(input,20,FOLLOW_20_in_ruleEnumAnnotationAttribute1340); + lv_optional_0_0=(Token)match(input,20,FOLLOW_13); newLeafNode(lv_optional_0_0, grammarAccess.getEnumAnnotationAttributeAccess().getOptionalOptionalKeyword_0_0_0()); @@ -1577,9 +1577,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:623:7: otherlv_1= 'mandatory' + // InternalETMap.g:623:7: otherlv_1= 'mandatory' { - otherlv_1=(Token)match(input,21,FOLLOW_21_in_ruleEnumAnnotationAttribute1371); + otherlv_1=(Token)match(input,21,FOLLOW_13); newLeafNode(otherlv_1, grammarAccess.getEnumAnnotationAttributeAccess().getMandatoryKeyword_0_1()); @@ -1589,17 +1589,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,22,FOLLOW_22_in_ruleEnumAnnotationAttribute1384); + otherlv_2=(Token)match(input,22,FOLLOW_3); newLeafNode(otherlv_2, grammarAccess.getEnumAnnotationAttributeAccess().getAttributeKeyword_1()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:631:1: ( (lv_name_3_0= RULE_ID ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:632:1: (lv_name_3_0= RULE_ID ) + // InternalETMap.g:631:1: ( (lv_name_3_0= RULE_ID ) ) + // InternalETMap.g:632:1: (lv_name_3_0= RULE_ID ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:632:1: (lv_name_3_0= RULE_ID ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:633:3: lv_name_3_0= RULE_ID + // InternalETMap.g:632:1: (lv_name_3_0= RULE_ID ) + // InternalETMap.g:633:3: lv_name_3_0= RULE_ID { - lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute1401); + lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_14); newLeafNode(lv_name_3_0, grammarAccess.getEnumAnnotationAttributeAccess().getNameIDTerminalRuleCall_2_0()); @@ -1611,7 +1611,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "name", lv_name_3_0, - "ID"); + "org.eclipse.xtext.common.Terminals.ID"); } @@ -1619,21 +1619,21 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_4=(Token)match(input,23,FOLLOW_23_in_ruleEnumAnnotationAttribute1418); + otherlv_4=(Token)match(input,23,FOLLOW_4); newLeafNode(otherlv_4, grammarAccess.getEnumAnnotationAttributeAccess().getColonKeyword_3()); - otherlv_5=(Token)match(input,13,FOLLOW_13_in_ruleEnumAnnotationAttribute1430); + otherlv_5=(Token)match(input,13,FOLLOW_16); newLeafNode(otherlv_5, grammarAccess.getEnumAnnotationAttributeAccess().getLeftCurlyBracketKeyword_4()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:657:1: ( (lv_values_6_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:658:1: (lv_values_6_0= RULE_STRING ) + // InternalETMap.g:657:1: ( (lv_values_6_0= RULE_STRING ) ) + // InternalETMap.g:658:1: (lv_values_6_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:658:1: (lv_values_6_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:659:3: lv_values_6_0= RULE_STRING + // InternalETMap.g:658:1: (lv_values_6_0= RULE_STRING ) + // InternalETMap.g:659:3: lv_values_6_0= RULE_STRING { - lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute1447); + lv_values_6_0=(Token)match(input,RULE_STRING,FOLLOW_17); newLeafNode(lv_values_6_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_5_0()); @@ -1645,7 +1645,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "values", lv_values_6_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } @@ -1653,7 +1653,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:675:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* + // InternalETMap.g:675:2: (otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) )* loop9: do { int alt9=2; @@ -1666,19 +1666,19 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:675:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) + // InternalETMap.g:675:4: otherlv_7= ',' ( (lv_values_8_0= RULE_STRING ) ) { - otherlv_7=(Token)match(input,24,FOLLOW_24_in_ruleEnumAnnotationAttribute1465); + otherlv_7=(Token)match(input,24,FOLLOW_16); newLeafNode(otherlv_7, grammarAccess.getEnumAnnotationAttributeAccess().getCommaKeyword_6_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:679:1: ( (lv_values_8_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:680:1: (lv_values_8_0= RULE_STRING ) + // InternalETMap.g:679:1: ( (lv_values_8_0= RULE_STRING ) ) + // InternalETMap.g:680:1: (lv_values_8_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:680:1: (lv_values_8_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:681:3: lv_values_8_0= RULE_STRING + // InternalETMap.g:680:1: (lv_values_8_0= RULE_STRING ) + // InternalETMap.g:681:3: lv_values_8_0= RULE_STRING { - lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute1482); + lv_values_8_0=(Token)match(input,RULE_STRING,FOLLOW_17); newLeafNode(lv_values_8_0, grammarAccess.getEnumAnnotationAttributeAccess().getValuesSTRINGTerminalRuleCall_6_1_0()); @@ -1690,7 +1690,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "values", lv_values_8_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } @@ -1707,7 +1707,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleEnumAnnotationAttribute1501); + otherlv_9=(Token)match(input,14,FOLLOW_2); newLeafNode(otherlv_9, grammarAccess.getEnumAnnotationAttributeAccess().getRightCurlyBracketKeyword_7()); @@ -1732,7 +1732,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleImport" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:709:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + // InternalETMap.g:709:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; public final EObject entryRuleImport() throws RecognitionException { EObject current = null; @@ -1740,17 +1740,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:710:2: (iv_ruleImport= ruleImport EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:711:2: iv_ruleImport= ruleImport EOF + // InternalETMap.g:710:2: (iv_ruleImport= ruleImport EOF ) + // InternalETMap.g:711:2: iv_ruleImport= ruleImport EOF { newCompositeNode(grammarAccess.getImportRule()); - pushFollow(FOLLOW_ruleImport_in_entryRuleImport1537); + pushFollow(FOLLOW_1); iv_ruleImport=ruleImport(); state._fsp--; current =iv_ruleImport; - match(input,EOF,FOLLOW_EOF_in_entryRuleImport1547); + match(input,EOF,FOLLOW_2); } @@ -1768,7 +1768,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleImport" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:718: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 ) ) ) ; + // InternalETMap.g:718: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; @@ -1782,17 +1782,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:721: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.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:722:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) + // InternalETMap.g:721:28: ( (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) ) + // InternalETMap.g:722: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.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:722: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.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:722:3: otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) + // InternalETMap.g:722:1: (otherlv_0= 'import' ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) ( (lv_importURI_4_0= RULE_STRING ) ) ) + // InternalETMap.g:722: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,25,FOLLOW_25_in_ruleImport1584); + otherlv_0=(Token)match(input,25,FOLLOW_18); newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:726:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) + // InternalETMap.g:726:1: ( ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) | otherlv_3= 'model' ) int alt10=2; int LA10_0 = input.LA(1); @@ -1810,21 +1810,21 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:726:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) + // InternalETMap.g:726:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:726:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:726:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' + // InternalETMap.g:726:2: ( ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' ) + // InternalETMap.g:726:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) otherlv_2= 'from' { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:726:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:727:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + // InternalETMap.g:726:3: ( (lv_importedNamespace_1_0= ruleImportedFQN ) ) + // InternalETMap.g:727:1: (lv_importedNamespace_1_0= ruleImportedFQN ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:727:1: (lv_importedNamespace_1_0= ruleImportedFQN ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:728:3: lv_importedNamespace_1_0= ruleImportedFQN + // InternalETMap.g:727:1: (lv_importedNamespace_1_0= ruleImportedFQN ) + // InternalETMap.g:728:3: lv_importedNamespace_1_0= ruleImportedFQN { newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0()); - pushFollow(FOLLOW_ruleImportedFQN_in_ruleImport1607); + pushFollow(FOLLOW_19); lv_importedNamespace_1_0=ruleImportedFQN(); state._fsp--; @@ -1837,7 +1837,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "importedNamespace", lv_importedNamespace_1_0, - "ImportedFQN"); + "org.eclipse.etrice.core.common.Base.ImportedFQN"); afterParserOrEnumRuleCall(); @@ -1846,7 +1846,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_2=(Token)match(input,26,FOLLOW_26_in_ruleImport1619); + otherlv_2=(Token)match(input,26,FOLLOW_16); newLeafNode(otherlv_2, grammarAccess.getImportAccess().getFromKeyword_1_0_1()); @@ -1857,9 +1857,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:749:7: otherlv_3= 'model' + // InternalETMap.g:749:7: otherlv_3= 'model' { - otherlv_3=(Token)match(input,27,FOLLOW_27_in_ruleImport1638); + otherlv_3=(Token)match(input,27,FOLLOW_16); newLeafNode(otherlv_3, grammarAccess.getImportAccess().getModelKeyword_1_1()); @@ -1869,13 +1869,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:753:2: ( (lv_importURI_4_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:754:1: (lv_importURI_4_0= RULE_STRING ) + // InternalETMap.g:753:2: ( (lv_importURI_4_0= RULE_STRING ) ) + // InternalETMap.g:754:1: (lv_importURI_4_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:754:1: (lv_importURI_4_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:755:3: lv_importURI_4_0= RULE_STRING + // InternalETMap.g:754:1: (lv_importURI_4_0= RULE_STRING ) + // InternalETMap.g:755:3: lv_importURI_4_0= RULE_STRING { - lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleImport1656); + lv_importURI_4_0=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(lv_importURI_4_0, grammarAccess.getImportAccess().getImportURISTRINGTerminalRuleCall_2_0()); @@ -1887,7 +1887,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "importURI", lv_importURI_4_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } @@ -1916,7 +1916,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleImportedFQN" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:779:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + // InternalETMap.g:779:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; public final String entryRuleImportedFQN() throws RecognitionException { String current = null; @@ -1924,17 +1924,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:780:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:781:2: iv_ruleImportedFQN= ruleImportedFQN EOF + // InternalETMap.g:780:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // InternalETMap.g:781:2: iv_ruleImportedFQN= ruleImportedFQN EOF { newCompositeNode(grammarAccess.getImportedFQNRule()); - pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1698); + pushFollow(FOLLOW_1); iv_ruleImportedFQN=ruleImportedFQN(); state._fsp--; current =iv_ruleImportedFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN1709); + match(input,EOF,FOLLOW_2); } @@ -1952,7 +1952,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleImportedFQN" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:788:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + // InternalETMap.g:788:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -1963,16 +1963,16 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:791:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:792:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // InternalETMap.g:791:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // InternalETMap.g:792:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:792:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:793:5: this_FQN_0= ruleFQN (kw= '.*' )? + // InternalETMap.g:792:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // InternalETMap.g:793:5: this_FQN_0= ruleFQN (kw= '.*' )? { newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); - pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN1756); + pushFollow(FOLLOW_20); this_FQN_0=ruleFQN(); state._fsp--; @@ -1983,7 +1983,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { afterParserOrEnumRuleCall(); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:803:1: (kw= '.*' )? + // InternalETMap.g:803:1: (kw= '.*' )? int alt11=2; int LA11_0 = input.LA(1); @@ -1992,9 +1992,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:804:2: kw= '.*' + // InternalETMap.g:804:2: kw= '.*' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleImportedFQN1775); + kw=(Token)match(input,28,FOLLOW_2); current.merge(kw); newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); @@ -2026,7 +2026,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:817:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; + // InternalETMap.g:817:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; public final EObject entryRuleDocumentation() throws RecognitionException { EObject current = null; @@ -2034,17 +2034,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:818:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:819:2: iv_ruleDocumentation= ruleDocumentation EOF + // InternalETMap.g:818:2: (iv_ruleDocumentation= ruleDocumentation EOF ) + // InternalETMap.g:819:2: iv_ruleDocumentation= ruleDocumentation EOF { newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1817); + pushFollow(FOLLOW_1); iv_ruleDocumentation=ruleDocumentation(); state._fsp--; current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1827); + match(input,EOF,FOLLOW_2); } @@ -2062,7 +2062,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:826:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; + // InternalETMap.g:826:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; public final EObject ruleDocumentation() throws RecognitionException { EObject current = null; @@ -2073,14 +2073,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:829:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:830:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // InternalETMap.g:829:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) + // InternalETMap.g:830:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:830:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:830:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' + // InternalETMap.g:830:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // InternalETMap.g:830:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:830:2: () - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:831:5: + // InternalETMap.g:830:2: () + // InternalETMap.g:831:5: { current = forceCreateModelElement( @@ -2090,11 +2090,11 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,29,FOLLOW_29_in_ruleDocumentation1873); + otherlv_1=(Token)match(input,29,FOLLOW_21); newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:840:1: ( (lv_lines_2_0= RULE_STRING ) )* + // InternalETMap.g:840:1: ( (lv_lines_2_0= RULE_STRING ) )* loop12: do { int alt12=2; @@ -2107,12 +2107,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:841:1: (lv_lines_2_0= RULE_STRING ) + // InternalETMap.g:841:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:841:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:842:3: lv_lines_2_0= RULE_STRING + // InternalETMap.g:841:1: (lv_lines_2_0= RULE_STRING ) + // InternalETMap.g:842:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1890); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_21); newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -2124,7 +2124,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "lines", lv_lines_2_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } @@ -2138,7 +2138,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } } while (true); - otherlv_3=(Token)match(input,30,FOLLOW_30_in_ruleDocumentation1908); + otherlv_3=(Token)match(input,30,FOLLOW_2); newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); @@ -2163,7 +2163,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:874:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // InternalETMap.g:874:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -2171,17 +2171,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:875:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:876:2: iv_ruleLiteral= ruleLiteral EOF + // InternalETMap.g:875:2: (iv_ruleLiteral= ruleLiteral EOF ) + // InternalETMap.g:876:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1948); + pushFollow(FOLLOW_1); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1958); + match(input,EOF,FOLLOW_2); } @@ -2199,7 +2199,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:883:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; + // InternalETMap.g:883: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; @@ -2213,10 +2213,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:886:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:887:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // InternalETMap.g:886:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) + // InternalETMap.g:887:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:887:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // InternalETMap.g:887:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) int alt13=3; switch ( input.LA(1) ) { case 31: @@ -2247,12 +2247,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:888:5: this_BooleanLiteral_0= ruleBooleanLiteral + // InternalETMap.g:888:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral2005); + pushFollow(FOLLOW_2); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -2265,12 +2265,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:898:5: this_NumberLiteral_1= ruleNumberLiteral + // InternalETMap.g:898:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral2032); + pushFollow(FOLLOW_2); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -2283,12 +2283,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:908:5: this_StringLiteral_2= ruleStringLiteral + // InternalETMap.g:908:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral2059); + pushFollow(FOLLOW_2); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -2321,7 +2321,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBooleanLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:924:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; + // InternalETMap.g:924:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -2329,17 +2329,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:925:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:926:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF + // InternalETMap.g:925:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // InternalETMap.g:926:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2094); + pushFollow(FOLLOW_1); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral2104); + match(input,EOF,FOLLOW_2); } @@ -2357,7 +2357,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBooleanLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:933:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; + // InternalETMap.g:933:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -2367,14 +2367,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:936:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:937:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // InternalETMap.g:936:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) + // InternalETMap.g:937:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:937:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:937:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // InternalETMap.g:937:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // InternalETMap.g:937:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:937:2: () - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:938:5: + // InternalETMap.g:937:2: () + // InternalETMap.g:938:5: { current = forceCreateModelElement( @@ -2384,7 +2384,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:943:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // InternalETMap.g:943:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) int alt14=2; int LA14_0 = input.LA(1); @@ -2402,9 +2402,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:943:4: otherlv_1= 'false' + // InternalETMap.g:943:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleBooleanLiteral2151); + otherlv_1=(Token)match(input,31,FOLLOW_2); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -2412,15 +2412,15 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:948:6: ( (lv_isTrue_2_0= 'true' ) ) + // InternalETMap.g:948:6: ( (lv_isTrue_2_0= 'true' ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:948:6: ( (lv_isTrue_2_0= 'true' ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:949:1: (lv_isTrue_2_0= 'true' ) + // InternalETMap.g:948:6: ( (lv_isTrue_2_0= 'true' ) ) + // InternalETMap.g:949:1: (lv_isTrue_2_0= 'true' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:949:1: (lv_isTrue_2_0= 'true' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:950:3: lv_isTrue_2_0= 'true' + // InternalETMap.g:949:1: (lv_isTrue_2_0= 'true' ) + // InternalETMap.g:950:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,32,FOLLOW_32_in_ruleBooleanLiteral2175); + lv_isTrue_2_0=(Token)match(input,32,FOLLOW_2); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -2463,7 +2463,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumberLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:971:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; + // InternalETMap.g:971:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -2471,17 +2471,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:972:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:973:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF + // InternalETMap.g:972:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // InternalETMap.g:973:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2225); + pushFollow(FOLLOW_1); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2235); + match(input,EOF,FOLLOW_2); } @@ -2499,7 +2499,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumberLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:980:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; + // InternalETMap.g:980:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -2511,10 +2511,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:983:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:984:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // InternalETMap.g:983:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) + // InternalETMap.g:984:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:984:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // InternalETMap.g:984:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) int alt15=2; switch ( input.LA(1) ) { case 33: @@ -2605,12 +2605,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt15) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:985:5: this_IntLiteral_0= ruleIntLiteral + // InternalETMap.g:985:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2282); + pushFollow(FOLLOW_2); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -2623,12 +2623,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:995:5: this_RealLiteral_1= ruleRealLiteral + // InternalETMap.g:995:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2309); + pushFollow(FOLLOW_2); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -2661,7 +2661,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRealLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1011:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + // InternalETMap.g:1011:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -2669,17 +2669,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1012:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1013:2: iv_ruleRealLiteral= ruleRealLiteral EOF + // InternalETMap.g:1012:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // InternalETMap.g:1013:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2344); + pushFollow(FOLLOW_1); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2354); + match(input,EOF,FOLLOW_2); } @@ -2697,7 +2697,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRealLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1020:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; + // InternalETMap.g:1020:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -2707,14 +2707,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1023:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1024:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // InternalETMap.g:1023:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // InternalETMap.g:1024:1: ( () ( (lv_value_1_0= ruleReal ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1024:1: ( () ( (lv_value_1_0= ruleReal ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1024:2: () ( (lv_value_1_0= ruleReal ) ) + // InternalETMap.g:1024:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // InternalETMap.g:1024:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1024:2: () - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1025:5: + // InternalETMap.g:1024:2: () + // InternalETMap.g:1025:5: { current = forceCreateModelElement( @@ -2724,16 +2724,16 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1030:2: ( (lv_value_1_0= ruleReal ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1031:1: (lv_value_1_0= ruleReal ) + // InternalETMap.g:1030:2: ( (lv_value_1_0= ruleReal ) ) + // InternalETMap.g:1031:1: (lv_value_1_0= ruleReal ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1031:1: (lv_value_1_0= ruleReal ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1032:3: lv_value_1_0= ruleReal + // InternalETMap.g:1031:1: (lv_value_1_0= ruleReal ) + // InternalETMap.g:1032:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2409); + pushFollow(FOLLOW_2); lv_value_1_0=ruleReal(); state._fsp--; @@ -2746,7 +2746,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "value", lv_value_1_0, - "Real"); + "org.eclipse.etrice.core.common.Base.Real"); afterParserOrEnumRuleCall(); @@ -2776,7 +2776,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleIntLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1056:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + // InternalETMap.g:1056:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -2784,17 +2784,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1057:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1058:2: iv_ruleIntLiteral= ruleIntLiteral EOF + // InternalETMap.g:1057:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // InternalETMap.g:1058:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2445); + pushFollow(FOLLOW_1); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral2455); + match(input,EOF,FOLLOW_2); } @@ -2812,7 +2812,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIntLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1065:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; + // InternalETMap.g:1065:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -2822,14 +2822,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1068:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1069:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // InternalETMap.g:1068:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // InternalETMap.g:1069:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1069:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1069:2: () ( (lv_value_1_0= ruleInteger ) ) + // InternalETMap.g:1069:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // InternalETMap.g:1069:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1069:2: () - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1070:5: + // InternalETMap.g:1069:2: () + // InternalETMap.g:1070:5: { current = forceCreateModelElement( @@ -2839,16 +2839,16 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1075:2: ( (lv_value_1_0= ruleInteger ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1076:1: (lv_value_1_0= ruleInteger ) + // InternalETMap.g:1075:2: ( (lv_value_1_0= ruleInteger ) ) + // InternalETMap.g:1076:1: (lv_value_1_0= ruleInteger ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1076:1: (lv_value_1_0= ruleInteger ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1077:3: lv_value_1_0= ruleInteger + // InternalETMap.g:1076:1: (lv_value_1_0= ruleInteger ) + // InternalETMap.g:1077:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral2510); + pushFollow(FOLLOW_2); lv_value_1_0=ruleInteger(); state._fsp--; @@ -2861,7 +2861,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "value", lv_value_1_0, - "Integer"); + "org.eclipse.etrice.core.common.Base.Integer"); afterParserOrEnumRuleCall(); @@ -2891,7 +2891,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1101:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // InternalETMap.g:1101:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -2899,17 +2899,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1102:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1103:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // InternalETMap.g:1102:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // InternalETMap.g:1103:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2546); + pushFollow(FOLLOW_1); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral2556); + match(input,EOF,FOLLOW_2); } @@ -2927,7 +2927,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1110:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; + // InternalETMap.g:1110:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -2936,14 +2936,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1113:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1114:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // InternalETMap.g:1113:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // InternalETMap.g:1114:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1114:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1114:2: () ( (lv_value_1_0= RULE_STRING ) ) + // InternalETMap.g:1114:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // InternalETMap.g:1114:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1114:2: () - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1115:5: + // InternalETMap.g:1114:2: () + // InternalETMap.g:1115:5: { current = forceCreateModelElement( @@ -2953,13 +2953,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1120:2: ( (lv_value_1_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1121:1: (lv_value_1_0= RULE_STRING ) + // InternalETMap.g:1120:2: ( (lv_value_1_0= RULE_STRING ) ) + // InternalETMap.g:1121:1: (lv_value_1_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1121:1: (lv_value_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1122:3: lv_value_1_0= RULE_STRING + // InternalETMap.g:1121:1: (lv_value_1_0= RULE_STRING ) + // InternalETMap.g:1122:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral2607); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -2971,7 +2971,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { current, "value", lv_value_1_0, - "STRING"); + "org.eclipse.xtext.common.Terminals.STRING"); } @@ -3000,7 +3000,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1146:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // InternalETMap.g:1146:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -3008,17 +3008,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1147:2: (iv_ruleInteger= ruleInteger EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1148:2: iv_ruleInteger= ruleInteger EOF + // InternalETMap.g:1147:2: (iv_ruleInteger= ruleInteger EOF ) + // InternalETMap.g:1148:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger2649); + pushFollow(FOLLOW_1); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger2660); + match(input,EOF,FOLLOW_2); } @@ -3036,7 +3036,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1155:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ; + // InternalETMap.g:1155:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3047,10 +3047,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1158:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) + // InternalETMap.g:1158:28: ( ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) ) + // InternalETMap.g:1159:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) + // InternalETMap.g:1159:1: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) | this_HEX_3= RULE_HEX ) int alt17=2; int LA17_0 = input.LA(1); @@ -3068,12 +3068,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt17) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // InternalETMap.g:1159:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT + // InternalETMap.g:1159:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // InternalETMap.g:1159:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1159:3: (kw= '+' | kw= '-' )? + // InternalETMap.g:1159:3: (kw= '+' | kw= '-' )? int alt16=3; int LA16_0 = input.LA(1); @@ -3085,9 +3085,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1160:2: kw= '+' + // InternalETMap.g:1160:2: kw= '+' { - kw=(Token)match(input,33,FOLLOW_33_in_ruleInteger2700); + kw=(Token)match(input,33,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getIntegerAccess().getPlusSignKeyword_0_0_0()); @@ -3096,9 +3096,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1167:2: kw= '-' + // InternalETMap.g:1167:2: kw= '-' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleInteger2719); + kw=(Token)match(input,34,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0_0_1()); @@ -3109,7 +3109,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleInteger2736); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); current.merge(this_INT_2); @@ -3123,9 +3123,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1180:10: this_HEX_3= RULE_HEX + // InternalETMap.g:1180:10: this_HEX_3= RULE_HEX { - this_HEX_3=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleInteger2763); + this_HEX_3=(Token)match(input,RULE_HEX,FOLLOW_2); current.merge(this_HEX_3); @@ -3156,7 +3156,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1195:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // InternalETMap.g:1195:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -3164,17 +3164,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1196:2: (iv_ruleReal= ruleReal EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1197:2: iv_ruleReal= ruleReal EOF + // InternalETMap.g:1196:2: (iv_ruleReal= ruleReal EOF ) + // InternalETMap.g:1197:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal2809); + pushFollow(FOLLOW_1); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal2820); + match(input,EOF,FOLLOW_2); } @@ -3192,7 +3192,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1204:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ; + // InternalETMap.g:1204:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3204,10 +3204,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1207:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1208:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) + // InternalETMap.g:1207:28: ( (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) ) + // InternalETMap.g:1208:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1208:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) + // InternalETMap.g:1208:1: (this_Decimal_0= ruleDecimal | this_DecimalExp_1= ruleDecimalExp ) int alt18=2; switch ( input.LA(1) ) { case 33: @@ -3353,12 +3353,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt18) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1209:5: this_Decimal_0= ruleDecimal + // InternalETMap.g:1209:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal2867); + pushFollow(FOLLOW_2); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -3373,12 +3373,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1221:5: this_DecimalExp_1= ruleDecimalExp + // InternalETMap.g:1221:5: this_DecimalExp_1= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_1()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2900); + pushFollow(FOLLOW_2); this_DecimalExp_1=ruleDecimalExp(); state._fsp--; @@ -3413,7 +3413,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimal" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1239:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; + // InternalETMap.g:1239:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -3424,17 +3424,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1243:2: (iv_ruleDecimal= ruleDecimal EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1244:2: iv_ruleDecimal= ruleDecimal EOF + // InternalETMap.g:1243:2: (iv_ruleDecimal= ruleDecimal EOF ) + // InternalETMap.g:1244:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal2952); + pushFollow(FOLLOW_1); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal2963); + match(input,EOF,FOLLOW_2); } @@ -3455,7 +3455,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimal" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1254:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; + // InternalETMap.g:1254: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(); @@ -3467,13 +3467,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1258:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1259:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // InternalETMap.g:1258:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) + // InternalETMap.g:1259:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1259:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1259:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT + // InternalETMap.g:1259:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // InternalETMap.g:1259:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1259:2: (kw= '+' | kw= '-' )? + // InternalETMap.g:1259:2: (kw= '+' | kw= '-' )? int alt19=3; int LA19_0 = input.LA(1); @@ -3485,9 +3485,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt19) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1260:2: kw= '+' + // InternalETMap.g:1260:2: kw= '+' { - kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimal3006); + kw=(Token)match(input,33,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -3496,9 +3496,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1267:2: kw= '-' + // InternalETMap.g:1267:2: kw= '-' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimal3025); + kw=(Token)match(input,34,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -3509,19 +3509,19 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3042); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_23); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimal3060); + kw=(Token)match(input,35,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3075); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); current.merge(this_INT_4); @@ -3552,7 +3552,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalExp" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1303:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; + // InternalETMap.g:1303:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -3563,17 +3563,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1307:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1308:2: iv_ruleDecimalExp= ruleDecimalExp EOF + // InternalETMap.g:1307:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // InternalETMap.g:1308:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3131); + pushFollow(FOLLOW_1); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp3142); + match(input,EOF,FOLLOW_2); } @@ -3594,7 +3594,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1318:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ; + // InternalETMap.g:1318:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3607,13 +3607,13 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1322:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1323:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) + // InternalETMap.g:1322:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) ) + // InternalETMap.g:1323:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1323:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1323:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT + // InternalETMap.g:1323:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT ) + // InternalETMap.g:1323:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT (kw= 'e' | kw= 'E' ) (kw= '+' | kw= '-' )? this_INT_9= RULE_INT { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1323:2: (kw= '+' | kw= '-' )? + // InternalETMap.g:1323:2: (kw= '+' | kw= '-' )? int alt20=3; int LA20_0 = input.LA(1); @@ -3625,9 +3625,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt20) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1324:2: kw= '+' + // InternalETMap.g:1324:2: kw= '+' { - kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimalExp3185); + kw=(Token)match(input,33,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -3636,9 +3636,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1331:2: kw= '-' + // InternalETMap.g:1331:2: kw= '-' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp3204); + kw=(Token)match(input,34,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -3649,26 +3649,26 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3221); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_23); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,35,FOLLOW_35_in_ruleDecimalExp3239); + kw=(Token)match(input,35,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3254); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_24); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1356:1: (kw= 'e' | kw= 'E' ) + // InternalETMap.g:1356:1: (kw= 'e' | kw= 'E' ) int alt21=2; int LA21_0 = input.LA(1); @@ -3686,9 +3686,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt21) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1357:2: kw= 'e' + // InternalETMap.g:1357:2: kw= 'e' { - kw=(Token)match(input,36,FOLLOW_36_in_ruleDecimalExp3273); + kw=(Token)match(input,36,FOLLOW_25); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_0()); @@ -3697,9 +3697,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1364:2: kw= 'E' + // InternalETMap.g:1364:2: kw= 'E' { - kw=(Token)match(input,37,FOLLOW_37_in_ruleDecimalExp3292); + kw=(Token)match(input,37,FOLLOW_25); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getEKeyword_4_1()); @@ -3710,7 +3710,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1369:2: (kw= '+' | kw= '-' )? + // InternalETMap.g:1369:2: (kw= '+' | kw= '-' )? int alt22=3; int LA22_0 = input.LA(1); @@ -3722,9 +3722,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } switch (alt22) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1370:2: kw= '+' + // InternalETMap.g:1370:2: kw= '+' { - kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimalExp3307); + kw=(Token)match(input,33,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_5_0()); @@ -3733,9 +3733,9 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1377:2: kw= '-' + // InternalETMap.g:1377:2: kw= '-' { - kw=(Token)match(input,34,FOLLOW_34_in_ruleDecimalExp3326); + kw=(Token)match(input,34,FOLLOW_22); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_5_1()); @@ -3746,7 +3746,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } - this_INT_9=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3343); + this_INT_9=(Token)match(input,RULE_INT,FOLLOW_2); current.merge(this_INT_9); @@ -3777,7 +3777,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1400:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + // InternalETMap.g:1400:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; public final String entryRuleFQN() throws RecognitionException { String current = null; @@ -3785,17 +3785,17 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1401:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1402:2: iv_ruleFQN= ruleFQN EOF + // InternalETMap.g:1401:2: (iv_ruleFQN= ruleFQN EOF ) + // InternalETMap.g:1402:2: iv_ruleFQN= ruleFQN EOF { newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3393); + pushFollow(FOLLOW_1); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3404); + match(input,EOF,FOLLOW_2); } @@ -3813,7 +3813,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1409:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + // InternalETMap.g:1409: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(); @@ -3824,20 +3824,20 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1412:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1413:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalETMap.g:1412:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // InternalETMap.g:1413:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1413:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1413:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + // InternalETMap.g:1413:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // InternalETMap.g:1413:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3444); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_26); current.merge(this_ID_0); newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1420:1: (kw= '.' this_ID_2= RULE_ID )* + // InternalETMap.g:1420:1: (kw= '.' this_ID_2= RULE_ID )* loop23: do { int alt23=2; @@ -3850,14 +3850,14 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt23) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1421:2: kw= '.' this_ID_2= RULE_ID + // InternalETMap.g:1421:2: kw= '.' this_ID_2= RULE_ID { - kw=(Token)match(input,35,FOLLOW_35_in_ruleFQN3463); + kw=(Token)match(input,35,FOLLOW_3); current.merge(kw); newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3478); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_26); current.merge(this_ID_2); @@ -3894,7 +3894,7 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteralType" - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1441:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; + // InternalETMap.g:1441:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; public final Enumerator ruleLiteralType() throws RecognitionException { Enumerator current = null; @@ -3905,10 +3905,10 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1443:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1444:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + // InternalETMap.g:1443:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) + // InternalETMap.g:1444:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1444:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + // InternalETMap.g:1444:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) int alt24=4; switch ( input.LA(1) ) { case 38: @@ -3940,12 +3940,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { switch (alt24) { case 1 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1444:2: (enumLiteral_0= 'ptBoolean' ) + // InternalETMap.g:1444:2: (enumLiteral_0= 'ptBoolean' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1444:2: (enumLiteral_0= 'ptBoolean' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1444:4: enumLiteral_0= 'ptBoolean' + // InternalETMap.g:1444:2: (enumLiteral_0= 'ptBoolean' ) + // InternalETMap.g:1444:4: enumLiteral_0= 'ptBoolean' { - enumLiteral_0=(Token)match(input,38,FOLLOW_38_in_ruleLiteralType3539); + enumLiteral_0=(Token)match(input,38,FOLLOW_2); current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); @@ -3957,12 +3957,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1450:6: (enumLiteral_1= 'ptInteger' ) + // InternalETMap.g:1450:6: (enumLiteral_1= 'ptInteger' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1450:6: (enumLiteral_1= 'ptInteger' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1450:8: enumLiteral_1= 'ptInteger' + // InternalETMap.g:1450:6: (enumLiteral_1= 'ptInteger' ) + // InternalETMap.g:1450:8: enumLiteral_1= 'ptInteger' { - enumLiteral_1=(Token)match(input,39,FOLLOW_39_in_ruleLiteralType3556); + enumLiteral_1=(Token)match(input,39,FOLLOW_2); current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); @@ -3974,12 +3974,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1456:6: (enumLiteral_2= 'ptReal' ) + // InternalETMap.g:1456:6: (enumLiteral_2= 'ptReal' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1456:6: (enumLiteral_2= 'ptReal' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1456:8: enumLiteral_2= 'ptReal' + // InternalETMap.g:1456:6: (enumLiteral_2= 'ptReal' ) + // InternalETMap.g:1456:8: enumLiteral_2= 'ptReal' { - enumLiteral_2=(Token)match(input,40,FOLLOW_40_in_ruleLiteralType3573); + enumLiteral_2=(Token)match(input,40,FOLLOW_2); current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); @@ -3991,12 +3991,12 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1462:6: (enumLiteral_3= 'ptCharacter' ) + // InternalETMap.g:1462:6: (enumLiteral_3= 'ptCharacter' ) { - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1462:6: (enumLiteral_3= 'ptCharacter' ) - // ../org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMap.g:1462:8: enumLiteral_3= 'ptCharacter' + // InternalETMap.g:1462:6: (enumLiteral_3= 'ptCharacter' ) + // InternalETMap.g:1462:8: enumLiteral_3= 'ptCharacter' { - enumLiteral_3=(Token)match(input,41,FOLLOW_41_in_ruleLiteralType3590); + enumLiteral_3=(Token)match(input,41,FOLLOW_2); current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); @@ -4031,145 +4031,31 @@ public class InternalETMapParser extends AbstractInternalAntlrParser { - public static final BitSet FOLLOW_ruleMappingModel_in_entryRuleMappingModel75 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleMappingModel85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_12_in_ruleMappingModel122 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleMappingModel143 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleMappingModel155 = new BitSet(new long[]{0x000000000200C000L}); - public static final BitSet FOLLOW_ruleImport_in_ruleMappingModel176 = new BitSet(new long[]{0x000000000200C000L}); - public static final BitSet FOLLOW_ruleMapping_in_ruleMappingModel198 = new BitSet(new long[]{0x000000000000C000L}); - public static final BitSet FOLLOW_14_in_ruleMappingModel211 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleMapping_in_entryRuleMapping247 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleMapping257 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_15_in_ruleMapping294 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleMapping317 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleMapping329 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleMapping352 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleMapping364 = new BitSet(new long[]{0x0000000000024000L}); - public static final BitSet FOLLOW_ruleSubSystemMapping_in_ruleMapping385 = new BitSet(new long[]{0x0000000000024000L}); - public static final BitSet FOLLOW_14_in_ruleMapping398 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSubSystemMapping_in_entryRuleSubSystemMapping434 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSubSystemMapping444 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_17_in_ruleSubSystemMapping481 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSubSystemMapping501 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleSubSystemMapping513 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSubSystemMapping533 = new BitSet(new long[]{0x0000000000002002L}); - public static final BitSet FOLLOW_13_in_ruleSubSystemMapping546 = new BitSet(new long[]{0x0000000000044000L}); - public static final BitSet FOLLOW_ruleThreadMapping_in_ruleSubSystemMapping567 = new BitSet(new long[]{0x0000000000044000L}); - public static final BitSet FOLLOW_14_in_ruleSubSystemMapping580 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleThreadMapping_in_entryRuleThreadMapping618 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleThreadMapping628 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_18_in_ruleThreadMapping665 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleThreadMapping685 = new BitSet(new long[]{0x0000000000010000L}); - public static final BitSet FOLLOW_16_in_ruleThreadMapping697 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleThreadMapping717 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue755 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue765 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue807 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_19_in_ruleKeyValue824 = new BitSet(new long[]{0x00000007800000E0L}); - public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue845 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType884 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType895 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationTargetType934 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAnnotationAttribute_in_entryRuleAnnotationAttribute978 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationAttribute988 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_ruleAnnotationAttribute1035 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_ruleAnnotationAttribute1062 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSimpleAnnotationAttribute_in_entryRuleSimpleAnnotationAttribute1097 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAnnotationAttribute1107 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_ruleSimpleAnnotationAttribute1151 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_21_in_ruleSimpleAnnotationAttribute1182 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleSimpleAnnotationAttribute1195 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute1212 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_23_in_ruleSimpleAnnotationAttribute1229 = new BitSet(new long[]{0x000003C000000000L}); - public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute1250 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute1286 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute1296 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_20_in_ruleEnumAnnotationAttribute1340 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_21_in_ruleEnumAnnotationAttribute1371 = new BitSet(new long[]{0x0000000000400000L}); - public static final BitSet FOLLOW_22_in_ruleEnumAnnotationAttribute1384 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleEnumAnnotationAttribute1401 = new BitSet(new long[]{0x0000000000800000L}); - public static final BitSet FOLLOW_23_in_ruleEnumAnnotationAttribute1418 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_13_in_ruleEnumAnnotationAttribute1430 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute1447 = new BitSet(new long[]{0x0000000001004000L}); - public static final BitSet FOLLOW_24_in_ruleEnumAnnotationAttribute1465 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute1482 = new BitSet(new long[]{0x0000000001004000L}); - public static final BitSet FOLLOW_14_in_ruleEnumAnnotationAttribute1501 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImport_in_entryRuleImport1537 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImport1547 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_25_in_ruleImport1584 = new BitSet(new long[]{0x0000000008000010L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_ruleImport1607 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_26_in_ruleImport1619 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_27_in_ruleImport1638 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleImport1656 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1698 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN1709 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN1756 = new BitSet(new long[]{0x0000000010000002L}); - public static final BitSet FOLLOW_28_in_ruleImportedFQN1775 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1817 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1827 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_29_in_ruleDocumentation1873 = new BitSet(new long[]{0x0000000040000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1890 = new BitSet(new long[]{0x0000000040000020L}); - public static final BitSet FOLLOW_30_in_ruleDocumentation1908 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1948 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1958 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral2005 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral2032 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral2059 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral2094 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral2104 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_31_in_ruleBooleanLiteral2151 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_32_in_ruleBooleanLiteral2175 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral2225 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral2235 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2282 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2309 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2344 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2354 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2409 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2445 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral2455 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral2510 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2546 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral2556 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral2607 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger2649 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInteger2660 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_33_in_ruleInteger2700 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_34_in_ruleInteger2719 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleInteger2736 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_HEX_in_ruleInteger2763 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2809 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleReal2820 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2867 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2900 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal2952 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimal2963 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_33_in_ruleDecimal3006 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_34_in_ruleDecimal3025 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3042 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleDecimal3060 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3075 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3131 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp3142 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_33_in_ruleDecimalExp3185 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_34_in_ruleDecimalExp3204 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3221 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleDecimalExp3239 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3254 = new BitSet(new long[]{0x0000003000000000L}); - public static final BitSet FOLLOW_36_in_ruleDecimalExp3273 = new BitSet(new long[]{0x0000000600000040L}); - public static final BitSet FOLLOW_37_in_ruleDecimalExp3292 = new BitSet(new long[]{0x0000000600000040L}); - public static final BitSet FOLLOW_33_in_ruleDecimalExp3307 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_34_in_ruleDecimalExp3326 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3343 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3393 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN3404 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3444 = new BitSet(new long[]{0x0000000800000002L}); - public static final BitSet FOLLOW_35_in_ruleFQN3463 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3478 = new BitSet(new long[]{0x0000000800000002L}); - public static final BitSet FOLLOW_38_in_ruleLiteralType3539 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_39_in_ruleLiteralType3556 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleLiteralType3573 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_41_in_ruleLiteralType3590 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x000000000200C000L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x000000000000C000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000024000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000002002L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000044000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000007800000E0L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000800000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x000003C000000000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000001004000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000008000010L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000020L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000800000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000003000000000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000600000040L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000800000002L}); }
\ No newline at end of file diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSemanticSequencer.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSemanticSequencer.java index 461fe5519..2416db0f7 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSemanticSequencer.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSemanticSequencer.java @@ -1,8 +1,12 @@ +/* + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.serializer; import com.google.inject.Inject; -import com.google.inject.Provider; +import java.util.Set; import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; import org.eclipse.etrice.core.common.base.Annotation; import org.eclipse.etrice.core.common.base.AnnotationType; import org.eclipse.etrice.core.common.base.BasePackage; @@ -23,14 +27,11 @@ import org.eclipse.etrice.core.etmap.eTMap.MappingModel; import org.eclipse.etrice.core.etmap.eTMap.SubSystemMapping; import org.eclipse.etrice.core.etmap.eTMap.ThreadMapping; import org.eclipse.etrice.core.etmap.services.ETMapGrammarAccess; -import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; +import org.eclipse.xtext.Action; +import org.eclipse.xtext.Parameter; +import org.eclipse.xtext.ParserRule; +import org.eclipse.xtext.serializer.ISerializationContext; import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; -import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; -import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; -import org.eclipse.xtext.serializer.sequencer.GenericSequencer; -import org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider; -import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; -import org.eclipse.xtext.serializer.sequencer.ITransientValueService; import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; @SuppressWarnings("all") @@ -39,160 +40,125 @@ public class ETMapSemanticSequencer extends BaseSemanticSequencer { @Inject private ETMapGrammarAccess grammarAccess; - public void createSequence(EObject context, EObject semanticObject) { - if(semanticObject.eClass().getEPackage() == BasePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + @Override + public void sequence(ISerializationContext context, EObject semanticObject) { + EPackage epackage = semanticObject.eClass().getEPackage(); + ParserRule rule = context.getParserRule(); + Action action = context.getAssignedAction(); + Set<Parameter> parameters = context.getEnabledBooleanParameters(); + if (epackage == BasePackage.eINSTANCE) + switch (semanticObject.eClass().getClassifierID()) { case BasePackage.ANNOTATION: - if(context == grammarAccess.getAnnotationRule()) { - sequence_Annotation(context, (Annotation) semanticObject); - return; - } - else break; + sequence_Annotation(context, (Annotation) semanticObject); + return; case BasePackage.ANNOTATION_TYPE: - if(context == grammarAccess.getAnnotationTypeRule()) { - sequence_AnnotationType(context, (AnnotationType) semanticObject); - return; - } - else break; + sequence_AnnotationType(context, (AnnotationType) semanticObject); + return; case BasePackage.BOOLEAN_LITERAL: - if(context == grammarAccess.getBooleanLiteralRule() || - context == grammarAccess.getLiteralRule()) { - sequence_BooleanLiteral(context, (BooleanLiteral) semanticObject); - return; - } - else break; + sequence_BooleanLiteral(context, (BooleanLiteral) semanticObject); + return; case BasePackage.DOCUMENTATION: - if(context == grammarAccess.getDocumentationRule()) { - sequence_Documentation(context, (Documentation) semanticObject); - return; - } - else break; + sequence_Documentation(context, (Documentation) semanticObject); + return; case BasePackage.ENUM_ANNOTATION_ATTRIBUTE: - if(context == grammarAccess.getAnnotationAttributeRule() || - context == grammarAccess.getEnumAnnotationAttributeRule()) { - sequence_EnumAnnotationAttribute(context, (EnumAnnotationAttribute) semanticObject); - return; - } - else break; + sequence_EnumAnnotationAttribute(context, (EnumAnnotationAttribute) semanticObject); + return; case BasePackage.IMPORT: - if(context == grammarAccess.getImportRule()) { - sequence_Import(context, (Import) semanticObject); - return; - } - else break; + sequence_Import(context, (Import) semanticObject); + return; case BasePackage.INT_LITERAL: - if(context == grammarAccess.getIntLiteralRule() || - context == grammarAccess.getLiteralRule() || - context == grammarAccess.getNumberLiteralRule()) { - sequence_IntLiteral(context, (IntLiteral) semanticObject); - return; - } - else break; + sequence_IntLiteral(context, (IntLiteral) semanticObject); + return; case BasePackage.KEY_VALUE: - if(context == grammarAccess.getKeyValueRule()) { - sequence_KeyValue(context, (KeyValue) semanticObject); - return; - } - else break; + sequence_KeyValue(context, (KeyValue) semanticObject); + return; case BasePackage.LITERAL_ARRAY: - if(context == grammarAccess.getLiteralArrayRule()) { - sequence_LiteralArray(context, (LiteralArray) semanticObject); - return; - } - else break; + sequence_LiteralArray(context, (LiteralArray) semanticObject); + return; case BasePackage.REAL_LITERAL: - if(context == grammarAccess.getLiteralRule() || - context == grammarAccess.getNumberLiteralRule() || - context == grammarAccess.getRealLiteralRule()) { - sequence_RealLiteral(context, (RealLiteral) semanticObject); - return; - } - else break; + sequence_RealLiteral(context, (RealLiteral) semanticObject); + return; case BasePackage.SIMPLE_ANNOTATION_ATTRIBUTE: - if(context == grammarAccess.getAnnotationAttributeRule() || - context == grammarAccess.getSimpleAnnotationAttributeRule()) { - sequence_SimpleAnnotationAttribute(context, (SimpleAnnotationAttribute) semanticObject); - return; - } - else break; + sequence_SimpleAnnotationAttribute(context, (SimpleAnnotationAttribute) semanticObject); + return; case BasePackage.STRING_LITERAL: - if(context == grammarAccess.getLiteralRule() || - context == grammarAccess.getStringLiteralRule()) { - sequence_StringLiteral(context, (StringLiteral) semanticObject); - return; - } - else break; + sequence_StringLiteral(context, (StringLiteral) semanticObject); + return; } - else if(semanticObject.eClass().getEPackage() == ETMapPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { + else if (epackage == ETMapPackage.eINSTANCE) + switch (semanticObject.eClass().getClassifierID()) { case ETMapPackage.MAPPING: - if(context == grammarAccess.getMappingRule()) { - sequence_Mapping(context, (Mapping) semanticObject); - return; - } - else break; + sequence_Mapping(context, (Mapping) semanticObject); + return; case ETMapPackage.MAPPING_MODEL: - if(context == grammarAccess.getMappingModelRule()) { - sequence_MappingModel(context, (MappingModel) semanticObject); - return; - } - else break; + sequence_MappingModel(context, (MappingModel) semanticObject); + return; case ETMapPackage.SUB_SYSTEM_MAPPING: - if(context == grammarAccess.getSubSystemMappingRule()) { - sequence_SubSystemMapping(context, (SubSystemMapping) semanticObject); - return; - } - else break; + sequence_SubSystemMapping(context, (SubSystemMapping) semanticObject); + return; case ETMapPackage.THREAD_MAPPING: - if(context == grammarAccess.getThreadMappingRule()) { - sequence_ThreadMapping(context, (ThreadMapping) semanticObject); - return; - } - else break; + sequence_ThreadMapping(context, (ThreadMapping) semanticObject); + return; } - if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); + if (errorAcceptor != null) + errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); } /** + * Contexts: + * MappingModel returns MappingModel + * * Constraint: * (name=FQN imports+=Import* mappings+=Mapping*) */ - protected void sequence_MappingModel(EObject context, MappingModel semanticObject) { + protected void sequence_MappingModel(ISerializationContext context, MappingModel semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** + * Contexts: + * Mapping returns Mapping + * * Constraint: * (logicalSys=[LogicalSystem|FQN] physicalSys=[PhysicalSystem|FQN] subsysMappings+=SubSystemMapping*) */ - protected void sequence_Mapping(EObject context, Mapping semanticObject) { + protected void sequence_Mapping(ISerializationContext context, Mapping semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** + * Contexts: + * SubSystemMapping returns SubSystemMapping + * * Constraint: * (logicalSubSys=[SubSystemRef|ID] node=[NodeRef|ID] threadMappings+=ThreadMapping*) */ - protected void sequence_SubSystemMapping(EObject context, SubSystemMapping semanticObject) { + protected void sequence_SubSystemMapping(ISerializationContext context, SubSystemMapping semanticObject) { genericSequencer.createSequence(context, semanticObject); } /** + * Contexts: + * ThreadMapping returns ThreadMapping + * * Constraint: * (logicalThread=[LogicalThread|ID] physicalThread=[PhysicalThread|ID]) */ - protected void sequence_ThreadMapping(EObject context, ThreadMapping semanticObject) { - if(errorAcceptor != null) { - if(transientValues.isValueTransient(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__LOGICAL_THREAD) == ValueTransient.YES) + protected void sequence_ThreadMapping(ISerializationContext context, ThreadMapping semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__LOGICAL_THREAD) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__LOGICAL_THREAD)); - if(transientValues.isValueTransient(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__PHYSICAL_THREAD) == ValueTransient.YES) + if (transientValues.isValueTransient(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__PHYSICAL_THREAD) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ETMapPackage.Literals.THREAD_MAPPING__PHYSICAL_THREAD)); } - INodesForEObjectProvider nodes = createNodeProvider(semanticObject); - SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); feeder.accept(grammarAccess.getThreadMappingAccess().getLogicalThreadLogicalThreadIDTerminalRuleCall_1_0_1(), semanticObject.getLogicalThread()); feeder.accept(grammarAccess.getThreadMappingAccess().getPhysicalThreadPhysicalThreadIDTerminalRuleCall_3_0_1(), semanticObject.getPhysicalThread()); feeder.finish(); } + + } diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSyntacticSequencer.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSyntacticSequencer.java index 428c6c630..9b2dae0c3 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSyntacticSequencer.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/serializer/ETMapSyntacticSequencer.java @@ -1,3 +1,6 @@ +/* + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.serializer; import com.google.inject.Inject; @@ -38,15 +41,18 @@ public class ETMapSyntacticSequencer extends AbstractSyntacticSequencer { List<INode> transitionNodes = collectNodes(fromNode, toNode); for (AbstractElementAlias syntax : transition.getAmbiguousSyntaxes()) { List<INode> syntaxNodes = getNodesFor(transitionNodes, syntax); - if(match_SubSystemMapping___LeftCurlyBracketKeyword_4_0_RightCurlyBracketKeyword_4_2__q.equals(syntax)) + if (match_SubSystemMapping___LeftCurlyBracketKeyword_4_0_RightCurlyBracketKeyword_4_2__q.equals(syntax)) emit_SubSystemMapping___LeftCurlyBracketKeyword_4_0_RightCurlyBracketKeyword_4_2__q(semanticObject, getLastNavigableState(), syntaxNodes); else acceptNodes(getLastNavigableState(), syntaxNodes); } } /** - * Syntax: + * Ambiguous syntax: * ('{' '}')? + * + * This ambiguous syntax occurs at: + * node=[NodeRef|ID] (ambiguity) (rule end) */ protected void emit_SubSystemMapping___LeftCurlyBracketKeyword_4_0_RightCurlyBracketKeyword_4_2__q(EObject semanticObject, ISynNavigable transition, List<INode> nodes) { acceptNodes(transition, nodes); diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java index 1c820cf31..6151eaace 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.services; import com.google.inject.Singleton; @@ -13,13 +13,14 @@ import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.service.AbstractElementFinder.*; import org.eclipse.etrice.core.common.services.BaseGrammarAccess; +import org.eclipse.xtext.common.services.TerminalsGrammarAccess; @Singleton public class ETMapGrammarAccess extends AbstractGrammarElementFinder { public class MappingModelElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MappingModel"); + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etmap.ETMap.MappingModel"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cMappingModelKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -32,13 +33,16 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cRightCurlyBracketKeyword_5 = (Keyword)cGroup.eContents().get(5); //MappingModel: - // "MappingModel" name=FQN "{" imports+=Import* mappings+=Mapping* "}"; - public ParserRule getRule() { return rule; } + // 'MappingModel' name=FQN '{' + // imports+=Import* + // mappings+=Mapping* + // '}'; + @Override public ParserRule getRule() { return rule; } - //"MappingModel" name=FQN "{" imports+=Import* mappings+=Mapping* "}" + //'MappingModel' name=FQN '{' imports+=Import* mappings+=Mapping* '}' public Group getGroup() { return cGroup; } - //"MappingModel" + //'MappingModel' public Keyword getMappingModelKeyword_0() { return cMappingModelKeyword_0; } //name=FQN @@ -47,7 +51,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //FQN public RuleCall getNameFQNParserRuleCall_1_0() { return cNameFQNParserRuleCall_1_0; } - //"{" + //'{' public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } //imports+=Import* @@ -62,12 +66,12 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //Mapping public RuleCall getMappingsMappingParserRuleCall_4_0() { return cMappingsMappingParserRuleCall_4_0; } - //"}" + //'}' public Keyword getRightCurlyBracketKeyword_5() { return cRightCurlyBracketKeyword_5; } } public class MappingElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Mapping"); + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etmap.ETMap.Mapping"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cMappingKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLogicalSysAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -83,15 +87,16 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cRightCurlyBracketKeyword_6 = (Keyword)cGroup.eContents().get(6); //Mapping: - // "Mapping" logicalSys=[room::LogicalSystem|FQN] "->" physicalSys=[phys::PhysicalSystem|FQN] "{" - // subsysMappings+=SubSystemMapping* "}"; - public ParserRule getRule() { return rule; } + // 'Mapping' logicalSys=[room::LogicalSystem|FQN] '->' physicalSys=[phys::PhysicalSystem|FQN] '{' + // subsysMappings+=SubSystemMapping* + // '}'; + @Override public ParserRule getRule() { return rule; } - //"Mapping" logicalSys=[room::LogicalSystem|FQN] "->" physicalSys=[phys::PhysicalSystem|FQN] "{" - //subsysMappings+=SubSystemMapping* "}" + //'Mapping' logicalSys=[room::LogicalSystem|FQN] '->' physicalSys=[phys::PhysicalSystem|FQN] '{' + //subsysMappings+=SubSystemMapping* '}' public Group getGroup() { return cGroup; } - //"Mapping" + //'Mapping' public Keyword getMappingKeyword_0() { return cMappingKeyword_0; } //logicalSys=[room::LogicalSystem|FQN] @@ -103,7 +108,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //FQN public RuleCall getLogicalSysLogicalSystemFQNParserRuleCall_1_0_1() { return cLogicalSysLogicalSystemFQNParserRuleCall_1_0_1; } - //"->" + //'->' public Keyword getHyphenMinusGreaterThanSignKeyword_2() { return cHyphenMinusGreaterThanSignKeyword_2; } //physicalSys=[phys::PhysicalSystem|FQN] @@ -115,7 +120,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //FQN public RuleCall getPhysicalSysPhysicalSystemFQNParserRuleCall_3_0_1() { return cPhysicalSysPhysicalSystemFQNParserRuleCall_3_0_1; } - //"{" + //'{' public Keyword getLeftCurlyBracketKeyword_4() { return cLeftCurlyBracketKeyword_4; } //subsysMappings+=SubSystemMapping* @@ -124,12 +129,12 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //SubSystemMapping public RuleCall getSubsysMappingsSubSystemMappingParserRuleCall_5_0() { return cSubsysMappingsSubSystemMappingParserRuleCall_5_0; } - //"}" + //'}' public Keyword getRightCurlyBracketKeyword_6() { return cRightCurlyBracketKeyword_6; } } public class SubSystemMappingElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SubSystemMapping"); + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etmap.ETMap.SubSystemMapping"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cSubSystemMappingKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLogicalSubSysAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -146,15 +151,16 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { private final Keyword cRightCurlyBracketKeyword_4_2 = (Keyword)cGroup_4.eContents().get(2); //SubSystemMapping: - // "SubSystemMapping" logicalSubSys=[room::SubSystemRef] "->" node=[phys::NodeRef] ("{" threadMappings+=ThreadMapping* - // "}")?; - public ParserRule getRule() { return rule; } + // 'SubSystemMapping' logicalSubSys=[room::SubSystemRef] '->' node=[phys::NodeRef] ('{' + // threadMappings+=ThreadMapping* + // '}')?; + @Override public ParserRule getRule() { return rule; } - //"SubSystemMapping" logicalSubSys=[room::SubSystemRef] "->" node=[phys::NodeRef] ("{" threadMappings+=ThreadMapping* - //"}")? + //'SubSystemMapping' logicalSubSys=[room::SubSystemRef] '->' node=[phys::NodeRef] ('{' threadMappings+=ThreadMapping* + //'}')? public Group getGroup() { return cGroup; } - //"SubSystemMapping" + //'SubSystemMapping' public Keyword getSubSystemMappingKeyword_0() { return cSubSystemMappingKeyword_0; } //logicalSubSys=[room::SubSystemRef] @@ -166,7 +172,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getLogicalSubSysSubSystemRefIDTerminalRuleCall_1_0_1() { return cLogicalSubSysSubSystemRefIDTerminalRuleCall_1_0_1; } - //"->" + //'->' public Keyword getHyphenMinusGreaterThanSignKeyword_2() { return cHyphenMinusGreaterThanSignKeyword_2; } //node=[phys::NodeRef] @@ -178,10 +184,10 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getNodeNodeRefIDTerminalRuleCall_3_0_1() { return cNodeNodeRefIDTerminalRuleCall_3_0_1; } - //("{" threadMappings+=ThreadMapping* "}")? + //('{' threadMappings+=ThreadMapping* '}')? public Group getGroup_4() { return cGroup_4; } - //"{" + //'{' public Keyword getLeftCurlyBracketKeyword_4_0() { return cLeftCurlyBracketKeyword_4_0; } //threadMappings+=ThreadMapping* @@ -190,12 +196,12 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //ThreadMapping public RuleCall getThreadMappingsThreadMappingParserRuleCall_4_1_0() { return cThreadMappingsThreadMappingParserRuleCall_4_1_0; } - //"}" + //'}' public Keyword getRightCurlyBracketKeyword_4_2() { return cRightCurlyBracketKeyword_4_2; } } public class ThreadMappingElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ThreadMapping"); + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.etrice.core.etmap.ETMap.ThreadMapping"); private final Group cGroup = (Group)rule.eContents().get(1); private final Keyword cThreadMappingKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cLogicalThreadAssignment_1 = (Assignment)cGroup.eContents().get(1); @@ -207,13 +213,13 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { private final RuleCall cPhysicalThreadPhysicalThreadIDTerminalRuleCall_3_0_1 = (RuleCall)cPhysicalThreadPhysicalThreadCrossReference_3_0.eContents().get(1); //ThreadMapping: - // "ThreadMapping" logicalThread=[room::LogicalThread] "->" physicalThread=[phys::PhysicalThread]; - public ParserRule getRule() { return rule; } + // 'ThreadMapping' logicalThread=[room::LogicalThread] '->' physicalThread=[phys::PhysicalThread]; + @Override public ParserRule getRule() { return rule; } - //"ThreadMapping" logicalThread=[room::LogicalThread] "->" physicalThread=[phys::PhysicalThread] + //'ThreadMapping' logicalThread=[room::LogicalThread] '->' physicalThread=[phys::PhysicalThread] public Group getGroup() { return cGroup; } - //"ThreadMapping" + //'ThreadMapping' public Keyword getThreadMappingKeyword_0() { return cThreadMappingKeyword_0; } //logicalThread=[room::LogicalThread] @@ -225,7 +231,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //ID public RuleCall getLogicalThreadLogicalThreadIDTerminalRuleCall_1_0_1() { return cLogicalThreadLogicalThreadIDTerminalRuleCall_1_0_1; } - //"->" + //'->' public Keyword getHyphenMinusGreaterThanSignKeyword_2() { return cHyphenMinusGreaterThanSignKeyword_2; } //physicalThread=[phys::PhysicalThread] @@ -248,11 +254,15 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { private final BaseGrammarAccess gaBase; + private final TerminalsGrammarAccess gaTerminals; + @Inject public ETMapGrammarAccess(GrammarProvider grammarProvider, - BaseGrammarAccess gaBase) { + BaseGrammarAccess gaBase, + TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaBase = gaBase; + this.gaTerminals = gaTerminals; this.pMappingModel = new MappingModelElements(); this.pMapping = new MappingElements(); this.pSubSystemMapping = new SubSystemMappingElements(); @@ -275,7 +285,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { return grammar; } - + @Override public Grammar getGrammar() { return grammar; } @@ -285,9 +295,16 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { return gaBase; } + public TerminalsGrammarAccess getTerminalsGrammarAccess() { + return gaTerminals; + } + //MappingModel: - // "MappingModel" name=FQN "{" imports+=Import* mappings+=Mapping* "}"; + // 'MappingModel' name=FQN '{' + // imports+=Import* + // mappings+=Mapping* + // '}'; public MappingModelElements getMappingModelAccess() { return pMappingModel; } @@ -297,8 +314,9 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //Mapping: - // "Mapping" logicalSys=[room::LogicalSystem|FQN] "->" physicalSys=[phys::PhysicalSystem|FQN] "{" - // subsysMappings+=SubSystemMapping* "}"; + // 'Mapping' logicalSys=[room::LogicalSystem|FQN] '->' physicalSys=[phys::PhysicalSystem|FQN] '{' + // subsysMappings+=SubSystemMapping* + // '}'; public MappingElements getMappingAccess() { return pMapping; } @@ -308,8 +326,9 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //SubSystemMapping: - // "SubSystemMapping" logicalSubSys=[room::SubSystemRef] "->" node=[phys::NodeRef] ("{" threadMappings+=ThreadMapping* - // "}")?; + // 'SubSystemMapping' logicalSubSys=[room::SubSystemRef] '->' node=[phys::NodeRef] ('{' + // threadMappings+=ThreadMapping* + // '}')?; public SubSystemMappingElements getSubSystemMappingAccess() { return pSubSystemMapping; } @@ -319,7 +338,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //ThreadMapping: - // "ThreadMapping" logicalThread=[room::LogicalThread] "->" physicalThread=[phys::PhysicalThread]; + // 'ThreadMapping' logicalThread=[room::LogicalThread] '->' physicalThread=[phys::PhysicalThread]; public ThreadMappingElements getThreadMappingAccess() { return pThreadMapping; } @@ -331,7 +350,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //// ************************************************************** //// AnnotationType and Annotation Rules //Annotation: - // "@" type=[AnnotationType|FQN] ("(" attributes+=KeyValue ("," attributes+=KeyValue)* ")")?; + // '@' type=[AnnotationType|FQN] ('(' attributes+=KeyValue (',' attributes+=KeyValue)* ')')?; public BaseGrammarAccess.AnnotationElements getAnnotationAccess() { return gaBase.getAnnotationAccess(); } @@ -341,7 +360,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //KeyValue: - // key=ID "=" value=Literal; + // key=ID '=' value=Literal; public BaseGrammarAccess.KeyValueElements getKeyValueAccess() { return gaBase.getKeyValueAccess(); } @@ -351,8 +370,10 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //AnnotationType: - // "AnnotationType" name=ID docu=Documentation? "{" "target" "=" (targets+=AnnotationTargetType | "{" - // targets+=AnnotationTargetType ("," targets+=AnnotationTargetType)* "}") attributes+=AnnotationAttribute* "}"; + // 'AnnotationType' name=ID docu=Documentation? '{' + // 'target' '=' (targets+=AnnotationTargetType | '{' targets+=AnnotationTargetType (',' targets+=AnnotationTargetType)* + // '}') attributes+=AnnotationAttribute* + // '}'; public BaseGrammarAccess.AnnotationTypeElements getAnnotationTypeAccess() { return gaBase.getAnnotationTypeAccess(); } @@ -390,7 +411,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //SimpleAnnotationAttribute: - // (optional?="optional" | "mandatory") "attribute" name=ID ":" type=LiteralType; + // (optional?='optional' | 'mandatory') 'attribute' name=ID ':' type=LiteralType; public BaseGrammarAccess.SimpleAnnotationAttributeElements getSimpleAnnotationAttributeAccess() { return gaBase.getSimpleAnnotationAttributeAccess(); } @@ -400,7 +421,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //EnumAnnotationAttribute: - // (optional?="optional" | "mandatory") "attribute" name=ID ":" "{" values+=STRING ("," values+=STRING)* "}"; + // (optional?='optional' | 'mandatory') 'attribute' name=ID ':' '{' values+=STRING (',' values+=STRING)* '}'; public BaseGrammarAccess.EnumAnnotationAttributeElements getEnumAnnotationAttributeAccess() { return gaBase.getEnumAnnotationAttributeAccess(); } @@ -430,7 +451,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //// the attribute 'importedNamespace' is picked up by the ImportedNamespaceAwareLocalScopeProvider //// the attribute 'importURI' is picked up by the ImportUriGlobalScopeProvider //Import: - // "import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING; + // 'import' (importedNamespace=ImportedFQN 'from' | 'model') importURI=STRING; public BaseGrammarAccess.ImportElements getImportAccess() { return gaBase.getImportAccess(); } @@ -440,7 +461,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //ImportedFQN: - // FQN ".*"?; + // FQN '.*'?; public BaseGrammarAccess.ImportedFQNElements getImportedFQNAccess() { return gaBase.getImportedFQNAccess(); } @@ -452,7 +473,10 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //// ************************************************************** //// Documentation Rule //Documentation: - // {Documentation} "[" lines+=STRING* "]"; + // {Documentation} + // '[' + // lines+=STRING* + // ']'; public BaseGrammarAccess.DocumentationElements getDocumentationAccess() { return gaBase.getDocumentationAccess(); } @@ -463,8 +487,8 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { //// ************************************************************** //// Time Rule - //TIME returns ecore::ELong: - // INT "s" | INT "ms" | INT "us" | INT "ns"; + //TIME ecore::ELong: + // INT 's' | INT 'ms' | INT 'us' | INT 'ns' public BaseGrammarAccess.TIMEElements getTIMEAccess() { return gaBase.getTIMEAccess(); } @@ -473,10 +497,11 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { return getTIMEAccess().getRule(); } - //// ************************************************************** - //// Literal Rules //enum LiteralType: - // BOOL="ptBoolean" | INT="ptInteger" | REAL="ptReal" | CHAR="ptCharacter"; + // BOOL='ptBoolean' | + // INT='ptInteger' | + // REAL='ptReal' | + // CHAR='ptCharacter'; public BaseGrammarAccess.LiteralTypeElements getLiteralTypeAccess() { return gaBase.getLiteralTypeAccess(); } @@ -486,7 +511,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //LiteralArray: - // literals+=Literal ("," literals+=Literal)*; + // literals+=Literal (',' literals+=Literal)*; public BaseGrammarAccess.LiteralArrayElements getLiteralArrayAccess() { return gaBase.getLiteralArrayAccess(); } @@ -507,7 +532,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //BooleanLiteral: - // {BooleanLiteral} ("false" | isTrue?="true"); + // {BooleanLiteral} ('false' | isTrue?='true'); public BaseGrammarAccess.BooleanLiteralElements getBooleanLiteralAccess() { return gaBase.getBooleanLiteralAccess(); } @@ -556,8 +581,8 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { return getStringLiteralAccess().getRule(); } - //Integer returns ecore::ELong: - // ("+" | "-")? INT | HEX; + //Integer ecore::ELong: + // ('+' | '-')? INT | HEX public BaseGrammarAccess.IntegerElements getIntegerAccess() { return gaBase.getIntegerAccess(); } @@ -566,8 +591,8 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { return getIntegerAccess().getRule(); } - //Real returns ecore::EDouble: - // Decimal | / *DotDecimal | DecimalDot |* / DecimalExp; + //Real ecore::EDouble: + // Decimal | DecimalExp public BaseGrammarAccess.RealElements getRealAccess() { return gaBase.getRealAccess(); } @@ -577,7 +602,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //Decimal hidden(): - // ("+" | "-")? INT "." INT; + // ('+' | '-')? INT '.' INT; public BaseGrammarAccess.DecimalElements getDecimalAccess() { return gaBase.getDecimalAccess(); } @@ -592,7 +617,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { ////DecimalDot hidden(): //// ('+' | '-')? INT '.'; //DecimalExp hidden(): - // ("+" | "-")? INT "." INT ("e" | "E") ("+" | "-")? INT; + // ('+' | '-')? INT '.' INT ('e' | 'E') ('+' | '-')? INT; public BaseGrammarAccess.DecimalExpElements getDecimalExpAccess() { return gaBase.getDecimalExpAccess(); } @@ -602,7 +627,7 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //FQN: - // ID ("." ID)*; + // ID ('.' ID)*; public BaseGrammarAccess.FQNElements getFQNAccess() { return gaBase.getFQNAccess(); } @@ -612,51 +637,50 @@ public class ETMapGrammarAccess extends AbstractGrammarElementFinder { } //terminal HEX: - // ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F")+; + // ('0x' | '0X') ('0'..'9' | 'a'..'f' | 'A'..'F')+; public TerminalRule getHEXRule() { return gaBase.getHEXRule(); } //terminal ID: - // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; + // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { - return gaBase.getIDRule(); + return gaTerminals.getIDRule(); } //terminal INT returns ecore::EInt: - // "0".."9"+; + // '0'..'9'+; public TerminalRule getINTRule() { - return gaBase.getINTRule(); + return gaTerminals.getINTRule(); } //terminal STRING: - // "\"" ("\\" . / * 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' * / | !("\\" | "\""))* "\"" | "\'" ("\\" . - // / * 'b'|'t'|'n'|'f'|'r'|'u'|'"'|"'"|'\\' * / | !("\\" | "\'"))* "\'"; + // '"' ('\\' . | !('\\' | '"'))* '"' | "'" ('\\' . | !('\\' | "'"))* "'"; public TerminalRule getSTRINGRule() { - return gaBase.getSTRINGRule(); + return gaTerminals.getSTRINGRule(); } //terminal ML_COMMENT: - // "/ *"->"* /"; + // '/ *'->'* /'; public TerminalRule getML_COMMENTRule() { - return gaBase.getML_COMMENTRule(); + return gaTerminals.getML_COMMENTRule(); } //terminal SL_COMMENT: - // "//" !("\n" | "\r")* ("\r"? "\n")?; + // '//' !('\n' | '\r')* ('\r'? '\n')?; public TerminalRule getSL_COMMENTRule() { - return gaBase.getSL_COMMENTRule(); + return gaTerminals.getSL_COMMENTRule(); } //terminal WS: - // (" " | "\t" | "\r" | "\n")+; + // ' ' | '\t' | '\r' | '\n'+; public TerminalRule getWSRule() { - return gaBase.getWSRule(); + return gaTerminals.getWSRule(); } //terminal ANY_OTHER: // .; public TerminalRule getANY_OTHERRule() { - return gaBase.getANY_OTHERRule(); + return gaTerminals.getANY_OTHERRule(); } } diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java index e69c2d77b..55d340a01 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java @@ -1,6 +1,6 @@ /* -* generated by Xtext -*/ + * generated by Xtext + */ package org.eclipse.etrice.core.etmap.validation; import java.util.ArrayList; |