diff options
author | Juergen Haug | 2014-05-05 10:59:13 +0000 |
---|---|---|
committer | Juergen Haug | 2014-05-05 11:26:58 +0000 |
commit | 18b6ca627c5a4c0c67059ab163496396e017ba20 (patch) | |
tree | 666cf0cd1f85a9977f2f0706688d67303fffe4e0 /plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core | |
parent | 93325713b0ab8b5ef5f6fc767d56db087f43266d (diff) | |
download | org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.tar.gz org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.tar.xz org.eclipse.etrice-18b6ca627c5a4c0c67059ab163496396e017ba20.zip |
[core.*] move Import rule and ImportedFQN rule to core.common
Change-Id: I24f81e40cad8a3946ae3adb6aecfec9c71834336
Diffstat (limited to 'plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core')
24 files changed, 2578 insertions, 1457 deletions
diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore index 376efd891..9e55fc02d 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.ecore @@ -98,6 +98,21 @@ </eAnnotations> </eStructuralFeatures> </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="Import"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The import declares an imported {@link org.eclipse.etrice.core.room.RoomModel room model} (given as a URI) and
an optional imported namespace.
"/> + </eAnnotations> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The imported name space has to be a dot separated qualified name followed by .*.
Example: my.namespace.*
"/> + </eAnnotations> + </eStructuralFeatures> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"> + <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> + <details key="documentation" value="<br>The import URI can be a relative or absolute file system path.
It may contain environment variables in ${} which will be expanded.
<p>
Examples:
<ul>
 <li>import model "AnotherModel.room"</li>
 <li>import my.namespace.* from "AnotherModel.room"</li>
 <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
 <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
</ul>
</p>
"/> + </eAnnotations> + </eStructuralFeatures> + </eClassifiers> <eClassifiers xsi:type="ecore:EClass" name="Documentation"> <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> <details key="documentation" value="<br>A piece of documentation that can be optionally attached at
certain places in the model.
"/> diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel index 7efe985a1..0deb51c58 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.genmodel @@ -37,6 +37,10 @@ <genClasses ecoreClass="Base.ecore#//EnumAnnotationAttribute"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Base.ecore#//EnumAnnotationAttribute/values"/> </genClasses> + <genClasses ecoreClass="Base.ecore#//Import"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Base.ecore#//Import/importedNamespace"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Base.ecore#//Import/importURI"/> + </genClasses> <genClasses ecoreClass="Base.ecore#//Documentation"> <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Base.ecore#//Documentation/lines"/> </genClasses> diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin Binary files differindex 6e8037673..324a2be44 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/Base.xtextbin diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin Binary files differindex d88873d35..c77ef495b 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/BaseTest.xtextbin diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BaseFactory.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BaseFactory.java index 98801c18b..3f24a958d 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BaseFactory.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BaseFactory.java @@ -77,6 +77,15 @@ public interface BaseFactory extends EFactory EnumAnnotationAttribute createEnumAnnotationAttribute(); /** + * Returns a new object of class '<em>Import</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Import</em>'. + * @generated + */ + Import createImport(); + + /** * Returns a new object of class '<em>Documentation</em>'. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BasePackage.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BasePackage.java index 9efc7fd81..7d50f0686 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BasePackage.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/BasePackage.java @@ -316,6 +316,43 @@ public interface BasePackage extends EPackage int ENUM_ANNOTATION_ATTRIBUTE_FEATURE_COUNT = ANNOTATION_ATTRIBUTE_FEATURE_COUNT + 1; /** + * The meta object id for the '{@link org.eclipse.etrice.core.common.base.impl.ImportImpl <em>Import</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.common.base.impl.ImportImpl + * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getImport() + * @generated + */ + int IMPORT = 6; + + /** + * The feature id for the '<em><b>Imported Namespace</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT__IMPORTED_NAMESPACE = 0; + + /** + * The feature id for the '<em><b>Import URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT__IMPORT_URI = 1; + + /** + * The number of structural features of the '<em>Import</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPORT_FEATURE_COUNT = 2; + + /** * The meta object id for the '{@link org.eclipse.etrice.core.common.base.impl.DocumentationImpl <em>Documentation</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -323,7 +360,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getDocumentation() * @generated */ - int DOCUMENTATION = 6; + int DOCUMENTATION = 7; /** * The feature id for the '<em><b>Lines</b></em>' attribute list. @@ -351,7 +388,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getLiteralArray() * @generated */ - int LITERAL_ARRAY = 7; + int LITERAL_ARRAY = 8; /** * The feature id for the '<em><b>Literals</b></em>' containment reference list. @@ -379,7 +416,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getLiteral() * @generated */ - int LITERAL = 8; + int LITERAL = 9; /** * The number of structural features of the '<em>Literal</em>' class. @@ -398,7 +435,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getBooleanLiteral() * @generated */ - int BOOLEAN_LITERAL = 9; + int BOOLEAN_LITERAL = 10; /** * The feature id for the '<em><b>Is True</b></em>' attribute. @@ -426,7 +463,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getNumberLiteral() * @generated */ - int NUMBER_LITERAL = 10; + int NUMBER_LITERAL = 11; /** * The number of structural features of the '<em>Number Literal</em>' class. @@ -445,7 +482,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getRealLiteral() * @generated */ - int REAL_LITERAL = 11; + int REAL_LITERAL = 12; /** * The feature id for the '<em><b>Value</b></em>' attribute. @@ -473,7 +510,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getIntLiteral() * @generated */ - int INT_LITERAL = 12; + int INT_LITERAL = 13; /** * The feature id for the '<em><b>Value</b></em>' attribute. @@ -501,7 +538,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getStringLiteral() * @generated */ - int STRING_LITERAL = 13; + int STRING_LITERAL = 14; /** * The feature id for the '<em><b>Value</b></em>' attribute. @@ -529,7 +566,7 @@ public interface BasePackage extends EPackage * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getLiteralType() * @generated */ - int LITERAL_TYPE = 14; + int LITERAL_TYPE = 15; /** @@ -725,6 +762,38 @@ public interface BasePackage extends EPackage EAttribute getEnumAnnotationAttribute_Values(); /** + * Returns the meta object for class '{@link org.eclipse.etrice.core.common.base.Import <em>Import</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Import</em>'. + * @see org.eclipse.etrice.core.common.base.Import + * @generated + */ + EClass getImport(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.common.base.Import#getImportedNamespace <em>Imported Namespace</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Imported Namespace</em>'. + * @see org.eclipse.etrice.core.common.base.Import#getImportedNamespace() + * @see #getImport() + * @generated + */ + EAttribute getImport_ImportedNamespace(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.etrice.core.common.base.Import#getImportURI <em>Import URI</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Import URI</em>'. + * @see org.eclipse.etrice.core.common.base.Import#getImportURI() + * @see #getImport() + * @generated + */ + EAttribute getImport_ImportURI(); + + /** * Returns the meta object for class '{@link org.eclipse.etrice.core.common.base.Documentation <em>Documentation</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> @@ -1060,6 +1129,32 @@ public interface BasePackage extends EPackage EAttribute ENUM_ANNOTATION_ATTRIBUTE__VALUES = eINSTANCE.getEnumAnnotationAttribute_Values(); /** + * The meta object literal for the '{@link org.eclipse.etrice.core.common.base.impl.ImportImpl <em>Import</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.etrice.core.common.base.impl.ImportImpl + * @see org.eclipse.etrice.core.common.base.impl.BasePackageImpl#getImport() + * @generated + */ + EClass IMPORT = eINSTANCE.getImport(); + + /** + * The meta object literal for the '<em><b>Imported Namespace</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPORT__IMPORTED_NAMESPACE = eINSTANCE.getImport_ImportedNamespace(); + + /** + * The meta object literal for the '<em><b>Import URI</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPORT__IMPORT_URI = eINSTANCE.getImport_ImportURI(); + + /** * The meta object literal for the '{@link org.eclipse.etrice.core.common.base.impl.DocumentationImpl <em>Documentation</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/Import.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/Import.java new file mode 100644 index 000000000..670474584 --- /dev/null +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/Import.java @@ -0,0 +1,95 @@ +/** + */ +package org.eclipse.etrice.core.common.base; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> + * + * <!-- begin-model-doc --> + * <br>The import declares an imported {@link org.eclipse.etrice.core.room.RoomModel room model} (given as a URI) and + * an optional imported namespace. + * + * <!-- end-model-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.etrice.core.common.base.Import#getImportedNamespace <em>Imported Namespace</em>}</li> + * <li>{@link org.eclipse.etrice.core.common.base.Import#getImportURI <em>Import URI</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.etrice.core.common.base.BasePackage#getImport() + * @model + * @generated + */ +public interface Import extends EObject +{ + /** + * Returns the value of the '<em><b>Imported Namespace</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <br>The imported name space has to be a dot separated qualified name followed by .*. + * Example: my.namespace.* + * + * <!-- end-model-doc --> + * @return the value of the '<em>Imported Namespace</em>' attribute. + * @see #setImportedNamespace(String) + * @see org.eclipse.etrice.core.common.base.BasePackage#getImport_ImportedNamespace() + * @model + * @generated + */ + String getImportedNamespace(); + + /** + * Sets the value of the '{@link org.eclipse.etrice.core.common.base.Import#getImportedNamespace <em>Imported Namespace</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Imported Namespace</em>' attribute. + * @see #getImportedNamespace() + * @generated + */ + void setImportedNamespace(String value); + + /** + * Returns the value of the '<em><b>Import URI</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * <br>The import URI can be a relative or absolute file system path. + * It may contain environment variables in ${} which will be expanded. + * <p> + * Examples: + * <ul> + * <li>import model "AnotherModel.room"</li> + * <li>import my.namespace.* from "AnotherModel.room"</li> + * <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li> + * <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li> + * </ul> + * </p> + * + * <!-- end-model-doc --> + * @return the value of the '<em>Import URI</em>' attribute. + * @see #setImportURI(String) + * @see org.eclipse.etrice.core.common.base.BasePackage#getImport_ImportURI() + * @model + * @generated + */ + String getImportURI(); + + /** + * Sets the value of the '{@link org.eclipse.etrice.core.common.base.Import#getImportURI <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Import URI</em>' attribute. + * @see #getImportURI() + * @generated + */ + void setImportURI(String value); + +} // Import diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BaseFactoryImpl.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BaseFactoryImpl.java index d6cd1afe2..82715a746 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BaseFactoryImpl.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BaseFactoryImpl.java @@ -71,6 +71,7 @@ public class BaseFactoryImpl extends EFactoryImpl implements BaseFactory case BasePackage.ANNOTATION_ATTRIBUTE: return createAnnotationAttribute(); case BasePackage.SIMPLE_ANNOTATION_ATTRIBUTE: return createSimpleAnnotationAttribute(); case BasePackage.ENUM_ANNOTATION_ATTRIBUTE: return createEnumAnnotationAttribute(); + case BasePackage.IMPORT: return createImport(); case BasePackage.DOCUMENTATION: return createDocumentation(); case BasePackage.LITERAL_ARRAY: return createLiteralArray(); case BasePackage.LITERAL: return createLiteral(); @@ -189,6 +190,17 @@ public class BaseFactoryImpl extends EFactoryImpl implements BaseFactory * <!-- end-user-doc --> * @generated */ + public Import createImport() + { + ImportImpl import_ = new ImportImpl(); + return import_; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public Documentation createDocumentation() { DocumentationImpl documentation = new DocumentationImpl(); diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BasePackageImpl.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BasePackageImpl.java index b26b09e99..0f94fec42 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BasePackageImpl.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/BasePackageImpl.java @@ -18,6 +18,7 @@ import org.eclipse.etrice.core.common.base.BasePackage; import org.eclipse.etrice.core.common.base.BooleanLiteral; import org.eclipse.etrice.core.common.base.Documentation; import org.eclipse.etrice.core.common.base.EnumAnnotationAttribute; +import org.eclipse.etrice.core.common.base.Import; import org.eclipse.etrice.core.common.base.IntLiteral; import org.eclipse.etrice.core.common.base.KeyValue; import org.eclipse.etrice.core.common.base.Literal; @@ -83,6 +84,13 @@ public class BasePackageImpl extends EPackageImpl implements BasePackage * <!-- end-user-doc --> * @generated */ + private EClass importEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ private EClass documentationEClass = null; /** @@ -389,6 +397,36 @@ public class BasePackageImpl extends EPackageImpl implements BasePackage * <!-- end-user-doc --> * @generated */ + public EClass getImport() + { + return importEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImport_ImportedNamespace() + { + return (EAttribute)importEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImport_ImportURI() + { + return (EAttribute)importEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ public EClass getDocumentation() { return documentationEClass; @@ -588,6 +626,10 @@ public class BasePackageImpl extends EPackageImpl implements BasePackage enumAnnotationAttributeEClass = createEClass(ENUM_ANNOTATION_ATTRIBUTE); createEAttribute(enumAnnotationAttributeEClass, ENUM_ANNOTATION_ATTRIBUTE__VALUES); + importEClass = createEClass(IMPORT); + createEAttribute(importEClass, IMPORT__IMPORTED_NAMESPACE); + createEAttribute(importEClass, IMPORT__IMPORT_URI); + documentationEClass = createEClass(DOCUMENTATION); createEAttribute(documentationEClass, DOCUMENTATION__LINES); @@ -676,6 +718,10 @@ public class BasePackageImpl extends EPackageImpl implements BasePackage initEClass(enumAnnotationAttributeEClass, EnumAnnotationAttribute.class, "EnumAnnotationAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getEnumAnnotationAttribute_Values(), ecorePackage.getEString(), "values", null, 0, -1, EnumAnnotationAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImport_ImportedNamespace(), ecorePackage.getEString(), "importedNamespace", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getImport_ImportURI(), ecorePackage.getEString(), "importURI", null, 0, 1, Import.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(documentationEClass, Documentation.class, "Documentation", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEAttribute(getDocumentation_Lines(), ecorePackage.getEString(), "lines", null, 0, -1, Documentation.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/ImportImpl.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/ImportImpl.java new file mode 100644 index 000000000..27de1ee9b --- /dev/null +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/impl/ImportImpl.java @@ -0,0 +1,233 @@ +/** + */ +package org.eclipse.etrice.core.common.base.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.etrice.core.common.base.BasePackage; +import org.eclipse.etrice.core.common.base.Import; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Import</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.etrice.core.common.base.impl.ImportImpl#getImportedNamespace <em>Imported Namespace</em>}</li> + * <li>{@link org.eclipse.etrice.core.common.base.impl.ImportImpl#getImportURI <em>Import URI</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImportImpl extends MinimalEObjectImpl.Container implements Import +{ + /** + * The default value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportedNamespace() + * @generated + * @ordered + */ + protected static final String IMPORTED_NAMESPACE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getImportedNamespace() <em>Imported Namespace</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportedNamespace() + * @generated + * @ordered + */ + protected String importedNamespace = IMPORTED_NAMESPACE_EDEFAULT; + + /** + * The default value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportURI() + * @generated + * @ordered + */ + protected static final String IMPORT_URI_EDEFAULT = null; + + /** + * The cached value of the '{@link #getImportURI() <em>Import URI</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getImportURI() + * @generated + * @ordered + */ + protected String importURI = IMPORT_URI_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImportImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return BasePackage.Literals.IMPORT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getImportedNamespace() + { + return importedNamespace; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setImportedNamespace(String newImportedNamespace) + { + String oldImportedNamespace = importedNamespace; + importedNamespace = newImportedNamespace; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BasePackage.IMPORT__IMPORTED_NAMESPACE, oldImportedNamespace, importedNamespace)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getImportURI() + { + return importURI; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setImportURI(String newImportURI) + { + String oldImportURI = importURI; + importURI = newImportURI; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, BasePackage.IMPORT__IMPORT_URI, oldImportURI, importURI)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case BasePackage.IMPORT__IMPORTED_NAMESPACE: + return getImportedNamespace(); + case BasePackage.IMPORT__IMPORT_URI: + return getImportURI(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case BasePackage.IMPORT__IMPORTED_NAMESPACE: + setImportedNamespace((String)newValue); + return; + case BasePackage.IMPORT__IMPORT_URI: + setImportURI((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case BasePackage.IMPORT__IMPORTED_NAMESPACE: + setImportedNamespace(IMPORTED_NAMESPACE_EDEFAULT); + return; + case BasePackage.IMPORT__IMPORT_URI: + setImportURI(IMPORT_URI_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case BasePackage.IMPORT__IMPORTED_NAMESPACE: + return IMPORTED_NAMESPACE_EDEFAULT == null ? importedNamespace != null : !IMPORTED_NAMESPACE_EDEFAULT.equals(importedNamespace); + case BasePackage.IMPORT__IMPORT_URI: + return IMPORT_URI_EDEFAULT == null ? importURI != null : !IMPORT_URI_EDEFAULT.equals(importURI); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (importedNamespace: "); + result.append(importedNamespace); + result.append(", importURI: "); + result.append(importURI); + result.append(')'); + return result.toString(); + } + +} //ImportImpl diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseAdapterFactory.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseAdapterFactory.java index 890318f6c..edc997df1 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseAdapterFactory.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseAdapterFactory.java @@ -105,6 +105,11 @@ public class BaseAdapterFactory extends AdapterFactoryImpl return createEnumAnnotationAttributeAdapter(); } @Override + public Adapter caseImport(Import object) + { + return createImportAdapter(); + } + @Override public Adapter caseDocumentation(Documentation object) { return createDocumentationAdapter(); @@ -257,6 +262,21 @@ public class BaseAdapterFactory extends AdapterFactoryImpl } /** + * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.common.base.Import <em>Import</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.etrice.core.common.base.Import + * @generated + */ + public Adapter createImportAdapter() + { + return null; + } + + /** * Creates a new adapter for an object of class '{@link org.eclipse.etrice.core.common.base.Documentation <em>Documentation</em>}'. * <!-- begin-user-doc --> * This default implementation returns null so that we can easily ignore cases; diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseSwitch.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseSwitch.java index d2df3787a..649c5df92 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseSwitch.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/base/util/BaseSwitch.java @@ -116,6 +116,13 @@ public class BaseSwitch<T> extends Switch<T> if (result == null) result = defaultCase(theEObject); return result; } + case BasePackage.IMPORT: + { + Import import_ = (Import)theEObject; + T result = caseImport(import_); + if (result == null) result = defaultCase(theEObject); + return result; + } case BasePackage.DOCUMENTATION: { Documentation documentation = (Documentation)theEObject; @@ -280,6 +287,22 @@ public class BaseSwitch<T> extends Switch<T> } /** + * Returns the result of interpreting the object as an instance of '<em>Import</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Import</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) + { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>Documentation</em>'. * <!-- begin-user-doc --> * This implementation returns null; diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g index 056942385..1064f3485 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g @@ -483,6 +483,46 @@ ruleEnumAnnotationAttribute returns [EObject current=null] + + +// Entry rule entryRuleImportedFQN +entryRuleImportedFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getImportedFQNRule()); } + iv_ruleImportedFQN=ruleImportedFQN + { $current=$iv_ruleImportedFQN.current.getText(); } + EOF +; + +// Rule ImportedFQN +ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + } + this_FQN_0=ruleFQN { + $current.merge(this_FQN_0); + } + + { + afterParserOrEnumRuleCall(); + } +( + kw='.*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + } +)?) + ; + + + + + // Entry rule entryRuleDocumentation entryRuleDocumentation returns [EObject current=null] : diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens index 5da1d4483..219796a00 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.tokens @@ -23,31 +23,33 @@ T__33=33 T__16=16 T__34=34 T__15=15 +T__35=35 T__18=18 T__17=17 T__14=14 T__13=13 RULE_INT=6 RULE_WS=11 -'true'=27 +'true'=28 '}'=23 '{'=22 'optional'=18 -'ptCharacter'=34 -'false'=26 +'.*'=24 +'ptCharacter'=35 +'false'=27 '='=17 '@'=13 '('=14 ':'=21 -'-'=29 +'-'=30 +'['=25 'attribute'=20 -'['=24 -'+'=28 -'ptReal'=33 +'+'=29 +'ptReal'=34 ','=15 -'.'=30 +'.'=31 ')'=16 -'ptBoolean'=31 -'ptInteger'=32 -']'=25 +'ptBoolean'=32 +'ptInteger'=33 +']'=26 'mandatory'=19 diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java index 6656966a0..a56d87df4 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseLexer.java @@ -39,6 +39,7 @@ public class InternalBaseLexer extends Lexer { public static final int T__15=15; public static final int T__34=34; public static final int T__18=18; + public static final int T__35=35; public static final int T__17=17; public static final int T__14=14; public static final int T__13=13; @@ -286,10 +287,11 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__24; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:22:7: ( '[' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:22:9: '[' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:22:7: ( '.*' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:22:9: '.*' { - match('['); + match(".*"); + } @@ -306,10 +308,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:23:7: ( ']' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:23:9: ']' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:23:7: ( '[' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:23:9: '[' { - match(']'); + match('['); } @@ -326,11 +328,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:24:7: ( 'false' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:24:9: 'false' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:24:7: ( ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:24:9: ']' { - match("false"); - + match(']'); } @@ -347,10 +348,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:25:7: ( 'true' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:25:9: 'true' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:25:7: ( 'false' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:25:9: 'false' { - match("true"); + match("false"); } @@ -368,10 +369,11 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:26:7: ( '+' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:26:9: '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:26:7: ( 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:26:9: 'true' { - match('+'); + match("true"); + } @@ -388,10 +390,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:27:7: ( '-' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:27:9: '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:27:7: ( '+' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:27:9: '+' { - match('-'); + match('+'); } @@ -408,10 +410,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:28:7: ( '.' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:28:9: '.' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:28:7: ( '-' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:28:9: '-' { - match('.'); + match('-'); } @@ -428,11 +430,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:29:7: ( 'ptBoolean' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:29:9: 'ptBoolean' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:29:7: ( '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:29:9: '.' { - match("ptBoolean"); - + match('.'); } @@ -449,10 +450,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:30:7: ( 'ptInteger' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:30:9: 'ptInteger' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:30:7: ( 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:30:9: 'ptBoolean' { - match("ptInteger"); + match("ptBoolean"); } @@ -470,10 +471,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:31:7: ( 'ptReal' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:31:9: 'ptReal' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:31:7: ( 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:31:9: 'ptInteger' { - match("ptReal"); + match("ptInteger"); } @@ -491,10 +492,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:32:7: ( 'ptCharacter' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:32:9: 'ptCharacter' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:32:7: ( 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:32:9: 'ptReal' { - match("ptCharacter"); + match("ptReal"); } @@ -507,13 +508,34 @@ public class InternalBaseLexer extends Lexer { } // $ANTLR end "T__34" + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:33:7: ( 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:33:9: 'ptCharacter' + { + match("ptCharacter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + // $ANTLR start "RULE_EXP" public final void mRULE_EXP() throws RecognitionException { try { int _type = RULE_EXP; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1337:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1337:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1377:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1377:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -524,7 +546,7 @@ public class InternalBaseLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1337:22: ( '+' | '-' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1377:22: ( '+' | '-' )? int alt1=2; int LA1_0 = input.LA(1); @@ -550,7 +572,7 @@ public class InternalBaseLexer extends Lexer { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1337:33: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1377:33: ( '0' .. '9' )+ int cnt2=0; loop2: do { @@ -564,7 +586,7 @@ public class InternalBaseLexer extends Lexer { switch (alt2) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1337:34: '0' .. '9' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1377:34: '0' .. '9' { matchRange('0','9'); @@ -596,10 +618,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_HEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:12: ( '0x' | '0X' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:12: ( '0x' | '0X' ) int alt3=2; int LA3_0 = input.LA(1); @@ -627,7 +649,7 @@ public class InternalBaseLexer extends Lexer { } switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:13: '0x' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:13: '0x' { match("0x"); @@ -635,7 +657,7 @@ public class InternalBaseLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:18: '0X' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:18: '0X' { match("0X"); @@ -645,7 +667,7 @@ public class InternalBaseLexer extends Lexer { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1339:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1379:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ int cnt4=0; loop4: do { @@ -699,10 +721,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1341:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1341:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1381:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1381:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1341:11: ( '^' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1381:11: ( '^' )? int alt5=2; int LA5_0 = input.LA(1); @@ -711,7 +733,7 @@ public class InternalBaseLexer extends Lexer { } switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1341:11: '^' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1381:11: '^' { match('^'); @@ -729,7 +751,7 @@ public class InternalBaseLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1341:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1381:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop6: do { int alt6=2; @@ -778,10 +800,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1343:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1343:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1383:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1383:12: ( '0' .. '9' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1343:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1383:12: ( '0' .. '9' )+ int cnt7=0; loop7: do { @@ -795,7 +817,7 @@ public class InternalBaseLexer extends Lexer { switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1343:13: '0' .. '9' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1383:13: '0' .. '9' { matchRange('0','9'); @@ -827,10 +849,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt10=2; int LA10_0 = input.LA(1); @@ -848,10 +870,10 @@ public class InternalBaseLexer extends Lexer { } switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* loop8: do { int alt8=3; @@ -867,7 +889,7 @@ public class InternalBaseLexer extends Lexer { switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -883,7 +905,7 @@ public class InternalBaseLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:66: ~ ( ( '\\\\' | '\"' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -908,10 +930,10 @@ public class InternalBaseLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* loop9: do { int alt9=3; @@ -927,7 +949,7 @@ public class InternalBaseLexer extends Lexer { switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -943,7 +965,7 @@ public class InternalBaseLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1345:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1385:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -986,12 +1008,12 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1347:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1347:19: '/*' ( options {greedy=false; } : . )* '*/' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1387:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1387:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1347:24: ( options {greedy=false; } : . )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1387:24: ( options {greedy=false; } : . )* loop11: do { int alt11=2; @@ -1016,7 +1038,7 @@ public class InternalBaseLexer extends Lexer { switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1347:52: . + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1387:52: . { matchAny(); @@ -1046,12 +1068,12 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:24: (~ ( ( '\\n' | '\\r' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:24: (~ ( ( '\\n' | '\\r' ) ) )* loop12: do { int alt12=2; @@ -1064,7 +1086,7 @@ public class InternalBaseLexer extends Lexer { switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:24: ~ ( ( '\\n' | '\\r' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389: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(); @@ -1084,7 +1106,7 @@ public class InternalBaseLexer extends Lexer { } } while (true); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:40: ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:40: ( ( '\\r' )? '\\n' )? int alt14=2; int LA14_0 = input.LA(1); @@ -1093,9 +1115,9 @@ public class InternalBaseLexer extends Lexer { } switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:41: ( '\\r' )? '\\n' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:41: ( '\\r' )? '\\n' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:41: ( '\\r' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:41: ( '\\r' )? int alt13=2; int LA13_0 = input.LA(1); @@ -1104,7 +1126,7 @@ public class InternalBaseLexer extends Lexer { } switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:41: '\\r' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1389:41: '\\r' { match('\r'); @@ -1136,10 +1158,10 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1351:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1351:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1391:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1391:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1351:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1391:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt15=0; loop15: do { @@ -1193,8 +1215,8 @@ public class InternalBaseLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1353:16: ( . ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1353:18: . + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1393:16: ( . ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1393:18: . { matchAny(); @@ -1209,8 +1231,8 @@ public class InternalBaseLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt16=31; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt16=32; alt16 = dfa16.predict(input); switch (alt16) { case 1 : @@ -1368,63 +1390,70 @@ public class InternalBaseLexer extends Lexer { } break; case 23 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:142: RULE_EXP + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:142: T__35 { - mRULE_EXP(); + mT__35(); } break; case 24 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:151: RULE_HEX + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:148: RULE_EXP { - mRULE_HEX(); + mRULE_EXP(); } break; case 25 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:160: RULE_ID + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:157: RULE_HEX { - mRULE_ID(); + mRULE_HEX(); } break; case 26 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:168: RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:166: RULE_ID { - mRULE_INT(); + mRULE_ID(); } break; case 27 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:177: RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:174: RULE_INT { - mRULE_STRING(); + mRULE_INT(); } break; case 28 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:189: RULE_ML_COMMENT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:183: RULE_STRING { - mRULE_ML_COMMENT(); + mRULE_STRING(); } break; case 29 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:205: RULE_SL_COMMENT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:195: RULE_ML_COMMENT { - mRULE_SL_COMMENT(); + mRULE_ML_COMMENT(); } break; case 30 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:221: RULE_WS + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:211: RULE_SL_COMMENT { - mRULE_WS(); + mRULE_SL_COMMENT(); } break; case 31 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:229: RULE_ANY_OTHER + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:227: RULE_WS + { + mRULE_WS(); + + } + break; + case 32 : + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1:235: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1438,46 +1467,47 @@ public class InternalBaseLexer extends Lexer { protected DFA16 dfa16 = new DFA16(this); static final String DFA16_eotS = - "\6\uffff\3\44\5\uffff\2\44\3\uffff\2\44\1\65\1\35\2\uffff\3\35"+ - "\7\uffff\1\44\1\uffff\2\44\5\uffff\2\44\3\uffff\1\44\1\63\7\uffff"+ - "\15\44\1\120\7\44\1\130\1\uffff\7\44\1\uffff\2\44\1\142\6\44\1\uffff"+ - "\1\44\1\152\5\44\1\uffff\1\160\1\161\1\162\1\163\1\44\4\uffff\1"+ - "\44\1\166\1\uffff"; + "\6\uffff\3\44\3\uffff\1\53\2\uffff\2\44\2\uffff\2\44\1\66\1\35"+ + "\2\uffff\3\35\7\uffff\1\44\1\uffff\2\44\7\uffff\2\44\2\uffff\1\44"+ + "\1\uffff\1\63\6\uffff\15\44\1\121\7\44\1\131\1\uffff\7\44\1\uffff"+ + "\2\44\1\143\6\44\1\uffff\1\44\1\153\5\44\1\uffff\1\161\1\162\1\163"+ + "\1\164\1\44\4\uffff\1\44\1\167\1\uffff"; static final String DFA16_eofS = - "\167\uffff"; + "\170\uffff"; static final String DFA16_minS = - "\1\0\5\uffff\1\160\1\141\1\164\5\uffff\1\141\1\162\3\uffff\1\164"+ - "\1\53\1\130\1\101\2\uffff\2\0\1\52\7\uffff\1\164\1\uffff\1\156\1"+ - "\164\5\uffff\1\154\1\165\3\uffff\1\102\1\60\7\uffff\1\151\1\144"+ - "\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\157\1\141\1\151\1\145"+ - "\1\60\1\157\1\164\2\141\1\156\1\164\1\142\1\60\1\uffff\1\154\1\145"+ - "\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1"+ - "\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\60\1\171\1\145\1\156"+ - "\1\162\1\164\1\uffff\4\60\1\145\4\uffff\1\162\1\60\1\uffff"; + "\1\0\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1\162"+ + "\2\uffff\1\164\1\53\1\130\1\101\2\uffff\2\0\1\52\7\uffff\1\164\1"+ + "\uffff\1\156\1\164\7\uffff\1\154\1\165\2\uffff\1\102\1\uffff\1\60"+ + "\6\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1"+ + "\157\1\141\1\151\1\145\1\60\1\157\1\164\2\141\1\156\1\164\1\142"+ + "\1\60\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff"+ + "\1\145\1\147\1\60\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1"+ + "\143\1\60\1\171\1\145\1\156\1\162\1\164\1\uffff\4\60\1\145\4\uffff"+ + "\1\162\1\60\1\uffff"; static final String DFA16_maxS = - "\1\uffff\5\uffff\1\160\1\141\1\164\5\uffff\1\141\1\162\3\uffff"+ - "\1\164\1\71\1\170\1\172\2\uffff\2\uffff\1\57\7\uffff\1\164\1\uffff"+ - "\1\156\1\164\5\uffff\1\154\1\165\3\uffff\1\122\1\172\7\uffff\1\151"+ - "\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1\150\1\157\1\141\1\151"+ - "\1\145\1\172\1\157\1\164\2\141\1\156\1\164\1\142\1\172\1\uffff\1"+ - "\154\1\145\1\154\1\162\1\141\1\157\1\165\1\uffff\1\145\1\147\1\172"+ - "\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff\1\143\1\172\1\171\1"+ - "\145\1\156\1\162\1\164\1\uffff\4\172\1\145\4\uffff\1\162\1\172\1"+ - "\uffff"; + "\1\uffff\5\uffff\1\160\1\141\1\164\3\uffff\1\52\2\uffff\1\141\1"+ + "\162\2\uffff\1\164\1\71\1\170\1\172\2\uffff\2\uffff\1\57\7\uffff"+ + "\1\164\1\uffff\1\156\1\164\7\uffff\1\154\1\165\2\uffff\1\122\1\uffff"+ + "\1\172\6\uffff\1\151\1\144\1\162\1\163\1\145\1\157\1\156\1\145\1"+ + "\150\1\157\1\141\1\151\1\145\1\172\1\157\1\164\2\141\1\156\1\164"+ + "\1\142\1\172\1\uffff\1\154\1\145\1\154\1\162\1\141\1\157\1\165\1"+ + "\uffff\1\145\1\147\1\172\1\141\1\154\1\162\1\164\1\141\1\145\1\uffff"+ + "\1\143\1\172\1\171\1\145\1\156\1\162\1\164\1\uffff\4\172\1\145\4"+ + "\uffff\1\162\1\172\1\uffff"; static final String DFA16_acceptS = - "\1\uffff\1\1\1\2\1\3\1\4\1\5\3\uffff\1\11\1\12\1\13\1\14\1\15\2"+ - "\uffff\1\20\1\21\1\22\4\uffff\1\31\1\32\3\uffff\1\36\1\37\1\1\1"+ - "\2\1\3\1\4\1\5\1\uffff\1\31\2\uffff\1\11\1\12\1\13\1\14\1\15\2\uffff"+ - "\1\20\1\21\1\22\2\uffff\1\27\1\30\1\32\1\33\1\34\1\35\1\36\26\uffff"+ - "\1\17\7\uffff\1\16\11\uffff\1\25\7\uffff\1\6\5\uffff\1\7\1\10\1"+ - "\23\1\24\2\uffff\1\26"; + "\1\uffff\1\1\1\2\1\3\1\4\1\5\3\uffff\1\11\1\12\1\13\1\uffff\1\15"+ + "\1\16\2\uffff\1\21\1\22\4\uffff\1\32\1\33\3\uffff\1\37\1\40\1\1"+ + "\1\2\1\3\1\4\1\5\1\uffff\1\32\2\uffff\1\11\1\12\1\13\1\14\1\23\1"+ + "\15\1\16\2\uffff\1\21\1\22\1\uffff\1\30\1\uffff\1\31\1\33\1\34\1"+ + "\35\1\36\1\37\26\uffff\1\20\7\uffff\1\17\11\uffff\1\26\7\uffff\1"+ + "\6\5\uffff\1\7\1\10\1\24\1\25\2\uffff\1\27"; static final String DFA16_specialS = - "\1\1\30\uffff\1\2\1\0\134\uffff}>"; + "\1\2\30\uffff\1\0\1\1\135\uffff}>"; static final String[] DFA16_transitionS = { "\11\35\2\34\2\35\1\34\22\35\1\34\1\35\1\31\4\35\1\32\1\2\1"+ - "\4\1\35\1\20\1\3\1\21\1\22\1\33\1\25\11\30\1\11\2\35\1\5\2\35"+ - "\1\1\4\27\1\24\25\27\1\14\1\35\1\15\1\26\1\27\1\35\1\10\3\27"+ - "\1\24\1\16\6\27\1\7\1\27\1\6\1\23\3\27\1\17\6\27\1\12\1\35\1"+ + "\4\1\35\1\21\1\3\1\22\1\14\1\33\1\25\11\30\1\11\2\35\1\5\2\35"+ + "\1\1\4\27\1\24\25\27\1\15\1\35\1\16\1\26\1\27\1\35\1\10\3\27"+ + "\1\24\1\17\6\27\1\7\1\27\1\6\1\23\3\27\1\20\6\27\1\12\1\35\1"+ "\13\uff82\35", "", "", @@ -1490,53 +1520,53 @@ public class InternalBaseLexer extends Lexer { "", "", "", + "\1\52", "", "", - "\1\54", - "\1\55", - "", + "\1\56", + "\1\57", "", "", - "\1\61", - "\1\63\1\uffff\1\63\2\uffff\12\62", - "\1\64\37\uffff\1\64", + "\1\62", + "\1\63\1\uffff\1\63\2\uffff\12\64", + "\1\65\37\uffff\1\65", "\32\44\4\uffff\1\44\1\uffff\32\44", "", "", - "\0\66", - "\0\66", - "\1\67\4\uffff\1\70", - "", + "\0\67", + "\0\67", + "\1\70\4\uffff\1\71", "", "", "", "", "", "", - "\1\72", "", "\1\73", + "", "\1\74", + "\1\75", + "", "", "", "", "", "", - "\1\75", - "\1\76", "", + "\1\76", + "\1\77", "", "", - "\1\77\1\102\5\uffff\1\100\10\uffff\1\101", - "\12\62\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", + "\1\100\1\103\5\uffff\1\101\10\uffff\1\102", "", + "\12\64\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", "", "", "", "", "", - "\1\103", "\1\104", "\1\105", "\1\106", @@ -1549,52 +1579,53 @@ public class InternalBaseLexer extends Lexer { "\1\115", "\1\116", "\1\117", + "\1\120", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", - "\1\121", "\1\122", "\1\123", "\1\124", "\1\125", "\1\126", "\1\127", + "\1\130", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "", - "\1\131", "\1\132", "\1\133", "\1\134", "\1\135", "\1\136", "\1\137", - "", "\1\140", + "", "\1\141", + "\1\142", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", - "\1\143", "\1\144", "\1\145", "\1\146", "\1\147", "\1\150", - "", "\1\151", + "", + "\1\152", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", - "\1\153", "\1\154", "\1\155", "\1\156", "\1\157", + "\1\160", "", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", - "\1\164", + "\1\165", "", "", "", "", - "\1\165", + "\1\166", "\12\44\7\uffff\32\44\4\uffff\1\44\1\uffff\32\44", "" }; @@ -1629,23 +1660,33 @@ public class InternalBaseLexer extends Lexer { this.transition = DFA16_transition; } public String getDescription() { - return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA16_26 = input.LA(1); + int LA16_25 = input.LA(1); s = -1; - if ( ((LA16_26>='\u0000' && LA16_26<='\uFFFF')) ) {s = 54;} + if ( ((LA16_25>='\u0000' && LA16_25<='\uFFFF')) ) {s = 55;} else s = 29; if ( s>=0 ) return s; break; case 1 : + int LA16_26 = input.LA(1); + + s = -1; + if ( ((LA16_26>='\u0000' && LA16_26<='\uFFFF')) ) {s = 55;} + + else s = 29; + + if ( s>=0 ) return s; + break; + case 2 : int LA16_0 = input.LA(1); s = -1; @@ -1671,19 +1712,19 @@ public class InternalBaseLexer extends Lexer { else if ( (LA16_0=='}') ) {s = 11;} - else if ( (LA16_0=='[') ) {s = 12;} + else if ( (LA16_0=='.') ) {s = 12;} - else if ( (LA16_0==']') ) {s = 13;} + else if ( (LA16_0=='[') ) {s = 13;} - else if ( (LA16_0=='f') ) {s = 14;} + else if ( (LA16_0==']') ) {s = 14;} - else if ( (LA16_0=='t') ) {s = 15;} + else if ( (LA16_0=='f') ) {s = 15;} - else if ( (LA16_0=='+') ) {s = 16;} + else if ( (LA16_0=='t') ) {s = 16;} - else if ( (LA16_0=='-') ) {s = 17;} + else if ( (LA16_0=='+') ) {s = 17;} - else if ( (LA16_0=='.') ) {s = 18;} + else if ( (LA16_0=='-') ) {s = 18;} else if ( (LA16_0=='p') ) {s = 19;} @@ -1709,16 +1750,6 @@ public class InternalBaseLexer extends Lexer { if ( s>=0 ) return s; break; - case 2 : - int LA16_25 = input.LA(1); - - s = -1; - if ( ((LA16_25>='\u0000' && LA16_25<='\uFFFF')) ) {s = 54;} - - else s = 29; - - if ( s>=0 ) return s; - break; } NoViableAltException nvae = new NoViableAltException(getDescription(), 16, _s, input); diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java index 5ecdeb5f4..5ecbeb6e7 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalBaseParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'optional'", "'mandatory'", "'attribute'", "':'", "'{'", "'}'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'optional'", "'mandatory'", "'attribute'", "':'", "'{'", "'}'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" }; public static final int RULE_EXP=8; public static final int RULE_ID=4; @@ -50,6 +50,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { public static final int T__16=16; public static final int T__34=34; public static final int T__15=15; + public static final int T__35=35; public static final int T__18=18; public static final int T__17=17; public static final int T__14=14; @@ -598,7 +599,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { if ( (LA3_4==21) ) { int LA3_5 = input.LA(5); - if ( ((LA3_5>=31 && LA3_5<=34)) ) { + if ( ((LA3_5>=32 && LA3_5<=35)) ) { alt3=1; } else if ( (LA3_5==22) ) { @@ -644,7 +645,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { if ( (LA3_4==21) ) { int LA3_5 = input.LA(5); - if ( ((LA3_5>=31 && LA3_5<=34)) ) { + if ( ((LA3_5>=32 && LA3_5<=35)) ) { alt3=1; } else if ( (LA3_5==22) ) { @@ -1203,8 +1204,118 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleEnumAnnotationAttribute" + // $ANTLR start "entryRuleImportedFQN" + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:489:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + public final String entryRuleImportedFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleImportedFQN = null; + + + try { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:490:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:491:2: iv_ruleImportedFQN= ruleImportedFQN EOF + { + newCompositeNode(grammarAccess.getImportedFQNRule()); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1050); + iv_ruleImportedFQN=ruleImportedFQN(); + + state._fsp--; + + current =iv_ruleImportedFQN.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN1061); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImportedFQN" + + + // $ANTLR start "ruleImportedFQN" + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:498:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + AntlrDatatypeRuleToken this_FQN_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:501:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:502:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:502:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:503:5: this_FQN_0= ruleFQN (kw= '.*' )? + { + + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN1108); + this_FQN_0=ruleFQN(); + + state._fsp--; + + + current.merge(this_FQN_0); + + + afterParserOrEnumRuleCall(); + + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:513:1: (kw= '.*' )? + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==24) ) { + alt7=1; + } + switch (alt7) { + case 1 : + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:514:2: kw= '.*' + { + kw=(Token)match(input,24,FOLLOW_24_in_ruleImportedFQN1127); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImportedFQN" + + // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:487:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:527:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; public final EObject entryRuleDocumentation() throws RecognitionException { EObject current = null; @@ -1212,17 +1323,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:488:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:489:2: iv_ruleDocumentation= ruleDocumentation EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:528:2: (iv_ruleDocumentation= ruleDocumentation EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:529:2: iv_ruleDocumentation= ruleDocumentation EOF { newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1047); + pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1169); iv_ruleDocumentation=ruleDocumentation(); state._fsp--; current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1057); + match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1179); } @@ -1240,7 +1351,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:496:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:536: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; @@ -1251,14 +1362,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:499:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:500:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:539:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:540:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:500:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:500:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:540:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:540:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:500:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:501:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:540:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:541:5: { current = forceCreateModelElement( @@ -1268,29 +1379,29 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,24,FOLLOW_24_in_ruleDocumentation1103); + otherlv_1=(Token)match(input,25,FOLLOW_25_in_ruleDocumentation1225); newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:510:1: ( (lv_lines_2_0= RULE_STRING ) )* - loop7: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:550:1: ( (lv_lines_2_0= RULE_STRING ) )* + loop8: do { - int alt7=2; - int LA7_0 = input.LA(1); + int alt8=2; + int LA8_0 = input.LA(1); - if ( (LA7_0==RULE_STRING) ) { - alt7=1; + if ( (LA8_0==RULE_STRING) ) { + alt8=1; } - switch (alt7) { + switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:511:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:551:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:511:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:512:3: lv_lines_2_0= RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:551:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:552:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1120); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1242); newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -1312,11 +1423,11 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { break; default : - break loop7; + break loop8; } } while (true); - otherlv_3=(Token)match(input,25,FOLLOW_25_in_ruleDocumentation1138); + otherlv_3=(Token)match(input,26,FOLLOW_26_in_ruleDocumentation1260); newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); @@ -1341,7 +1452,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:544:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:584:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -1349,17 +1460,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:545:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:546:2: iv_ruleLiteral= ruleLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:585:2: (iv_ruleLiteral= ruleLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:586:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1178); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1300); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1188); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1310); } @@ -1377,7 +1488,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:553:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:593: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; @@ -1391,47 +1502,47 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:556:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:557:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:596:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:597:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:557:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) - int alt8=3; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:597:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + int alt9=3; switch ( input.LA(1) ) { - case 26: case 27: + case 28: { - alt8=1; + alt9=1; } break; case RULE_INT: case RULE_HEX: - case 28: case 29: case 30: + case 31: { - alt8=2; + alt9=2; } break; case RULE_STRING: { - alt8=3; + alt9=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 8, 0, input); + new NoViableAltException("", 9, 0, input); throw nvae; } - switch (alt8) { + switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:558:5: this_BooleanLiteral_0= ruleBooleanLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:598:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral1235); + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral1357); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -1444,12 +1555,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:568:5: this_NumberLiteral_1= ruleNumberLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:608:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral1262); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral1384); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -1462,12 +1573,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:578:5: this_StringLiteral_2= ruleStringLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:618:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral1289); + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral1411); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -1500,7 +1611,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBooleanLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:594:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:634:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -1508,17 +1619,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:595:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:596:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:635:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:636:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1324); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1446); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral1334); + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral1456); } @@ -1536,7 +1647,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBooleanLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:603:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:643:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -1546,14 +1657,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:606:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:607:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:646:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:647:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:607:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:607:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:647:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:647:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:607:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:608:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:647:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:648:5: { current = forceCreateModelElement( @@ -1563,27 +1674,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:613:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) - int alt9=2; - int LA9_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:653:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA9_0==26) ) { - alt9=1; + if ( (LA10_0==27) ) { + alt10=1; } - else if ( (LA9_0==27) ) { - alt9=2; + else if ( (LA10_0==28) ) { + alt10=2; } else { NoViableAltException nvae = - new NoViableAltException("", 9, 0, input); + new NoViableAltException("", 10, 0, input); throw nvae; } - switch (alt9) { + switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:613:4: otherlv_1= 'false' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:653:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleBooleanLiteral1381); + otherlv_1=(Token)match(input,27,FOLLOW_27_in_ruleBooleanLiteral1503); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -1591,15 +1702,15 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:618:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:658:6: ( (lv_isTrue_2_0= 'true' ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:618:6: ( (lv_isTrue_2_0= 'true' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:619:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:658:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:659:1: (lv_isTrue_2_0= 'true' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:619:1: (lv_isTrue_2_0= 'true' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:620:3: lv_isTrue_2_0= 'true' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:659:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:660:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,27,FOLLOW_27_in_ruleBooleanLiteral1405); + lv_isTrue_2_0=(Token)match(input,28,FOLLOW_28_in_ruleBooleanLiteral1527); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -1642,7 +1753,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumberLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:641:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:681:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -1650,17 +1761,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:642:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:643:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:682:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:683:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1455); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1577); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral1465); + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral1587); } @@ -1678,7 +1789,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumberLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:650:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:690:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -1690,69 +1801,69 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:653:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:654:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:693:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:654:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) - int alt10=2; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + int alt11=2; switch ( input.LA(1) ) { - case 28: + case 29: { - int LA10_1 = input.LA(2); + int LA11_1 = input.LA(2); - if ( (LA10_1==RULE_INT) ) { - int LA10_3 = input.LA(3); + if ( (LA11_1==31) ) { + alt11=2; + } + else if ( (LA11_1==RULE_INT) ) { + int LA11_3 = input.LA(3); - if ( (LA10_3==30) ) { - alt10=2; + if ( (LA11_3==31) ) { + alt11=2; } - else if ( (LA10_3==EOF||(LA10_3>=15 && LA10_3<=16)) ) { - alt10=1; + else if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) { + alt11=1; } else { NoViableAltException nvae = - new NoViableAltException("", 10, 3, input); + new NoViableAltException("", 11, 3, input); throw nvae; } } - else if ( (LA10_1==30) ) { - alt10=2; - } else { NoViableAltException nvae = - new NoViableAltException("", 10, 1, input); + new NoViableAltException("", 11, 1, input); throw nvae; } } break; - case 29: + case 30: { - int LA10_2 = input.LA(2); + int LA11_2 = input.LA(2); - if ( (LA10_2==30) ) { - alt10=2; - } - else if ( (LA10_2==RULE_INT) ) { - int LA10_3 = input.LA(3); + if ( (LA11_2==RULE_INT) ) { + int LA11_3 = input.LA(3); - if ( (LA10_3==30) ) { - alt10=2; + if ( (LA11_3==31) ) { + alt11=2; } - else if ( (LA10_3==EOF||(LA10_3>=15 && LA10_3<=16)) ) { - alt10=1; + else if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) { + alt11=1; } else { NoViableAltException nvae = - new NoViableAltException("", 10, 3, input); + new NoViableAltException("", 11, 3, input); throw nvae; } } + else if ( (LA11_2==31) ) { + alt11=2; + } else { NoViableAltException nvae = - new NoViableAltException("", 10, 2, input); + new NoViableAltException("", 11, 2, input); throw nvae; } @@ -1760,17 +1871,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { break; case RULE_INT: { - int LA10_3 = input.LA(2); + int LA11_3 = input.LA(2); - if ( (LA10_3==30) ) { - alt10=2; + if ( (LA11_3==31) ) { + alt11=2; } - else if ( (LA10_3==EOF||(LA10_3>=15 && LA10_3<=16)) ) { - alt10=1; + else if ( (LA11_3==EOF||(LA11_3>=15 && LA11_3<=16)) ) { + alt11=1; } else { NoViableAltException nvae = - new NoViableAltException("", 10, 3, input); + new NoViableAltException("", 11, 3, input); throw nvae; } @@ -1778,29 +1889,29 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { break; case RULE_HEX: { - alt10=1; + alt11=1; } break; - case 30: + case 31: { - alt10=2; + alt11=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 10, 0, input); + new NoViableAltException("", 11, 0, input); throw nvae; } - switch (alt10) { + switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:655:5: this_IntLiteral_0= ruleIntLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:695:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1512); + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1634); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -1813,12 +1924,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:665:5: this_RealLiteral_1= ruleRealLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:705:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1539); + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1661); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -1851,7 +1962,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRealLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:681:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:721:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -1859,17 +1970,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:682:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:683:2: iv_ruleRealLiteral= ruleRealLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:722:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:723:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1574); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1696); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral1584); + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral1706); } @@ -1887,7 +1998,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRealLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:690:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:730:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -1897,14 +2008,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:693:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:733:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:734:1: ( () ( (lv_value_1_0= ruleReal ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:1: ( () ( (lv_value_1_0= ruleReal ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:2: () ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:734:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:734:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:694:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:695:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:734:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:735:5: { current = forceCreateModelElement( @@ -1914,16 +2025,16 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:700:2: ( (lv_value_1_0= ruleReal ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:701:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:740:2: ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:741:1: (lv_value_1_0= ruleReal ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:701:1: (lv_value_1_0= ruleReal ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:702:3: lv_value_1_0= ruleReal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:741:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:742:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral1639); + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral1761); lv_value_1_0=ruleReal(); state._fsp--; @@ -1966,7 +2077,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleIntLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:726:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:766:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -1974,17 +2085,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:727:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:728:2: iv_ruleIntLiteral= ruleIntLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:767:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:768:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral1675); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral1797); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral1685); + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral1807); } @@ -2002,7 +2113,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIntLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:735:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:775:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -2012,14 +2123,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:738:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:739:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:778:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:779:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:739:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:739:2: () ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:779:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:779:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:739:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:740:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:779:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:780:5: { current = forceCreateModelElement( @@ -2029,16 +2140,16 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:745:2: ( (lv_value_1_0= ruleInteger ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:746:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:785:2: ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:786:1: (lv_value_1_0= ruleInteger ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:746:1: (lv_value_1_0= ruleInteger ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:747:3: lv_value_1_0= ruleInteger + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:786:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:787:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral1740); + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral1862); lv_value_1_0=ruleInteger(); state._fsp--; @@ -2081,7 +2192,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:771:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:811:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -2089,17 +2200,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:772:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:773:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:812:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:813:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral1776); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral1898); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral1786); + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral1908); } @@ -2117,7 +2228,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:780:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:820:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -2126,14 +2237,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:783:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:784:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:823:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:824:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:784:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:784:2: () ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:824:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:824:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:784:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:785:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:824:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:825:5: { current = forceCreateModelElement( @@ -2143,13 +2254,13 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:790:2: ( (lv_value_1_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:791:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:830:2: ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:831:1: (lv_value_1_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:791:1: (lv_value_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:792:3: lv_value_1_0= RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:831:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:832:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral1837); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral1959); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -2190,7 +2301,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:816:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:856:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -2198,17 +2309,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:817:2: (iv_ruleInteger= ruleInteger EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:818:2: iv_ruleInteger= ruleInteger EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:857:2: (iv_ruleInteger= ruleInteger EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:858:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger1879); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger2001); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger1890); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger2012); } @@ -2226,7 +2337,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:825:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:865:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2238,33 +2349,33 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:828:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:829:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:868:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:869:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:829:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) - int alt11=2; - int LA11_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:869:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + int alt12=2; + int LA12_0 = input.LA(1); - if ( (LA11_0==RULE_INT||(LA11_0>=28 && LA11_0<=29)) ) { - alt11=1; + if ( (LA12_0==RULE_INT||(LA12_0>=29 && LA12_0<=30)) ) { + alt12=1; } - else if ( (LA11_0==RULE_HEX) ) { - alt11=2; + else if ( (LA12_0==RULE_HEX) ) { + alt12=2; } else { NoViableAltException nvae = - new NoViableAltException("", 11, 0, input); + new NoViableAltException("", 12, 0, input); throw nvae; } - switch (alt11) { + switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:830:5: this_SignedInteger_0= ruleSignedInteger + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:870:5: this_SignedInteger_0= ruleSignedInteger { newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); - pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger1937); + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger2059); this_SignedInteger_0=ruleSignedInteger(); state._fsp--; @@ -2279,12 +2390,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:842:5: this_Hexadecimal_1= ruleHexadecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:882:5: this_Hexadecimal_1= ruleHexadecimal { newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger1970); + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger2092); this_Hexadecimal_1=ruleHexadecimal(); state._fsp--; @@ -2319,7 +2430,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSignedInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:860:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:900:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; public final String entryRuleSignedInteger() throws RecognitionException { String current = null; @@ -2330,17 +2441,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:864:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:865:2: iv_ruleSignedInteger= ruleSignedInteger EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:904:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:905:2: iv_ruleSignedInteger= ruleSignedInteger EOF { newCompositeNode(grammarAccess.getSignedIntegerRule()); - pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2022); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2144); iv_ruleSignedInteger=ruleSignedInteger(); state._fsp--; current =iv_ruleSignedInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger2033); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger2155); } @@ -2361,7 +2472,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSignedInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:875:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:915:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2372,27 +2483,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:879:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:880:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:919:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:920:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:880:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:880:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:920:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:920:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:880:2: (kw= '+' | kw= '-' )? - int alt12=3; - int LA12_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:920:2: (kw= '+' | kw= '-' )? + int alt13=3; + int LA13_0 = input.LA(1); - if ( (LA12_0==28) ) { - alt12=1; + if ( (LA13_0==29) ) { + alt13=1; } - else if ( (LA12_0==29) ) { - alt12=2; + else if ( (LA13_0==30) ) { + alt13=2; } - switch (alt12) { + switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:881:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:921:2: kw= '+' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleSignedInteger2076); + kw=(Token)match(input,29,FOLLOW_29_in_ruleSignedInteger2198); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); @@ -2401,9 +2512,9 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:888:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:928:2: kw= '-' { - kw=(Token)match(input,29,FOLLOW_29_in_ruleSignedInteger2095); + kw=(Token)match(input,30,FOLLOW_30_in_ruleSignedInteger2217); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); @@ -2414,7 +2525,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger2112); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger2234); current.merge(this_INT_2); @@ -2445,7 +2556,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleHexadecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:911:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:951:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; public final String entryRuleHexadecimal() throws RecognitionException { String current = null; @@ -2456,17 +2567,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:915:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:916:2: iv_ruleHexadecimal= ruleHexadecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:955:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:956:2: iv_ruleHexadecimal= ruleHexadecimal EOF { newCompositeNode(grammarAccess.getHexadecimalRule()); - pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2168); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2290); iv_ruleHexadecimal=ruleHexadecimal(); state._fsp--; current =iv_ruleHexadecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal2179); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal2301); } @@ -2487,7 +2598,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleHexadecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:926:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:966:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2497,10 +2608,10 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:930:28: (this_HEX_0= RULE_HEX ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:931:5: this_HEX_0= RULE_HEX + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:970:28: (this_HEX_0= RULE_HEX ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:971:5: this_HEX_0= RULE_HEX { - this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal2222); + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal2344); current.merge(this_HEX_0); @@ -2528,7 +2639,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:949:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:989:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -2536,17 +2647,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:950:2: (iv_ruleReal= ruleReal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:951:2: iv_ruleReal= ruleReal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:990:2: (iv_ruleReal= ruleReal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:991:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal2271); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal2393); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal2282); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal2404); } @@ -2564,7 +2675,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:958:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:998:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2580,20 +2691,20 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:961:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:962:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1001:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1002:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:962:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) - int alt13=4; - alt13 = dfa13.predict(input); - switch (alt13) { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1002:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + int alt14=4; + alt14 = dfa14.predict(input); + switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:963:5: this_Decimal_0= ruleDecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1003:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal2329); + pushFollow(FOLLOW_ruleDecimal_in_ruleReal2451); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -2608,12 +2719,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:975:5: this_DotDecimal_1= ruleDotDecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1015:5: this_DotDecimal_1= ruleDotDecimal { newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal2362); + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal2484); this_DotDecimal_1=ruleDotDecimal(); state._fsp--; @@ -2628,12 +2739,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:987:5: this_DecimalDot_2= ruleDecimalDot + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1027:5: this_DecimalDot_2= ruleDecimalDot { newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); - pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal2395); + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal2517); this_DecimalDot_2=ruleDecimalDot(); state._fsp--; @@ -2648,12 +2759,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:999:5: this_DecimalExp_3= ruleDecimalExp + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1039:5: this_DecimalExp_3= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2428); + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2550); this_DecimalExp_3=ruleDecimalExp(); state._fsp--; @@ -2688,7 +2799,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1017:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1057:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -2699,17 +2810,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1021:2: (iv_ruleDecimal= ruleDecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1022:2: iv_ruleDecimal= ruleDecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1061:2: (iv_ruleDecimal= ruleDecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1062:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal2480); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal2602); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal2491); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal2613); } @@ -2730,7 +2841,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1032:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1072: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(); @@ -2742,27 +2853,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1036:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1037:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1076:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1077:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1037:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1037:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1077:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1077:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1037:2: (kw= '+' | kw= '-' )? - int alt14=3; - int LA14_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1077:2: (kw= '+' | kw= '-' )? + int alt15=3; + int LA15_0 = input.LA(1); - if ( (LA14_0==28) ) { - alt14=1; + if ( (LA15_0==29) ) { + alt15=1; } - else if ( (LA14_0==29) ) { - alt14=2; + else if ( (LA15_0==30) ) { + alt15=2; } - switch (alt14) { + switch (alt15) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1038:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1078:2: kw= '+' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimal2534); + kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimal2656); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -2771,9 +2882,9 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1045:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1085:2: kw= '-' { - kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimal2553); + kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal2675); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -2784,19 +2895,19 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal2570); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal2692); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal2588); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimal2710); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal2603); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal2725); current.merge(this_INT_4); @@ -2827,7 +2938,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDotDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1081:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1121:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; public final String entryRuleDotDecimal() throws RecognitionException { String current = null; @@ -2838,17 +2949,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1085:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1086:2: iv_ruleDotDecimal= ruleDotDecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1125:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1126:2: iv_ruleDotDecimal= ruleDotDecimal EOF { newCompositeNode(grammarAccess.getDotDecimalRule()); - pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal2659); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal2781); iv_ruleDotDecimal=ruleDotDecimal(); state._fsp--; current =iv_ruleDotDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal2670); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal2792); } @@ -2869,7 +2980,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDotDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1096:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1136:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2880,27 +2991,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1100:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1101:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1140:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1141:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1101:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1101:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1141:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1141:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1101:2: (kw= '+' | kw= '-' )? - int alt15=3; - int LA15_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1141:2: (kw= '+' | kw= '-' )? + int alt16=3; + int LA16_0 = input.LA(1); - if ( (LA15_0==28) ) { - alt15=1; + if ( (LA16_0==29) ) { + alt16=1; } - else if ( (LA15_0==29) ) { - alt15=2; + else if ( (LA16_0==30) ) { + alt16=2; } - switch (alt15) { + switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1102:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1142:2: kw= '+' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleDotDecimal2713); + kw=(Token)match(input,29,FOLLOW_29_in_ruleDotDecimal2835); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); @@ -2909,9 +3020,9 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1109:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1149:2: kw= '-' { - kw=(Token)match(input,29,FOLLOW_29_in_ruleDotDecimal2732); + kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal2854); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -2922,12 +3033,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal2747); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDotDecimal2869); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal2762); + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal2884); current.merge(this_INT_3); @@ -2958,7 +3069,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalDot" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1138:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1178:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; public final String entryRuleDecimalDot() throws RecognitionException { String current = null; @@ -2969,17 +3080,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1142:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1143:2: iv_ruleDecimalDot= ruleDecimalDot EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1182:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1183:2: iv_ruleDecimalDot= ruleDecimalDot EOF { newCompositeNode(grammarAccess.getDecimalDotRule()); - pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot2818); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot2940); iv_ruleDecimalDot=ruleDecimalDot(); state._fsp--; current =iv_ruleDecimalDot.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot2829); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot2951); } @@ -3000,7 +3111,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalDot" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1153:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1193:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3011,27 +3122,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1157:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1158:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1197:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1198:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1158:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1158:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1198:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1198:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1158:2: (kw= '+' | kw= '-' )? - int alt16=3; - int LA16_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1198:2: (kw= '+' | kw= '-' )? + int alt17=3; + int LA17_0 = input.LA(1); - if ( (LA16_0==28) ) { - alt16=1; + if ( (LA17_0==29) ) { + alt17=1; } - else if ( (LA16_0==29) ) { - alt16=2; + else if ( (LA17_0==30) ) { + alt17=2; } - switch (alt16) { + switch (alt17) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1159:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1199:2: kw= '+' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimalDot2872); + kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalDot2994); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); @@ -3040,9 +3151,9 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1166:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1206:2: kw= '-' { - kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalDot2891); + kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot3013); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); @@ -3053,14 +3164,14 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot2908); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot3030); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot2926); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalDot3048); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); @@ -3089,7 +3200,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalExp" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1195:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1235:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -3100,17 +3211,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1199:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1200:2: iv_ruleDecimalExp= ruleDecimalExp EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1239:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1240:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp2977); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3099); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp2988); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp3110); } @@ -3131,7 +3242,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1210:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1250:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3144,27 +3255,27 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1214:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1215:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1254:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1255:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1215:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1215:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1255:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1255:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1215:2: (kw= '+' | kw= '-' )? - int alt17=3; - int LA17_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1255:2: (kw= '+' | kw= '-' )? + int alt18=3; + int LA18_0 = input.LA(1); - if ( (LA17_0==28) ) { - alt17=1; + if ( (LA18_0==29) ) { + alt18=1; } - else if ( (LA17_0==29) ) { - alt17=2; + else if ( (LA18_0==30) ) { + alt18=2; } - switch (alt17) { + switch (alt18) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1216:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1256:2: kw= '+' { - kw=(Token)match(input,28,FOLLOW_28_in_ruleDecimalExp3031); + kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalExp3153); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -3173,9 +3284,9 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1223:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1263:2: kw= '-' { - kw=(Token)match(input,29,FOLLOW_29_in_ruleDecimalExp3050); + kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp3172); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -3186,26 +3297,26 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3067); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3189); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp3085); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalExp3207); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3100); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3222); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); - this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp3120); + this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp3242); current.merge(this_EXP_5); @@ -3236,7 +3347,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1266:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1306:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; public final String entryRuleFQN() throws RecognitionException { String current = null; @@ -3244,17 +3355,17 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1267:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1268:2: iv_ruleFQN= ruleFQN EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1307:2: (iv_ruleFQN= ruleFQN EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1308:2: iv_ruleFQN= ruleFQN EOF { newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3170); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3292); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3181); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3303); } @@ -3272,7 +3383,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1275:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1315:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; public final AntlrDatatypeRuleToken ruleFQN() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3283,40 +3394,40 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1278:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1279:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1318:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1319:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1279:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1279:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1319:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1319:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3221); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3343); current.merge(this_ID_0); newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1286:1: (kw= '.' this_ID_2= RULE_ID )* - loop18: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1326:1: (kw= '.' this_ID_2= RULE_ID )* + loop19: do { - int alt18=2; - int LA18_0 = input.LA(1); + int alt19=2; + int LA19_0 = input.LA(1); - if ( (LA18_0==30) ) { - alt18=1; + if ( (LA19_0==31) ) { + alt19=1; } - switch (alt18) { + switch (alt19) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1287:2: kw= '.' this_ID_2= RULE_ID + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1327:2: kw= '.' this_ID_2= RULE_ID { - kw=(Token)match(input,30,FOLLOW_30_in_ruleFQN3240); + kw=(Token)match(input,31,FOLLOW_31_in_ruleFQN3362); current.merge(kw); newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3255); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3377); current.merge(this_ID_2); @@ -3328,7 +3439,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { break; default : - break loop18; + break loop19; } } while (true); @@ -3353,7 +3464,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteralType" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1307:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1347: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; @@ -3364,47 +3475,47 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1309:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1310:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1349:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1350:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1310:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) - int alt19=4; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1350:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + int alt20=4; switch ( input.LA(1) ) { - case 31: - { - alt19=1; - } - break; case 32: { - alt19=2; + alt20=1; } break; case 33: { - alt19=3; + alt20=2; } break; case 34: { - alt19=4; + alt20=3; + } + break; + case 35: + { + alt20=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 19, 0, input); + new NoViableAltException("", 20, 0, input); throw nvae; } - switch (alt19) { + switch (alt20) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1310:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1350:2: (enumLiteral_0= 'ptBoolean' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1310:2: (enumLiteral_0= 'ptBoolean' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1310:4: enumLiteral_0= 'ptBoolean' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1350:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1350:4: enumLiteral_0= 'ptBoolean' { - enumLiteral_0=(Token)match(input,31,FOLLOW_31_in_ruleLiteralType3316); + enumLiteral_0=(Token)match(input,32,FOLLOW_32_in_ruleLiteralType3438); current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); @@ -3416,12 +3527,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1316:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1356:6: (enumLiteral_1= 'ptInteger' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1316:6: (enumLiteral_1= 'ptInteger' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1316:8: enumLiteral_1= 'ptInteger' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1356:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1356:8: enumLiteral_1= 'ptInteger' { - enumLiteral_1=(Token)match(input,32,FOLLOW_32_in_ruleLiteralType3333); + enumLiteral_1=(Token)match(input,33,FOLLOW_33_in_ruleLiteralType3455); current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); @@ -3433,12 +3544,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1322:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1362:6: (enumLiteral_2= 'ptReal' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1322:6: (enumLiteral_2= 'ptReal' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1322:8: enumLiteral_2= 'ptReal' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1362:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1362:8: enumLiteral_2= 'ptReal' { - enumLiteral_2=(Token)match(input,33,FOLLOW_33_in_ruleLiteralType3350); + enumLiteral_2=(Token)match(input,34,FOLLOW_34_in_ruleLiteralType3472); current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); @@ -3450,12 +3561,12 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1328:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1368:6: (enumLiteral_3= 'ptCharacter' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1328:6: (enumLiteral_3= 'ptCharacter' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1328:8: enumLiteral_3= 'ptCharacter' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1368:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBase.g:1368:8: enumLiteral_3= 'ptCharacter' { - enumLiteral_3=(Token)match(input,34,FOLLOW_34_in_ruleLiteralType3367); + enumLiteral_3=(Token)match(input,35,FOLLOW_35_in_ruleLiteralType3489); current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); @@ -3488,63 +3599,63 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { // Delegated rules - protected DFA13 dfa13 = new DFA13(this); - static final String DFA13_eotS = + protected DFA14 dfa14 = new DFA14(this); + static final String DFA14_eotS = "\12\uffff"; - static final String DFA13_eofS = - "\5\uffff\1\7\1\10\3\uffff"; - static final String DFA13_minS = - "\3\6\1\36\1\uffff\1\6\1\10\3\uffff"; - static final String DFA13_maxS = - "\4\36\1\uffff\2\20\3\uffff"; - static final String DFA13_acceptS = - "\4\uffff\1\2\2\uffff\1\3\1\1\1\4"; - static final String DFA13_specialS = + static final String DFA14_eofS = + "\5\uffff\1\6\1\uffff\1\11\2\uffff"; + static final String DFA14_minS = + "\3\6\1\37\1\uffff\1\6\1\uffff\1\10\2\uffff"; + static final String DFA14_maxS = + "\4\37\1\uffff\1\20\1\uffff\1\20\2\uffff"; + static final String DFA14_acceptS = + "\4\uffff\1\2\1\uffff\1\3\1\uffff\1\4\1\1"; + static final String DFA14_specialS = "\12\uffff}>"; - static final String[] DFA13_transitionS = { - "\1\3\25\uffff\1\1\1\2\1\4", - "\1\3\27\uffff\1\4", - "\1\3\27\uffff\1\4", + static final String[] DFA14_transitionS = { + "\1\3\26\uffff\1\1\1\2\1\4", + "\1\3\30\uffff\1\4", + "\1\3\30\uffff\1\4", "\1\5", "", - "\1\6\10\uffff\2\7", - "\1\11\6\uffff\2\10", + "\1\7\10\uffff\2\6", "", + "\1\10\6\uffff\2\11", "", "" }; - static final short[] DFA13_eot = DFA.unpackEncodedString(DFA13_eotS); - static final short[] DFA13_eof = DFA.unpackEncodedString(DFA13_eofS); - static final char[] DFA13_min = DFA.unpackEncodedStringToUnsignedChars(DFA13_minS); - static final char[] DFA13_max = DFA.unpackEncodedStringToUnsignedChars(DFA13_maxS); - static final short[] DFA13_accept = DFA.unpackEncodedString(DFA13_acceptS); - static final short[] DFA13_special = DFA.unpackEncodedString(DFA13_specialS); - static final short[][] DFA13_transition; + static final short[] DFA14_eot = DFA.unpackEncodedString(DFA14_eotS); + static final short[] DFA14_eof = DFA.unpackEncodedString(DFA14_eofS); + static final char[] DFA14_min = DFA.unpackEncodedStringToUnsignedChars(DFA14_minS); + static final char[] DFA14_max = DFA.unpackEncodedStringToUnsignedChars(DFA14_maxS); + static final short[] DFA14_accept = DFA.unpackEncodedString(DFA14_acceptS); + static final short[] DFA14_special = DFA.unpackEncodedString(DFA14_specialS); + static final short[][] DFA14_transition; static { - int numStates = DFA13_transitionS.length; - DFA13_transition = new short[numStates][]; + int numStates = DFA14_transitionS.length; + DFA14_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA13_transition[i] = DFA.unpackEncodedString(DFA13_transitionS[i]); + DFA14_transition[i] = DFA.unpackEncodedString(DFA14_transitionS[i]); } } - class DFA13 extends DFA { + class DFA14 extends DFA { - public DFA13(BaseRecognizer recognizer) { + public DFA14(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 13; - this.eot = DFA13_eot; - this.eof = DFA13_eof; - this.min = DFA13_min; - this.max = DFA13_max; - this.accept = DFA13_accept; - this.special = DFA13_special; - this.transition = DFA13_transition; + this.decisionNumber = 14; + this.eot = DFA14_eot; + this.eof = DFA14_eof; + this.min = DFA14_min; + this.max = DFA14_max; + this.accept = DFA14_accept; + this.special = DFA14_special; + this.transition = DFA14_transition; } public String getDescription() { - return "962:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + return "1002:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; } } @@ -3561,7 +3672,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue265 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue275 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue317 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleKeyValue334 = new BitSet(new long[]{0x000000007C0000E0L}); + public static final BitSet FOLLOW_17_in_ruleKeyValue334 = new BitSet(new long[]{0x00000000F80000E0L}); public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue355 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnnotationTargetType_in_entryRuleAnnotationTargetType394 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationTargetType405 = new BitSet(new long[]{0x0000000000000002L}); @@ -3576,7 +3687,7 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_19_in_ruleSimpleAnnotationAttribute692 = new BitSet(new long[]{0x0000000000100000L}); public static final BitSet FOLLOW_20_in_ruleSimpleAnnotationAttribute705 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute722 = new BitSet(new long[]{0x0000000000200000L}); - public static final BitSet FOLLOW_21_in_ruleSimpleAnnotationAttribute739 = new BitSet(new long[]{0x0000000780000000L}); + public static final BitSet FOLLOW_21_in_ruleSimpleAnnotationAttribute739 = new BitSet(new long[]{0x0000000F00000000L}); public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute760 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute796 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute806 = new BitSet(new long[]{0x0000000000000002L}); @@ -3590,86 +3701,90 @@ public class InternalBaseParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_15_in_ruleEnumAnnotationAttribute975 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute992 = new BitSet(new long[]{0x0000000000808000L}); public static final BitSet FOLLOW_23_in_ruleEnumAnnotationAttribute1011 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1047 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1057 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_24_in_ruleDocumentation1103 = new BitSet(new long[]{0x0000000002000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1120 = new BitSet(new long[]{0x0000000002000020L}); - public static final BitSet FOLLOW_25_in_ruleDocumentation1138 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1178 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1188 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral1235 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral1262 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral1289 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1324 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral1334 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_26_in_ruleBooleanLiteral1381 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_27_in_ruleBooleanLiteral1405 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1455 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral1465 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1512 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1539 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1574 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral1584 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral1639 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral1675 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral1685 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral1740 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral1776 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral1786 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral1837 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger1879 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInteger1890 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger1937 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger1970 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2022 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger2033 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleSignedInteger2076 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_29_in_ruleSignedInteger2095 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger2112 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2168 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal2179 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal2222 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2271 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleReal2282 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2329 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal2362 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal2395 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2428 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal2480 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimal2491 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleDecimal2534 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_29_in_ruleDecimal2553 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal2570 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_30_in_ruleDecimal2588 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal2603 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal2659 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal2670 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleDotDecimal2713 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_29_in_ruleDotDecimal2732 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_30_in_ruleDotDecimal2747 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal2762 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot2818 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot2829 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleDecimalDot2872 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_29_in_ruleDecimalDot2891 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot2908 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_30_in_ruleDecimalDot2926 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp2977 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp2988 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleDecimalExp3031 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_29_in_ruleDecimalExp3050 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3067 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_30_in_ruleDecimalExp3085 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3100 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp3120 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3170 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN3181 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3221 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_30_in_ruleFQN3240 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3255 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_31_in_ruleLiteralType3316 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_32_in_ruleLiteralType3333 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_33_in_ruleLiteralType3350 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleLiteralType3367 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1050 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN1061 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN1108 = new BitSet(new long[]{0x0000000001000002L}); + public static final BitSet FOLLOW_24_in_ruleImportedFQN1127 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1169 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1179 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_25_in_ruleDocumentation1225 = new BitSet(new long[]{0x0000000004000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1242 = new BitSet(new long[]{0x0000000004000020L}); + public static final BitSet FOLLOW_26_in_ruleDocumentation1260 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1300 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1310 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral1357 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral1384 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral1411 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1446 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral1456 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_27_in_ruleBooleanLiteral1503 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_28_in_ruleBooleanLiteral1527 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1577 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral1587 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1634 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1661 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1696 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral1706 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral1761 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral1797 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral1807 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral1862 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral1898 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral1908 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral1959 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger2001 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInteger2012 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger2059 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger2092 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2144 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger2155 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleSignedInteger2198 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30_in_ruleSignedInteger2217 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger2234 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2290 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal2301 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal2344 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2393 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleReal2404 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2451 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal2484 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal2517 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2550 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal2602 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimal2613 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleDecimal2656 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30_in_ruleDecimal2675 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal2692 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleDecimal2710 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal2725 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal2781 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal2792 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleDotDecimal2835 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_30_in_ruleDotDecimal2854 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleDotDecimal2869 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal2884 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot2940 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot2951 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleDecimalDot2994 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30_in_ruleDecimalDot3013 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot3030 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleDecimalDot3048 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3099 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp3110 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleDecimalExp3153 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_30_in_ruleDecimalExp3172 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3189 = new BitSet(new long[]{0x0000000080000000L}); + public static final BitSet FOLLOW_31_in_ruleDecimalExp3207 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3222 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp3242 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3292 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleFQN3303 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3343 = new BitSet(new long[]{0x0000000080000002L}); + public static final BitSet FOLLOW_31_in_ruleFQN3362 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3377 = new BitSet(new long[]{0x0000000080000002L}); + public static final BitSet FOLLOW_32_in_ruleLiteralType3438 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_33_in_ruleLiteralType3455 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_34_in_ruleLiteralType3472 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_35_in_ruleLiteralType3489 = new BitSet(new long[]{0x0000000000000002L}); }
\ No newline at end of file diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g index eff5e336b..29c27c674 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g @@ -700,6 +700,46 @@ ruleEnumAnnotationAttribute returns [EObject current=null] + + +// Entry rule entryRuleImportedFQN +entryRuleImportedFQN returns [String current=null] + : + { newCompositeNode(grammarAccess.getImportedFQNRule()); } + iv_ruleImportedFQN=ruleImportedFQN + { $current=$iv_ruleImportedFQN.current.getText(); } + EOF +; + +// Rule ImportedFQN +ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] + @init { enterRule(); + } + @after { leaveRule(); }: +( + { + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + } + this_FQN_0=ruleFQN { + $current.merge(this_FQN_0); + } + + { + afterParserOrEnumRuleCall(); + } +( + kw='.*' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + } +)?) + ; + + + + + // Entry rule entryRuleDocumentation entryRuleDocumentation returns [EObject current=null] : diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens index b0b39a61a..16d804b11 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.tokens @@ -27,31 +27,33 @@ T__35=35 T__18=18 T__36=36 T__17=17 +T__37=37 T__14=14 T__13=13 RULE_INT=6 RULE_WS=11 -'true'=29 +'true'=30 '}'=21 '{'=19 +'.*'=26 'optional'=22 -'ptCharacter'=36 -'false'=28 +'ptCharacter'=37 +'false'=29 '='=17 ':'=25 '@'=13 '('=14 -'-'=31 -'['=26 +'-'=32 +'['=27 'attribute'=24 -'+'=30 -'ptReal'=35 +'+'=31 +'ptReal'=36 ','=15 'AnnotationType'=18 -'.'=32 +'.'=33 ')'=16 -'ptBoolean'=33 -'ptInteger'=34 -']'=27 +'ptBoolean'=34 +'ptInteger'=35 +']'=28 'mandatory'=23 'target'=20 diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java index 16e95217b..e1a3cca3b 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestLexer.java @@ -42,6 +42,7 @@ public class InternalBaseTestLexer extends Lexer { public static final int T__35=35; public static final int T__17=17; public static final int T__36=36; + public static final int T__37=37; public static final int T__14=14; public static final int T__13=13; public static final int RULE_INT=6; @@ -330,10 +331,11 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__26; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:24:7: ( '[' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:24:9: '[' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:24:7: ( '.*' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:24:9: '.*' { - match('['); + match(".*"); + } @@ -350,10 +352,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__27; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:25:7: ( ']' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:25:9: ']' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:25:7: ( '[' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:25:9: '[' { - match(']'); + match('['); } @@ -370,11 +372,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:26:7: ( 'false' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:26:9: 'false' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:26:7: ( ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:26:9: ']' { - match("false"); - + match(']'); } @@ -391,10 +392,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:27:7: ( 'true' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:27:9: 'true' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:27:7: ( 'false' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:27:9: 'false' { - match("true"); + match("false"); } @@ -412,10 +413,11 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:28:7: ( '+' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:28:9: '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:28:7: ( 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:28:9: 'true' { - match('+'); + match("true"); + } @@ -432,10 +434,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:29:7: ( '-' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:29:9: '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:29:7: ( '+' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:29:9: '+' { - match('-'); + match('+'); } @@ -452,10 +454,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:30:7: ( '.' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:30:9: '.' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:30:7: ( '-' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:30:9: '-' { - match('.'); + match('-'); } @@ -472,11 +474,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:31:7: ( 'ptBoolean' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:31:9: 'ptBoolean' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:31:7: ( '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:31:9: '.' { - match("ptBoolean"); - + match('.'); } @@ -493,10 +494,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:32:7: ( 'ptInteger' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:32:9: 'ptInteger' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:32:7: ( 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:32:9: 'ptBoolean' { - match("ptInteger"); + match("ptBoolean"); } @@ -514,10 +515,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:33:7: ( 'ptReal' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:33:9: 'ptReal' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:33:7: ( 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:33:9: 'ptInteger' { - match("ptReal"); + match("ptInteger"); } @@ -535,10 +536,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:34:7: ( 'ptCharacter' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:34:9: 'ptCharacter' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:34:7: ( 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:34:9: 'ptReal' { - match("ptCharacter"); + match("ptReal"); } @@ -551,13 +552,34 @@ public class InternalBaseTestLexer extends Lexer { } // $ANTLR end "T__36" + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:35:7: ( 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:35:9: 'ptCharacter' + { + match("ptCharacter"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" + // $ANTLR start "RULE_EXP" public final void mRULE_EXP() throws RecognitionException { try { int _type = RULE_EXP; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1554:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1554:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1594:10: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1594:12: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ { if ( input.LA(1)=='E'||input.LA(1)=='e' ) { input.consume(); @@ -568,7 +590,7 @@ public class InternalBaseTestLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1554:22: ( '+' | '-' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1594:22: ( '+' | '-' )? int alt1=2; int LA1_0 = input.LA(1); @@ -594,7 +616,7 @@ public class InternalBaseTestLexer extends Lexer { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1554:33: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1594:33: ( '0' .. '9' )+ int cnt2=0; loop2: do { @@ -608,7 +630,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt2) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1554:34: '0' .. '9' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1594:34: '0' .. '9' { matchRange('0','9'); @@ -640,10 +662,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_HEX; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:10: ( ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:12: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:12: ( '0x' | '0X' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:12: ( '0x' | '0X' ) int alt3=2; int LA3_0 = input.LA(1); @@ -671,7 +693,7 @@ public class InternalBaseTestLexer extends Lexer { } switch (alt3) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:13: '0x' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:13: '0x' { match("0x"); @@ -679,7 +701,7 @@ public class InternalBaseTestLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:18: '0X' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:18: '0X' { match("0X"); @@ -689,7 +711,7 @@ public class InternalBaseTestLexer extends Lexer { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1556:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1596:24: ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ int cnt4=0; loop4: do { @@ -743,10 +765,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1558:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1558:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1598:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1598:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1558:11: ( '^' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1598:11: ( '^' )? int alt5=2; int LA5_0 = input.LA(1); @@ -755,7 +777,7 @@ public class InternalBaseTestLexer extends Lexer { } switch (alt5) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1558:11: '^' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1598:11: '^' { match('^'); @@ -773,7 +795,7 @@ public class InternalBaseTestLexer extends Lexer { recover(mse); throw mse;} - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1558:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1598:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop6: do { int alt6=2; @@ -822,10 +844,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1560:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1560:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1600:10: ( ( '0' .. '9' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1600:12: ( '0' .. '9' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1560:12: ( '0' .. '9' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1600:12: ( '0' .. '9' )+ int cnt7=0; loop7: do { @@ -839,7 +861,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt7) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1560:13: '0' .. '9' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1600:13: '0' .. '9' { matchRange('0','9'); @@ -871,10 +893,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt10=2; int LA10_0 = input.LA(1); @@ -892,10 +914,10 @@ public class InternalBaseTestLexer extends Lexer { } switch (alt10) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* loop8: do { int alt8=3; @@ -911,7 +933,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt8) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -927,7 +949,7 @@ public class InternalBaseTestLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:66: ~ ( ( '\\\\' | '\"' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:66: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -952,10 +974,10 @@ public class InternalBaseTestLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:86: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:91: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* loop9: do { int alt9=3; @@ -971,7 +993,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt9) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:92: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | 'u' | '\"' | '\\'' | '\\\\' ) { match('\\'); if ( input.LA(1)=='\"'||input.LA(1)=='\''||input.LA(1)=='\\'||input.LA(1)=='b'||input.LA(1)=='f'||input.LA(1)=='n'||input.LA(1)=='r'||(input.LA(1)>='t' && input.LA(1)<='u') ) { @@ -987,7 +1009,7 @@ public class InternalBaseTestLexer extends Lexer { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1562:137: ~ ( ( '\\\\' | '\\'' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1602:137: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1030,12 +1052,12 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1564:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1564:19: '/*' ( options {greedy=false; } : . )* '*/' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1604:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1604:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1564:24: ( options {greedy=false; } : . )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1604:24: ( options {greedy=false; } : . )* loop11: do { int alt11=2; @@ -1060,7 +1082,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt11) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1564:52: . + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1604:52: . { matchAny(); @@ -1090,12 +1112,12 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:24: (~ ( ( '\\n' | '\\r' ) ) )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:24: (~ ( ( '\\n' | '\\r' ) ) )* loop12: do { int alt12=2; @@ -1108,7 +1130,7 @@ public class InternalBaseTestLexer extends Lexer { switch (alt12) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:24: ~ ( ( '\\n' | '\\r' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606: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(); @@ -1128,7 +1150,7 @@ public class InternalBaseTestLexer extends Lexer { } } while (true); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:40: ( ( '\\r' )? '\\n' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:40: ( ( '\\r' )? '\\n' )? int alt14=2; int LA14_0 = input.LA(1); @@ -1137,9 +1159,9 @@ public class InternalBaseTestLexer extends Lexer { } switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:41: ( '\\r' )? '\\n' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:41: ( '\\r' )? '\\n' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:41: ( '\\r' )? + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:41: ( '\\r' )? int alt13=2; int LA13_0 = input.LA(1); @@ -1148,7 +1170,7 @@ public class InternalBaseTestLexer extends Lexer { } switch (alt13) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:41: '\\r' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1606:41: '\\r' { match('\r'); @@ -1180,10 +1202,10 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1568:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1568:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1608:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1568:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1608:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt15=0; loop15: do { @@ -1237,8 +1259,8 @@ public class InternalBaseTestLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1570:16: ( . ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1570:18: . + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1610:16: ( . ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1610:18: . { matchAny(); @@ -1253,8 +1275,8 @@ public class InternalBaseTestLexer extends Lexer { // $ANTLR end "RULE_ANY_OTHER" public void mTokens() throws RecognitionException { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt16=33; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt16=34; alt16 = dfa16.predict(input); switch (alt16) { case 1 : @@ -1426,63 +1448,70 @@ public class InternalBaseTestLexer extends Lexer { } break; case 25 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:154: RULE_EXP + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:154: T__37 { - mRULE_EXP(); + mT__37(); } break; case 26 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:163: RULE_HEX + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:160: RULE_EXP { - mRULE_HEX(); + mRULE_EXP(); } break; case 27 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:172: RULE_ID + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:169: RULE_HEX { - mRULE_ID(); + mRULE_HEX(); } break; case 28 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:180: RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:178: RULE_ID { - mRULE_INT(); + mRULE_ID(); } break; case 29 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:189: RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:186: RULE_INT { - mRULE_STRING(); + mRULE_INT(); } break; case 30 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:201: RULE_ML_COMMENT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:195: RULE_STRING { - mRULE_ML_COMMENT(); + mRULE_STRING(); } break; case 31 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:217: RULE_SL_COMMENT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:207: RULE_ML_COMMENT { - mRULE_SL_COMMENT(); + mRULE_ML_COMMENT(); } break; case 32 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:233: RULE_WS + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:223: RULE_SL_COMMENT { - mRULE_WS(); + mRULE_SL_COMMENT(); } break; case 33 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:241: RULE_ANY_OTHER + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:239: RULE_WS + { + mRULE_WS(); + + } + break; + case 34 : + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1:247: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1496,53 +1525,54 @@ public class InternalBaseTestLexer extends Lexer { protected DFA16 dfa16 = new DFA16(this); static final String DFA16_eotS = - "\6\uffff\1\45\1\uffff\1\45\1\uffff\3\45\3\uffff\1\45\3\uffff\2"+ - "\45\1\70\1\36\2\uffff\3\36\7\uffff\1\45\2\uffff\2\45\1\uffff\3\45"+ - "\3\uffff\1\45\3\uffff\1\45\1\uffff\1\65\6\uffff\15\45\1\125\12\45"+ - "\1\uffff\3\45\1\143\5\45\1\151\3\45\1\uffff\2\45\1\157\2\45\1\uffff"+ - "\5\45\1\uffff\2\45\1\171\6\45\1\uffff\1\u0080\1\u0081\1\u0082\1"+ - "\u0083\2\45\4\uffff\2\45\1\u0088\1\45\1\uffff\1\45\1\u008b\1\uffff"; + "\6\uffff\1\45\1\uffff\1\45\1\uffff\3\45\1\uffff\1\57\2\uffff\1"+ + "\45\2\uffff\2\45\1\71\1\36\2\uffff\3\36\7\uffff\1\45\2\uffff\2\45"+ + "\1\uffff\3\45\5\uffff\1\45\2\uffff\1\45\1\uffff\1\66\6\uffff\15"+ + "\45\1\126\12\45\1\uffff\3\45\1\144\5\45\1\152\3\45\1\uffff\2\45"+ + "\1\160\2\45\1\uffff\5\45\1\uffff\2\45\1\172\6\45\1\uffff\1\u0081"+ + "\1\u0082\1\u0083\1\u0084\2\45\4\uffff\2\45\1\u0089\1\45\1\uffff"+ + "\1\45\1\u008c\1\uffff"; static final String DFA16_eofS = - "\u008c\uffff"; + "\u008d\uffff"; static final String DFA16_minS = - "\1\0\5\uffff\1\156\1\uffff\1\141\1\uffff\1\160\1\141\1\164\3\uffff"+ - "\1\141\3\uffff\1\164\1\53\1\130\1\101\2\uffff\2\0\1\52\7\uffff\1"+ - "\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164\3\uffff\1\154"+ - "\3\uffff\1\102\1\uffff\1\60\6\uffff\1\157\1\147\1\145\1\151\1\144"+ - "\1\162\1\163\1\157\1\156\1\145\1\150\1\164\1\145\1\60\1\157\1\141"+ - "\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1\156\1\164\1\142\1"+ - "\60\1\154\1\145\1\154\1\162\1\164\1\60\1\141\1\157\1\165\1\uffff"+ - "\1\145\1\147\1\60\1\141\1\151\1\uffff\1\154\1\162\1\164\1\141\1"+ - "\145\1\uffff\1\143\1\157\1\60\1\171\1\145\1\156\1\162\1\164\1\156"+ - "\1\uffff\4\60\1\145\1\124\4\uffff\1\162\1\171\1\60\1\160\1\uffff"+ - "\1\145\1\60\1\uffff"; + "\1\0\5\uffff\1\156\1\uffff\1\141\1\uffff\1\160\1\141\1\164\1\uffff"+ + "\1\52\2\uffff\1\141\2\uffff\1\164\1\53\1\130\1\101\2\uffff\2\0\1"+ + "\52\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164"+ + "\5\uffff\1\154\2\uffff\1\102\1\uffff\1\60\6\uffff\1\157\1\147\1"+ + "\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\164\1\145"+ + "\1\60\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1"+ + "\156\1\164\1\142\1\60\1\154\1\145\1\154\1\162\1\164\1\60\1\141\1"+ + "\157\1\165\1\uffff\1\145\1\147\1\60\1\141\1\151\1\uffff\1\154\1"+ + "\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\60\1\171\1\145\1\156"+ + "\1\162\1\164\1\156\1\uffff\4\60\1\145\1\124\4\uffff\1\162\1\171"+ + "\1\60\1\160\1\uffff\1\145\1\60\1\uffff"; static final String DFA16_maxS = "\1\uffff\5\uffff\1\156\1\uffff\1\162\1\uffff\1\160\1\141\1\164"+ - "\3\uffff\1\141\3\uffff\1\164\1\71\1\170\1\172\2\uffff\2\uffff\1"+ - "\57\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1\156\1\164"+ - "\3\uffff\1\154\3\uffff\1\122\1\uffff\1\172\6\uffff\1\157\1\147\1"+ - "\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\164\1\145"+ - "\1\172\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff\1"+ - "\156\1\164\1\142\1\172\1\154\1\145\1\154\1\162\1\164\1\172\1\141"+ + "\1\uffff\1\52\2\uffff\1\141\2\uffff\1\164\1\71\1\170\1\172\2\uffff"+ + "\2\uffff\1\57\7\uffff\1\156\2\uffff\1\162\1\165\1\uffff\1\164\1"+ + "\156\1\164\5\uffff\1\154\2\uffff\1\122\1\uffff\1\172\6\uffff\1\157"+ + "\1\147\1\145\1\151\1\144\1\162\1\163\1\157\1\156\1\145\1\150\1\164"+ + "\1\145\1\172\1\157\1\141\1\151\1\145\1\157\1\164\3\141\1\164\1\uffff"+ + "\1\156\1\164\1\142\1\172\1\154\1\145\1\154\1\162\1\164\1\172\1\141"+ "\1\157\1\165\1\uffff\1\145\1\147\1\172\1\141\1\151\1\uffff\1\154"+ "\1\162\1\164\1\141\1\145\1\uffff\1\143\1\157\1\172\1\171\1\145\1"+ "\156\1\162\1\164\1\156\1\uffff\4\172\1\145\1\124\4\uffff\1\162\1"+ "\171\1\172\1\160\1\uffff\1\145\1\172\1\uffff"; static final String DFA16_acceptS = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\uffff\1\7\1\uffff\1\11\3\uffff\1"+ - "\15\1\16\1\17\1\uffff\1\22\1\23\1\24\4\uffff\1\33\1\34\3\uffff\1"+ - "\40\1\41\1\1\1\2\1\3\1\4\1\5\1\uffff\1\33\1\7\2\uffff\1\11\3\uffff"+ - "\1\15\1\16\1\17\1\uffff\1\22\1\23\1\24\1\uffff\1\31\1\uffff\1\32"+ - "\1\34\1\35\1\36\1\37\1\40\30\uffff\1\21\15\uffff\1\20\5\uffff\1"+ - "\10\5\uffff\1\27\11\uffff\1\12\6\uffff\1\13\1\14\1\25\1\26\4\uffff"+ - "\1\30\2\uffff\1\6"; + "\15\1\uffff\1\17\1\20\1\uffff\1\23\1\24\4\uffff\1\34\1\35\3\uffff"+ + "\1\41\1\42\1\1\1\2\1\3\1\4\1\5\1\uffff\1\34\1\7\2\uffff\1\11\3\uffff"+ + "\1\15\1\16\1\25\1\17\1\20\1\uffff\1\23\1\24\1\uffff\1\32\1\uffff"+ + "\1\33\1\35\1\36\1\37\1\40\1\41\30\uffff\1\22\15\uffff\1\21\5\uffff"+ + "\1\10\5\uffff\1\30\11\uffff\1\12\6\uffff\1\13\1\14\1\26\1\27\4\uffff"+ + "\1\31\2\uffff\1\6"; static final String DFA16_specialS = - "\1\1\31\uffff\1\2\1\0\160\uffff}>"; + "\1\0\31\uffff\1\1\1\2\161\uffff}>"; static final String[] DFA16_transitionS = { "\11\36\2\35\2\36\1\35\22\36\1\35\1\36\1\32\4\36\1\33\1\2\1"+ - "\4\1\36\1\21\1\3\1\22\1\23\1\34\1\26\11\31\1\15\2\36\1\5\2\36"+ - "\1\1\1\6\3\30\1\25\25\30\1\16\1\36\1\17\1\27\1\30\1\36\1\14"+ - "\3\30\1\25\1\20\6\30\1\13\1\30\1\12\1\24\3\30\1\10\6\30\1\7"+ + "\4\1\36\1\22\1\3\1\23\1\16\1\34\1\26\11\31\1\15\2\36\1\5\2\36"+ + "\1\1\1\6\3\30\1\25\25\30\1\17\1\36\1\20\1\27\1\30\1\36\1\14"+ + "\3\30\1\25\1\21\6\30\1\13\1\30\1\12\1\24\3\30\1\10\6\30\1\7"+ "\1\36\1\11\uff82\36", "", "", @@ -1557,21 +1587,21 @@ public class InternalBaseTestLexer extends Lexer { "\1\53", "\1\54", "", + "\1\56", "", "", - "\1\60", - "", + "\1\62", "", "", - "\1\64", - "\1\65\1\uffff\1\65\2\uffff\12\66", - "\1\67\37\uffff\1\67", + "\1\65", + "\1\66\1\uffff\1\66\2\uffff\12\67", + "\1\70\37\uffff\1\70", "\32\45\4\uffff\1\45\1\uffff\32\45", "", "", - "\0\71", - "\0\71", - "\1\72\4\uffff\1\73", + "\0\72", + "\0\72", + "\1\73\4\uffff\1\74", "", "", "", @@ -1579,32 +1609,32 @@ public class InternalBaseTestLexer extends Lexer { "", "", "", - "\1\75", + "\1\76", "", "", - "\1\76", "\1\77", - "", "\1\100", + "", "\1\101", "\1\102", + "\1\103", + "", "", "", "", - "\1\103", "", + "\1\104", "", "", - "\1\104\1\107\5\uffff\1\105\10\uffff\1\106", + "\1\105\1\110\5\uffff\1\106\10\uffff\1\107", "", - "\12\66\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", + "\12\67\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "", "", "", "", "", "", - "\1\110", "\1\111", "\1\112", "\1\113", @@ -1617,8 +1647,8 @@ public class InternalBaseTestLexer extends Lexer { "\1\122", "\1\123", "\1\124", + "\1\125", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\126", "\1\127", "\1\130", "\1\131", @@ -1628,59 +1658,60 @@ public class InternalBaseTestLexer extends Lexer { "\1\135", "\1\136", "\1\137", - "", "\1\140", + "", "\1\141", "\1\142", + "\1\143", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\144", "\1\145", "\1\146", "\1\147", "\1\150", + "\1\151", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\152", "\1\153", "\1\154", - "", "\1\155", + "", "\1\156", + "\1\157", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\160", "\1\161", - "", "\1\162", + "", "\1\163", "\1\164", "\1\165", "\1\166", - "", "\1\167", + "", "\1\170", + "\1\171", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\172", "\1\173", "\1\174", "\1\175", "\1\176", "\1\177", + "\1\u0080", "", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0084", "\1\u0085", + "\1\u0086", "", "", "", "", - "\1\u0086", "\1\u0087", + "\1\u0088", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", - "\1\u0089", - "", "\1\u008a", + "", + "\1\u008b", "\12\45\7\uffff\32\45\4\uffff\1\45\1\uffff\32\45", "" }; @@ -1715,23 +1746,13 @@ public class InternalBaseTestLexer extends Lexer { this.transition = DFA16_transition; } public String getDescription() { - return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | RULE_EXP | RULE_HEX | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA16_27 = input.LA(1); - - s = -1; - if ( ((LA16_27>='\u0000' && LA16_27<='\uFFFF')) ) {s = 57;} - - else s = 30; - - if ( s>=0 ) return s; - break; - case 1 : int LA16_0 = input.LA(1); s = -1; @@ -1761,17 +1782,17 @@ public class InternalBaseTestLexer extends Lexer { else if ( (LA16_0==':') ) {s = 13;} - else if ( (LA16_0=='[') ) {s = 14;} + else if ( (LA16_0=='.') ) {s = 14;} - else if ( (LA16_0==']') ) {s = 15;} + else if ( (LA16_0=='[') ) {s = 15;} - else if ( (LA16_0=='f') ) {s = 16;} + else if ( (LA16_0==']') ) {s = 16;} - else if ( (LA16_0=='+') ) {s = 17;} + else if ( (LA16_0=='f') ) {s = 17;} - else if ( (LA16_0=='-') ) {s = 18;} + else if ( (LA16_0=='+') ) {s = 18;} - else if ( (LA16_0=='.') ) {s = 19;} + else if ( (LA16_0=='-') ) {s = 19;} else if ( (LA16_0=='p') ) {s = 20;} @@ -1797,11 +1818,21 @@ public class InternalBaseTestLexer extends Lexer { if ( s>=0 ) return s; break; - case 2 : + case 1 : int LA16_26 = input.LA(1); s = -1; - if ( ((LA16_26>='\u0000' && LA16_26<='\uFFFF')) ) {s = 57;} + if ( ((LA16_26>='\u0000' && LA16_26<='\uFFFF')) ) {s = 58;} + + else s = 30; + + if ( s>=0 ) return s; + break; + case 2 : + int LA16_27 = input.LA(1); + + s = -1; + if ( ((LA16_27>='\u0000' && LA16_27<='\uFFFF')) ) {s = 58;} else s = 30; diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java index 8491ba6b3..49ad4e6f1 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTestParser.java @@ -22,7 +22,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalBaseTestParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'AnnotationType'", "'{'", "'target'", "'}'", "'optional'", "'mandatory'", "'attribute'", "':'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" + "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_HEX", "RULE_EXP", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'@'", "'('", "','", "')'", "'='", "'AnnotationType'", "'{'", "'target'", "'}'", "'optional'", "'mandatory'", "'attribute'", "':'", "'.*'", "'['", "']'", "'false'", "'true'", "'+'", "'-'", "'.'", "'ptBoolean'", "'ptInteger'", "'ptReal'", "'ptCharacter'" }; public static final int RULE_EXP=8; public static final int RULE_ID=4; @@ -54,6 +54,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { public static final int T__18=18; public static final int T__36=36; public static final int T__17=17; + public static final int T__37=37; public static final int T__14=14; public static final int T__13=13; public static final int RULE_INT=6; @@ -732,7 +733,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { int alt5=2; int LA5_0 = input.LA(1); - if ( (LA5_0==26) ) { + if ( (LA5_0==27) ) { alt5=1; } switch (alt5) { @@ -1163,12 +1164,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { if ( (LA9_4==25) ) { int LA9_5 = input.LA(5); - if ( ((LA9_5>=33 && LA9_5<=36)) ) { - alt9=1; - } - else if ( (LA9_5==19) ) { + if ( (LA9_5==19) ) { alt9=2; } + else if ( ((LA9_5>=34 && LA9_5<=37)) ) { + alt9=1; + } else { NoViableAltException nvae = new NoViableAltException("", 9, 5, input); @@ -1209,12 +1210,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { if ( (LA9_4==25) ) { int LA9_5 = input.LA(5); - if ( ((LA9_5>=33 && LA9_5<=36)) ) { - alt9=1; - } - else if ( (LA9_5==19) ) { + if ( (LA9_5==19) ) { alt9=2; } + else if ( ((LA9_5>=34 && LA9_5<=37)) ) { + alt9=1; + } else { NoViableAltException nvae = new NoViableAltException("", 9, 5, input); @@ -1768,8 +1769,118 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR end "ruleEnumAnnotationAttribute" + // $ANTLR start "entryRuleImportedFQN" + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:706:1: entryRuleImportedFQN returns [String current=null] : iv_ruleImportedFQN= ruleImportedFQN EOF ; + public final String entryRuleImportedFQN() throws RecognitionException { + String current = null; + + AntlrDatatypeRuleToken iv_ruleImportedFQN = null; + + + try { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:707:2: (iv_ruleImportedFQN= ruleImportedFQN EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:708:2: iv_ruleImportedFQN= ruleImportedFQN EOF + { + newCompositeNode(grammarAccess.getImportedFQNRule()); + pushFollow(FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1472); + iv_ruleImportedFQN=ruleImportedFQN(); + + state._fsp--; + + current =iv_ruleImportedFQN.getText(); + match(input,EOF,FOLLOW_EOF_in_entryRuleImportedFQN1483); + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleImportedFQN" + + + // $ANTLR start "ruleImportedFQN" + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:715:1: ruleImportedFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FQN_0= ruleFQN (kw= '.*' )? ) ; + public final AntlrDatatypeRuleToken ruleImportedFQN() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + + Token kw=null; + AntlrDatatypeRuleToken this_FQN_0 = null; + + + enterRule(); + + try { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:718:28: ( (this_FQN_0= ruleFQN (kw= '.*' )? ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:719:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:719:1: (this_FQN_0= ruleFQN (kw= '.*' )? ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:720:5: this_FQN_0= ruleFQN (kw= '.*' )? + { + + newCompositeNode(grammarAccess.getImportedFQNAccess().getFQNParserRuleCall_0()); + + pushFollow(FOLLOW_ruleFQN_in_ruleImportedFQN1530); + this_FQN_0=ruleFQN(); + + state._fsp--; + + + current.merge(this_FQN_0); + + + afterParserOrEnumRuleCall(); + + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:730:1: (kw= '.*' )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==26) ) { + alt13=1; + } + switch (alt13) { + case 1 : + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:731:2: kw= '.*' + { + kw=(Token)match(input,26,FOLLOW_26_in_ruleImportedFQN1549); + + current.merge(kw); + newLeafNode(kw, grammarAccess.getImportedFQNAccess().getFullStopAsteriskKeyword_1()); + + + } + break; + + } + + + } + + + } + + leaveRule(); + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleImportedFQN" + + // $ANTLR start "entryRuleDocumentation" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:704:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:744:1: entryRuleDocumentation returns [EObject current=null] : iv_ruleDocumentation= ruleDocumentation EOF ; public final EObject entryRuleDocumentation() throws RecognitionException { EObject current = null; @@ -1777,17 +1888,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:705:2: (iv_ruleDocumentation= ruleDocumentation EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:706:2: iv_ruleDocumentation= ruleDocumentation EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:745:2: (iv_ruleDocumentation= ruleDocumentation EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:746:2: iv_ruleDocumentation= ruleDocumentation EOF { newCompositeNode(grammarAccess.getDocumentationRule()); - pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1469); + pushFollow(FOLLOW_ruleDocumentation_in_entryRuleDocumentation1591); iv_ruleDocumentation=ruleDocumentation(); state._fsp--; current =iv_ruleDocumentation; - match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1479); + match(input,EOF,FOLLOW_EOF_in_entryRuleDocumentation1601); } @@ -1805,7 +1916,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDocumentation" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:713:1: ruleDocumentation returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:753: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; @@ -1816,14 +1927,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:716:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:717:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:756:28: ( ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:757:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:717:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:717:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:757:1: ( () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:757:2: () otherlv_1= '[' ( (lv_lines_2_0= RULE_STRING ) )* otherlv_3= ']' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:717:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:718:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:757:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:758:5: { current = forceCreateModelElement( @@ -1833,29 +1944,29 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleDocumentation1525); + otherlv_1=(Token)match(input,27,FOLLOW_27_in_ruleDocumentation1647); newLeafNode(otherlv_1, grammarAccess.getDocumentationAccess().getLeftSquareBracketKeyword_1()); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:727:1: ( (lv_lines_2_0= RULE_STRING ) )* - loop13: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:767:1: ( (lv_lines_2_0= RULE_STRING ) )* + loop14: do { - int alt13=2; - int LA13_0 = input.LA(1); + int alt14=2; + int LA14_0 = input.LA(1); - if ( (LA13_0==RULE_STRING) ) { - alt13=1; + if ( (LA14_0==RULE_STRING) ) { + alt14=1; } - switch (alt13) { + switch (alt14) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:728:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:768:1: (lv_lines_2_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:728:1: (lv_lines_2_0= RULE_STRING ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:729:3: lv_lines_2_0= RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:768:1: (lv_lines_2_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:769:3: lv_lines_2_0= RULE_STRING { - lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1542); + lv_lines_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDocumentation1664); newLeafNode(lv_lines_2_0, grammarAccess.getDocumentationAccess().getLinesSTRINGTerminalRuleCall_2_0()); @@ -1877,11 +1988,11 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { break; default : - break loop13; + break loop14; } } while (true); - otherlv_3=(Token)match(input,27,FOLLOW_27_in_ruleDocumentation1560); + otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleDocumentation1682); newLeafNode(otherlv_3, grammarAccess.getDocumentationAccess().getRightSquareBracketKeyword_3()); @@ -1906,7 +2017,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:761:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:801:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; public final EObject entryRuleLiteral() throws RecognitionException { EObject current = null; @@ -1914,17 +2025,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:762:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:763:2: iv_ruleLiteral= ruleLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:802:2: (iv_ruleLiteral= ruleLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:803:2: iv_ruleLiteral= ruleLiteral EOF { newCompositeNode(grammarAccess.getLiteralRule()); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1600); + pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral1722); iv_ruleLiteral=ruleLiteral(); state._fsp--; current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1610); + match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral1732); } @@ -1942,7 +2053,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:770:1: ruleLiteral returns [EObject current=null] : (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:810: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; @@ -1956,47 +2067,47 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:773:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:774:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:813:28: ( (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:814:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:774:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) - int alt14=3; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:814:1: (this_BooleanLiteral_0= ruleBooleanLiteral | this_NumberLiteral_1= ruleNumberLiteral | this_StringLiteral_2= ruleStringLiteral ) + int alt15=3; switch ( input.LA(1) ) { - case 28: case 29: + case 30: { - alt14=1; + alt15=1; } break; case RULE_INT: case RULE_HEX: - case 30: case 31: case 32: + case 33: { - alt14=2; + alt15=2; } break; case RULE_STRING: { - alt14=3; + alt15=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 14, 0, input); + new NoViableAltException("", 15, 0, input); throw nvae; } - switch (alt14) { + switch (alt15) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:775:5: this_BooleanLiteral_0= ruleBooleanLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:815:5: this_BooleanLiteral_0= ruleBooleanLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral1657); + pushFollow(FOLLOW_ruleBooleanLiteral_in_ruleLiteral1779); this_BooleanLiteral_0=ruleBooleanLiteral(); state._fsp--; @@ -2009,12 +2120,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:785:5: this_NumberLiteral_1= ruleNumberLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:825:5: this_NumberLiteral_1= ruleNumberLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral1684); + pushFollow(FOLLOW_ruleNumberLiteral_in_ruleLiteral1806); this_NumberLiteral_1=ruleNumberLiteral(); state._fsp--; @@ -2027,12 +2138,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:795:5: this_StringLiteral_2= ruleStringLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:835:5: this_StringLiteral_2= ruleStringLiteral { newCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralParserRuleCall_2()); - pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral1711); + pushFollow(FOLLOW_ruleStringLiteral_in_ruleLiteral1833); this_StringLiteral_2=ruleStringLiteral(); state._fsp--; @@ -2065,7 +2176,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleBooleanLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:811:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:851:1: entryRuleBooleanLiteral returns [EObject current=null] : iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ; public final EObject entryRuleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -2073,17 +2184,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:812:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:813:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:852:2: (iv_ruleBooleanLiteral= ruleBooleanLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:853:2: iv_ruleBooleanLiteral= ruleBooleanLiteral EOF { newCompositeNode(grammarAccess.getBooleanLiteralRule()); - pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1746); + pushFollow(FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1868); iv_ruleBooleanLiteral=ruleBooleanLiteral(); state._fsp--; current =iv_ruleBooleanLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral1756); + match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteral1878); } @@ -2101,7 +2212,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleBooleanLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:820:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:860:1: ruleBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; public final EObject ruleBooleanLiteral() throws RecognitionException { EObject current = null; @@ -2111,14 +2222,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:823:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:824:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:863:28: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:864:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:824:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:824:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:864:1: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:864:2: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:824:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:825:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:864:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:865:5: { current = forceCreateModelElement( @@ -2128,27 +2239,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:830:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) - int alt15=2; - int LA15_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:870:2: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) + int alt16=2; + int LA16_0 = input.LA(1); - if ( (LA15_0==28) ) { - alt15=1; + if ( (LA16_0==29) ) { + alt16=1; } - else if ( (LA15_0==29) ) { - alt15=2; + else if ( (LA16_0==30) ) { + alt16=2; } else { NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + new NoViableAltException("", 16, 0, input); throw nvae; } - switch (alt15) { + switch (alt16) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:830:4: otherlv_1= 'false' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:870:4: otherlv_1= 'false' { - otherlv_1=(Token)match(input,28,FOLLOW_28_in_ruleBooleanLiteral1803); + otherlv_1=(Token)match(input,29,FOLLOW_29_in_ruleBooleanLiteral1925); newLeafNode(otherlv_1, grammarAccess.getBooleanLiteralAccess().getFalseKeyword_1_0()); @@ -2156,15 +2267,15 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:835:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:875:6: ( (lv_isTrue_2_0= 'true' ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:835:6: ( (lv_isTrue_2_0= 'true' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:836:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:875:6: ( (lv_isTrue_2_0= 'true' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:876:1: (lv_isTrue_2_0= 'true' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:836:1: (lv_isTrue_2_0= 'true' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:837:3: lv_isTrue_2_0= 'true' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:876:1: (lv_isTrue_2_0= 'true' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:877:3: lv_isTrue_2_0= 'true' { - lv_isTrue_2_0=(Token)match(input,29,FOLLOW_29_in_ruleBooleanLiteral1827); + lv_isTrue_2_0=(Token)match(input,30,FOLLOW_30_in_ruleBooleanLiteral1949); newLeafNode(lv_isTrue_2_0, grammarAccess.getBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); @@ -2207,7 +2318,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleNumberLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:858:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:898:1: entryRuleNumberLiteral returns [EObject current=null] : iv_ruleNumberLiteral= ruleNumberLiteral EOF ; public final EObject entryRuleNumberLiteral() throws RecognitionException { EObject current = null; @@ -2215,17 +2326,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:859:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:860:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:899:2: (iv_ruleNumberLiteral= ruleNumberLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:900:2: iv_ruleNumberLiteral= ruleNumberLiteral EOF { newCompositeNode(grammarAccess.getNumberLiteralRule()); - pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1877); + pushFollow(FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1999); iv_ruleNumberLiteral=ruleNumberLiteral(); state._fsp--; current =iv_ruleNumberLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral1887); + match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteral2009); } @@ -2243,7 +2354,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleNumberLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:867:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:907:1: ruleNumberLiteral returns [EObject current=null] : (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ; public final EObject ruleNumberLiteral() throws RecognitionException { EObject current = null; @@ -2255,69 +2366,69 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:870:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:871:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:910:28: ( (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:871:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) - int alt16=2; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:1: (this_IntLiteral_0= ruleIntLiteral | this_RealLiteral_1= ruleRealLiteral ) + int alt17=2; switch ( input.LA(1) ) { - case 30: + case 31: { - int LA16_1 = input.LA(2); + int LA17_1 = input.LA(2); - if ( (LA16_1==RULE_INT) ) { - int LA16_3 = input.LA(3); + if ( (LA17_1==RULE_INT) ) { + int LA17_3 = input.LA(3); - if ( (LA16_3==32) ) { - alt16=2; + if ( (LA17_3==33) ) { + alt17=2; } - else if ( (LA16_3==EOF||(LA16_3>=15 && LA16_3<=16)) ) { - alt16=1; + else if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) { + alt17=1; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 3, input); + new NoViableAltException("", 17, 3, input); throw nvae; } } - else if ( (LA16_1==32) ) { - alt16=2; + else if ( (LA17_1==33) ) { + alt17=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 1, input); + new NoViableAltException("", 17, 1, input); throw nvae; } } break; - case 31: + case 32: { - int LA16_2 = input.LA(2); + int LA17_2 = input.LA(2); - if ( (LA16_2==RULE_INT) ) { - int LA16_3 = input.LA(3); + if ( (LA17_2==RULE_INT) ) { + int LA17_3 = input.LA(3); - if ( (LA16_3==32) ) { - alt16=2; + if ( (LA17_3==33) ) { + alt17=2; } - else if ( (LA16_3==EOF||(LA16_3>=15 && LA16_3<=16)) ) { - alt16=1; + else if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) { + alt17=1; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 3, input); + new NoViableAltException("", 17, 3, input); throw nvae; } } - else if ( (LA16_2==32) ) { - alt16=2; + else if ( (LA17_2==33) ) { + alt17=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 2, input); + new NoViableAltException("", 17, 2, input); throw nvae; } @@ -2325,17 +2436,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { break; case RULE_INT: { - int LA16_3 = input.LA(2); + int LA17_3 = input.LA(2); - if ( (LA16_3==32) ) { - alt16=2; + if ( (LA17_3==33) ) { + alt17=2; } - else if ( (LA16_3==EOF||(LA16_3>=15 && LA16_3<=16)) ) { - alt16=1; + else if ( (LA17_3==EOF||(LA17_3>=15 && LA17_3<=16)) ) { + alt17=1; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 3, input); + new NoViableAltException("", 17, 3, input); throw nvae; } @@ -2343,29 +2454,29 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { break; case RULE_HEX: { - alt16=1; + alt17=1; } break; - case 32: + case 33: { - alt16=2; + alt17=2; } break; default: NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 17, 0, input); throw nvae; } - switch (alt16) { + switch (alt17) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:872:5: this_IntLiteral_0= ruleIntLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:912:5: this_IntLiteral_0= ruleIntLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getIntLiteralParserRuleCall_0()); - pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1934); + pushFollow(FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2056); this_IntLiteral_0=ruleIntLiteral(); state._fsp--; @@ -2378,12 +2489,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:882:5: this_RealLiteral_1= ruleRealLiteral + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:922:5: this_RealLiteral_1= ruleRealLiteral { newCompositeNode(grammarAccess.getNumberLiteralAccess().getRealLiteralParserRuleCall_1()); - pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1961); + pushFollow(FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2083); this_RealLiteral_1=ruleRealLiteral(); state._fsp--; @@ -2416,7 +2527,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleRealLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:898:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:938:1: entryRuleRealLiteral returns [EObject current=null] : iv_ruleRealLiteral= ruleRealLiteral EOF ; public final EObject entryRuleRealLiteral() throws RecognitionException { EObject current = null; @@ -2424,17 +2535,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:899:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:900:2: iv_ruleRealLiteral= ruleRealLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:939:2: (iv_ruleRealLiteral= ruleRealLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:940:2: iv_ruleRealLiteral= ruleRealLiteral EOF { newCompositeNode(grammarAccess.getRealLiteralRule()); - pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1996); + pushFollow(FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2118); iv_ruleRealLiteral=ruleRealLiteral(); state._fsp--; current =iv_ruleRealLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2006); + match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteral2128); } @@ -2452,7 +2563,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleRealLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:907:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:947:1: ruleRealLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleReal ) ) ) ; public final EObject ruleRealLiteral() throws RecognitionException { EObject current = null; @@ -2462,14 +2573,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:910:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:950:28: ( ( () ( (lv_value_1_0= ruleReal ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:951:1: ( () ( (lv_value_1_0= ruleReal ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:1: ( () ( (lv_value_1_0= ruleReal ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:2: () ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:951:1: ( () ( (lv_value_1_0= ruleReal ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:951:2: () ( (lv_value_1_0= ruleReal ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:911:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:912:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:951:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:952:5: { current = forceCreateModelElement( @@ -2479,16 +2590,16 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:917:2: ( (lv_value_1_0= ruleReal ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:918:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:957:2: ( (lv_value_1_0= ruleReal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:958:1: (lv_value_1_0= ruleReal ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:918:1: (lv_value_1_0= ruleReal ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:919:3: lv_value_1_0= ruleReal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:958:1: (lv_value_1_0= ruleReal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:959:3: lv_value_1_0= ruleReal { newCompositeNode(grammarAccess.getRealLiteralAccess().getValueRealParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2061); + pushFollow(FOLLOW_ruleReal_in_ruleRealLiteral2183); lv_value_1_0=ruleReal(); state._fsp--; @@ -2531,7 +2642,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleIntLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:943:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:983:1: entryRuleIntLiteral returns [EObject current=null] : iv_ruleIntLiteral= ruleIntLiteral EOF ; public final EObject entryRuleIntLiteral() throws RecognitionException { EObject current = null; @@ -2539,17 +2650,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:944:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:945:2: iv_ruleIntLiteral= ruleIntLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:984:2: (iv_ruleIntLiteral= ruleIntLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:985:2: iv_ruleIntLiteral= ruleIntLiteral EOF { newCompositeNode(grammarAccess.getIntLiteralRule()); - pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2097); + pushFollow(FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2219); iv_ruleIntLiteral=ruleIntLiteral(); state._fsp--; current =iv_ruleIntLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral2107); + match(input,EOF,FOLLOW_EOF_in_entryRuleIntLiteral2229); } @@ -2567,7 +2678,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleIntLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:952:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:992:1: ruleIntLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleInteger ) ) ) ; public final EObject ruleIntLiteral() throws RecognitionException { EObject current = null; @@ -2577,14 +2688,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:955:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:956:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:995:28: ( ( () ( (lv_value_1_0= ruleInteger ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:996:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:956:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:956:2: () ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:996:1: ( () ( (lv_value_1_0= ruleInteger ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:996:2: () ( (lv_value_1_0= ruleInteger ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:956:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:957:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:996:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:997:5: { current = forceCreateModelElement( @@ -2594,16 +2705,16 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:962:2: ( (lv_value_1_0= ruleInteger ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:963:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1002:2: ( (lv_value_1_0= ruleInteger ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1003:1: (lv_value_1_0= ruleInteger ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:963:1: (lv_value_1_0= ruleInteger ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:964:3: lv_value_1_0= ruleInteger + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1003:1: (lv_value_1_0= ruleInteger ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1004:3: lv_value_1_0= ruleInteger { newCompositeNode(grammarAccess.getIntLiteralAccess().getValueIntegerParserRuleCall_1_0()); - pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral2162); + pushFollow(FOLLOW_ruleInteger_in_ruleIntLiteral2284); lv_value_1_0=ruleInteger(); state._fsp--; @@ -2646,7 +2757,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleStringLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:988:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1028:1: entryRuleStringLiteral returns [EObject current=null] : iv_ruleStringLiteral= ruleStringLiteral EOF ; public final EObject entryRuleStringLiteral() throws RecognitionException { EObject current = null; @@ -2654,17 +2765,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:989:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:990:2: iv_ruleStringLiteral= ruleStringLiteral EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1029:2: (iv_ruleStringLiteral= ruleStringLiteral EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1030:2: iv_ruleStringLiteral= ruleStringLiteral EOF { newCompositeNode(grammarAccess.getStringLiteralRule()); - pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2198); + pushFollow(FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2320); iv_ruleStringLiteral=ruleStringLiteral(); state._fsp--; current =iv_ruleStringLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral2208); + match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteral2330); } @@ -2682,7 +2793,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleStringLiteral" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:997:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1037:1: ruleStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; public final EObject ruleStringLiteral() throws RecognitionException { EObject current = null; @@ -2691,14 +2802,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1000:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1001:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1040:28: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1041:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1001:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1001:2: () ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1041:1: ( () ( (lv_value_1_0= RULE_STRING ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1041:2: () ( (lv_value_1_0= RULE_STRING ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1001:2: () - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1002:5: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1041:2: () + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1042:5: { current = forceCreateModelElement( @@ -2708,13 +2819,13 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1007:2: ( (lv_value_1_0= RULE_STRING ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1008:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1047:2: ( (lv_value_1_0= RULE_STRING ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1048:1: (lv_value_1_0= RULE_STRING ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1008:1: (lv_value_1_0= RULE_STRING ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1009:3: lv_value_1_0= RULE_STRING + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1048:1: (lv_value_1_0= RULE_STRING ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1049:3: lv_value_1_0= RULE_STRING { - lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral2259); + lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteral2381); newLeafNode(lv_value_1_0, grammarAccess.getStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); @@ -2755,7 +2866,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1033:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1073:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; public final String entryRuleInteger() throws RecognitionException { String current = null; @@ -2763,17 +2874,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1034:2: (iv_ruleInteger= ruleInteger EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1035:2: iv_ruleInteger= ruleInteger EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1074:2: (iv_ruleInteger= ruleInteger EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1075:2: iv_ruleInteger= ruleInteger EOF { newCompositeNode(grammarAccess.getIntegerRule()); - pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger2301); + pushFollow(FOLLOW_ruleInteger_in_entryRuleInteger2423); iv_ruleInteger=ruleInteger(); state._fsp--; current =iv_ruleInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleInteger2312); + match(input,EOF,FOLLOW_EOF_in_entryRuleInteger2434); } @@ -2791,7 +2902,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1042:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1082:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ; public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2803,33 +2914,33 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1045:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1046:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1085:28: ( (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1086:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1046:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) - int alt17=2; - int LA17_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1086:1: (this_SignedInteger_0= ruleSignedInteger | this_Hexadecimal_1= ruleHexadecimal ) + int alt18=2; + int LA18_0 = input.LA(1); - if ( (LA17_0==RULE_INT||(LA17_0>=30 && LA17_0<=31)) ) { - alt17=1; + if ( (LA18_0==RULE_INT||(LA18_0>=31 && LA18_0<=32)) ) { + alt18=1; } - else if ( (LA17_0==RULE_HEX) ) { - alt17=2; + else if ( (LA18_0==RULE_HEX) ) { + alt18=2; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 18, 0, input); throw nvae; } - switch (alt17) { + switch (alt18) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1047:5: this_SignedInteger_0= ruleSignedInteger + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1087:5: this_SignedInteger_0= ruleSignedInteger { newCompositeNode(grammarAccess.getIntegerAccess().getSignedIntegerParserRuleCall_0()); - pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger2359); + pushFollow(FOLLOW_ruleSignedInteger_in_ruleInteger2481); this_SignedInteger_0=ruleSignedInteger(); state._fsp--; @@ -2844,12 +2955,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1059:5: this_Hexadecimal_1= ruleHexadecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1099:5: this_Hexadecimal_1= ruleHexadecimal { newCompositeNode(grammarAccess.getIntegerAccess().getHexadecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger2392); + pushFollow(FOLLOW_ruleHexadecimal_in_ruleInteger2514); this_Hexadecimal_1=ruleHexadecimal(); state._fsp--; @@ -2884,7 +2995,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleSignedInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1077:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1117:1: entryRuleSignedInteger returns [String current=null] : iv_ruleSignedInteger= ruleSignedInteger EOF ; public final String entryRuleSignedInteger() throws RecognitionException { String current = null; @@ -2895,17 +3006,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1081:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1082:2: iv_ruleSignedInteger= ruleSignedInteger EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1121:2: (iv_ruleSignedInteger= ruleSignedInteger EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1122:2: iv_ruleSignedInteger= ruleSignedInteger EOF { newCompositeNode(grammarAccess.getSignedIntegerRule()); - pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2444); + pushFollow(FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2566); iv_ruleSignedInteger=ruleSignedInteger(); state._fsp--; current =iv_ruleSignedInteger.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger2455); + match(input,EOF,FOLLOW_EOF_in_entryRuleSignedInteger2577); } @@ -2926,7 +3037,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleSignedInteger" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1092:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1132:1: ruleSignedInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleSignedInteger() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -2937,27 +3048,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1096:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1097:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1136:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1137:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1097:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1097:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1137:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1137:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1097:2: (kw= '+' | kw= '-' )? - int alt18=3; - int LA18_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1137:2: (kw= '+' | kw= '-' )? + int alt19=3; + int LA19_0 = input.LA(1); - if ( (LA18_0==30) ) { - alt18=1; + if ( (LA19_0==31) ) { + alt19=1; } - else if ( (LA18_0==31) ) { - alt18=2; + else if ( (LA19_0==32) ) { + alt19=2; } - switch (alt18) { + switch (alt19) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1098:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1138:2: kw= '+' { - kw=(Token)match(input,30,FOLLOW_30_in_ruleSignedInteger2498); + kw=(Token)match(input,31,FOLLOW_31_in_ruleSignedInteger2620); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getPlusSignKeyword_0_0()); @@ -2966,9 +3077,9 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1105:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1145:2: kw= '-' { - kw=(Token)match(input,31,FOLLOW_31_in_ruleSignedInteger2517); + kw=(Token)match(input,32,FOLLOW_32_in_ruleSignedInteger2639); current.merge(kw); newLeafNode(kw, grammarAccess.getSignedIntegerAccess().getHyphenMinusKeyword_0_1()); @@ -2979,7 +3090,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger2534); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleSignedInteger2656); current.merge(this_INT_2); @@ -3010,7 +3121,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleHexadecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1128:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1168:1: entryRuleHexadecimal returns [String current=null] : iv_ruleHexadecimal= ruleHexadecimal EOF ; public final String entryRuleHexadecimal() throws RecognitionException { String current = null; @@ -3021,17 +3132,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1132:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1133:2: iv_ruleHexadecimal= ruleHexadecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1172:2: (iv_ruleHexadecimal= ruleHexadecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1173:2: iv_ruleHexadecimal= ruleHexadecimal EOF { newCompositeNode(grammarAccess.getHexadecimalRule()); - pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2590); + pushFollow(FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2712); iv_ruleHexadecimal=ruleHexadecimal(); state._fsp--; current =iv_ruleHexadecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal2601); + match(input,EOF,FOLLOW_EOF_in_entryRuleHexadecimal2723); } @@ -3052,7 +3163,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleHexadecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1143:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1183:1: ruleHexadecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_HEX_0= RULE_HEX ; public final AntlrDatatypeRuleToken ruleHexadecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3062,10 +3173,10 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1147:28: (this_HEX_0= RULE_HEX ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1148:5: this_HEX_0= RULE_HEX + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1187:28: (this_HEX_0= RULE_HEX ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1188:5: this_HEX_0= RULE_HEX { - this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal2644); + this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_RULE_HEX_in_ruleHexadecimal2766); current.merge(this_HEX_0); @@ -3093,7 +3204,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleReal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1166:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1206:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; public final String entryRuleReal() throws RecognitionException { String current = null; @@ -3101,17 +3212,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1167:2: (iv_ruleReal= ruleReal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1168:2: iv_ruleReal= ruleReal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1207:2: (iv_ruleReal= ruleReal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1208:2: iv_ruleReal= ruleReal EOF { newCompositeNode(grammarAccess.getRealRule()); - pushFollow(FOLLOW_ruleReal_in_entryRuleReal2693); + pushFollow(FOLLOW_ruleReal_in_entryRuleReal2815); iv_ruleReal=ruleReal(); state._fsp--; current =iv_ruleReal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleReal2704); + match(input,EOF,FOLLOW_EOF_in_entryRuleReal2826); } @@ -3129,7 +3240,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleReal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1175:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1215:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ; public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3145,20 +3256,20 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1178:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1179:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1218:28: ( (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1219:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1179:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) - int alt19=4; - alt19 = dfa19.predict(input); - switch (alt19) { + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1219:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp ) + int alt20=4; + alt20 = dfa20.predict(input); + switch (alt20) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1180:5: this_Decimal_0= ruleDecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1220:5: this_Decimal_0= ruleDecimal { newCompositeNode(grammarAccess.getRealAccess().getDecimalParserRuleCall_0()); - pushFollow(FOLLOW_ruleDecimal_in_ruleReal2751); + pushFollow(FOLLOW_ruleDecimal_in_ruleReal2873); this_Decimal_0=ruleDecimal(); state._fsp--; @@ -3173,12 +3284,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1192:5: this_DotDecimal_1= ruleDotDecimal + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1232:5: this_DotDecimal_1= ruleDotDecimal { newCompositeNode(grammarAccess.getRealAccess().getDotDecimalParserRuleCall_1()); - pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal2784); + pushFollow(FOLLOW_ruleDotDecimal_in_ruleReal2906); this_DotDecimal_1=ruleDotDecimal(); state._fsp--; @@ -3193,12 +3304,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1204:5: this_DecimalDot_2= ruleDecimalDot + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1244:5: this_DecimalDot_2= ruleDecimalDot { newCompositeNode(grammarAccess.getRealAccess().getDecimalDotParserRuleCall_2()); - pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal2817); + pushFollow(FOLLOW_ruleDecimalDot_in_ruleReal2939); this_DecimalDot_2=ruleDecimalDot(); state._fsp--; @@ -3213,12 +3324,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1216:5: this_DecimalExp_3= ruleDecimalExp + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1256:5: this_DecimalExp_3= ruleDecimalExp { newCompositeNode(grammarAccess.getRealAccess().getDecimalExpParserRuleCall_3()); - pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2850); + pushFollow(FOLLOW_ruleDecimalExp_in_ruleReal2972); this_DecimalExp_3=ruleDecimalExp(); state._fsp--; @@ -3253,7 +3364,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1234:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1274:1: entryRuleDecimal returns [String current=null] : iv_ruleDecimal= ruleDecimal EOF ; public final String entryRuleDecimal() throws RecognitionException { String current = null; @@ -3264,17 +3375,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1238:2: (iv_ruleDecimal= ruleDecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1239:2: iv_ruleDecimal= ruleDecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1278:2: (iv_ruleDecimal= ruleDecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1279:2: iv_ruleDecimal= ruleDecimal EOF { newCompositeNode(grammarAccess.getDecimalRule()); - pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal2902); + pushFollow(FOLLOW_ruleDecimal_in_entryRuleDecimal3024); iv_ruleDecimal=ruleDecimal(); state._fsp--; current =iv_ruleDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal2913); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimal3035); } @@ -3295,7 +3406,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1249:1: ruleDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1289: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(); @@ -3307,27 +3418,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1253:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1254:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1293:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1294:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1254:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1254:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1294:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1294:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1254:2: (kw= '+' | kw= '-' )? - int alt20=3; - int LA20_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1294:2: (kw= '+' | kw= '-' )? + int alt21=3; + int LA21_0 = input.LA(1); - if ( (LA20_0==30) ) { - alt20=1; + if ( (LA21_0==31) ) { + alt21=1; } - else if ( (LA20_0==31) ) { - alt20=2; + else if ( (LA21_0==32) ) { + alt21=2; } - switch (alt20) { + switch (alt21) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1255:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1295:2: kw= '+' { - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimal2956); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimal3078); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getPlusSignKeyword_0_0()); @@ -3336,9 +3447,9 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1262:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1302:2: kw= '-' { - kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimal2975); + kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimal3097); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -3349,19 +3460,19 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal2992); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3114); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimal3010); + kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimal3132); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3025); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimal3147); current.merge(this_INT_4); @@ -3392,7 +3503,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDotDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1298:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1338:1: entryRuleDotDecimal returns [String current=null] : iv_ruleDotDecimal= ruleDotDecimal EOF ; public final String entryRuleDotDecimal() throws RecognitionException { String current = null; @@ -3403,17 +3514,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1302:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1303:2: iv_ruleDotDecimal= ruleDotDecimal EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1342:2: (iv_ruleDotDecimal= ruleDotDecimal EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1343:2: iv_ruleDotDecimal= ruleDotDecimal EOF { newCompositeNode(grammarAccess.getDotDecimalRule()); - pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3081); + pushFollow(FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3203); iv_ruleDotDecimal=ruleDotDecimal(); state._fsp--; current =iv_ruleDotDecimal.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal3092); + match(input,EOF,FOLLOW_EOF_in_entryRuleDotDecimal3214); } @@ -3434,7 +3545,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDotDecimal" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1313:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1353:1: ruleDotDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ; public final AntlrDatatypeRuleToken ruleDotDecimal() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3445,27 +3556,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1317:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1318:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1357:28: ( ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1358:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1318:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1318:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1358:1: ( (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1358:2: (kw= '+' | kw= '-' )? kw= '.' this_INT_3= RULE_INT { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1318:2: (kw= '+' | kw= '-' )? - int alt21=3; - int LA21_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1358:2: (kw= '+' | kw= '-' )? + int alt22=3; + int LA22_0 = input.LA(1); - if ( (LA21_0==30) ) { - alt21=1; + if ( (LA22_0==31) ) { + alt22=1; } - else if ( (LA21_0==31) ) { - alt21=2; + else if ( (LA22_0==32) ) { + alt22=2; } - switch (alt21) { + switch (alt22) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1319:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1359:2: kw= '+' { - kw=(Token)match(input,30,FOLLOW_30_in_ruleDotDecimal3135); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDotDecimal3257); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getPlusSignKeyword_0_0()); @@ -3474,9 +3585,9 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1326:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1366:2: kw= '-' { - kw=(Token)match(input,31,FOLLOW_31_in_ruleDotDecimal3154); + kw=(Token)match(input,32,FOLLOW_32_in_ruleDotDecimal3276); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getHyphenMinusKeyword_0_1()); @@ -3487,12 +3598,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - kw=(Token)match(input,32,FOLLOW_32_in_ruleDotDecimal3169); + kw=(Token)match(input,33,FOLLOW_33_in_ruleDotDecimal3291); current.merge(kw); newLeafNode(kw, grammarAccess.getDotDecimalAccess().getFullStopKeyword_1()); - this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal3184); + this_INT_3=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDotDecimal3306); current.merge(this_INT_3); @@ -3523,7 +3634,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalDot" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1355:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1395:1: entryRuleDecimalDot returns [String current=null] : iv_ruleDecimalDot= ruleDecimalDot EOF ; public final String entryRuleDecimalDot() throws RecognitionException { String current = null; @@ -3534,17 +3645,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1359:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1360:2: iv_ruleDecimalDot= ruleDecimalDot EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1399:2: (iv_ruleDecimalDot= ruleDecimalDot EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1400:2: iv_ruleDecimalDot= ruleDecimalDot EOF { newCompositeNode(grammarAccess.getDecimalDotRule()); - pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3240); + pushFollow(FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3362); iv_ruleDecimalDot=ruleDecimalDot(); state._fsp--; current =iv_ruleDecimalDot.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot3251); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalDot3373); } @@ -3565,7 +3676,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalDot" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1370:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1410:1: ruleDecimalDot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ; public final AntlrDatatypeRuleToken ruleDecimalDot() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3576,27 +3687,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1374:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1375:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1414:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1415:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1375:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1375:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1415:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1415:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1375:2: (kw= '+' | kw= '-' )? - int alt22=3; - int LA22_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1415:2: (kw= '+' | kw= '-' )? + int alt23=3; + int LA23_0 = input.LA(1); - if ( (LA22_0==30) ) { - alt22=1; + if ( (LA23_0==31) ) { + alt23=1; } - else if ( (LA22_0==31) ) { - alt22=2; + else if ( (LA23_0==32) ) { + alt23=2; } - switch (alt22) { + switch (alt23) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1376:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1416:2: kw= '+' { - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalDot3294); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalDot3416); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getPlusSignKeyword_0_0()); @@ -3605,9 +3716,9 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1383:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1423:2: kw= '-' { - kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalDot3313); + kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimalDot3435); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getHyphenMinusKeyword_0_1()); @@ -3618,14 +3729,14 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot3330); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalDot3452); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalDotAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimalDot3348); + kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimalDot3470); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalDotAccess().getFullStopKeyword_2()); @@ -3654,7 +3765,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleDecimalExp" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1412:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1452:1: entryRuleDecimalExp returns [String current=null] : iv_ruleDecimalExp= ruleDecimalExp EOF ; public final String entryRuleDecimalExp() throws RecognitionException { String current = null; @@ -3665,17 +3776,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1416:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1417:2: iv_ruleDecimalExp= ruleDecimalExp EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1456:2: (iv_ruleDecimalExp= ruleDecimalExp EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1457:2: iv_ruleDecimalExp= ruleDecimalExp EOF { newCompositeNode(grammarAccess.getDecimalExpRule()); - pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3399); + pushFollow(FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3521); iv_ruleDecimalExp=ruleDecimalExp(); state._fsp--; current =iv_ruleDecimalExp.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp3410); + match(input,EOF,FOLLOW_EOF_in_entryRuleDecimalExp3532); } @@ -3696,7 +3807,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleDecimalExp" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1427:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1467:1: ruleDecimalExp returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ; public final AntlrDatatypeRuleToken ruleDecimalExp() throws RecognitionException { AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); @@ -3709,27 +3820,27 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1431:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1432:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1471:28: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1472:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1432:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1432:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1472:1: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1472:2: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT kw= '.' this_INT_4= RULE_INT this_EXP_5= RULE_EXP { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1432:2: (kw= '+' | kw= '-' )? - int alt23=3; - int LA23_0 = input.LA(1); + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1472:2: (kw= '+' | kw= '-' )? + int alt24=3; + int LA24_0 = input.LA(1); - if ( (LA23_0==30) ) { - alt23=1; + if ( (LA24_0==31) ) { + alt24=1; } - else if ( (LA23_0==31) ) { - alt23=2; + else if ( (LA24_0==32) ) { + alt24=2; } - switch (alt23) { + switch (alt24) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1433:2: kw= '+' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1473:2: kw= '+' { - kw=(Token)match(input,30,FOLLOW_30_in_ruleDecimalExp3453); + kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalExp3575); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getPlusSignKeyword_0_0()); @@ -3738,9 +3849,9 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1440:2: kw= '-' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1480:2: kw= '-' { - kw=(Token)match(input,31,FOLLOW_31_in_ruleDecimalExp3472); + kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimalExp3594); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getHyphenMinusKeyword_0_1()); @@ -3751,26 +3862,26 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } - this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3489); + this_INT_2=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3611); current.merge(this_INT_2); newLeafNode(this_INT_2, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_1()); - kw=(Token)match(input,32,FOLLOW_32_in_ruleDecimalExp3507); + kw=(Token)match(input,33,FOLLOW_33_in_ruleDecimalExp3629); current.merge(kw); newLeafNode(kw, grammarAccess.getDecimalExpAccess().getFullStopKeyword_2()); - this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3522); + this_INT_4=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDecimalExp3644); current.merge(this_INT_4); newLeafNode(this_INT_4, grammarAccess.getDecimalExpAccess().getINTTerminalRuleCall_3()); - this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp3542); + this_EXP_5=(Token)match(input,RULE_EXP,FOLLOW_RULE_EXP_in_ruleDecimalExp3664); current.merge(this_EXP_5); @@ -3801,7 +3912,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "entryRuleFQN" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1483:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1523:1: entryRuleFQN returns [String current=null] : iv_ruleFQN= ruleFQN EOF ; public final String entryRuleFQN() throws RecognitionException { String current = null; @@ -3809,17 +3920,17 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1484:2: (iv_ruleFQN= ruleFQN EOF ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1485:2: iv_ruleFQN= ruleFQN EOF + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1524:2: (iv_ruleFQN= ruleFQN EOF ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1525:2: iv_ruleFQN= ruleFQN EOF { newCompositeNode(grammarAccess.getFQNRule()); - pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3592); + pushFollow(FOLLOW_ruleFQN_in_entryRuleFQN3714); iv_ruleFQN=ruleFQN(); state._fsp--; current =iv_ruleFQN.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3603); + match(input,EOF,FOLLOW_EOF_in_entryRuleFQN3725); } @@ -3837,7 +3948,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleFQN" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1492:1: ruleFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1532: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(); @@ -3848,40 +3959,40 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1495:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1496:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1535:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1536:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1496:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1496:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1536:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1536:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* { - this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3643); + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3765); current.merge(this_ID_0); newLeafNode(this_ID_0, grammarAccess.getFQNAccess().getIDTerminalRuleCall_0()); - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1503:1: (kw= '.' this_ID_2= RULE_ID )* - loop24: + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1543:1: (kw= '.' this_ID_2= RULE_ID )* + loop25: do { - int alt24=2; - int LA24_0 = input.LA(1); + int alt25=2; + int LA25_0 = input.LA(1); - if ( (LA24_0==32) ) { - alt24=1; + if ( (LA25_0==33) ) { + alt25=1; } - switch (alt24) { + switch (alt25) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1504:2: kw= '.' this_ID_2= RULE_ID + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1544:2: kw= '.' this_ID_2= RULE_ID { - kw=(Token)match(input,32,FOLLOW_32_in_ruleFQN3662); + kw=(Token)match(input,33,FOLLOW_33_in_ruleFQN3784); current.merge(kw); newLeafNode(kw, grammarAccess.getFQNAccess().getFullStopKeyword_1_0()); - this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3677); + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleFQN3799); current.merge(this_ID_2); @@ -3893,7 +4004,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { break; default : - break loop24; + break loop25; } } while (true); @@ -3918,7 +4029,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // $ANTLR start "ruleLiteralType" - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1524:1: ruleLiteralType returns [Enumerator current=null] : ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1564: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; @@ -3929,47 +4040,47 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { enterRule(); try { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1526:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1527:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1566:28: ( ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1567:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1527:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) - int alt25=4; + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1567:1: ( (enumLiteral_0= 'ptBoolean' ) | (enumLiteral_1= 'ptInteger' ) | (enumLiteral_2= 'ptReal' ) | (enumLiteral_3= 'ptCharacter' ) ) + int alt26=4; switch ( input.LA(1) ) { - case 33: - { - alt25=1; - } - break; case 34: { - alt25=2; + alt26=1; } break; case 35: { - alt25=3; + alt26=2; } break; case 36: { - alt25=4; + alt26=3; + } + break; + case 37: + { + alt26=4; } break; default: NoViableAltException nvae = - new NoViableAltException("", 25, 0, input); + new NoViableAltException("", 26, 0, input); throw nvae; } - switch (alt25) { + switch (alt26) { case 1 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1527:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1567:2: (enumLiteral_0= 'ptBoolean' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1527:2: (enumLiteral_0= 'ptBoolean' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1527:4: enumLiteral_0= 'ptBoolean' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1567:2: (enumLiteral_0= 'ptBoolean' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1567:4: enumLiteral_0= 'ptBoolean' { - enumLiteral_0=(Token)match(input,33,FOLLOW_33_in_ruleLiteralType3738); + enumLiteral_0=(Token)match(input,34,FOLLOW_34_in_ruleLiteralType3860); current = grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_0, grammarAccess.getLiteralTypeAccess().getBOOLEnumLiteralDeclaration_0()); @@ -3981,12 +4092,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 2 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1533:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1573:6: (enumLiteral_1= 'ptInteger' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1533:6: (enumLiteral_1= 'ptInteger' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1533:8: enumLiteral_1= 'ptInteger' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1573:6: (enumLiteral_1= 'ptInteger' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1573:8: enumLiteral_1= 'ptInteger' { - enumLiteral_1=(Token)match(input,34,FOLLOW_34_in_ruleLiteralType3755); + enumLiteral_1=(Token)match(input,35,FOLLOW_35_in_ruleLiteralType3877); current = grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_1, grammarAccess.getLiteralTypeAccess().getINTEnumLiteralDeclaration_1()); @@ -3998,12 +4109,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 3 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1539:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1579:6: (enumLiteral_2= 'ptReal' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1539:6: (enumLiteral_2= 'ptReal' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1539:8: enumLiteral_2= 'ptReal' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1579:6: (enumLiteral_2= 'ptReal' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1579:8: enumLiteral_2= 'ptReal' { - enumLiteral_2=(Token)match(input,35,FOLLOW_35_in_ruleLiteralType3772); + enumLiteral_2=(Token)match(input,36,FOLLOW_36_in_ruleLiteralType3894); current = grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_2, grammarAccess.getLiteralTypeAccess().getREALEnumLiteralDeclaration_2()); @@ -4015,12 +4126,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { } break; case 4 : - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1545:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1585:6: (enumLiteral_3= 'ptCharacter' ) { - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1545:6: (enumLiteral_3= 'ptCharacter' ) - // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1545:8: enumLiteral_3= 'ptCharacter' + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1585:6: (enumLiteral_3= 'ptCharacter' ) + // ../org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/parser/antlr/internal/InternalBaseTest.g:1585:8: enumLiteral_3= 'ptCharacter' { - enumLiteral_3=(Token)match(input,36,FOLLOW_36_in_ruleLiteralType3789); + enumLiteral_3=(Token)match(input,37,FOLLOW_37_in_ruleLiteralType3911); current = grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); newLeafNode(enumLiteral_3, grammarAccess.getLiteralTypeAccess().getCHAREnumLiteralDeclaration_3()); @@ -4053,63 +4164,63 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { // Delegated rules - protected DFA19 dfa19 = new DFA19(this); - static final String DFA19_eotS = + protected DFA20 dfa20 = new DFA20(this); + static final String DFA20_eotS = "\12\uffff"; - static final String DFA19_eofS = - "\5\uffff\1\6\1\uffff\1\11\2\uffff"; - static final String DFA19_minS = - "\3\6\1\40\1\uffff\1\6\1\uffff\1\10\2\uffff"; - static final String DFA19_maxS = - "\4\40\1\uffff\1\20\1\uffff\1\20\2\uffff"; - static final String DFA19_acceptS = - "\4\uffff\1\2\1\uffff\1\3\1\uffff\1\4\1\1"; - static final String DFA19_specialS = + static final String DFA20_eofS = + "\5\uffff\1\7\1\11\3\uffff"; + static final String DFA20_minS = + "\3\6\1\41\1\uffff\1\6\1\10\3\uffff"; + static final String DFA20_maxS = + "\4\41\1\uffff\2\20\3\uffff"; + static final String DFA20_acceptS = + "\4\uffff\1\2\2\uffff\1\3\1\4\1\1"; + static final String DFA20_specialS = "\12\uffff}>"; - static final String[] DFA19_transitionS = { - "\1\3\27\uffff\1\1\1\2\1\4", - "\1\3\31\uffff\1\4", - "\1\3\31\uffff\1\4", + static final String[] DFA20_transitionS = { + "\1\3\30\uffff\1\1\1\2\1\4", + "\1\3\32\uffff\1\4", + "\1\3\32\uffff\1\4", "\1\5", "", - "\1\7\10\uffff\2\6", - "", + "\1\6\10\uffff\2\7", "\1\10\6\uffff\2\11", "", + "", "" }; - static final short[] DFA19_eot = DFA.unpackEncodedString(DFA19_eotS); - static final short[] DFA19_eof = DFA.unpackEncodedString(DFA19_eofS); - static final char[] DFA19_min = DFA.unpackEncodedStringToUnsignedChars(DFA19_minS); - static final char[] DFA19_max = DFA.unpackEncodedStringToUnsignedChars(DFA19_maxS); - static final short[] DFA19_accept = DFA.unpackEncodedString(DFA19_acceptS); - static final short[] DFA19_special = DFA.unpackEncodedString(DFA19_specialS); - static final short[][] DFA19_transition; + static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); + static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); + static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); + static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); + static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); + static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); + static final short[][] DFA20_transition; static { - int numStates = DFA19_transitionS.length; - DFA19_transition = new short[numStates][]; + int numStates = DFA20_transitionS.length; + DFA20_transition = new short[numStates][]; for (int i=0; i<numStates; i++) { - DFA19_transition[i] = DFA.unpackEncodedString(DFA19_transitionS[i]); + DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]); } } - class DFA19 extends DFA { + class DFA20 extends DFA { - public DFA19(BaseRecognizer recognizer) { + public DFA20(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 19; - this.eot = DFA19_eot; - this.eof = DFA19_eof; - this.min = DFA19_min; - this.max = DFA19_max; - this.accept = DFA19_accept; - this.special = DFA19_special; - this.transition = DFA19_transition; + this.decisionNumber = 20; + this.eot = DFA20_eot; + this.eof = DFA20_eof; + this.min = DFA20_min; + this.max = DFA20_max; + this.accept = DFA20_accept; + this.special = DFA20_special; + this.transition = DFA20_transition; } public String getDescription() { - return "1179:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; + return "1219:1: (this_Decimal_0= ruleDecimal | this_DotDecimal_1= ruleDotDecimal | this_DecimalDot_2= ruleDecimalDot | this_DecimalExp_3= ruleDecimalExp )"; } } @@ -4130,12 +4241,12 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_ruleKeyValue_in_entryRuleKeyValue380 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleKeyValue390 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_RULE_ID_in_ruleKeyValue432 = new BitSet(new long[]{0x0000000000020000L}); - public static final BitSet FOLLOW_17_in_ruleKeyValue449 = new BitSet(new long[]{0x00000001F00000E0L}); + public static final BitSet FOLLOW_17_in_ruleKeyValue449 = new BitSet(new long[]{0x00000003E00000E0L}); public static final BitSet FOLLOW_ruleLiteral_in_ruleKeyValue470 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleAnnotationType_in_entryRuleAnnotationType506 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleAnnotationType516 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_18_in_ruleAnnotationType553 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationType570 = new BitSet(new long[]{0x0000000004080000L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotationType570 = new BitSet(new long[]{0x0000000008080000L}); public static final BitSet FOLLOW_ruleDocumentation_in_ruleAnnotationType596 = new BitSet(new long[]{0x0000000000080000L}); public static final BitSet FOLLOW_19_in_ruleAnnotationType609 = new BitSet(new long[]{0x0000000000100000L}); public static final BitSet FOLLOW_20_in_ruleAnnotationType621 = new BitSet(new long[]{0x0000000000020000L}); @@ -4161,7 +4272,7 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_23_in_ruleSimpleAnnotationAttribute1114 = new BitSet(new long[]{0x0000000001000000L}); public static final BitSet FOLLOW_24_in_ruleSimpleAnnotationAttribute1127 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_RULE_ID_in_ruleSimpleAnnotationAttribute1144 = new BitSet(new long[]{0x0000000002000000L}); - public static final BitSet FOLLOW_25_in_ruleSimpleAnnotationAttribute1161 = new BitSet(new long[]{0x0000001E00000000L}); + public static final BitSet FOLLOW_25_in_ruleSimpleAnnotationAttribute1161 = new BitSet(new long[]{0x0000003C00000000L}); public static final BitSet FOLLOW_ruleLiteralType_in_ruleSimpleAnnotationAttribute1182 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_ruleEnumAnnotationAttribute_in_entryRuleEnumAnnotationAttribute1218 = new BitSet(new long[]{0x0000000000000000L}); public static final BitSet FOLLOW_EOF_in_entryRuleEnumAnnotationAttribute1228 = new BitSet(new long[]{0x0000000000000002L}); @@ -4175,86 +4286,90 @@ public class InternalBaseTestParser extends AbstractInternalAntlrParser { public static final BitSet FOLLOW_15_in_ruleEnumAnnotationAttribute1397 = new BitSet(new long[]{0x0000000000000020L}); public static final BitSet FOLLOW_RULE_STRING_in_ruleEnumAnnotationAttribute1414 = new BitSet(new long[]{0x0000000000208000L}); public static final BitSet FOLLOW_21_in_ruleEnumAnnotationAttribute1433 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1469 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1479 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_26_in_ruleDocumentation1525 = new BitSet(new long[]{0x0000000008000020L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1542 = new BitSet(new long[]{0x0000000008000020L}); - public static final BitSet FOLLOW_27_in_ruleDocumentation1560 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1600 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1610 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral1657 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral1684 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral1711 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1746 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral1756 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_28_in_ruleBooleanLiteral1803 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_29_in_ruleBooleanLiteral1827 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1877 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral1887 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral1934 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral1961 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral1996 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2006 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2061 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2097 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral2107 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral2162 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2198 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral2208 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral2259 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger2301 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInteger2312 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger2359 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger2392 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2444 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger2455 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleSignedInteger2498 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_31_in_ruleSignedInteger2517 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger2534 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2590 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal2601 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal2644 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2693 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleReal2704 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2751 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal2784 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal2817 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2850 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal2902 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimal2913 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleDecimal2956 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_31_in_ruleDecimal2975 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal2992 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_32_in_ruleDecimal3010 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3025 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3081 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal3092 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleDotDecimal3135 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_31_in_ruleDotDecimal3154 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_32_in_ruleDotDecimal3169 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal3184 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3240 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot3251 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleDecimalDot3294 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_31_in_ruleDecimalDot3313 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot3330 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_32_in_ruleDecimalDot3348 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3399 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp3410 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleDecimalExp3453 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_31_in_ruleDecimalExp3472 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3489 = new BitSet(new long[]{0x0000000100000000L}); - public static final BitSet FOLLOW_32_in_ruleDecimalExp3507 = new BitSet(new long[]{0x0000000000000040L}); - public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3522 = new BitSet(new long[]{0x0000000000000100L}); - public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp3542 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3592 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleFQN3603 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3643 = new BitSet(new long[]{0x0000000100000002L}); - public static final BitSet FOLLOW_32_in_ruleFQN3662 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3677 = new BitSet(new long[]{0x0000000100000002L}); - public static final BitSet FOLLOW_33_in_ruleLiteralType3738 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleLiteralType3755 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_35_in_ruleLiteralType3772 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_36_in_ruleLiteralType3789 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleImportedFQN_in_entryRuleImportedFQN1472 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleImportedFQN1483 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_ruleImportedFQN1530 = new BitSet(new long[]{0x0000000004000002L}); + public static final BitSet FOLLOW_26_in_ruleImportedFQN1549 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDocumentation_in_entryRuleDocumentation1591 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDocumentation1601 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_27_in_ruleDocumentation1647 = new BitSet(new long[]{0x0000000010000020L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleDocumentation1664 = new BitSet(new long[]{0x0000000010000020L}); + public static final BitSet FOLLOW_28_in_ruleDocumentation1682 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral1722 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleLiteral1732 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_ruleLiteral1779 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_ruleLiteral1806 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_ruleLiteral1833 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleBooleanLiteral_in_entryRuleBooleanLiteral1868 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteral1878 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_29_in_ruleBooleanLiteral1925 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_30_in_ruleBooleanLiteral1949 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleNumberLiteral_in_entryRuleNumberLiteral1999 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteral2009 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_ruleNumberLiteral2056 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_ruleNumberLiteral2083 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleRealLiteral_in_entryRuleRealLiteral2118 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteral2128 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_ruleRealLiteral2183 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleIntLiteral_in_entryRuleIntLiteral2219 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleIntLiteral2229 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_ruleIntLiteral2284 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleStringLiteral_in_entryRuleStringLiteral2320 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteral2330 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteral2381 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleInteger_in_entryRuleInteger2423 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleInteger2434 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_ruleInteger2481 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_ruleInteger2514 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleSignedInteger_in_entryRuleSignedInteger2566 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleSignedInteger2577 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_31_in_ruleSignedInteger2620 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_32_in_ruleSignedInteger2639 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleSignedInteger2656 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleHexadecimal_in_entryRuleHexadecimal2712 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleHexadecimal2723 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_HEX_in_ruleHexadecimal2766 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleReal_in_entryRuleReal2815 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleReal2826 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_ruleReal2873 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_ruleReal2906 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_ruleReal2939 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_ruleReal2972 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimal_in_entryRuleDecimal3024 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimal3035 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_31_in_ruleDecimal3078 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_32_in_ruleDecimal3097 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3114 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleDecimal3132 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimal3147 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDotDecimal_in_entryRuleDotDecimal3203 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDotDecimal3214 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_31_in_ruleDotDecimal3257 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_32_in_ruleDotDecimal3276 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleDotDecimal3291 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDotDecimal3306 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalDot_in_entryRuleDecimalDot3362 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalDot3373 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_31_in_ruleDecimalDot3416 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_32_in_ruleDecimalDot3435 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalDot3452 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleDecimalDot3470 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleDecimalExp_in_entryRuleDecimalExp3521 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleDecimalExp3532 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_31_in_ruleDecimalExp3575 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_32_in_ruleDecimalExp3594 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3611 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_33_in_ruleDecimalExp3629 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_RULE_INT_in_ruleDecimalExp3644 = new BitSet(new long[]{0x0000000000000100L}); + public static final BitSet FOLLOW_RULE_EXP_in_ruleDecimalExp3664 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_ruleFQN_in_entryRuleFQN3714 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_EOF_in_entryRuleFQN3725 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3765 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_33_in_ruleFQN3784 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_RULE_ID_in_ruleFQN3799 = new BitSet(new long[]{0x0000000200000002L}); + public static final BitSet FOLLOW_34_in_ruleLiteralType3860 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_35_in_ruleLiteralType3877 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_36_in_ruleLiteralType3894 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_37_in_ruleLiteralType3911 = new BitSet(new long[]{0x0000000000000002L}); }
\ No newline at end of file diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseSemanticSequencer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseSemanticSequencer.java index 3e4b6cc70..d9012f71f 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseSemanticSequencer.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseSemanticSequencer.java @@ -9,6 +9,7 @@ import org.eclipse.etrice.core.common.base.BasePackage; import org.eclipse.etrice.core.common.base.BooleanLiteral; import org.eclipse.etrice.core.common.base.Documentation; import org.eclipse.etrice.core.common.base.EnumAnnotationAttribute; +import org.eclipse.etrice.core.common.base.Import; import org.eclipse.etrice.core.common.base.IntLiteral; import org.eclipse.etrice.core.common.base.KeyValue; import org.eclipse.etrice.core.common.base.LiteralArray; @@ -67,6 +68,12 @@ public class BaseSemanticSequencer extends AbstractDelegatingSemanticSequencer { return; } else break; + case BasePackage.IMPORT: + if(context == grammarAccess.getImportRule()) { + sequence_Import(context, (Import) semanticObject); + return; + } + else break; case BasePackage.INT_LITERAL: if(context == grammarAccess.getIntLiteralRule() || context == grammarAccess.getLiteralRule() || @@ -165,6 +172,15 @@ public class BaseSemanticSequencer extends AbstractDelegatingSemanticSequencer { /** * Constraint: + * (importedNamespace=ImportedFQN? importURI=STRING) + */ + protected void sequence_Import(EObject context, Import semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Constraint: * value=Integer */ protected void sequence_IntLiteral(EObject context, IntLiteral semanticObject) { diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseTestSemanticSequencer.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseTestSemanticSequencer.java index 627369514..e9069c900 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseTestSemanticSequencer.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/serializer/BaseTestSemanticSequencer.java @@ -9,6 +9,7 @@ import org.eclipse.etrice.core.common.base.BasePackage; import org.eclipse.etrice.core.common.base.BooleanLiteral; import org.eclipse.etrice.core.common.base.Documentation; import org.eclipse.etrice.core.common.base.EnumAnnotationAttribute; +import org.eclipse.etrice.core.common.base.Import; import org.eclipse.etrice.core.common.base.IntLiteral; import org.eclipse.etrice.core.common.base.KeyValue; import org.eclipse.etrice.core.common.base.LiteralArray; @@ -66,6 +67,12 @@ public class BaseTestSemanticSequencer extends BaseSemanticSequencer { return; } else break; + case BasePackage.IMPORT: + if(context == grammarAccess.getImportRule()) { + sequence_Import(context, (Import) semanticObject); + return; + } + else break; case BasePackage.INT_LITERAL: if(context == grammarAccess.getIntLiteralRule() || context == grammarAccess.getLiteralRule() || diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java index c0b04f807..c76cb5edb 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseGrammarAccess.java @@ -390,6 +390,94 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder { public Keyword getRightCurlyBracketKeyword_7() { return cRightCurlyBracketKeyword_7; } } + public class ImportElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Import"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cImportKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Alternatives cAlternatives_1 = (Alternatives)cGroup.eContents().get(1); + private final Group cGroup_1_0 = (Group)cAlternatives_1.eContents().get(0); + private final Assignment cImportedNamespaceAssignment_1_0_0 = (Assignment)cGroup_1_0.eContents().get(0); + private final RuleCall cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0 = (RuleCall)cImportedNamespaceAssignment_1_0_0.eContents().get(0); + private final Keyword cFromKeyword_1_0_1 = (Keyword)cGroup_1_0.eContents().get(1); + private final Keyword cModelKeyword_1_1 = (Keyword)cAlternatives_1.eContents().get(1); + private final Assignment cImportURIAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cImportURISTRINGTerminalRuleCall_2_0 = (RuleCall)cImportURIAssignment_2.eContents().get(0); + + //// ************************************************************** + //// Import rules + //// HOWTO: use a combination of URI global scopes and namespace aware local scope provider + //// this is configured in the work flow by + //// fragment = scoping.ImportURIScopingFragment {} + //// and by overriding configureIScopeProviderDelegate in the runtime module with + //// ImportedNamespaceAwareLocalScopeProvider + //// also configure in the RuntimeModule + //// public Class<? extends ImportUriResolver> bindImportUriResolver() { + //// return PlatformRelativeUriResolver.class; + //// } + //// and in the UiRuntimeModule + //// public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { + //// return GlobalNonPlatformURIEditorOpener.class; + //// } + //// public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { + //// return ImportAwareHyperlinkHelper.class; + //// } + //// 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; + public ParserRule getRule() { return rule; } + + //"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING + public Group getGroup() { return cGroup; } + + //"import" + public Keyword getImportKeyword_0() { return cImportKeyword_0; } + + //importedNamespace=ImportedFQN "from" | "model" + public Alternatives getAlternatives_1() { return cAlternatives_1; } + + //importedNamespace=ImportedFQN "from" + public Group getGroup_1_0() { return cGroup_1_0; } + + //importedNamespace=ImportedFQN + public Assignment getImportedNamespaceAssignment_1_0_0() { return cImportedNamespaceAssignment_1_0_0; } + + //ImportedFQN + public RuleCall getImportedNamespaceImportedFQNParserRuleCall_1_0_0_0() { return cImportedNamespaceImportedFQNParserRuleCall_1_0_0_0; } + + //"from" + public Keyword getFromKeyword_1_0_1() { return cFromKeyword_1_0_1; } + + //"model" + public Keyword getModelKeyword_1_1() { return cModelKeyword_1_1; } + + //importURI=STRING + public Assignment getImportURIAssignment_2() { return cImportURIAssignment_2; } + + //STRING + public RuleCall getImportURISTRINGTerminalRuleCall_2_0() { return cImportURISTRINGTerminalRuleCall_2_0; } + } + + public class ImportedFQNElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ImportedFQN"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cFQNParserRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Keyword cFullStopAsteriskKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //ImportedFQN: + // FQN ".*"?; + public ParserRule getRule() { return rule; } + + //FQN ".*"? + public Group getGroup() { return cGroup; } + + //FQN + public RuleCall getFQNParserRuleCall_0() { return cFQNParserRuleCall_0; } + + //".*"? + public Keyword getFullStopAsteriskKeyword_1() { return cFullStopAsteriskKeyword_1; } + } + public class DocumentationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Documentation"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -981,6 +1069,8 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder { private AnnotationAttributeElements pAnnotationAttribute; private SimpleAnnotationAttributeElements pSimpleAnnotationAttribute; private EnumAnnotationAttributeElements pEnumAnnotationAttribute; + private ImportElements pImport; + private ImportedFQNElements pImportedFQN; private DocumentationElements pDocumentation; private TIMEElements pTIME; private LiteralTypeElements unknownRuleLiteralType; @@ -1123,6 +1213,46 @@ public class BaseGrammarAccess extends AbstractGrammarElementFinder { } //// ************************************************************** + //// Import rules + //// HOWTO: use a combination of URI global scopes and namespace aware local scope provider + //// this is configured in the work flow by + //// fragment = scoping.ImportURIScopingFragment {} + //// and by overriding configureIScopeProviderDelegate in the runtime module with + //// ImportedNamespaceAwareLocalScopeProvider + //// also configure in the RuntimeModule + //// public Class<? extends ImportUriResolver> bindImportUriResolver() { + //// return PlatformRelativeUriResolver.class; + //// } + //// and in the UiRuntimeModule + //// public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { + //// return GlobalNonPlatformURIEditorOpener.class; + //// } + //// public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { + //// return ImportAwareHyperlinkHelper.class; + //// } + //// 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; + public ImportElements getImportAccess() { + return (pImport != null) ? pImport : (pImport = new ImportElements()); + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //ImportedFQN: + // FQN ".*"?; + public ImportedFQNElements getImportedFQNAccess() { + return (pImportedFQN != null) ? pImportedFQN : (pImportedFQN = new ImportedFQNElements()); + } + + public ParserRule getImportedFQNRule() { + return getImportedFQNAccess().getRule(); + } + + //// ************************************************************** //// Documentation Rule //Documentation: // {Documentation} "[" lines+=STRING* "]"; diff --git a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java index dca6a8b60..9d201e302 100644 --- a/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.common/src-gen/org/eclipse/etrice/core/common/services/BaseTestGrammarAccess.java @@ -181,6 +181,46 @@ public class BaseTestGrammarAccess extends AbstractGrammarElementFinder { } //// ************************************************************** + //// Import rules + //// HOWTO: use a combination of URI global scopes and namespace aware local scope provider + //// this is configured in the work flow by + //// fragment = scoping.ImportURIScopingFragment {} + //// and by overriding configureIScopeProviderDelegate in the runtime module with + //// ImportedNamespaceAwareLocalScopeProvider + //// also configure in the RuntimeModule + //// public Class<? extends ImportUriResolver> bindImportUriResolver() { + //// return PlatformRelativeUriResolver.class; + //// } + //// and in the UiRuntimeModule + //// public Class<? extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() { + //// return GlobalNonPlatformURIEditorOpener.class; + //// } + //// public Class<? extends IHyperlinkHelper> bindIHyperlinkHelper() { + //// return ImportAwareHyperlinkHelper.class; + //// } + //// 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; + public BaseGrammarAccess.ImportElements getImportAccess() { + return gaBase.getImportAccess(); + } + + public ParserRule getImportRule() { + return getImportAccess().getRule(); + } + + //ImportedFQN: + // FQN ".*"?; + public BaseGrammarAccess.ImportedFQNElements getImportedFQNAccess() { + return gaBase.getImportedFQNAccess(); + } + + public ParserRule getImportedFQNRule() { + return getImportedFQNAccess().getRule(); + } + + //// ************************************************************** //// Documentation Rule //Documentation: // {Documentation} "[" lines+=STRING* "]"; |