diff options
Diffstat (limited to 'extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen')
102 files changed, 0 insertions, 47354 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java deleted file mode 100644 index ee14e7ad4cf..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/AbstractVSLRuntimeModule.java +++ /dev/null @@ -1,122 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl; - -import java.util.Properties; - -import org.eclipse.xtext.Constants; -import org.eclipse.xtext.service.DefaultRuntimeModule; - -import com.google.inject.Binder; -import com.google.inject.name.Names; - -/** - * Manual modifications go to {org.eclipse.papyrus.marte.vsl.VSLRuntimeModule} - */ - @SuppressWarnings("all") -public abstract class AbstractVSLRuntimeModule extends DefaultRuntimeModule { - - protected Properties properties = null; - - @Override - public void configure(Binder binder) { - properties = tryBindProperties(binder, "org/eclipse/papyrus/marte/vsl/VSL.properties"); - super.configure(binder); - } - - public void configureLanguageName(Binder binder) { - binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.marte.vsl.VSL"); - } - - public void configureFileExtensions(Binder binder) { - if (properties == null || properties.getProperty(Constants.FILE_EXTENSIONS) == null) - binder.bind(String.class).annotatedWith(Names.named(Constants.FILE_EXTENSIONS)).toInstance("vsl"); - } - - // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment - public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() { - return org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess.class; - } - - // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment - public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() { - return org.eclipse.papyrus.marte.vsl.parseTreeConstruction.VSLParsetreeConstructor.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrParser> bindIAntlrParser() { - return org.eclipse.papyrus.marte.vsl.parser.antlr.VSLParser.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.ITokenToStringConverter> bindITokenToStringConverter() { - return org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider> bindIAntlrTokenFileProvider() { - return org.eclipse.papyrus.marte.vsl.parser.antlr.VSLAntlrTokenFileProvider.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() { - return org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class; - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public com.google.inject.Provider<org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer> provideInternalVSLLexer() { - return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public void configureRuntimeLexer(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.parser.antlr.Lexer.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.parser.antlr.LexerBindings.RUNTIME)).to(org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLLexer.class); - } - - // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment - public Class<? extends org.eclipse.xtext.parser.antlr.ITokenDefProvider> bindITokenDefProvider() { - return org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider.class; - } - - // contributed by org.eclipse.xtext.generator.validation.JavaValidatorFragment - @org.eclipse.xtext.service.SingletonBinding(eager=true) public Class<? extends org.eclipse.papyrus.marte.vsl.validation.VSLJavaValidator> bindVSLJavaValidator() { - return org.eclipse.papyrus.marte.vsl.validation.VSLJavaValidator.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() { - return org.eclipse.papyrus.marte.vsl.scoping.VSLScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { - binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class); - } - - // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment - public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() { - return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class; - } - - // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment - public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() { - return org.eclipse.xtext.naming.SimpleNameProvider.class; - } - - // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment - public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() { - return org.eclipse.papyrus.marte.vsl.formatting.VSLFormatter.class; - } - -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore deleted file mode 100644 index 96174d74a8c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.ecore +++ /dev/null @@ -1,806 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="vSL"
- nsURI="http://www.eclipse.org/papyrus/marte/vsl/VSL" nsPrefix="vSL">
- <eClassifiers xsi:type="ecore:EClass" name="Expression" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//AndOrXorExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AndOrXorExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//EqualityExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="EqualityExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//RelationalExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RelationalExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//ConditionalExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ConditionalExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//AdditiveExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AdditiveExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//MultiplicativeExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MultiplicativeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" upperBound="-1" eType="#//UnaryExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UnaryExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="op" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="unary" eType="#//UnaryExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="exp" eType="#//PrimaryExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PrimaryExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="prefix" eType="#//ValueSpecification"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="suffix" eType="#//SuffixExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="suffix" eType="#//SuffixExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PropertyCallExpression" eSuperTypes="#//SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OperationCallExpression" eSuperTypes="#//SuffixExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="operation" eType="ecore:EClass ../../../../../../model/UML.ecore#//Operation"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Literal" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NameOrChoiceOrBehaviorCall" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="ecore:EClass ../../../../../../model/UML.ecore#//NamedElement"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="arguments" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="QualifiedName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="ecore:EClass ../../../../../../model/UML.ecore#//Namespace"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="remaining" eType="#//QualifiedName"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Interval" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="isLowerIncluded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="isUpperIncluded" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CollectionOrTuple" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValues" eType="#//ListOfValues"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Tuple" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="listOfValueNamePairs" eType="#//ListOfValueNamePairs"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ListOfValues">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="values" upperBound="-1"
- eType="#//Expression" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ListOfValueNamePairs">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="valueNamePairs" upperBound="-1"
- eType="#//ValueNamePair" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ValueNamePair">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="property" eType="ecore:EClass ../../../../../../model/UML.ecore#//Property"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TimeExpression" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InstantObsExpression" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//InstantObsName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InstantObsName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="instantId" eType="ecore:EClass ../../../../../../model/UML.ecore#//TimeObservation"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DurationObsExpression" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="id" eType="#//DurationObsName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="index" eType="#//Expression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DurationObsName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="durationId" eType="ecore:EClass ../../../../../../model/UML.ecore#//DurationObservation"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JitterExp" eSuperTypes="#//TimeExpression">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="firstInstant" eType="#//InstantObsExpression"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="secondInstant" eType="#//InstantObsExpression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="VariableDeclaration" eSuperTypes="#//ValueSpecification">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="variableDeclaration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="#//DataTypeName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="initValue" eType="#//Expression"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DataTypeName">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="path" eType="#//QualifiedName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="type" eType="ecore:EClass ../../../../../../model/UML.ecore#//DataType"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NumberLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="IntegerLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UnlimitedLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RealLiteralRule" eSuperTypes="#//NumberLiteralRule">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DateTimeLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="BooleanLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NullLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DefaultLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StringLiteralRule" eSuperTypes="#//Literal">
- <eOperations name="getFilteredParentRule" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;"/>
- </eAnnotations>
- <eParameters name="filter" eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EClass"/>
- </eOperations>
- <eOperations name="getExpectedType" eType="ecore:EClass ../../../../../../model/UML.ecore#//Type">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;"/>
- </eAnnotations>
- </eOperations>
- <eOperations name="getContextElement" eType="ecore:EClass ../../../../../../model/UML.ecore#//Element">
- <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="body" value="return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;"/>
- </eAnnotations>
- </eOperations>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel deleted file mode 100644 index 1c10ef55fb6..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.genmodel +++ /dev/null @@ -1,342 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.marte.vsl/src-gen"
- editDirectory="/org.eclipse.papyrus.marte.vsl.edit/src" editorDirectory="/org.eclipse.papyrus.marte.vsl.editor/src"
- modelPluginID="org.eclipse.papyrus.marte.vsl" forceOverwrite="true" modelName="VSL"
- updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.marte.vsl.edit"
- editorPluginID="org.eclipse.papyrus.marte.vsl.editor" usedGenPackages="../../../../../../model/UML.genmodel#//uml">
- <genPackages prefix="VSL" basePackage="org.eclipse.papyrus.marte.vsl" resource="XML"
- disposableProviderFactory="true" ecorePackage="VSL.ecore#/">
- <genClasses ecoreClass="VSL.ecore#//Expression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Expression/exp"/>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Expression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Expression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//AndOrXorExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AndOrXorExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AndOrXorExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//AndOrXorExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//AndOrXorExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//EqualityExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//EqualityExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//EqualityExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//EqualityExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//EqualityExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//RelationalExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//RelationalExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//RelationalExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//RelationalExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//RelationalExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ConditionalExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ConditionalExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//ConditionalExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ConditionalExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ConditionalExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//AdditiveExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//AdditiveExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//AdditiveExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//AdditiveExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//AdditiveExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//MultiplicativeExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//MultiplicativeExpression/exp"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//MultiplicativeExpression/op"/>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//MultiplicativeExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//MultiplicativeExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//UnaryExpression">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//UnaryExpression/op"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/unary"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//UnaryExpression/exp"/>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//UnaryExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//UnaryExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//PrimaryExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/prefix"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//PrimaryExpression/suffix"/>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//PrimaryExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//PrimaryExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ValueSpecification">
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ValueSpecification/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueSpecification/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//SuffixExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//SuffixExpression/suffix"/>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//SuffixExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//SuffixExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//PropertyCallExpression">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//PropertyCallExpression/property"/>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//PropertyCallExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//PropertyCallExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//OperationCallExpression">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/operation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//OperationCallExpression/arguments"/>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//OperationCallExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//OperationCallExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Literal">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Literal/value"/>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Literal/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Literal/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NameOrChoiceOrBehaviorCall">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//NameOrChoiceOrBehaviorCall/arguments"/>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NameOrChoiceOrBehaviorCall/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NameOrChoiceOrBehaviorCall/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//QualifiedName">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/path"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//QualifiedName/remaining"/>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//QualifiedName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//QualifiedName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Interval">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isLowerIncluded"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/lower"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Interval/upper"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//Interval/isUpperIncluded"/>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Interval/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Interval/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//CollectionOrTuple">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//CollectionOrTuple/listOfValues"/>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//CollectionOrTuple/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//CollectionOrTuple/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//Tuple">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//Tuple/listOfValueNamePairs"/>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//Tuple/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//Tuple/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ListOfValues">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValues/values"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ListOfValues/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValues/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ListOfValueNamePairs">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ListOfValueNamePairs/valueNamePairs"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ListOfValueNamePairs/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ListOfValueNamePairs/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//ValueNamePair">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/property"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//ValueNamePair/value"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//ValueNamePair/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//ValueNamePair/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//TimeExpression">
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//TimeExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//TimeExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//InstantObsExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/index"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsExpression/condition"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//InstantObsExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//InstantObsName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//InstantObsName/instantId"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//InstantObsName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//InstantObsName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DurationObsExpression">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/id"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/index"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsExpression/condition"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DurationObsExpression/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsExpression/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DurationObsName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DurationObsName/durationId"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DurationObsName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DurationObsName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//JitterExp">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/firstInstant"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//JitterExp/secondInstant"/>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//JitterExp/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//JitterExp/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//VariableDeclaration">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/variableDeclaration"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute VSL.ecore#//VariableDeclaration/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/type"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//VariableDeclaration/initValue"/>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//VariableDeclaration/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//VariableDeclaration/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DataTypeName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/path"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference VSL.ecore#//DataTypeName/type"/>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DataTypeName/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DataTypeName/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NumberLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NumberLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NumberLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//IntegerLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//IntegerLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//IntegerLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//UnlimitedLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//UnlimitedLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//UnlimitedLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//RealLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//RealLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//RealLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DateTimeLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DateTimeLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DateTimeLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//BooleanLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//BooleanLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//BooleanLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//NullLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//NullLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//NullLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//DefaultLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//DefaultLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//DefaultLiteralRule/getContextElement"/>
- </genClasses>
- <genClasses ecoreClass="VSL.ecore#//StringLiteralRule">
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getFilteredParentRule">
- <genParameters ecoreParameter="VSL.ecore#//StringLiteralRule/getFilteredParentRule/filter"/>
- </genOperations>
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getExpectedType"/>
- <genOperations ecoreOperation="VSL.ecore#//StringLiteralRule/getContextElement"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi deleted file mode 100644 index ac66a707555..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSL.xmi +++ /dev/null @@ -1,1122 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:xtext="http://www.eclipse.org/2008/Xtext">
- <xtext:Grammar name="org.eclipse.papyrus.marte.vsl.VSL" usedGrammars="/1">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="uml">
- <ePackage href="http://www.eclipse.org/uml2/3.0.0/UML#/"/>
- </metamodelDeclarations>
- <metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="vSL">
- <ePackage href="http://www.eclipse.org/papyrus/marte/vsl/VSL#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:ParserRule" name="Expression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Expression"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AndOrXorExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//AndOrXorExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="and"/>
- <elements xsi:type="xtext:Keyword" value="or"/>
- <elements xsi:type="xtext:Keyword" value="xor"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EqualityExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//EqualityExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="=="/>
- <elements xsi:type="xtext:Keyword" value="<>"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RelationalExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//RelationalExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="<"/>
- <elements xsi:type="xtext:Keyword" value=">"/>
- <elements xsi:type="xtext:Keyword" value="<="/>
- <elements xsi:type="xtext:Keyword" value=">="/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConditionalExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ConditionalExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Keyword" value="?"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AdditiveExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//AdditiveExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="MultiplicativeExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//MultiplicativeExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Assignment" feature="op" operator="+=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="*"/>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Keyword" value="mod"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnaryExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//UnaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="not"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- <elements xsi:type="xtext:Keyword" value="+"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="unary" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PrimaryExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//PrimaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="prefix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueSpecification">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ValueSpecification"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.16"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.17"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.18"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.22"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.28"/>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SuffixExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//SuffixExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PropertyCallExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//PropertyCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="property" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="OperationCallExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//OperationCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="operation" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Operation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="arguments" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Literal">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Literal"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.31"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.37"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.39"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.41"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.43"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.44"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NameOrChoiceOrBehaviorCall">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NameOrChoiceOrBehaviorCall"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="arguments" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="QualifiedName">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//QualifiedName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="path" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Namespace"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="::"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="remaining" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Interval">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Interval"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="]"/>
- <elements xsi:type="xtext:Assignment" feature="isLowerIncluded" operator="=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="lower" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=".."/>
- <elements xsi:type="xtext:Assignment" feature="upper" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="isUpperIncluded" operator="=">
- <terminal xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="["/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="CollectionOrTuple">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//CollectionOrTuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="listOfValues" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Tuple">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//Tuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="listOfValueNamePairs" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.20"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ListOfValues">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ListOfValues"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="values" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ListOfValueNamePairs">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ListOfValueNamePairs"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="valueNamePairs" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="valueNamePairs" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.21"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueNamePair">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//ValueNamePair"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="property" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//Property"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TimeExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//TimeExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.25"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.27"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstantObsExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//InstantObsExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="@"/>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.24"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="index" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="when"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstantObsName">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//InstantObsName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="instantId" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//TimeObservation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DurationObsExpression">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DurationObsExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="&"/>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.26"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="index" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="when"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DurationObsName">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DurationObsName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="durationId" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//DurationObservation"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="JitterExp">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//JitterExp"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="jitter("/>
- <elements xsi:type="xtext:Assignment" feature="firstInstant" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="-"/>
- <elements xsi:type="xtext:Assignment" feature="secondInstant" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.23"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="VariableDeclaration">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//VariableDeclaration"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="variableDeclaration" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.29"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="$"/>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.30"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="initValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="initValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.0"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="VariableDirectionKind">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="in"/>
- <elements xsi:type="xtext:Keyword" value="out"/>
- <elements xsi:type="xtext:Keyword" value="inout"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DataTypeName">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DataTypeName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:CrossReference">
- <type metamodel="/0/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/uml2/3.0.0/UML#//DataType"/>
- </type>
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.0"/>
- </terminal>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NumberLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NumberLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.32"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.34"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.35"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="IntegerLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//IntegerLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.33"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="IntegerLiteral">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0x"/>
- <elements xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="F"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="f"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0b"/>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="1"/>
- </elements>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnlimitedLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//UnlimitedLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="*"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RealLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//RealLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.36"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="RealLiteral">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="E"/>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="+"/>
- <elements xsi:type="xtext:Keyword" value="-"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DateTimeLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DateTimeLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.38"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="DateTimeLiteral">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="1"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="2"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="3"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="5"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="5"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="1"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="3"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Keyword" value="1"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="1"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="/"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="2"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="3"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Keyword" value="1"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="Mon"/>
- <elements xsi:type="xtext:Keyword" value="Tue"/>
- <elements xsi:type="xtext:Keyword" value="Wed"/>
- <elements xsi:type="xtext:Keyword" value="Thr"/>
- <elements xsi:type="xtext:Keyword" value="Fri"/>
- <elements xsi:type="xtext:Keyword" value="Sat"/>
- <elements xsi:type="xtext:Keyword" value="Sun"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="BooleanLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//BooleanLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.40"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="BooleanLiteral">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="true"/>
- <elements xsi:type="xtext:Keyword" value="false"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NullLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//NullLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.42"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="NullLiteral">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Keyword" value="null"/>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DefaultLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//DefaultLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="/"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="StringLiteralRule">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/marte/vsl/VSL#//StringLiteralRule"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
- </alternatives>
- </rules>
- </xtext:Grammar>
- <xtext:Grammar name="org.eclipse.xtext.common.Terminals" definesHiddenTokens="true" hiddenTokens="/1/@rules.5 /1/@rules.3 /1/@rules.4">
- <metamodelDeclarations xsi:type="xtext:ReferencedMetamodel" alias="ecore">
- <ePackage href="http://www.eclipse.org/emf/2002/Ecore#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:TerminalRule" name="ID">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="^"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:CharacterRange">
- <left value="a"/>
- <right value="z"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="A"/>
- <right value="Z"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="INT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </type>
- <alternatives xsi:type="xtext:CharacterRange" cardinality="+">
- <left value="0"/>
- <right value="9"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="STRING">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="""/>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Alternatives" cardinality="*">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="b"/>
- <elements xsi:type="xtext:Keyword" value="t"/>
- <elements xsi:type="xtext:Keyword" value="n"/>
- <elements xsi:type="xtext:Keyword" value="f"/>
- <elements xsi:type="xtext:Keyword" value="r"/>
- <elements xsi:type="xtext:Keyword" value="""/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:Keyword" value="\"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:NegatedToken">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="\"/>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="'"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ML_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="/*"/>
- <elements xsi:type="xtext:UntilToken">
- <terminal xsi:type="xtext:Keyword" value="*/"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="SL_COMMENT">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="//"/>
- <elements xsi:type="xtext:NegatedToken" cardinality="*">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="WS">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives" cardinality="+">
- <elements xsi:type="xtext:Keyword" value=" "/>
- <elements xsi:type="xtext:Keyword" value="	"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- <elements xsi:type="xtext:Keyword" value="
"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ANY_OTHER">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </type>
- <alternatives xsi:type="xtext:Wildcard"/>
- </rules>
- </xtext:Grammar>
-</xmi:XMI>
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java deleted file mode 100644 index f4eb17d8e29..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/VSLStandaloneSetupGenerated.java +++ /dev/null @@ -1,57 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.marte.vsl; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.ISetup; -import org.eclipse.emf.ecore.resource.Resource; - -import com.google.inject.Guice; -import com.google.inject.Injector; - -/** - * Generated from StandaloneSetup.xpt! - */ -@SuppressWarnings("all") -public class VSLStandaloneSetupGenerated implements ISetup { - - public Injector createInjectorAndDoEMFRegistration() { - org.eclipse.xtext.common.TerminalsStandaloneSetup.doSetup(); - - Injector injector = createInjector(); - register(injector); - return injector; - } - - public Injector createInjector() { - return Guice.createInjector(new org.eclipse.papyrus.marte.vsl.VSLRuntimeModule()); - } - - public void register(Injector injector) { - if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/marte/vsl/VSL")) { - EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/marte/vsl/VSL", org.eclipse.papyrus.marte.vsl.vSL.VSLPackage.eINSTANCE); - } - - org.eclipse.xtext.resource.IResourceFactory resourceFactory = injector.getInstance(org.eclipse.xtext.resource.IResourceFactory.class); - org.eclipse.xtext.resource.IResourceServiceProvider serviceProvider = injector.getInstance(org.eclipse.xtext.resource.IResourceServiceProvider.class); - Resource.Factory.Registry.INSTANCE.getExtensionToFactoryMap().put("vsl", resourceFactory); - org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("vsl", serviceProvider); - - - - - - } -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java deleted file mode 100644 index ed2ae76148a..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parseTreeConstruction/VSLParsetreeConstructor.java +++ /dev/null @@ -1,6985 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.parseTreeConstruction; - -import org.eclipse.emf.ecore.*; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parsetree.reconstr.IEObjectConsumer; -import org.eclipse.xtext.parsetree.reconstr.impl.AbstractParseTreeConstructor; - -import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess; - -import com.google.inject.Inject; - -@SuppressWarnings("all") -public class VSLParsetreeConstructor extends AbstractParseTreeConstructor { - - @Inject - private VSLGrammarAccess grammarAccess; - - @Override - protected AbstractToken getRootToken(IEObjectConsumer inst) { - return new ThisRootNode(inst); - } - -protected class ThisRootNode extends RootToken { - public ThisRootNode(IEObjectConsumer inst) { - super(inst); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - case 1: return new AndOrXorExpression_Group(this, this, 1, inst); - case 2: return new EqualityExpression_Group(this, this, 2, inst); - case 3: return new RelationalExpression_Group(this, this, 3, inst); - case 4: return new ConditionalExpression_Group(this, this, 4, inst); - case 5: return new AdditiveExpression_Group(this, this, 5, inst); - case 6: return new MultiplicativeExpression_Group(this, this, 6, inst); - case 7: return new UnaryExpression_Alternatives(this, this, 7, inst); - case 8: return new PrimaryExpression_Group(this, this, 8, inst); - case 9: return new ValueSpecification_Alternatives(this, this, 9, inst); - case 10: return new SuffixExpression_Alternatives(this, this, 10, inst); - case 11: return new PropertyCallExpression_Group(this, this, 11, inst); - case 12: return new OperationCallExpression_Group(this, this, 12, inst); - case 13: return new Literal_Alternatives(this, this, 13, inst); - case 14: return new NameOrChoiceOrBehaviorCall_Group(this, this, 14, inst); - case 15: return new QualifiedName_Group(this, this, 15, inst); - case 16: return new Interval_Group(this, this, 16, inst); - case 17: return new CollectionOrTuple_Group(this, this, 17, inst); - case 18: return new Tuple_Group(this, this, 18, inst); - case 19: return new ListOfValues_Group(this, this, 19, inst); - case 20: return new ListOfValueNamePairs_Group(this, this, 20, inst); - case 21: return new ValueNamePair_Group(this, this, 21, inst); - case 22: return new TimeExpression_Alternatives(this, this, 22, inst); - case 23: return new InstantObsExpression_Group(this, this, 23, inst); - case 24: return new InstantObsName_Group(this, this, 24, inst); - case 25: return new DurationObsExpression_Group(this, this, 25, inst); - case 26: return new DurationObsName_Group(this, this, 26, inst); - case 27: return new JitterExp_Group(this, this, 27, inst); - case 28: return new VariableDeclaration_Group(this, this, 28, inst); - case 29: return new DataTypeName_Group(this, this, 29, inst); - case 30: return new NumberLiteralRule_Alternatives(this, this, 30, inst); - case 31: return new IntegerLiteralRule_ValueAssignment(this, this, 31, inst); - case 32: return new UnlimitedLiteralRule_ValueAssignment(this, this, 32, inst); - case 33: return new RealLiteralRule_ValueAssignment(this, this, 33, inst); - case 34: return new DateTimeLiteralRule_ValueAssignment(this, this, 34, inst); - case 35: return new BooleanLiteralRule_ValueAssignment(this, this, 35, inst); - case 36: return new NullLiteralRule_ValueAssignment(this, this, 36, inst); - case 37: return new DefaultLiteralRule_ValueAssignment(this, this, 37, inst); - case 38: return new StringLiteralRule_ValueAssignment(this, this, 38, inst); - default: return null; - } - } -} - - -/************ begin Rule Expression **************** - * - * Expression: - * exp=AndOrXorExpression; - * - **/ - -// exp=AndOrXorExpression -protected class Expression_ExpAssignment extends AssignmentToken { - - public Expression_ExpAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getExpressionAccess().getExpAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AndOrXorExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -/************ end Rule Expression ****************/ - - -/************ begin Rule AndOrXorExpression **************** - * - * AndOrXorExpression: - * exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)*; - * - **/ - -// exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)* -protected class AndOrXorExpression_Group extends GroupToken { - - public AndOrXorExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAndOrXorExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AndOrXorExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new AndOrXorExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=EqualityExpression -protected class AndOrXorExpression_ExpAssignment_0 extends AssignmentToken { - - public AndOrXorExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAndOrXorExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EqualityExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getEqualityExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+=("and" | "or" | "xor") exp+=EqualityExpression)* -protected class AndOrXorExpression_Group_1 extends GroupToken { - - public AndOrXorExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAndOrXorExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AndOrXorExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+=("and" | "or" | "xor") -protected class AndOrXorExpression_OpAssignment_1_0 extends AssignmentToken { - - public AndOrXorExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAndOrXorExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AndOrXorExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new AndOrXorExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(); - return obj; - } - return null; - } - -} - -// exp+=EqualityExpression -protected class AndOrXorExpression_ExpAssignment_1_1 extends AssignmentToken { - - public AndOrXorExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAndOrXorExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EqualityExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getEqualityExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new AndOrXorExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule AndOrXorExpression ****************/ - - -/************ begin Rule EqualityExpression **************** - * - * EqualityExpression: - * exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)*; - * - **/ - -// exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)* -protected class EqualityExpression_Group extends GroupToken { - - public EqualityExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getEqualityExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EqualityExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new EqualityExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getEqualityExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=RelationalExpression -protected class EqualityExpression_ExpAssignment_0 extends AssignmentToken { - - public EqualityExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getEqualityExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RelationalExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getRelationalExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+=("==" | "<>") exp+=RelationalExpression)* -protected class EqualityExpression_Group_1 extends GroupToken { - - public EqualityExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getEqualityExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EqualityExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+=("==" | "<>") -protected class EqualityExpression_OpAssignment_1_0 extends AssignmentToken { - - public EqualityExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getEqualityExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new EqualityExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new EqualityExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(); - return obj; - } - return null; - } - -} - -// exp+=RelationalExpression -protected class EqualityExpression_ExpAssignment_1_1 extends AssignmentToken { - - public EqualityExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getEqualityExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RelationalExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getRelationalExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new EqualityExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule EqualityExpression ****************/ - - -/************ begin Rule RelationalExpression **************** - * - * RelationalExpression: - * exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*; - * - **/ - -// exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)* -protected class RelationalExpression_Group extends GroupToken { - - public RelationalExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getRelationalExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RelationalExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new RelationalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getRelationalExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=ConditionalExpression -protected class RelationalExpression_ExpAssignment_0 extends AssignmentToken { - - public RelationalExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationalExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getConditionalExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)* -protected class RelationalExpression_Group_1 extends GroupToken { - - public RelationalExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getRelationalExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RelationalExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+=("<" | ">" | "<=" | ">=") -protected class RelationalExpression_OpAssignment_1_0 extends AssignmentToken { - - public RelationalExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationalExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RelationalExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new RelationalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(); - return obj; - } - return null; - } - -} - -// exp+=ConditionalExpression -protected class RelationalExpression_ExpAssignment_1_1 extends AssignmentToken { - - public RelationalExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRelationalExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getConditionalExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new RelationalExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule RelationalExpression ****************/ - - -/************ begin Rule ConditionalExpression **************** - * - * ConditionalExpression: - * exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?; - * - **/ - -// exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)? -protected class ConditionalExpression_Group extends GroupToken { - - public ConditionalExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new ConditionalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getConditionalExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=AdditiveExpression -protected class ConditionalExpression_ExpAssignment_0 extends AssignmentToken { - - public ConditionalExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)? -protected class ConditionalExpression_Group_1 extends GroupToken { - - public ConditionalExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_ExpAssignment_1_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+="?" -protected class ConditionalExpression_OpAssignment_1_0 extends AssignmentToken { - - public ConditionalExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_ExpAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(); - return obj; - } - return null; - } - -} - -// exp+=AdditiveExpression -protected class ConditionalExpression_ExpAssignment_1_1 extends AssignmentToken { - - public ConditionalExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new ConditionalExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ":" -protected class ConditionalExpression_ColonKeyword_1_2 extends KeywordToken { - - public ConditionalExpression_ColonKeyword_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ConditionalExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// exp+=AdditiveExpression -protected class ConditionalExpression_ExpAssignment_1_3 extends AssignmentToken { - - public ConditionalExpression_ExpAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getConditionalExpressionAccess().getExpAssignment_1_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getAdditiveExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new ConditionalExpression_ColonKeyword_1_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule ConditionalExpression ****************/ - - -/************ begin Rule AdditiveExpression **************** - * - * AdditiveExpression: - * exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*; - * - **/ - -// exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)* -protected class AdditiveExpression_Group extends GroupToken { - - public AdditiveExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAdditiveExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new AdditiveExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getAdditiveExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=MultiplicativeExpression -protected class AdditiveExpression_ExpAssignment_0 extends AssignmentToken { - - public AdditiveExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAdditiveExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new MultiplicativeExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+=("+" | "-") exp+=MultiplicativeExpression)* -protected class AdditiveExpression_Group_1 extends GroupToken { - - public AdditiveExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getAdditiveExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+=("+" | "-") -protected class AdditiveExpression_OpAssignment_1_0 extends AssignmentToken { - - public AdditiveExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAdditiveExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new AdditiveExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new AdditiveExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(); - return obj; - } - return null; - } - -} - -// exp+=MultiplicativeExpression -protected class AdditiveExpression_ExpAssignment_1_1 extends AssignmentToken { - - public AdditiveExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getAdditiveExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new MultiplicativeExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new AdditiveExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule AdditiveExpression ****************/ - - -/************ begin Rule MultiplicativeExpression **************** - * - * MultiplicativeExpression: - * exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)*; - * - **/ - -// exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)* -protected class MultiplicativeExpression_Group extends GroupToken { - - public MultiplicativeExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getMultiplicativeExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new MultiplicativeExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new MultiplicativeExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// exp+=UnaryExpression -protected class MultiplicativeExpression_ExpAssignment_0 extends AssignmentToken { - - public MultiplicativeExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnaryExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// (op+=("*" | "/" | "mod") exp+=UnaryExpression)* -protected class MultiplicativeExpression_Group_1 extends GroupToken { - - public MultiplicativeExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getMultiplicativeExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new MultiplicativeExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op+=("*" | "/" | "mod") -protected class MultiplicativeExpression_OpAssignment_1_0 extends AssignmentToken { - - public MultiplicativeExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getMultiplicativeExpressionAccess().getOpAssignment_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new MultiplicativeExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new MultiplicativeExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(); - return obj; - } - return null; - } - -} - -// exp+=UnaryExpression -protected class MultiplicativeExpression_ExpAssignment_1_1 extends AssignmentToken { - - public MultiplicativeExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getMultiplicativeExpressionAccess().getExpAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnaryExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new MultiplicativeExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule MultiplicativeExpression ****************/ - - -/************ begin Rule UnaryExpression **************** - * - * UnaryExpression: - * op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression; - * - **/ - -// op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression -protected class UnaryExpression_Alternatives extends AlternativesToken { - - public UnaryExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getUnaryExpressionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnaryExpression_Group_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new UnaryExpression_ExpAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getUnaryExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// op=("not" | "-" | "+") unary=UnaryExpression -protected class UnaryExpression_Group_0 extends GroupToken { - - public UnaryExpression_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getUnaryExpressionAccess().getGroup_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnaryExpression_UnaryAssignment_0_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// op=("not" | "-" | "+") -protected class UnaryExpression_OpAssignment_0_0 extends AssignmentToken { - - public UnaryExpression_OpAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getUnaryExpressionAccess().getOpAssignment_0_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("op",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(); - return obj; - } - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(); - return obj; - } - return null; - } - -} - -// unary=UnaryExpression -protected class UnaryExpression_UnaryAssignment_0_1 extends AssignmentToken { - - public UnaryExpression_UnaryAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getUnaryExpressionAccess().getUnaryAssignment_0_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnaryExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("unary",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("unary"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getUnaryExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new UnaryExpression_OpAssignment_0_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - -// exp=PrimaryExpression -protected class UnaryExpression_ExpAssignment_1 extends AssignmentToken { - - public UnaryExpression_ExpAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getUnaryExpressionAccess().getExpAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PrimaryExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("exp",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("exp"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getPrimaryExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - - -/************ end Rule UnaryExpression ****************/ - - -/************ begin Rule PrimaryExpression **************** - * - * PrimaryExpression: - * prefix=ValueSpecification ("." suffix=SuffixExpression)?; - * - **/ - -// prefix=ValueSpecification ("." suffix=SuffixExpression)? -protected class PrimaryExpression_Group extends GroupToken { - - public PrimaryExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPrimaryExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PrimaryExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new PrimaryExpression_PrefixAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPrimaryExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// prefix=ValueSpecification -protected class PrimaryExpression_PrefixAssignment_0 extends AssignmentToken { - - public PrimaryExpression_PrefixAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueSpecification_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("prefix",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("prefix"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getValueSpecificationRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// ("." suffix=SuffixExpression)? -protected class PrimaryExpression_Group_1 extends GroupToken { - - public PrimaryExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPrimaryExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PrimaryExpression_SuffixAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "." -protected class PrimaryExpression_FullStopKeyword_1_0 extends KeywordToken { - - public PrimaryExpression_FullStopKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PrimaryExpression_PrefixAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// suffix=SuffixExpression -protected class PrimaryExpression_SuffixAssignment_1_1 extends AssignmentToken { - - public PrimaryExpression_SuffixAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPrimaryExpressionAccess().getSuffixAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SuffixExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("suffix",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new PrimaryExpression_FullStopKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule PrimaryExpression ****************/ - - -/************ begin Rule ValueSpecification **************** - * - * ValueSpecification: - * Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | - * "(" Expression ")"; - * - **/ - -// Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | "(" -// Expression ")" -protected class ValueSpecification_Alternatives extends AlternativesToken { - - public ValueSpecification_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueSpecification_LiteralParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new ValueSpecification_IntervalParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new ValueSpecification_CollectionOrTupleParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - case 4: return new ValueSpecification_TupleParserRuleCall_4(lastRuleCallOrigin, this, 4, inst); - case 5: return new ValueSpecification_TimeExpressionParserRuleCall_5(lastRuleCallOrigin, this, 5, inst); - case 6: return new ValueSpecification_VariableDeclarationParserRuleCall_6(lastRuleCallOrigin, this, 6, inst); - case 7: return new ValueSpecification_Group_7(lastRuleCallOrigin, this, 7, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// Literal -protected class ValueSpecification_LiteralParserRuleCall_0 extends RuleCallToken { - - public ValueSpecification_LiteralParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Literal_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(Literal_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// NameOrChoiceOrBehaviorCall -protected class ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1 extends RuleCallToken { - - public ValueSpecification_NameOrChoiceOrBehaviorCallParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()) - return null; - if(checkForRecursion(NameOrChoiceOrBehaviorCall_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Interval -protected class ValueSpecification_IntervalParserRuleCall_2 extends RuleCallToken { - - public ValueSpecification_IntervalParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier()) - return null; - if(checkForRecursion(Interval_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// CollectionOrTuple -protected class ValueSpecification_CollectionOrTupleParserRuleCall_3 extends RuleCallToken { - - public ValueSpecification_CollectionOrTupleParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CollectionOrTuple_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier()) - return null; - if(checkForRecursion(CollectionOrTuple_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// Tuple -protected class ValueSpecification_TupleParserRuleCall_4 extends RuleCallToken { - - public ValueSpecification_TupleParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Tuple_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier()) - return null; - if(checkForRecursion(Tuple_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// TimeExpression -protected class ValueSpecification_TimeExpressionParserRuleCall_5 extends RuleCallToken { - - public ValueSpecification_TimeExpressionParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new TimeExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) - return null; - if(checkForRecursion(TimeExpression_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// VariableDeclaration -protected class ValueSpecification_VariableDeclarationParserRuleCall_6 extends RuleCallToken { - - public ValueSpecification_VariableDeclarationParserRuleCall_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) - return null; - if(checkForRecursion(VariableDeclaration_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// "(" Expression ")" -protected class ValueSpecification_Group_7 extends GroupToken { - - public ValueSpecification_Group_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getGroup_7(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueSpecification_RightParenthesisKeyword_7_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "(" -protected class ValueSpecification_LeftParenthesisKeyword_7_0 extends KeywordToken { - - public ValueSpecification_LeftParenthesisKeyword_7_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// Expression -protected class ValueSpecification_ExpressionParserRuleCall_7_1 extends RuleCallToken { - - public ValueSpecification_ExpressionParserRuleCall_7_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(checkForRecursion(Expression_ExpAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueSpecification_LeftParenthesisKeyword_7_0(lastRuleCallOrigin, next, actIndex, inst); - default: return null; - } - } -} - -// ")" -protected class ValueSpecification_RightParenthesisKeyword_7_2 extends KeywordToken { - - public ValueSpecification_RightParenthesisKeyword_7_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueSpecification_ExpressionParserRuleCall_7_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -/************ end Rule ValueSpecification ****************/ - - -/************ begin Rule SuffixExpression **************** - * - * SuffixExpression: - * PropertyCallExpression | OperationCallExpression; - * - **/ - -// PropertyCallExpression | OperationCallExpression -protected class SuffixExpression_Alternatives extends AlternativesToken { - - public SuffixExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getSuffixExpressionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SuffixExpression_PropertyCallExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new SuffixExpression_OperationCallExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// PropertyCallExpression -protected class SuffixExpression_PropertyCallExpressionParserRuleCall_0 extends RuleCallToken { - - public SuffixExpression_PropertyCallExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertyCallExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) - return null; - if(checkForRecursion(PropertyCallExpression_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// OperationCallExpression -protected class SuffixExpression_OperationCallExpressionParserRuleCall_1 extends RuleCallToken { - - public SuffixExpression_OperationCallExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier()) - return null; - if(checkForRecursion(OperationCallExpression_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule SuffixExpression ****************/ - - -/************ begin Rule PropertyCallExpression **************** - * - * PropertyCallExpression: - * property=[uml::Property] ("." suffix=SuffixExpression)?; - * - **/ - -// property=[uml::Property] ("." suffix=SuffixExpression)? -protected class PropertyCallExpression_Group extends GroupToken { - - public PropertyCallExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPropertyCallExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertyCallExpression_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new PropertyCallExpression_PropertyAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// property=[uml::Property] -protected class PropertyCallExpression_PropertyAssignment_0 extends AssignmentToken { - - public PropertyCallExpression_PropertyAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPropertyCallExpressionAccess().getPropertyAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("property",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("property"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(); - return obj; - } - } - return null; - } - -} - -// ("." suffix=SuffixExpression)? -protected class PropertyCallExpression_Group_1 extends GroupToken { - - public PropertyCallExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getPropertyCallExpressionAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertyCallExpression_SuffixAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "." -protected class PropertyCallExpression_FullStopKeyword_1_0 extends KeywordToken { - - public PropertyCallExpression_FullStopKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new PropertyCallExpression_PropertyAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// suffix=SuffixExpression -protected class PropertyCallExpression_SuffixAssignment_1_1 extends AssignmentToken { - - public PropertyCallExpression_SuffixAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getPropertyCallExpressionAccess().getSuffixAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SuffixExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("suffix",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new PropertyCallExpression_FullStopKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule PropertyCallExpression ****************/ - - -/************ begin Rule OperationCallExpression **************** - * - * OperationCallExpression: - * operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)?; - * - **/ - -// operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)? -protected class OperationCallExpression_Group extends GroupToken { - - public OperationCallExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_Group_4(lastRuleCallOrigin, this, 0, inst); - case 1: return new OperationCallExpression_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// operation=[uml::Operation] -protected class OperationCallExpression_OperationAssignment_0 extends AssignmentToken { - - public OperationCallExpression_OperationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getOperationAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("operation",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operation"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(); - return obj; - } - } - return null; - } - -} - -// "(" -protected class OperationCallExpression_LeftParenthesisKeyword_1 extends KeywordToken { - - public OperationCallExpression_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_OperationAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// arguments=ListOfValues? -protected class OperationCallExpression_ArgumentsAssignment_2 extends AssignmentToken { - - public OperationCallExpression_ArgumentsAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getArgumentsAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("arguments",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("arguments"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new OperationCallExpression_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class OperationCallExpression_RightParenthesisKeyword_3 extends KeywordToken { - - public OperationCallExpression_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_ArgumentsAssignment_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new OperationCallExpression_LeftParenthesisKeyword_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// ("." suffix=SuffixExpression)? -protected class OperationCallExpression_Group_4 extends GroupToken { - - public OperationCallExpression_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getGroup_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_SuffixAssignment_4_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "." -protected class OperationCallExpression_FullStopKeyword_4_0 extends KeywordToken { - - public OperationCallExpression_FullStopKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new OperationCallExpression_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// suffix=SuffixExpression -protected class OperationCallExpression_SuffixAssignment_4_1 extends AssignmentToken { - - public OperationCallExpression_SuffixAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getOperationCallExpressionAccess().getSuffixAssignment_4_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new SuffixExpression_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("suffix",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("suffix"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getSuffixExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new OperationCallExpression_FullStopKeyword_4_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule OperationCallExpression ****************/ - - -/************ begin Rule Literal **************** - * - * Literal: - * NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | - * StringLiteralRule; - * - **/ - -// NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | StringLiteralRule -protected class Literal_Alternatives extends AlternativesToken { - - public Literal_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getLiteralAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Literal_NumberLiteralRuleParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new Literal_DateTimeLiteralRuleParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new Literal_BooleanLiteralRuleParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - case 3: return new Literal_NullLiteralRuleParserRuleCall_3(lastRuleCallOrigin, this, 3, inst); - case 4: return new Literal_DefaultLiteralRuleParserRuleCall_4(lastRuleCallOrigin, this, 4, inst); - case 5: return new Literal_StringLiteralRuleParserRuleCall_5(lastRuleCallOrigin, this, 5, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// NumberLiteralRule -protected class Literal_NumberLiteralRuleParserRuleCall_0 extends RuleCallToken { - - public Literal_NumberLiteralRuleParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NumberLiteralRule_Alternatives(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(NumberLiteralRule_Alternatives.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// DateTimeLiteralRule -protected class Literal_DateTimeLiteralRuleParserRuleCall_1 extends RuleCallToken { - - public Literal_DateTimeLiteralRuleParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DateTimeLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(DateTimeLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// BooleanLiteralRule -protected class Literal_BooleanLiteralRuleParserRuleCall_2 extends RuleCallToken { - - public Literal_BooleanLiteralRuleParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new BooleanLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(BooleanLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// NullLiteralRule -protected class Literal_NullLiteralRuleParserRuleCall_3 extends RuleCallToken { - - public Literal_NullLiteralRuleParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NullLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(NullLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// DefaultLiteralRule -protected class Literal_DefaultLiteralRuleParserRuleCall_4 extends RuleCallToken { - - public Literal_DefaultLiteralRuleParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DefaultLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(DefaultLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// StringLiteralRule -protected class Literal_StringLiteralRuleParserRuleCall_5 extends RuleCallToken { - - public Literal_StringLiteralRuleParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new StringLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(StringLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule Literal ****************/ - - -/************ begin Rule NameOrChoiceOrBehaviorCall **************** - * - * NameOrChoiceOrBehaviorCall: - * path=QualifiedName? // can resolve to : - * // - EnumSpecification, - * // - VariableCallExpression - * // - PropertyCallExpression - * // - ChoiceExpression - * id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")?; - * - **/ - -// path=QualifiedName? // can resolve to : -// // - EnumSpecification, -// // - VariableCallExpression -// // - PropertyCallExpression -// // - ChoiceExpression -// id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")? -protected class NameOrChoiceOrBehaviorCall_Group extends GroupToken { - - public NameOrChoiceOrBehaviorCall_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new NameOrChoiceOrBehaviorCall_IdAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// path=QualifiedName? -protected class NameOrChoiceOrBehaviorCall_PathAssignment_0 extends AssignmentToken { - - public NameOrChoiceOrBehaviorCall_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// id=[uml::NamedElement] -protected class NameOrChoiceOrBehaviorCall_IdAssignment_1 extends AssignmentToken { - - public NameOrChoiceOrBehaviorCall_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_PathAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(); - return obj; - } - } - return null; - } - -} - -// ("(" arguments=ListOfValues? ")")? -protected class NameOrChoiceOrBehaviorCall_Group_2 extends GroupToken { - - public NameOrChoiceOrBehaviorCall_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "(" -protected class NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0 extends KeywordToken { - - public NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// arguments=ListOfValues? -protected class NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1 extends AssignmentToken { - - public NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("arguments",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("arguments"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2 extends KeywordToken { - - public NameOrChoiceOrBehaviorCall_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NameOrChoiceOrBehaviorCall_ArgumentsAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -/************ end Rule NameOrChoiceOrBehaviorCall ****************/ - - -/************ begin Rule QualifiedName **************** - * - * QualifiedName: - * path=[uml::Namespace] "::" remaining=QualifiedName?; - * - **/ - -// path=[uml::Namespace] "::" remaining=QualifiedName? -protected class QualifiedName_Group extends GroupToken { - - public QualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getQualifiedNameAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_RemainingAssignment_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getQualifiedNameRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// path=[uml::Namespace] -protected class QualifiedName_PathAssignment_0 extends AssignmentToken { - - public QualifiedName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getQualifiedNameAccess().getPathAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(); - return obj; - } - } - return null; - } - -} - -// "::" -protected class QualifiedName_ColonColonKeyword_1 extends KeywordToken { - - public QualifiedName_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// remaining=QualifiedName? -protected class QualifiedName_RemainingAssignment_2 extends AssignmentToken { - - public QualifiedName_RemainingAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getQualifiedNameAccess().getRemainingAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("remaining",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("remaining"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new QualifiedName_ColonColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - -/************ end Rule QualifiedName ****************/ - - -/************ begin Rule Interval **************** - * - * Interval: - * ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "["); - * - **/ - -// ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "[") -protected class Interval_Group extends GroupToken { - - public Interval_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getIntervalAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_Alternatives_4(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntervalRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "]" | isLowerIncluded="[" -protected class Interval_Alternatives_0 extends AlternativesToken { - - public Interval_Alternatives_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getIntervalAccess().getAlternatives_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_RightSquareBracketKeyword_0_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new Interval_IsLowerIncludedAssignment_0_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// "]" -protected class Interval_RightSquareBracketKeyword_0_0 extends KeywordToken { - - public Interval_RightSquareBracketKeyword_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// isLowerIncluded="[" -protected class Interval_IsLowerIncludedAssignment_0_1 extends AssignmentToken { - - public Interval_IsLowerIncludedAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getIntervalAccess().getIsLowerIncludedAssignment_0_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("isLowerIncluded",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("isLowerIncluded"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(); - return obj; - } - return null; - } - -} - - -// lower=Expression -protected class Interval_LowerAssignment_1 extends AssignmentToken { - - public Interval_LowerAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getIntervalAccess().getLowerAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("lower",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("lower"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Interval_Alternatives_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ".." -protected class Interval_FullStopFullStopKeyword_2 extends KeywordToken { - - public Interval_FullStopFullStopKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_LowerAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// upper=Expression -protected class Interval_UpperAssignment_3 extends AssignmentToken { - - public Interval_UpperAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getIntervalAccess().getUpperAssignment_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("upper",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("upper"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Interval_FullStopFullStopKeyword_2(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// isUpperIncluded="]" | "[" -protected class Interval_Alternatives_4 extends AlternativesToken { - - public Interval_Alternatives_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getIntervalAccess().getAlternatives_4(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_IsUpperIncludedAssignment_4_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new Interval_LeftSquareBracketKeyword_4_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// isUpperIncluded="]" -protected class Interval_IsUpperIncludedAssignment_4_0 extends AssignmentToken { - - public Interval_IsUpperIncludedAssignment_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getIntervalAccess().getIsUpperIncludedAssignment_4_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_UpperAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("isUpperIncluded",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("isUpperIncluded"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(); - return obj; - } - return null; - } - -} - -// "[" -protected class Interval_LeftSquareBracketKeyword_4_1 extends KeywordToken { - - public Interval_LeftSquareBracketKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Interval_UpperAssignment_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -/************ end Rule Interval ****************/ - - -/************ begin Rule CollectionOrTuple **************** - * - * CollectionOrTuple: - * "{" listOfValues=ListOfValues "}"; - * - **/ - -// "{" listOfValues=ListOfValues "}" -protected class CollectionOrTuple_Group extends GroupToken { - - public CollectionOrTuple_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getCollectionOrTupleAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CollectionOrTuple_RightCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getCollectionOrTupleRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "{" -protected class CollectionOrTuple_LeftCurlyBracketKeyword_0 extends KeywordToken { - - public CollectionOrTuple_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// listOfValues=ListOfValues -protected class CollectionOrTuple_ListOfValuesAssignment_1 extends AssignmentToken { - - public CollectionOrTuple_ListOfValuesAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getCollectionOrTupleAccess().getListOfValuesAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("listOfValues",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("listOfValues"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getListOfValuesRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new CollectionOrTuple_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class CollectionOrTuple_RightCurlyBracketKeyword_2 extends KeywordToken { - - public CollectionOrTuple_RightCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new CollectionOrTuple_ListOfValuesAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - -/************ end Rule CollectionOrTuple ****************/ - - -/************ begin Rule Tuple **************** - * - * Tuple: - * "{" listOfValueNamePairs=ListOfValueNamePairs "}"; - * - **/ - -// "{" listOfValueNamePairs=ListOfValueNamePairs "}" -protected class Tuple_Group extends GroupToken { - - public Tuple_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getTupleAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Tuple_RightCurlyBracketKeyword_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getTupleRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "{" -protected class Tuple_LeftCurlyBracketKeyword_0 extends KeywordToken { - - public Tuple_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// listOfValueNamePairs=ListOfValueNamePairs -protected class Tuple_ListOfValueNamePairsAssignment_1 extends AssignmentToken { - - public Tuple_ListOfValueNamePairsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getTupleAccess().getListOfValueNamePairsAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValueNamePairs_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("listOfValueNamePairs",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("listOfValueNamePairs"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new Tuple_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// "}" -protected class Tuple_RightCurlyBracketKeyword_2 extends KeywordToken { - - public Tuple_RightCurlyBracketKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Tuple_ListOfValueNamePairsAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - -/************ end Rule Tuple ****************/ - - -/************ begin Rule ListOfValues **************** - * - * ListOfValues: - * values+=Expression ("," values+=Expression)*; - * - **/ - -// values+=Expression ("," values+=Expression)* -protected class ListOfValues_Group extends GroupToken { - - public ListOfValues_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getListOfValuesAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new ListOfValues_ValuesAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getListOfValuesRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// values+=Expression -protected class ListOfValues_ValuesAssignment_0 extends AssignmentToken { - - public ListOfValues_ValuesAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getListOfValuesAccess().getValuesAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("values",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// ("," values+=Expression)* -protected class ListOfValues_Group_1 extends GroupToken { - - public ListOfValues_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getListOfValuesAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_ValuesAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "," -protected class ListOfValues_CommaKeyword_1_0 extends KeywordToken { - - public ListOfValues_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValues_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new ListOfValues_ValuesAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// values+=Expression -protected class ListOfValues_ValuesAssignment_1_1 extends AssignmentToken { - - public ListOfValues_ValuesAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getListOfValuesAccess().getValuesAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("values",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("values"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new ListOfValues_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule ListOfValues ****************/ - - -/************ begin Rule ListOfValueNamePairs **************** - * - * ListOfValueNamePairs: - * valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)*; - * - **/ - -// valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)* -protected class ListOfValueNamePairs_Group extends GroupToken { - - public ListOfValueNamePairs_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getListOfValueNamePairsAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValueNamePairs_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new ListOfValueNamePairs_ValueNamePairsAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// valueNamePairs+=ValueNamePair -protected class ListOfValueNamePairs_ValueNamePairsAssignment_0 extends AssignmentToken { - - public ListOfValueNamePairs_ValueNamePairsAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueNamePair_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("valueNamePairs",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueNamePairs"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getValueNamePairRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// ("," valueNamePairs+=ValueNamePair)* -protected class ListOfValueNamePairs_Group_1 extends GroupToken { - - public ListOfValueNamePairs_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getListOfValueNamePairsAccess().getGroup_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValueNamePairs_ValueNamePairsAssignment_1_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "," -protected class ListOfValueNamePairs_CommaKeyword_1_0 extends KeywordToken { - - public ListOfValueNamePairs_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ListOfValueNamePairs_Group_1(lastRuleCallOrigin, this, 0, inst); - case 1: return new ListOfValueNamePairs_ValueNamePairsAssignment_0(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// valueNamePairs+=ValueNamePair -protected class ListOfValueNamePairs_ValueNamePairsAssignment_1_1 extends AssignmentToken { - - public ListOfValueNamePairs_ValueNamePairsAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsAssignment_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueNamePair_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("valueNamePairs",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("valueNamePairs"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getValueNamePairRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new ListOfValueNamePairs_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - - -/************ end Rule ListOfValueNamePairs ****************/ - - -/************ begin Rule ValueNamePair **************** - * - * ValueNamePair: - * property=[uml::Property] "=" value=Expression; - * - **/ - -// property=[uml::Property] "=" value=Expression -protected class ValueNamePair_Group extends GroupToken { - - public ValueNamePair_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getValueNamePairAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueNamePair_ValueAssignment_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getValueNamePairRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// property=[uml::Property] -protected class ValueNamePair_PropertyAssignment_0 extends AssignmentToken { - - public ValueNamePair_PropertyAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getValueNamePairAccess().getPropertyAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("property",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("property"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(); - return obj; - } - } - return null; - } - -} - -// "=" -protected class ValueNamePair_EqualsSignKeyword_1 extends KeywordToken { - - public ValueNamePair_EqualsSignKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new ValueNamePair_PropertyAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// value=Expression -protected class ValueNamePair_ValueAssignment_2 extends AssignmentToken { - - public ValueNamePair_ValueAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getValueNamePairAccess().getValueAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new ValueNamePair_EqualsSignKeyword_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - -/************ end Rule ValueNamePair ****************/ - - -/************ begin Rule TimeExpression **************** - * - * TimeExpression: - * InstantObsExpression | DurationObsExpression | JitterExp; - * - **/ - -// InstantObsExpression | DurationObsExpression | JitterExp -protected class TimeExpression_Alternatives extends AlternativesToken { - - public TimeExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getTimeExpressionAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new TimeExpression_InstantObsExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new TimeExpression_DurationObsExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new TimeExpression_JitterExpParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// InstantObsExpression -protected class TimeExpression_InstantObsExpressionParserRuleCall_0 extends RuleCallToken { - - public TimeExpression_InstantObsExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier()) - return null; - if(checkForRecursion(InstantObsExpression_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// DurationObsExpression -protected class TimeExpression_DurationObsExpressionParserRuleCall_1 extends RuleCallToken { - - public TimeExpression_DurationObsExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier()) - return null; - if(checkForRecursion(DurationObsExpression_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// JitterExp -protected class TimeExpression_JitterExpParserRuleCall_2 extends RuleCallToken { - - public TimeExpression_JitterExpParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new JitterExp_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) - return null; - if(checkForRecursion(JitterExp_Group.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule TimeExpression ****************/ - - -/************ begin Rule InstantObsExpression **************** - * - * InstantObsExpression: - * "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - * - **/ - -// "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")? -protected class InstantObsExpression_Group extends GroupToken { - - public InstantObsExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new InstantObsExpression_Group_2(lastRuleCallOrigin, this, 1, inst); - case 2: return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 2, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getInstantObsExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "@" -protected class InstantObsExpression_CommercialAtKeyword_0 extends KeywordToken { - - public InstantObsExpression_CommercialAtKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// id=InstantObsName -protected class InstantObsExpression_IdAssignment_1 extends AssignmentToken { - - public InstantObsExpression_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getIdAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getInstantObsNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new InstantObsExpression_CommercialAtKeyword_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ("(" index=Expression ")")? -protected class InstantObsExpression_Group_2 extends GroupToken { - - public InstantObsExpression_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "(" -protected class InstantObsExpression_LeftParenthesisKeyword_2_0 extends KeywordToken { - - public InstantObsExpression_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// index=Expression -protected class InstantObsExpression_IndexAssignment_2_1 extends AssignmentToken { - - public InstantObsExpression_IndexAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getIndexAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("index",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("index"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new InstantObsExpression_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class InstantObsExpression_RightParenthesisKeyword_2_2 extends KeywordToken { - - public InstantObsExpression_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_IndexAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - -// ("when" "(" condition=Expression ")")? -protected class InstantObsExpression_Group_3 extends GroupToken { - - public InstantObsExpression_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_RightParenthesisKeyword_3_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "when" -protected class InstantObsExpression_WhenKeyword_3_0 extends KeywordToken { - - public InstantObsExpression_WhenKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new InstantObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// "(" -protected class InstantObsExpression_LeftParenthesisKeyword_3_1 extends KeywordToken { - - public InstantObsExpression_LeftParenthesisKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_WhenKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// condition=Expression -protected class InstantObsExpression_ConditionAssignment_3_2 extends AssignmentToken { - - public InstantObsExpression_ConditionAssignment_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getConditionAssignment_3_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("condition",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new InstantObsExpression_LeftParenthesisKeyword_3_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class InstantObsExpression_RightParenthesisKeyword_3_3 extends KeywordToken { - - public InstantObsExpression_RightParenthesisKeyword_3_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_ConditionAssignment_3_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -/************ end Rule InstantObsExpression ****************/ - - -/************ begin Rule InstantObsName **************** - * - * InstantObsName: - * path=QualifiedName? instantId=[uml::TimeObservation]; - * - **/ - -// path=QualifiedName? instantId=[uml::TimeObservation] -protected class InstantObsName_Group extends GroupToken { - - public InstantObsName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getInstantObsNameAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsName_InstantIdAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getInstantObsNameRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// path=QualifiedName? -protected class InstantObsName_PathAssignment_0 extends AssignmentToken { - - public InstantObsName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getInstantObsNameAccess().getPathAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// instantId=[uml::TimeObservation] -protected class InstantObsName_InstantIdAssignment_1 extends AssignmentToken { - - public InstantObsName_InstantIdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getInstantObsNameAccess().getInstantIdAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("instantId",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("instantId"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0(); - return obj; - } - } - return null; - } - -} - - -/************ end Rule InstantObsName ****************/ - - -/************ begin Rule DurationObsExpression **************** - * - * DurationObsExpression: - * "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - * - **/ - -// "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")? -protected class DurationObsExpression_Group extends GroupToken { - - public DurationObsExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_Group_3(lastRuleCallOrigin, this, 0, inst); - case 1: return new DurationObsExpression_Group_2(lastRuleCallOrigin, this, 1, inst); - case 2: return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 2, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDurationObsExpressionRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "&" -protected class DurationObsExpression_AmpersandKeyword_0 extends KeywordToken { - - public DurationObsExpression_AmpersandKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// id=DurationObsName -protected class DurationObsExpression_IdAssignment_1 extends AssignmentToken { - - public DurationObsExpression_IdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getIdAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("id",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getDurationObsNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new DurationObsExpression_AmpersandKeyword_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ("(" index=Expression ")")? -protected class DurationObsExpression_Group_2 extends GroupToken { - - public DurationObsExpression_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_RightParenthesisKeyword_2_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "(" -protected class DurationObsExpression_LeftParenthesisKeyword_2_0 extends KeywordToken { - - public DurationObsExpression_LeftParenthesisKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// index=Expression -protected class DurationObsExpression_IndexAssignment_2_1 extends AssignmentToken { - - public DurationObsExpression_IndexAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getIndexAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("index",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("index"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new DurationObsExpression_LeftParenthesisKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class DurationObsExpression_RightParenthesisKeyword_2_2 extends KeywordToken { - - public DurationObsExpression_RightParenthesisKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_IndexAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - -// ("when" "(" condition=Expression ")")? -protected class DurationObsExpression_Group_3 extends GroupToken { - - public DurationObsExpression_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getGroup_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_RightParenthesisKeyword_3_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "when" -protected class DurationObsExpression_WhenKeyword_3_0 extends KeywordToken { - - public DurationObsExpression_WhenKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new DurationObsExpression_IdAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// "(" -protected class DurationObsExpression_LeftParenthesisKeyword_3_1 extends KeywordToken { - - public DurationObsExpression_LeftParenthesisKeyword_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_WhenKeyword_3_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// condition=Expression -protected class DurationObsExpression_ConditionAssignment_3_2 extends AssignmentToken { - - public DurationObsExpression_ConditionAssignment_3_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getConditionAssignment_3_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("condition",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("condition"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new DurationObsExpression_LeftParenthesisKeyword_3_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class DurationObsExpression_RightParenthesisKeyword_3_3 extends KeywordToken { - - public DurationObsExpression_RightParenthesisKeyword_3_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsExpression_ConditionAssignment_3_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -/************ end Rule DurationObsExpression ****************/ - - -/************ begin Rule DurationObsName **************** - * - * DurationObsName: - * path=QualifiedName? durationId=[uml::DurationObservation]; - * - **/ - -// path=QualifiedName? durationId=[uml::DurationObservation] -protected class DurationObsName_Group extends GroupToken { - - public DurationObsName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDurationObsNameAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsName_DurationIdAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDurationObsNameRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// path=QualifiedName? -protected class DurationObsName_PathAssignment_0 extends AssignmentToken { - - public DurationObsName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDurationObsNameAccess().getPathAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// durationId=[uml::DurationObservation] -protected class DurationObsName_DurationIdAssignment_1 extends AssignmentToken { - - public DurationObsName_DurationIdAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDurationObsNameAccess().getDurationIdAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DurationObsName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("durationId",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("durationId"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0(); - return obj; - } - } - return null; - } - -} - - -/************ end Rule DurationObsName ****************/ - - -/************ begin Rule JitterExp **************** - * - * JitterExp: - * "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")"; - * - **/ - -// "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")" -protected class JitterExp_Group extends GroupToken { - - public JitterExp_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getJitterExpAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new JitterExp_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getJitterExpRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// "jitter(" -protected class JitterExp_JitterKeyword_0 extends KeywordToken { - - public JitterExp_JitterKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getJitterExpAccess().getJitterKeyword_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - -} - -// firstInstant=InstantObsExpression -protected class JitterExp_FirstInstantAssignment_1 extends AssignmentToken { - - public JitterExp_FirstInstantAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getJitterExpAccess().getFirstInstantAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("firstInstant",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("firstInstant"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getInstantObsExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new JitterExp_JitterKeyword_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ("-" secondInstant=InstantObsExpression)? -protected class JitterExp_Group_2 extends GroupToken { - - public JitterExp_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getJitterExpAccess().getGroup_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new JitterExp_SecondInstantAssignment_2_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "-" -protected class JitterExp_HyphenMinusKeyword_2_0 extends KeywordToken { - - public JitterExp_HyphenMinusKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new JitterExp_FirstInstantAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// secondInstant=InstantObsExpression -protected class JitterExp_SecondInstantAssignment_2_1 extends AssignmentToken { - - public JitterExp_SecondInstantAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getJitterExpAccess().getSecondInstantAssignment_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new InstantObsExpression_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("secondInstant",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("secondInstant"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getInstantObsExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new JitterExp_HyphenMinusKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - - -// ")" -protected class JitterExp_RightParenthesisKeyword_3 extends KeywordToken { - - public JitterExp_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new JitterExp_Group_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new JitterExp_FirstInstantAssignment_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - - -/************ end Rule JitterExp ****************/ - - -/************ begin Rule VariableDeclaration **************** - * - * VariableDeclaration: - * variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | - * "=" "(" initValue=Expression ")"); - * - **/ - -// variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "=" -// "(" initValue=Expression ")") -protected class VariableDeclaration_Group extends GroupToken { - - public VariableDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_Alternatives_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getVariableDeclarationRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// variableDeclaration=VariableDirectionKind? -protected class VariableDeclaration_VariableDeclarationAssignment_0 extends AssignmentToken { - - public VariableDeclaration_VariableDeclarationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getVariableDeclarationAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("variableDeclaration",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variableDeclaration"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), value, null)) { - type = AssignmentType.DATATYPE_RULE_CALL; - element = grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(); - return obj; - } - return null; - } - -} - -// "$" -protected class VariableDeclaration_DollarSignKeyword_1 extends KeywordToken { - - public VariableDeclaration_DollarSignKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_VariableDeclarationAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - -} - -// name=ID -protected class VariableDeclaration_NameAssignment_2 extends AssignmentToken { - - public VariableDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getNameAssignment_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_DollarSignKeyword_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("name",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(); - return obj; - } - return null; - } - -} - -// ":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "=" "(" initValue=Expression ")" -protected class VariableDeclaration_Alternatives_3 extends AlternativesToken { - - public VariableDeclaration_Alternatives_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getAlternatives_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_Group_3_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new VariableDeclaration_Group_3_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// ":" type=DataTypeName ("=" "(" initValue=Expression ")")? -protected class VariableDeclaration_Group_3_0 extends GroupToken { - - public VariableDeclaration_Group_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getGroup_3_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_Group_3_0_2(lastRuleCallOrigin, this, 0, inst); - case 1: return new VariableDeclaration_TypeAssignment_3_0_1(lastRuleCallOrigin, this, 1, inst); - default: return null; - } - } - -} - -// ":" -protected class VariableDeclaration_ColonKeyword_3_0_0 extends KeywordToken { - - public VariableDeclaration_ColonKeyword_3_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_NameAssignment_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// type=DataTypeName -protected class VariableDeclaration_TypeAssignment_3_0_1 extends AssignmentToken { - - public VariableDeclaration_TypeAssignment_3_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getTypeAssignment_3_0_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DataTypeName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("type",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getDataTypeNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new VariableDeclaration_ColonKeyword_3_0_0(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ("=" "(" initValue=Expression ")")? -protected class VariableDeclaration_Group_3_0_2 extends GroupToken { - - public VariableDeclaration_Group_3_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getGroup_3_0_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_RightParenthesisKeyword_3_0_2_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "=" -protected class VariableDeclaration_EqualsSignKeyword_3_0_2_0 extends KeywordToken { - - public VariableDeclaration_EqualsSignKeyword_3_0_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_TypeAssignment_3_0_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "(" -protected class VariableDeclaration_LeftParenthesisKeyword_3_0_2_1 extends KeywordToken { - - public VariableDeclaration_LeftParenthesisKeyword_3_0_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_EqualsSignKeyword_3_0_2_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// initValue=Expression -protected class VariableDeclaration_InitValueAssignment_3_0_2_2 extends AssignmentToken { - - public VariableDeclaration_InitValueAssignment_3_0_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getInitValueAssignment_3_0_2_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("initValue",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("initValue"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new VariableDeclaration_LeftParenthesisKeyword_3_0_2_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class VariableDeclaration_RightParenthesisKeyword_3_0_2_3 extends KeywordToken { - - public VariableDeclaration_RightParenthesisKeyword_3_0_2_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_InitValueAssignment_3_0_2_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - -// "=" "(" initValue=Expression ")" -protected class VariableDeclaration_Group_3_1 extends GroupToken { - - public VariableDeclaration_Group_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getGroup_3_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_RightParenthesisKeyword_3_1_3(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "=" -protected class VariableDeclaration_EqualsSignKeyword_3_1_0 extends KeywordToken { - - public VariableDeclaration_EqualsSignKeyword_3_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_NameAssignment_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// "(" -protected class VariableDeclaration_LeftParenthesisKeyword_3_1_1 extends KeywordToken { - - public VariableDeclaration_LeftParenthesisKeyword_3_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_EqualsSignKeyword_3_1_0(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - -// initValue=Expression -protected class VariableDeclaration_InitValueAssignment_3_1_2 extends AssignmentToken { - - public VariableDeclaration_InitValueAssignment_3_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getInitValueAssignment_3_1_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new Expression_ExpAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("initValue",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("initValue"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getExpressionRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - case 0: return new VariableDeclaration_LeftParenthesisKeyword_3_1_1(lastRuleCallOrigin, next, actIndex, consumed); - default: return null; - } - } -} - -// ")" -protected class VariableDeclaration_RightParenthesisKeyword_3_1_3 extends KeywordToken { - - public VariableDeclaration_RightParenthesisKeyword_3_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Keyword getGrammarElement() { - return grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new VariableDeclaration_InitValueAssignment_3_1_2(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - -} - - - - -/************ end Rule VariableDeclaration ****************/ - - - -/************ begin Rule DataTypeName **************** - * - * DataTypeName: - * path=QualifiedName? type=[uml::DataType]; - * - **/ - -// path=QualifiedName? type=[uml::DataType] -protected class DataTypeName_Group extends GroupToken { - - public DataTypeName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Group getGrammarElement() { - return grammarAccess.getDataTypeNameAccess().getGroup(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DataTypeName_TypeAssignment_1(lastRuleCallOrigin, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDataTypeNameRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// path=QualifiedName? -protected class DataTypeName_PathAssignment_0 extends AssignmentToken { - - public DataTypeName_PathAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDataTypeNameAccess().getPathAssignment_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new QualifiedName_Group(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("path",false)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("path"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getQualifiedNameRule().getType().getClassifier())) { - type = AssignmentType.PARSER_RULE_CALL; - element = grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(); - consumed = obj; - return param; - } - } - return null; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - if(value == inst.getEObject() && !inst.isConsumed()) return null; - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, consumed); - } - } -} - -// type=[uml::DataType] -protected class DataTypeName_TypeAssignment_1 extends AssignmentToken { - - public DataTypeName_TypeAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDataTypeNameAccess().getTypeAssignment_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new DataTypeName_PathAssignment_0(lastRuleCallOrigin, this, 0, inst); - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if((value = eObjectConsumer.getConsumable("type",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("type"); - if(value instanceof EObject) { // org::eclipse::xtext::impl::CrossReferenceImpl - IEObjectConsumer param = createEObjectConsumer((EObject)value); - if(param.isInstanceOf(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0().getType().getClassifier())) { - type = AssignmentType.CROSS_REFERENCE; - element = grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0(); - return obj; - } - } - return null; - } - -} - - -/************ end Rule DataTypeName ****************/ - - -/************ begin Rule NumberLiteralRule **************** - * - * ////////////////////////////////////////////////////////////////////////////////////////////////////// - * //LITERAL - * ////////////////////////////////////////////////////////////////////////////////////////////////////// - * NumberLiteralRule: - * IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule; - * - **/ - -// IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule -protected class NumberLiteralRule_Alternatives extends AlternativesToken { - - public NumberLiteralRule_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Alternatives getGrammarElement() { - return grammarAccess.getNumberLiteralRuleAccess().getAlternatives(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0(lastRuleCallOrigin, this, 0, inst); - case 1: return new NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1(lastRuleCallOrigin, this, 1, inst); - case 2: return new NumberLiteralRule_RealLiteralRuleParserRuleCall_2(lastRuleCallOrigin, this, 2, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier() && - getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - return eObjectConsumer; - } - -} - -// IntegerLiteralRule -protected class NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0 extends RuleCallToken { - - public NumberLiteralRule_IntegerLiteralRuleParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new IntegerLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(IntegerLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// UnlimitedLiteralRule -protected class NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1 extends RuleCallToken { - - public NumberLiteralRule_UnlimitedLiteralRuleParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new UnlimitedLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(UnlimitedLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - -// RealLiteralRule -protected class NumberLiteralRule_RealLiteralRuleParserRuleCall_2 extends RuleCallToken { - - public NumberLiteralRule_RealLiteralRuleParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public RuleCall getGrammarElement() { - return grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - case 0: return new RealLiteralRule_ValueAssignment(this, this, 0, inst); - default: return null; - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier()) - return null; - if(checkForRecursion(RealLiteralRule_ValueAssignment.class, eObjectConsumer)) return null; - return eObjectConsumer; - } - - @Override - public AbstractToken createFollowerAfterReturn(AbstractToken next, int actIndex, int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex , index, inst); - } - } -} - - -/************ end Rule NumberLiteralRule ****************/ - - -/************ begin Rule IntegerLiteralRule **************** - * - * IntegerLiteralRule: - * value=IntegerLiteral; - * - **/ - -// value=IntegerLiteral -protected class IntegerLiteralRule_ValueAssignment extends AssignmentToken { - - public IntegerLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getIntegerLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule IntegerLiteralRule ****************/ - - -/************ begin Rule UnlimitedLiteralRule **************** - * - * //UnlimitedLiteralRule : - * // value = UnlimitedLiteral ; - * //terminal UnlimitedLiteral : - * // '*' ; - * UnlimitedLiteralRule: - * value="*"; - * - **/ - -// value="*" -protected class UnlimitedLiteralRule_ValueAssignment extends AssignmentToken { - - public UnlimitedLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getUnlimitedLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(); - return obj; - } - return null; - } - -} - -/************ end Rule UnlimitedLiteralRule ****************/ - - -/************ begin Rule RealLiteralRule **************** - * - * RealLiteralRule: - * value=RealLiteral; - * - **/ - -// value=RealLiteral -protected class RealLiteralRule_ValueAssignment extends AssignmentToken { - - public RealLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getRealLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getRealLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule RealLiteralRule ****************/ - - -/************ begin Rule DateTimeLiteralRule **************** - * - * //DateTimeLiteral: - * // TimeString (DateString)? (DayString)? | - * // DateString (DayString)? | - * // DayString ; - * //terminal DateString : - * // ('0'..'9')('0'..'9')('0'..'9')('0'..'9')'/'('0'('0'..'9')|'1'('0'..'2'))'/'(('0'..'2')('0'..'9')|'3' ('0'|'1')) ; - * //terminal TimeString : - * // (('0'..'1')('0'..'9')|'2'('0'..'3'))':'('0'..'5')('0'..'9')(':'('0'..'5')('0'..'9')(':'('0'..'9')('0'..'9'))?)? ; - * //terminal DayString : - * // "Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun" ; - * DateTimeLiteralRule: - * value=DateTimeLiteral; - * - **/ - -// value=DateTimeLiteral -protected class DateTimeLiteralRule_ValueAssignment extends AssignmentToken { - - public DateTimeLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDateTimeLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule DateTimeLiteralRule ****************/ - - -/************ begin Rule BooleanLiteralRule **************** - * - * BooleanLiteralRule: - * value=BooleanLiteral; - * - **/ - -// value=BooleanLiteral -protected class BooleanLiteralRule_ValueAssignment extends AssignmentToken { - - public BooleanLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getBooleanLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule BooleanLiteralRule ****************/ - - -/************ begin Rule NullLiteralRule **************** - * - * NullLiteralRule: - * value=NullLiteral; - * - **/ - -// value=NullLiteral -protected class NullLiteralRule_ValueAssignment extends AssignmentToken { - - public NullLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getNullLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getNullLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule NullLiteralRule ****************/ - - -/************ begin Rule DefaultLiteralRule **************** - * - * //DefaultLiteralRule : - * // value = DefaultLiteral ; - * //terminal DefaultLiteral : - * // '/' ; - * DefaultLiteralRule: - * value="/"; - * - **/ - -// value="/" -protected class DefaultLiteralRule_ValueAssignment extends AssignmentToken { - - public DefaultLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getDefaultLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(keywordSerializer.isValid(obj.getEObject(), grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), value, null)) { - type = AssignmentType.KEYWORD; - element = grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(); - return obj; - } - return null; - } - -} - -/************ end Rule DefaultLiteralRule ****************/ - - -/************ begin Rule StringLiteralRule **************** - * - * StringLiteralRule: - * value=STRING; - * - **/ - -// value=STRING -protected class StringLiteralRule_ValueAssignment extends AssignmentToken { - - public StringLiteralRule_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) { - super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer); - } - - @Override - public Assignment getGrammarElement() { - return grammarAccess.getStringLiteralRuleAccess().getValueAssignment(); - } - - @Override - public AbstractToken createFollower(int index, IEObjectConsumer inst) { - switch(index) { - default: return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst); - } - } - - @Override - public IEObjectConsumer tryConsume() { - if(getEObject().eClass() != grammarAccess.getStringLiteralRuleRule().getType().getClassifier()) - return null; - if((value = eObjectConsumer.getConsumable("value",true)) == null) return null; - IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value"); - if(valueSerializer.isValid(obj.getEObject(), grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), value, null)) { - type = AssignmentType.TERMINAL_RULE_CALL; - element = grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(); - return obj; - } - return null; - } - -} - -/************ end Rule StringLiteralRule ****************/ - -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java deleted file mode 100644 index 61df411a78e..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLAntlrTokenFileProvider.java +++ /dev/null @@ -1,25 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.parser.antlr; - -import java.io.InputStream; -import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; - -public class VSLAntlrTokenFileProvider implements IAntlrTokenFileProvider { - - public InputStream getAntlrTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens"); - } -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java deleted file mode 100644 index d9e11cdb07b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/VSLParser.java +++ /dev/null @@ -1,66 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.parser.antlr; - -import org.antlr.runtime.CharStream; -import org.antlr.runtime.TokenSource; -import org.eclipse.xtext.parser.IParseResult; -import org.eclipse.xtext.parser.ParseException; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; - -import com.google.inject.Inject; - -import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess; - -public class VSLParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser { - - @Inject - private VSLGrammarAccess grammarAccess; - - @Override - protected IParseResult parse(String ruleName, CharStream in) { - TokenSource tokenSource = createLexer(in); - XtextTokenStream tokenStream = createTokenStream(tokenSource); - tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT"); - org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLParser parser = createParser(tokenStream); - parser.setTokenTypeMap(getTokenDefProvider().getTokenDefMap()); - parser.setSyntaxErrorProvider(getSyntaxErrorProvider()); - parser.setUnorderedGroupHelper(getUnorderedGroupHelper().get()); - try { - if(ruleName != null) - return parser.parse(ruleName); - return parser.parse(); - } catch (Exception re) { - throw new ParseException(re.getMessage(),re); - } - } - - protected org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLParser createParser(XtextTokenStream stream) { - return new org.eclipse.papyrus.marte.vsl.parser.antlr.internal.InternalVSLParser(stream, getElementFactory(), getGrammarAccess()); - } - - @Override - protected String getDefaultRuleName() { - return "Expression"; - } - - public VSLGrammarAccess getGrammarAccess() { - return this.grammarAccess; - } - - public void setGrammarAccess(VSLGrammarAccess grammarAccess) { - this.grammarAccess = grammarAccess; - } - -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g deleted file mode 100644 index 348720888de..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g +++ /dev/null @@ -1,3314 +0,0 @@ -/* -* generated by Xtext -*/ -grammar InternalVSL; - -options { - superClass=AbstractInternalAntlrParser; - -} - -@lexer::header { -package org.eclipse.papyrus.marte.vsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -@parser::header { -package org.eclipse.papyrus.marte.vsl.parser.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess; - -} - -@parser::members { - - private VSLGrammarAccess grammarAccess; - - public InternalVSLParser(TokenStream input, IAstFactory factory, VSLGrammarAccess grammarAccess) { - this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); - this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens"); - } - - @Override - protected String getFirstRuleName() { - return "Expression"; - } - - @Override - protected VSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } -} - -@rulecatch { - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } -} - - - - -// Entry rule entryRuleExpression -entryRuleExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode); } - iv_ruleExpression=ruleExpression - { $current=$iv_ruleExpression.current; } - EOF -; - -// Rule Expression -ruleExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - { - currentNode=createCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(), currentNode); - } - lv_exp_0_0=ruleAndOrXorExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "exp", - lv_exp_0_0, - "AndOrXorExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) -; - - - - - -// Entry rule entryRuleAndOrXorExpression -entryRuleAndOrXorExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getAndOrXorExpressionRule(), currentNode); } - iv_ruleAndOrXorExpression=ruleAndOrXorExpression - { $current=$iv_ruleAndOrXorExpression.current; } - EOF -; - -// Rule AndOrXorExpression -ruleAndOrXorExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleEqualityExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= 'and' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= 'or' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= 'xor' - { - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleEqualityExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleEqualityExpression -entryRuleEqualityExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getEqualityExpressionRule(), currentNode); } - iv_ruleEqualityExpression=ruleEqualityExpression - { $current=$iv_ruleEqualityExpression.current; } - EOF -; - -// Rule EqualityExpression -ruleEqualityExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleRelationalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '==' - { - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '<>' - { - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleRelationalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleRelationalExpression -entryRuleRelationalExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getRelationalExpressionRule(), currentNode); } - iv_ruleRelationalExpression=ruleRelationalExpression - { $current=$iv_ruleRelationalExpression.current; } - EOF -; - -// Rule RelationalExpression -ruleRelationalExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleConditionalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '<' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '>' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= '<=' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_4= '>=' - { - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_4, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleConditionalExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleConditionalExpression -entryRuleConditionalExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getConditionalExpressionRule(), currentNode); } - iv_ruleConditionalExpression=ruleConditionalExpression - { $current=$iv_ruleConditionalExpression.current; } - EOF -; - -// Rule ConditionalExpression -ruleConditionalExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( - lv_op_1_0= '?' - { - createLeafNode(grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_0, "?", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ':' - { - createLeafNode(grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(), currentNode); - } - lv_exp_4_0=ruleAdditiveExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_4_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleAdditiveExpression -entryRuleAdditiveExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getAdditiveExpressionRule(), currentNode); } - iv_ruleAdditiveExpression=ruleAdditiveExpression - { $current=$iv_ruleAdditiveExpression.current; } - EOF -; - -// Rule AdditiveExpression -ruleAdditiveExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleMultiplicativeExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '+' - { - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '-' - { - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleMultiplicativeExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleMultiplicativeExpression -entryRuleMultiplicativeExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getMultiplicativeExpressionRule(), currentNode); } - iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression - { $current=$iv_ruleMultiplicativeExpression.current; } - EOF -; - -// Rule MultiplicativeExpression -ruleMultiplicativeExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(), currentNode); - } - lv_exp_0_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_0_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( -( - lv_op_1_1= '*' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_2= '/' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_1_3= 'mod' - { - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - add($current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_exp_2_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "exp", - lv_exp_2_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleUnaryExpression -entryRuleUnaryExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getUnaryExpressionRule(), currentNode); } - iv_ruleUnaryExpression=ruleUnaryExpression - { $current=$iv_ruleUnaryExpression.current; } - EOF -; - -// Rule UnaryExpression -ruleUnaryExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -((( -( -( - lv_op_0_1= 'not' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_0_2= '-' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - - | lv_op_0_3= '+' - { - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), "op"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "op", lv_op_0_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) - -) -)( -( - { - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(), currentNode); - } - lv_unary_1_0=ruleUnaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "unary", - lv_unary_1_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) - |( -( - { - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(), currentNode); - } - lv_exp_2_0=rulePrimaryExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "exp", - lv_exp_2_0, - "PrimaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRulePrimaryExpression -entryRulePrimaryExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getPrimaryExpressionRule(), currentNode); } - iv_rulePrimaryExpression=rulePrimaryExpression - { $current=$iv_rulePrimaryExpression.current; } - EOF -; - -// Rule PrimaryExpression -rulePrimaryExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(), currentNode); - } - lv_prefix_0_0=ruleValueSpecification { - if ($current==null) { - $current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "prefix", - lv_prefix_0_0, - "ValueSpecification", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '.' - { - createLeafNode(grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_suffix_2_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleValueSpecification -entryRuleValueSpecification returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getValueSpecificationRule(), currentNode); } - iv_ruleValueSpecification=ruleValueSpecification - { $current=$iv_ruleValueSpecification.current; } - EOF -; - -// Rule ValueSpecification -ruleValueSpecification returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(), currentNode); - } - this_Literal_0=ruleLiteral - { - $current = $this_Literal_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(), currentNode); - } - this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall - { - $current = $this_NameOrChoiceOrBehaviorCall_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(), currentNode); - } - this_Interval_2=ruleInterval - { - $current = $this_Interval_2.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(), currentNode); - } - this_CollectionOrTuple_3=ruleCollectionOrTuple - { - $current = $this_CollectionOrTuple_3.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(), currentNode); - } - this_Tuple_4=ruleTuple - { - $current = $this_Tuple_4.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(), currentNode); - } - this_TimeExpression_5=ruleTimeExpression - { - $current = $this_TimeExpression_5.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(), currentNode); - } - this_VariableDeclaration_6=ruleVariableDeclaration - { - $current = $this_VariableDeclaration_6.current; - currentNode = currentNode.getParent(); - } - - |( '(' - { - createLeafNode(grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(), null); - } - - { - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(), currentNode); - } - this_Expression_8=ruleExpression - { - $current = $this_Expression_8.current; - currentNode = currentNode.getParent(); - } - ')' - { - createLeafNode(grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2(), null); - } -)) -; - - - - - -// Entry rule entryRuleSuffixExpression -entryRuleSuffixExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getSuffixExpressionRule(), currentNode); } - iv_ruleSuffixExpression=ruleSuffixExpression - { $current=$iv_ruleSuffixExpression.current; } - EOF -; - -// Rule SuffixExpression -ruleSuffixExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(), currentNode); - } - this_PropertyCallExpression_0=rulePropertyCallExpression - { - $current = $this_PropertyCallExpression_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(), currentNode); - } - this_OperationCallExpression_1=ruleOperationCallExpression - { - $current = $this_OperationCallExpression_1.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRulePropertyCallExpression -entryRulePropertyCallExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getPropertyCallExpressionRule(), currentNode); } - iv_rulePropertyCallExpression=rulePropertyCallExpression - { $current=$iv_rulePropertyCallExpression.current; } - EOF -; - -// Rule PropertyCallExpression -rulePropertyCallExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(), "property"); - } - -) -)( '.' - { - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_suffix_2_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleOperationCallExpression -entryRuleOperationCallExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getOperationCallExpressionRule(), currentNode); } - iv_ruleOperationCallExpression=ruleOperationCallExpression - { $current=$iv_ruleOperationCallExpression.current; } - EOF -; - -// Rule OperationCallExpression -ruleOperationCallExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(), "operation"); - } - -) -) '(' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(), currentNode); - } - lv_arguments_2_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "arguments", - lv_arguments_2_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? ')' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(), null); - } -( '.' - { - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(), currentNode); - } - lv_suffix_5_0=ruleSuffixExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "suffix", - lv_suffix_5_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))?) -; - - - - - -// Entry rule entryRuleLiteral -entryRuleLiteral returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getLiteralRule(), currentNode); } - iv_ruleLiteral=ruleLiteral - { $current=$iv_ruleLiteral.current; } - EOF -; - -// Rule Literal -ruleLiteral returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(), currentNode); - } - this_NumberLiteralRule_0=ruleNumberLiteralRule - { - $current = $this_NumberLiteralRule_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(), currentNode); - } - this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule - { - $current = $this_DateTimeLiteralRule_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(), currentNode); - } - this_BooleanLiteralRule_2=ruleBooleanLiteralRule - { - $current = $this_BooleanLiteralRule_2.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(), currentNode); - } - this_NullLiteralRule_3=ruleNullLiteralRule - { - $current = $this_NullLiteralRule_3.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(), currentNode); - } - this_DefaultLiteralRule_4=ruleDefaultLiteralRule - { - $current = $this_DefaultLiteralRule_4.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(), currentNode); - } - this_StringLiteralRule_5=ruleStringLiteralRule - { - $current = $this_StringLiteralRule_5.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleNameOrChoiceOrBehaviorCall -entryRuleNameOrChoiceOrBehaviorCall returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule(), currentNode); } - iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall - { $current=$iv_ruleNameOrChoiceOrBehaviorCall.current; } - EOF -; - -// Rule NameOrChoiceOrBehaviorCall -ruleNameOrChoiceOrBehaviorCall returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(), "id"); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(), currentNode); - } - lv_arguments_3_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "arguments", - lv_arguments_3_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? ')' - { - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2(), null); - } -)?) -; - - - - - -// Entry rule entryRuleQualifiedName -entryRuleQualifiedName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); } - iv_ruleQualifiedName=ruleQualifiedName - { $current=$iv_ruleQualifiedName.current; } - EOF -; - -// Rule QualifiedName -ruleQualifiedName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); - } - -) -) '::' - { - createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); - } - lv_remaining_2_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "remaining", - lv_remaining_2_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?) -; - - - - - -// Entry rule entryRuleInterval -entryRuleInterval returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getIntervalRule(), currentNode); } - iv_ruleInterval=ruleInterval - { $current=$iv_ruleInterval.current; } - EOF -; - -// Rule Interval -ruleInterval returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( ']' - { - createLeafNode(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(), null); - } - - |( -( - lv_isLowerIncluded_1_0= '[' - { - createLeafNode(grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), "isLowerIncluded"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "isLowerIncluded", lv_isLowerIncluded_1_0, "[", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -))( -( - { - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(), currentNode); - } - lv_lower_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "lower", - lv_lower_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '..' - { - createLeafNode(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(), currentNode); - } - lv_upper_4_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "upper", - lv_upper_4_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)(( -( - lv_isUpperIncluded_5_0= ']' - { - createLeafNode(grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), "isUpperIncluded"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "isUpperIncluded", lv_isUpperIncluded_5_0, "]", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) - | '[' - { - createLeafNode(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1(), null); - } -)) -; - - - - - -// Entry rule entryRuleCollectionOrTuple -entryRuleCollectionOrTuple returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getCollectionOrTupleRule(), currentNode); } - iv_ruleCollectionOrTuple=ruleCollectionOrTuple - { $current=$iv_ruleCollectionOrTuple.current; } - EOF -; - -// Rule CollectionOrTuple -ruleCollectionOrTuple returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '{' - { - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(), currentNode); - } - lv_listOfValues_1_0=ruleListOfValues { - if ($current==null) { - $current = factory.create(grammarAccess.getCollectionOrTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "listOfValues", - lv_listOfValues_1_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '}' - { - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2(), null); - } -) -; - - - - - -// Entry rule entryRuleTuple -entryRuleTuple returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getTupleRule(), currentNode); } - iv_ruleTuple=ruleTuple - { $current=$iv_ruleTuple.current; } - EOF -; - -// Rule Tuple -ruleTuple returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '{' - { - createLeafNode(grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(), currentNode); - } - lv_listOfValueNamePairs_1_0=ruleListOfValueNamePairs { - if ($current==null) { - $current = factory.create(grammarAccess.getTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "listOfValueNamePairs", - lv_listOfValueNamePairs_1_0, - "ListOfValueNamePairs", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) '}' - { - createLeafNode(grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2(), null); - } -) -; - - - - - -// Entry rule entryRuleListOfValues -entryRuleListOfValues returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getListOfValuesRule(), currentNode); } - iv_ruleListOfValues=ruleListOfValues - { $current=$iv_ruleListOfValues.current; } - EOF -; - -// Rule ListOfValues -ruleListOfValues returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(), currentNode); - } - lv_values_0_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "values", - lv_values_0_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( ',' - { - createLeafNode(grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(), currentNode); - } - lv_values_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "values", - lv_values_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleListOfValueNamePairs -entryRuleListOfValueNamePairs returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getListOfValueNamePairsRule(), currentNode); } - iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs - { $current=$iv_ruleListOfValueNamePairs.current; } - EOF -; - -// Rule ListOfValueNamePairs -ruleListOfValueNamePairs returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(), currentNode); - } - lv_valueNamePairs_0_0=ruleValueNamePair { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "valueNamePairs", - lv_valueNamePairs_0_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( ',' - { - createLeafNode(grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(), currentNode); - } - lv_valueNamePairs_2_0=ruleValueNamePair { - if ($current==null) { - $current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - add( - $current, - "valueNamePairs", - lv_valueNamePairs_2_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))*) -; - - - - - -// Entry rule entryRuleValueNamePair -entryRuleValueNamePair returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getValueNamePairRule(), currentNode); } - iv_ruleValueNamePair=ruleValueNamePair - { $current=$iv_ruleValueNamePair.current; } - EOF -; - -// Rule ValueNamePair -ruleValueNamePair returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(), "property"); - } - -) -) '=' - { - createLeafNode(grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(), currentNode); - } - lv_value_2_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "value", - lv_value_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)) -; - - - - - -// Entry rule entryRuleTimeExpression -entryRuleTimeExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getTimeExpressionRule(), currentNode); } - iv_ruleTimeExpression=ruleTimeExpression - { $current=$iv_ruleTimeExpression.current; } - EOF -; - -// Rule TimeExpression -ruleTimeExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(), currentNode); - } - this_InstantObsExpression_0=ruleInstantObsExpression - { - $current = $this_InstantObsExpression_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(), currentNode); - } - this_DurationObsExpression_1=ruleDurationObsExpression - { - $current = $this_DurationObsExpression_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(), currentNode); - } - this_JitterExp_2=ruleJitterExp - { - $current = $this_JitterExp_2.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleInstantObsExpression -entryRuleInstantObsExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getInstantObsExpressionRule(), currentNode); } - iv_ruleInstantObsExpression=ruleInstantObsExpression - { $current=$iv_ruleInstantObsExpression.current; } - EOF -; - -// Rule InstantObsExpression -ruleInstantObsExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '@' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(), currentNode); - } - lv_id_1_0=ruleInstantObsName { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "id", - lv_id_1_0, - "InstantObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_index_3_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - } -)?( 'when' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - } - lv_condition_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - } -)?) -; - - - - - -// Entry rule entryRuleInstantObsName -entryRuleInstantObsName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getInstantObsNameRule(), currentNode); } - iv_ruleInstantObsName=ruleInstantObsName - { $current=$iv_ruleInstantObsName.current; } - EOF -; - -// Rule InstantObsName -ruleInstantObsName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0(), "instantId"); - } - -) -)) -; - - - - - -// Entry rule entryRuleDurationObsExpression -entryRuleDurationObsExpression returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDurationObsExpressionRule(), currentNode); } - iv_ruleDurationObsExpression=ruleDurationObsExpression - { $current=$iv_ruleDurationObsExpression.current; } - EOF -; - -// Rule DurationObsExpression -ruleDurationObsExpression returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( '&' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(), currentNode); - } - lv_id_1_0=ruleDurationObsName { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "id", - lv_id_1_0, - "DurationObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '(' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_index_3_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - } -)?( 'when' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - } - lv_condition_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - } -)?) -; - - - - - -// Entry rule entryRuleDurationObsName -entryRuleDurationObsName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDurationObsNameRule(), currentNode); } - iv_ruleDurationObsName=ruleDurationObsName - { $current=$iv_ruleDurationObsName.current; } - EOF -; - -// Rule DurationObsName -ruleDurationObsName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0(), "durationId"); - } - -) -)) -; - - - - - -// Entry rule entryRuleJitterExp -entryRuleJitterExp returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getJitterExpRule(), currentNode); } - iv_ruleJitterExp=ruleJitterExp - { $current=$iv_ruleJitterExp.current; } - EOF -; - -// Rule JitterExp -ruleJitterExp returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( 'jitter(' - { - createLeafNode(grammarAccess.getJitterExpAccess().getJitterKeyword_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(), currentNode); - } - lv_firstInstant_1_0=ruleInstantObsExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "firstInstant", - lv_firstInstant_1_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '-' - { - createLeafNode(grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(), currentNode); - } - lv_secondInstant_3_0=ruleInstantObsExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "secondInstant", - lv_secondInstant_3_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -))? ')' - { - createLeafNode(grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3(), null); - } -) -; - - - - - -// Entry rule entryRuleVariableDeclaration -entryRuleVariableDeclaration returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getVariableDeclarationRule(), currentNode); } - iv_ruleVariableDeclaration=ruleVariableDeclaration - { $current=$iv_ruleVariableDeclaration.current; } - EOF -; - -// Rule VariableDeclaration -ruleVariableDeclaration returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), currentNode); - } - lv_variableDeclaration_0_0=ruleVariableDirectionKind { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "variableDeclaration", - lv_variableDeclaration_0_0, - "VariableDirectionKind", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)? '$' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(), null); - } -( -( - lv_name_2_0=RULE_ID - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), "name"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "name", - lv_name_2_0, - "ID", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -)(( ':' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(), currentNode); - } - lv_type_4_0=ruleDataTypeName { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "type", - lv_type_4_0, - "DataTypeName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)( '=' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(), currentNode); - } - lv_initValue_7_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "initValue", - lv_initValue_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(), null); - } -)?) - |( '=' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(), null); - } - '(' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(), null); - } -( -( - { - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(), currentNode); - } - lv_initValue_11_0=ruleExpression { - if ($current==null) { - $current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "initValue", - lv_initValue_11_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -) ')' - { - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3(), null); - } -))) -; - - - - - -// Entry rule entryRuleVariableDirectionKind -entryRuleVariableDirectionKind returns [String current=null] - : - { currentNode = createCompositeNode(grammarAccess.getVariableDirectionKindRule(), currentNode); } - iv_ruleVariableDirectionKind=ruleVariableDirectionKind - { $current=$iv_ruleVariableDirectionKind.current.getText(); } - EOF -; - -// Rule VariableDirectionKind -ruleVariableDirectionKind returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] - @init { setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - kw='in' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInKeyword_0(), null); - } - - | - kw='out' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1(), null); - } - - | - kw='inout' - { - $current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInoutKeyword_2(), null); - } -) - ; - - - - - -// Entry rule entryRuleDataTypeName -entryRuleDataTypeName returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDataTypeNameRule(), currentNode); } - iv_ruleDataTypeName=ruleDataTypeName - { $current=$iv_ruleDataTypeName.current; } - EOF -; - -// Rule DataTypeName -ruleDataTypeName returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -(( -( - { - currentNode=createCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - } - lv_path_0_0=ruleQualifiedName { - if ($current==null) { - $current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), $current); - } - try { - set( - $current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - } - -) -)?( -( - { - if ($current==null) { - $current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - } - RULE_ID - { - createLeafNode(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0(), "type"); - } - -) -)) -; - - - - - -// Entry rule entryRuleNumberLiteralRule -entryRuleNumberLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNumberLiteralRuleRule(), currentNode); } - iv_ruleNumberLiteralRule=ruleNumberLiteralRule - { $current=$iv_ruleNumberLiteralRule.current; } - EOF -; - -// Rule NumberLiteralRule -ruleNumberLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(), currentNode); - } - this_IntegerLiteralRule_0=ruleIntegerLiteralRule - { - $current = $this_IntegerLiteralRule_0.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(), currentNode); - } - this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule - { - $current = $this_UnlimitedLiteralRule_1.current; - currentNode = currentNode.getParent(); - } - - | - { - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(), currentNode); - } - this_RealLiteralRule_2=ruleRealLiteralRule - { - $current = $this_RealLiteralRule_2.current; - currentNode = currentNode.getParent(); - } -) -; - - - - - -// Entry rule entryRuleIntegerLiteralRule -entryRuleIntegerLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getIntegerLiteralRuleRule(), currentNode); } - iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule - { $current=$iv_ruleIntegerLiteralRule.current; } - EOF -; - -// Rule IntegerLiteralRule -ruleIntegerLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_INTEGERLITERAL - { - createLeafNode(grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "IntegerLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleUnlimitedLiteralRule -entryRuleUnlimitedLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule(), currentNode); } - iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule - { $current=$iv_ruleUnlimitedLiteralRule.current; } - EOF -; - -// Rule UnlimitedLiteralRule -ruleUnlimitedLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0= '*' - { - createLeafNode(grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), "value"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "value", lv_value_0_0, "*", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleRealLiteralRule -entryRuleRealLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getRealLiteralRuleRule(), currentNode); } - iv_ruleRealLiteralRule=ruleRealLiteralRule - { $current=$iv_ruleRealLiteralRule.current; } - EOF -; - -// Rule RealLiteralRule -ruleRealLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_REALLITERAL - { - createLeafNode(grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getRealLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "RealLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleDateTimeLiteralRule -entryRuleDateTimeLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDateTimeLiteralRuleRule(), currentNode); } - iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule - { $current=$iv_ruleDateTimeLiteralRule.current; } - EOF -; - -// Rule DateTimeLiteralRule -ruleDateTimeLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_DATETIMELITERAL - { - createLeafNode(grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "DateTimeLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleBooleanLiteralRule -entryRuleBooleanLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRuleRule(), currentNode); } - iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule - { $current=$iv_ruleBooleanLiteralRule.current; } - EOF -; - -// Rule BooleanLiteralRule -ruleBooleanLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_BOOLEANLITERAL - { - createLeafNode(grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "BooleanLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleNullLiteralRule -entryRuleNullLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getNullLiteralRuleRule(), currentNode); } - iv_ruleNullLiteralRule=ruleNullLiteralRule - { $current=$iv_ruleNullLiteralRule.current; } - EOF -; - -// Rule NullLiteralRule -ruleNullLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_NULLLITERAL - { - createLeafNode(grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getNullLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "NullLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleDefaultLiteralRule -entryRuleDefaultLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getDefaultLiteralRuleRule(), currentNode); } - iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule - { $current=$iv_ruleDefaultLiteralRule.current; } - EOF -; - -// Rule DefaultLiteralRule -ruleDefaultLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0= '/' - { - createLeafNode(grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), "value"); - } - - { - if ($current==null) { - $current = factory.create(grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - - try { - set($current, "value", lv_value_0_0, "/", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -// Entry rule entryRuleStringLiteralRule -entryRuleStringLiteralRule returns [EObject current=null] - : - { currentNode = createCompositeNode(grammarAccess.getStringLiteralRuleRule(), currentNode); } - iv_ruleStringLiteralRule=ruleStringLiteralRule - { $current=$iv_ruleStringLiteralRule.current; } - EOF -; - -// Rule StringLiteralRule -ruleStringLiteralRule returns [EObject current=null] - @init { EObject temp=null; setCurrentLookahead(); resetLookahead(); - } - @after { resetLookahead(); - lastConsumedNode = currentNode; - }: -( -( - lv_value_0_0=RULE_STRING - { - createLeafNode(grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), "value"); - } - { - if ($current==null) { - $current = factory.create(grammarAccess.getStringLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, $current); - } - try { - set( - $current, - "value", - lv_value_0_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - } - -) -) -; - - - - - -RULE_INTEGERLITERAL : ('+'|'-')? (('0'..'9')+|'0x' ('0'..'9'|'A'..'F'|'a'..'f')+|'0b' ('0'..'1')+); - -RULE_REALLITERAL : ('+'|'-')? ('0'..'9')+ '.' ('0'..'9')+ ('E' ('+'|'-')? ('0'..'9')+)?; - -RULE_DATETIMELITERAL : (('0'..'1' '0'..'9'|'2' '0'..'3') ':' '0'..'5' '0'..'9' (':' '0'..'5' '0'..'9' (':' '0'..'9' '0'..'9')?)? (' ' '0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')))? (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|'0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')) (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun')); - -RULE_BOOLEANLITERAL : ('true'|'false'); - -RULE_NULLLITERAL : 'null'; - -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -RULE_INT : ('0'..'9')+; - -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -RULE_ANY_OTHER : .; - - diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens deleted file mode 100644 index 63aaea2ace9..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens +++ /dev/null @@ -1,48 +0,0 @@ -RULE_NULLLITERAL=9 -RULE_DATETIMELITERAL=7 -RULE_BOOLEANLITERAL=8 -RULE_ID=4 -RULE_STRING=10 -RULE_ANY_OTHER=15 -RULE_REALLITERAL=6 -RULE_INTEGERLITERAL=5 -RULE_INT=11 -RULE_WS=14 -RULE_SL_COMMENT=13 -RULE_ML_COMMENT=12 -'..'=39 -'out'=50 -'>='=24 -'when'=45 -'=='=19 -'/'=30 -'mod'=31 -'>'=22 -'='=43 -'<>'=20 -'@'=44 -'::'=36 -'+'=27 -'.'=33 -')'=35 -'xor'=18 -'$'=48 -'}'=41 -'jitter('=47 -'inout'=51 -'and'=16 -'{'=40 -'?'=25 -'<='=23 -'<'=21 -':'=26 -'not'=32 -'('=34 -'-'=28 -'or'=17 -'*'=29 -'['=38 -','=42 -'in'=49 -'&'=46 -']'=37 diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java deleted file mode 100644 index a40f1b61ef5..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLLexer.java +++ /dev/null @@ -1,3090 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalVSLLexer extends Lexer { - public static final int RULE_DATETIMELITERAL=7; - public static final int RULE_ID=4; - public static final int RULE_ANY_OTHER=15; - public static final int RULE_REALLITERAL=6; - public static final int T29=29; - public static final int T28=28; - public static final int T27=27; - public static final int T26=26; - public static final int T25=25; - public static final int EOF=-1; - public static final int T24=24; - public static final int T23=23; - public static final int T22=22; - public static final int T21=21; - public static final int T20=20; - public static final int RULE_BOOLEANLITERAL=8; - public static final int RULE_INT=11; - public static final int T38=38; - public static final int T37=37; - public static final int T39=39; - public static final int T34=34; - public static final int T33=33; - public static final int T36=36; - public static final int T35=35; - public static final int T30=30; - public static final int T32=32; - public static final int T31=31; - public static final int RULE_NULLLITERAL=9; - public static final int RULE_INTEGERLITERAL=5; - public static final int T49=49; - public static final int T48=48; - public static final int T43=43; - public static final int Tokens=52; - public static final int RULE_SL_COMMENT=13; - public static final int T42=42; - public static final int T41=41; - public static final int T40=40; - public static final int T47=47; - public static final int T46=46; - public static final int T45=45; - public static final int RULE_ML_COMMENT=12; - public static final int T44=44; - public static final int RULE_STRING=10; - public static final int T50=50; - public static final int RULE_WS=14; - public static final int T51=51; - public static final int T16=16; - public static final int T17=17; - public static final int T18=18; - public static final int T19=19; - public InternalVSLLexer() {;} - public InternalVSLLexer(CharStream input) { - super(input); - } - public String getGrammarFileName() { return "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g"; } - - // $ANTLR start T16 - public final void mT16() throws RecognitionException { - try { - int _type = T16; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:10:5: ( 'and' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:10:7: 'and' - { - match("and"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T16 - - // $ANTLR start T17 - public final void mT17() throws RecognitionException { - try { - int _type = T17; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:11:5: ( 'or' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:11:7: 'or' - { - match("or"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T17 - - // $ANTLR start T18 - public final void mT18() throws RecognitionException { - try { - int _type = T18; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:12:5: ( 'xor' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:12:7: 'xor' - { - match("xor"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T18 - - // $ANTLR start T19 - public final void mT19() throws RecognitionException { - try { - int _type = T19; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:13:5: ( '==' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:13:7: '==' - { - match("=="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T19 - - // $ANTLR start T20 - public final void mT20() throws RecognitionException { - try { - int _type = T20; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:14:5: ( '<>' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:14:7: '<>' - { - match("<>"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T20 - - // $ANTLR start T21 - public final void mT21() throws RecognitionException { - try { - int _type = T21; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:15:5: ( '<' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:15:7: '<' - { - match('<'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T21 - - // $ANTLR start T22 - public final void mT22() throws RecognitionException { - try { - int _type = T22; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:16:5: ( '>' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:16:7: '>' - { - match('>'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T22 - - // $ANTLR start T23 - public final void mT23() throws RecognitionException { - try { - int _type = T23; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:17:5: ( '<=' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:17:7: '<=' - { - match("<="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T23 - - // $ANTLR start T24 - public final void mT24() throws RecognitionException { - try { - int _type = T24; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:18:5: ( '>=' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:18:7: '>=' - { - match(">="); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T24 - - // $ANTLR start T25 - public final void mT25() throws RecognitionException { - try { - int _type = T25; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:19:5: ( '?' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:19:7: '?' - { - match('?'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T25 - - // $ANTLR start T26 - public final void mT26() throws RecognitionException { - try { - int _type = T26; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:20:5: ( ':' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:20:7: ':' - { - match(':'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T26 - - // $ANTLR start T27 - public final void mT27() throws RecognitionException { - try { - int _type = T27; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:21:5: ( '+' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:21:7: '+' - { - match('+'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T27 - - // $ANTLR start T28 - public final void mT28() throws RecognitionException { - try { - int _type = T28; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:22:5: ( '-' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:22:7: '-' - { - match('-'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T28 - - // $ANTLR start T29 - public final void mT29() throws RecognitionException { - try { - int _type = T29; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:23:5: ( '*' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:23:7: '*' - { - match('*'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T29 - - // $ANTLR start T30 - public final void mT30() throws RecognitionException { - try { - int _type = T30; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:24:5: ( '/' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:24:7: '/' - { - match('/'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T30 - - // $ANTLR start T31 - public final void mT31() throws RecognitionException { - try { - int _type = T31; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:25:5: ( 'mod' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:25:7: 'mod' - { - match("mod"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T31 - - // $ANTLR start T32 - public final void mT32() throws RecognitionException { - try { - int _type = T32; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:26:5: ( 'not' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:26:7: 'not' - { - match("not"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T32 - - // $ANTLR start T33 - public final void mT33() throws RecognitionException { - try { - int _type = T33; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:27:5: ( '.' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:27:7: '.' - { - match('.'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T33 - - // $ANTLR start T34 - public final void mT34() throws RecognitionException { - try { - int _type = T34; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:28:5: ( '(' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:28:7: '(' - { - match('('); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T34 - - // $ANTLR start T35 - public final void mT35() throws RecognitionException { - try { - int _type = T35; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:29:5: ( ')' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:29:7: ')' - { - match(')'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T35 - - // $ANTLR start T36 - public final void mT36() throws RecognitionException { - try { - int _type = T36; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:30:5: ( '::' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:30:7: '::' - { - match("::"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T36 - - // $ANTLR start T37 - public final void mT37() throws RecognitionException { - try { - int _type = T37; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:31:5: ( ']' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:31:7: ']' - { - match(']'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T37 - - // $ANTLR start T38 - public final void mT38() throws RecognitionException { - try { - int _type = T38; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:32:5: ( '[' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:32:7: '[' - { - match('['); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T38 - - // $ANTLR start T39 - public final void mT39() throws RecognitionException { - try { - int _type = T39; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:33:5: ( '..' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:33:7: '..' - { - match(".."); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T39 - - // $ANTLR start T40 - public final void mT40() throws RecognitionException { - try { - int _type = T40; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:34:5: ( '{' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:34:7: '{' - { - match('{'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T40 - - // $ANTLR start T41 - public final void mT41() throws RecognitionException { - try { - int _type = T41; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:35:5: ( '}' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:35:7: '}' - { - match('}'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T41 - - // $ANTLR start T42 - public final void mT42() throws RecognitionException { - try { - int _type = T42; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:36:5: ( ',' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:36:7: ',' - { - match(','); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T42 - - // $ANTLR start T43 - public final void mT43() throws RecognitionException { - try { - int _type = T43; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:37:5: ( '=' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:37:7: '=' - { - match('='); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T43 - - // $ANTLR start T44 - public final void mT44() throws RecognitionException { - try { - int _type = T44; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:38:5: ( '@' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:38:7: '@' - { - match('@'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T44 - - // $ANTLR start T45 - public final void mT45() throws RecognitionException { - try { - int _type = T45; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:39:5: ( 'when' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:39:7: 'when' - { - match("when"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T45 - - // $ANTLR start T46 - public final void mT46() throws RecognitionException { - try { - int _type = T46; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:40:5: ( '&' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:40:7: '&' - { - match('&'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T46 - - // $ANTLR start T47 - public final void mT47() throws RecognitionException { - try { - int _type = T47; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:41:5: ( 'jitter(' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:41:7: 'jitter(' - { - match("jitter("); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T47 - - // $ANTLR start T48 - public final void mT48() throws RecognitionException { - try { - int _type = T48; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:42:5: ( '$' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:42:7: '$' - { - match('$'); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T48 - - // $ANTLR start T49 - public final void mT49() throws RecognitionException { - try { - int _type = T49; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:43:5: ( 'in' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:43:7: 'in' - { - match("in"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T49 - - // $ANTLR start T50 - public final void mT50() throws RecognitionException { - try { - int _type = T50; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:44:5: ( 'out' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:44:7: 'out' - { - match("out"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T50 - - // $ANTLR start T51 - public final void mT51() throws RecognitionException { - try { - int _type = T51; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:45:5: ( 'inout' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:45:7: 'inout' - { - match("inout"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end T51 - - // $ANTLR start RULE_INTEGERLITERAL - public final void mRULE_INTEGERLITERAL() throws RecognitionException { - try { - int _type = RULE_INTEGERLITERAL; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:21: ( ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:23: ( '+' | '-' )? ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:23: ( '+' | '-' )? - int alt1=2; - int LA1_0 = input.LA(1); - - if ( (LA1_0=='+'||LA1_0=='-') ) { - alt1=1; - } - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:34: ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ ) - int alt5=3; - int LA5_0 = input.LA(1); - - if ( (LA5_0=='0') ) { - switch ( input.LA(2) ) { - case 'b': - { - alt5=3; - } - break; - case 'x': - { - alt5=2; - } - break; - default: - alt5=1;} - - } - else if ( ((LA5_0>='1' && LA5_0<='9')) ) { - alt5=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3290:34: ( ( '0' .. '9' )+ | '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ | '0b' ( '0' .. '1' )+ )", 5, 0, input); - - throw nvae; - } - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:35: ( '0' .. '9' )+ - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:35: ( '0' .. '9' )+ - int cnt2=0; - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>='0' && LA2_0<='9')) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:36: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt2 >= 1 ) break loop2; - EarlyExitException eee = - new EarlyExitException(2, input); - throw eee; - } - cnt2++; - } while (true); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:47: '0x' ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ - { - match("0x"); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:52: ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' )+ - int cnt3=0; - loop3: - do { - int alt3=2; - int LA3_0 = input.LA(1); - - if ( ((LA3_0>='0' && LA3_0<='9')||(LA3_0>='A' && LA3_0<='F')||(LA3_0>='a' && LA3_0<='f')) ) { - alt3=1; - } - - - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - if ( cnt3 >= 1 ) break loop3; - EarlyExitException eee = - new EarlyExitException(3, input); - throw eee; - } - cnt3++; - } while (true); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:82: '0b' ( '0' .. '1' )+ - { - match("0b"); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:87: ( '0' .. '1' )+ - int cnt4=0; - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>='0' && LA4_0<='1')) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3290:88: '0' .. '1' - { - matchRange('0','1'); - - } - break; - - default : - if ( cnt4 >= 1 ) break loop4; - EarlyExitException eee = - new EarlyExitException(4, input); - throw eee; - } - cnt4++; - } while (true); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_INTEGERLITERAL - - // $ANTLR start RULE_REALLITERAL - public final void mRULE_REALLITERAL() throws RecognitionException { - try { - int _type = RULE_REALLITERAL; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:18: ( ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:20: ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )+ ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:20: ( '+' | '-' )? - int alt6=2; - int LA6_0 = input.LA(1); - - if ( (LA6_0=='+'||LA6_0=='-') ) { - alt6=1; - } - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:31: ( '0' .. '9' )+ - int cnt7=0; - loop7: - do { - int alt7=2; - int LA7_0 = input.LA(1); - - if ( ((LA7_0>='0' && LA7_0<='9')) ) { - alt7=1; - } - - - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:32: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt7 >= 1 ) break loop7; - EarlyExitException eee = - new EarlyExitException(7, input); - throw eee; - } - cnt7++; - } while (true); - - match('.'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:47: ( '0' .. '9' )+ - int cnt8=0; - loop8: - do { - int alt8=2; - int LA8_0 = input.LA(1); - - if ( ((LA8_0>='0' && LA8_0<='9')) ) { - alt8=1; - } - - - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:48: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt8 >= 1 ) break loop8; - EarlyExitException eee = - new EarlyExitException(8, input); - throw eee; - } - cnt8++; - } while (true); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:59: ( 'E' ( '+' | '-' )? ( '0' .. '9' )+ )? - int alt11=2; - int LA11_0 = input.LA(1); - - if ( (LA11_0=='E') ) { - alt11=1; - } - switch (alt11) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:60: 'E' ( '+' | '-' )? ( '0' .. '9' )+ - { - match('E'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:64: ( '+' | '-' )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0=='+'||LA9_0=='-') ) { - alt9=1; - } - switch (alt9) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( input.LA(1)=='+'||input.LA(1)=='-' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:75: ( '0' .. '9' )+ - int cnt10=0; - loop10: - do { - int alt10=2; - int LA10_0 = input.LA(1); - - if ( ((LA10_0>='0' && LA10_0<='9')) ) { - alt10=1; - } - - - switch (alt10) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3292:76: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt10 >= 1 ) break loop10; - EarlyExitException eee = - new EarlyExitException(10, input); - throw eee; - } - cnt10++; - } while (true); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_REALLITERAL - - // $ANTLR start RULE_DATETIMELITERAL - public final void mRULE_DATETIMELITERAL() throws RecognitionException { - try { - int _type = RULE_DATETIMELITERAL; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:22: ( ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) ) - int alt25=3; - switch ( input.LA(1) ) { - case '0': - case '1': - { - int LA25_1 = input.LA(2); - - if ( ((LA25_1>='0' && LA25_1<='9')) ) { - int LA25_5 = input.LA(3); - - if ( ((LA25_5>='0' && LA25_5<='9')) ) { - alt25=2; - } - else if ( (LA25_5==':') ) { - alt25=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 5, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 1, input); - - throw nvae; - } - } - break; - case '2': - { - int LA25_2 = input.LA(2); - - if ( ((LA25_2>='0' && LA25_2<='3')) ) { - int LA25_6 = input.LA(3); - - if ( ((LA25_6>='0' && LA25_6<='9')) ) { - alt25=2; - } - else if ( (LA25_6==':') ) { - alt25=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 6, input); - - throw nvae; - } - } - else if ( ((LA25_2>='4' && LA25_2<='9')) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 2, input); - - throw nvae; - } - } - break; - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - { - alt25=2; - } - break; - case 'F': - case 'M': - case 'S': - case 'T': - case 'W': - { - alt25=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3294:24: ( ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? | ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )", 25, 0, input); - - throw nvae; - } - - switch (alt25) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' ) - int alt12=2; - int LA12_0 = input.LA(1); - - if ( ((LA12_0>='0' && LA12_0<='1')) ) { - alt12=1; - } - else if ( (LA12_0=='2') ) { - alt12=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:25: ( '0' .. '1' '0' .. '9' | '2' '0' .. '3' )", 12, 0, input); - - throw nvae; - } - switch (alt12) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:26: '0' .. '1' '0' .. '9' - { - matchRange('0','1'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:44: '2' '0' .. '3' - { - match('2'); - matchRange('0','3'); - - } - break; - - } - - match(':'); - matchRange('0','5'); - matchRange('0','9'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:80: ( ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==':') ) { - alt14=1; - } - switch (alt14) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:81: ':' '0' .. '5' '0' .. '9' ( ':' '0' .. '9' '0' .. '9' )? - { - match(':'); - matchRange('0','5'); - matchRange('0','9'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:103: ( ':' '0' .. '9' '0' .. '9' )? - int alt13=2; - int LA13_0 = input.LA(1); - - if ( (LA13_0==':') ) { - alt13=1; - } - switch (alt13) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:104: ':' '0' .. '9' '0' .. '9' - { - match(':'); - matchRange('0','9'); - matchRange('0','9'); - - } - break; - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:130: ( ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==' ') ) { - int LA17_1 = input.LA(2); - - if ( ((LA17_1>='0' && LA17_1<='9')) ) { - alt17=1; - } - } - switch (alt17) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:131: ' ' '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - { - match(' '); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - match('/'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:175: ( '0' '0' .. '9' | '1' '0' .. '2' ) - int alt15=2; - int LA15_0 = input.LA(1); - - if ( (LA15_0=='0') ) { - alt15=1; - } - else if ( (LA15_0=='1') ) { - alt15=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:175: ( '0' '0' .. '9' | '1' '0' .. '2' )", 15, 0, input); - - throw nvae; - } - switch (alt15) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:176: '0' '0' .. '9' - { - match('0'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:189: '1' '0' .. '2' - { - match('1'); - matchRange('0','2'); - - } - break; - - } - - match('/'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:207: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( ((LA16_0>='0' && LA16_0<='2')) ) { - alt16=1; - } - else if ( (LA16_0=='3') ) { - alt16=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:207: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:208: '0' .. '2' '0' .. '9' - { - matchRange('0','2'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:226: '3' ( '0' | '1' ) - { - match('3'); - if ( (input.LA(1)>='0' && input.LA(1)<='1') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:243: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==' ') ) { - alt19=1; - } - switch (alt19) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:244: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - match(' '); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt18=7; - switch ( input.LA(1) ) { - case 'M': - { - alt18=1; - } - break; - case 'T': - { - int LA18_2 = input.LA(2); - - if ( (LA18_2=='h') ) { - alt18=4; - } - else if ( (LA18_2=='u') ) { - alt18=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt18=3; - } - break; - case 'F': - { - alt18=5; - } - break; - case 'S': - { - int LA18_5 = input.LA(2); - - if ( (LA18_5=='u') ) { - alt18=7; - } - else if ( (LA18_5=='a') ) { - alt18=6; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3294:248: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 18, 0, input); - - throw nvae; - } - - switch (alt18) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:249: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:255: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:261: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:267: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:273: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:279: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:285: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:294: '0' .. '9' '0' .. '9' '0' .. '9' '0' .. '9' '/' ( '0' '0' .. '9' | '1' '0' .. '2' ) '/' ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - { - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - matchRange('0','9'); - match('/'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:334: ( '0' '0' .. '9' | '1' '0' .. '2' ) - int alt20=2; - int LA20_0 = input.LA(1); - - if ( (LA20_0=='0') ) { - alt20=1; - } - else if ( (LA20_0=='1') ) { - alt20=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:334: ( '0' '0' .. '9' | '1' '0' .. '2' )", 20, 0, input); - - throw nvae; - } - switch (alt20) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:335: '0' '0' .. '9' - { - match('0'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:348: '1' '0' .. '2' - { - match('1'); - matchRange('0','2'); - - } - break; - - } - - match('/'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:366: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) ) - int alt21=2; - int LA21_0 = input.LA(1); - - if ( ((LA21_0>='0' && LA21_0<='2')) ) { - alt21=1; - } - else if ( (LA21_0=='3') ) { - alt21=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:366: ( '0' .. '2' '0' .. '9' | '3' ( '0' | '1' ) )", 21, 0, input); - - throw nvae; - } - switch (alt21) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:367: '0' .. '2' '0' .. '9' - { - matchRange('0','2'); - matchRange('0','9'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:385: '3' ( '0' | '1' ) - { - match('3'); - if ( (input.LA(1)>='0' && input.LA(1)<='1') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:400: ( ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) )? - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==' ') ) { - alt23=1; - } - switch (alt23) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:401: ' ' ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - match(' '); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt22=7; - switch ( input.LA(1) ) { - case 'M': - { - alt22=1; - } - break; - case 'T': - { - int LA22_2 = input.LA(2); - - if ( (LA22_2=='u') ) { - alt22=2; - } - else if ( (LA22_2=='h') ) { - alt22=4; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt22=3; - } - break; - case 'F': - { - alt22=5; - } - break; - case 'S': - { - int LA22_5 = input.LA(2); - - if ( (LA22_5=='a') ) { - alt22=6; - } - else if ( (LA22_5=='u') ) { - alt22=7; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3294:405: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 22, 0, input); - - throw nvae; - } - - switch (alt22) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:406: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:412: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:418: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:424: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:430: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:436: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:442: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' ) - int alt24=7; - switch ( input.LA(1) ) { - case 'M': - { - alt24=1; - } - break; - case 'T': - { - int LA24_2 = input.LA(2); - - if ( (LA24_2=='h') ) { - alt24=4; - } - else if ( (LA24_2=='u') ) { - alt24=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 2, input); - - throw nvae; - } - } - break; - case 'W': - { - alt24=3; - } - break; - case 'F': - { - alt24=5; - } - break; - case 'S': - { - int LA24_5 = input.LA(2); - - if ( (LA24_5=='a') ) { - alt24=6; - } - else if ( (LA24_5=='u') ) { - alt24=7; - } - else { - NoViableAltException nvae = - new NoViableAltException("3294:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 5, input); - - throw nvae; - } - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("3294:451: ( 'Mon' | 'Tue' | 'Wed' | 'Thr' | 'Fri' | 'Sat' | 'Sun' )", 24, 0, input); - - throw nvae; - } - - switch (alt24) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:452: 'Mon' - { - match("Mon"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:458: 'Tue' - { - match("Tue"); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:464: 'Wed' - { - match("Wed"); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:470: 'Thr' - { - match("Thr"); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:476: 'Fri' - { - match("Fri"); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:482: 'Sat' - { - match("Sat"); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3294:488: 'Sun' - { - match("Sun"); - - - } - break; - - } - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_DATETIMELITERAL - - // $ANTLR start RULE_BOOLEANLITERAL - public final void mRULE_BOOLEANLITERAL() throws RecognitionException { - try { - int _type = RULE_BOOLEANLITERAL; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3296:21: ( ( 'true' | 'false' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3296:23: ( 'true' | 'false' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3296:23: ( 'true' | 'false' ) - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0=='t') ) { - alt26=1; - } - else if ( (LA26_0=='f') ) { - alt26=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3296:23: ( 'true' | 'false' )", 26, 0, input); - - throw nvae; - } - switch (alt26) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3296:24: 'true' - { - match("true"); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3296:31: 'false' - { - match("false"); - - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_BOOLEANLITERAL - - // $ANTLR start RULE_NULLLITERAL - public final void mRULE_NULLLITERAL() throws RecognitionException { - try { - int _type = RULE_NULLLITERAL; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3298:18: ( 'null' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3298:20: 'null' - { - match("null"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_NULLLITERAL - - // $ANTLR start RULE_ID - public final void mRULE_ID() throws RecognitionException { - try { - int _type = RULE_ID; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3300:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3300:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3300:11: ( '^' )? - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0=='^') ) { - alt27=1; - } - switch (alt27) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3300:11: '^' - { - match('^'); - - } - break; - - } - - if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3300:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( ((LA28_0>='0' && LA28_0<='9')||(LA28_0>='A' && LA28_0<='Z')||LA28_0=='_'||(LA28_0>='a' && LA28_0<='z')) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop28; - } - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ID - - // $ANTLR start RULE_INT - public final void mRULE_INT() throws RecognitionException { - try { - int _type = RULE_INT; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3302:10: ( ( '0' .. '9' )+ ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3302:12: ( '0' .. '9' )+ - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3302:12: ( '0' .. '9' )+ - int cnt29=0; - loop29: - do { - int alt29=2; - int LA29_0 = input.LA(1); - - if ( ((LA29_0>='0' && LA29_0<='9')) ) { - alt29=1; - } - - - switch (alt29) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3302:13: '0' .. '9' - { - matchRange('0','9'); - - } - break; - - default : - if ( cnt29 >= 1 ) break loop29; - EarlyExitException eee = - new EarlyExitException(29, input); - throw eee; - } - cnt29++; - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_INT - - // $ANTLR start RULE_STRING - public final void mRULE_STRING() throws RecognitionException { - try { - int _type = RULE_STRING; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:13: ( ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0=='\"') ) { - alt32=1; - } - else if ( (LA32_0=='\'') ) { - alt32=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("3304:15: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' )", 32, 0, input); - - throw nvae; - } - switch (alt32) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:16: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* '\"' - { - match('\"'); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:20: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )* - loop30: - do { - int alt30=3; - int LA30_0 = input.LA(1); - - if ( (LA30_0=='\\') ) { - alt30=1; - } - else if ( ((LA30_0>='\u0000' && LA30_0<='!')||(LA30_0>='#' && LA30_0<='[')||(LA30_0>=']' && LA30_0<='\uFFFE')) ) { - alt30=2; - } - - - switch (alt30) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:21: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - 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.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:62: ~ ( ( '\\\\' | '\"' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop30; - } - } while (true); - - match('\"'); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:82: '\\'' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' - { - match('\''); - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:87: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\\'' ) ) )* - loop31: - do { - int alt31=3; - int LA31_0 = input.LA(1); - - if ( (LA31_0=='\\') ) { - alt31=1; - } - else if ( ((LA31_0>='\u0000' && LA31_0<='&')||(LA31_0>='(' && LA31_0<='[')||(LA31_0>=']' && LA31_0<='\uFFFE')) ) { - alt31=2; - } - - - switch (alt31) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:88: '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) - { - 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.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3304:129: ~ ( ( '\\\\' | '\\'' ) ) - { - if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFE') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop31; - } - } while (true); - - match('\''); - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_STRING - - // $ANTLR start RULE_ML_COMMENT - public final void mRULE_ML_COMMENT() throws RecognitionException { - try { - int _type = RULE_ML_COMMENT; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3306:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3306:19: '/*' ( options {greedy=false; } : . )* '*/' - { - match("/*"); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3306:24: ( options {greedy=false; } : . )* - loop33: - do { - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0=='*') ) { - int LA33_1 = input.LA(2); - - if ( (LA33_1=='/') ) { - alt33=2; - } - else if ( ((LA33_1>='\u0000' && LA33_1<='.')||(LA33_1>='0' && LA33_1<='\uFFFE')) ) { - alt33=1; - } - - - } - else if ( ((LA33_0>='\u0000' && LA33_0<=')')||(LA33_0>='+' && LA33_0<='\uFFFE')) ) { - alt33=1; - } - - - switch (alt33) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3306:52: . - { - matchAny(); - - } - break; - - default : - break loop33; - } - } while (true); - - match("*/"); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ML_COMMENT - - // $ANTLR start RULE_SL_COMMENT - public final void mRULE_SL_COMMENT() throws RecognitionException { - try { - int _type = RULE_SL_COMMENT; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? - { - match("//"); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:24: (~ ( ( '\\n' | '\\r' ) ) )* - loop34: - do { - int alt34=2; - int LA34_0 = input.LA(1); - - if ( ((LA34_0>='\u0000' && LA34_0<='\t')||(LA34_0>='\u000B' && LA34_0<='\f')||(LA34_0>='\u000E' && LA34_0<='\uFFFE')) ) { - alt34=1; - } - - - switch (alt34) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308: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)<='\uFFFE') ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - break loop34; - } - } while (true); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:40: ( ( '\\r' )? '\\n' )? - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0=='\n'||LA36_0=='\r') ) { - alt36=1; - } - switch (alt36) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:41: ( '\\r' )? '\\n' - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:41: ( '\\r' )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0=='\r') ) { - alt35=1; - } - switch (alt35) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3308:41: '\\r' - { - match('\r'); - - } - break; - - } - - match('\n'); - - } - break; - - } - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_SL_COMMENT - - // $ANTLR start RULE_WS - public final void mRULE_WS() throws RecognitionException { - try { - int _type = RULE_WS; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3310:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3310:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ - int cnt37=0; - loop37: - do { - int alt37=2; - int LA37_0 = input.LA(1); - - if ( ((LA37_0>='\t' && LA37_0<='\n')||LA37_0=='\r'||LA37_0==' ') ) { - alt37=1; - } - - - switch (alt37) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g: - { - if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { - input.consume(); - - } - else { - MismatchedSetException mse = - new MismatchedSetException(null,input); - recover(mse); throw mse; - } - - - } - break; - - default : - if ( cnt37 >= 1 ) break loop37; - EarlyExitException eee = - new EarlyExitException(37, input); - throw eee; - } - cnt37++; - } while (true); - - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_WS - - // $ANTLR start RULE_ANY_OTHER - public final void mRULE_ANY_OTHER() throws RecognitionException { - try { - int _type = RULE_ANY_OTHER; - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3312:16: ( . ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3312:18: . - { - matchAny(); - - } - - this.type = _type; - } - finally { - } - } - // $ANTLR end RULE_ANY_OTHER - - public void mTokens() throws RecognitionException { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:8: ( T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | RULE_INTEGERLITERAL | RULE_REALLITERAL | RULE_DATETIMELITERAL | RULE_BOOLEANLITERAL | RULE_NULLLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) - int alt38=48; - alt38 = dfa38.predict(input); - switch (alt38) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:10: T16 - { - mT16(); - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:14: T17 - { - mT17(); - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:18: T18 - { - mT18(); - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:22: T19 - { - mT19(); - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:26: T20 - { - mT20(); - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:30: T21 - { - mT21(); - - } - break; - case 7 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:34: T22 - { - mT22(); - - } - break; - case 8 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:38: T23 - { - mT23(); - - } - break; - case 9 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:42: T24 - { - mT24(); - - } - break; - case 10 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:46: T25 - { - mT25(); - - } - break; - case 11 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:50: T26 - { - mT26(); - - } - break; - case 12 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:54: T27 - { - mT27(); - - } - break; - case 13 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:58: T28 - { - mT28(); - - } - break; - case 14 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:62: T29 - { - mT29(); - - } - break; - case 15 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:66: T30 - { - mT30(); - - } - break; - case 16 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:70: T31 - { - mT31(); - - } - break; - case 17 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:74: T32 - { - mT32(); - - } - break; - case 18 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:78: T33 - { - mT33(); - - } - break; - case 19 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:82: T34 - { - mT34(); - - } - break; - case 20 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:86: T35 - { - mT35(); - - } - break; - case 21 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:90: T36 - { - mT36(); - - } - break; - case 22 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:94: T37 - { - mT37(); - - } - break; - case 23 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:98: T38 - { - mT38(); - - } - break; - case 24 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:102: T39 - { - mT39(); - - } - break; - case 25 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:106: T40 - { - mT40(); - - } - break; - case 26 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:110: T41 - { - mT41(); - - } - break; - case 27 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:114: T42 - { - mT42(); - - } - break; - case 28 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:118: T43 - { - mT43(); - - } - break; - case 29 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:122: T44 - { - mT44(); - - } - break; - case 30 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:126: T45 - { - mT45(); - - } - break; - case 31 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:130: T46 - { - mT46(); - - } - break; - case 32 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:134: T47 - { - mT47(); - - } - break; - case 33 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:138: T48 - { - mT48(); - - } - break; - case 34 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:142: T49 - { - mT49(); - - } - break; - case 35 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:146: T50 - { - mT50(); - - } - break; - case 36 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:150: T51 - { - mT51(); - - } - break; - case 37 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:154: RULE_INTEGERLITERAL - { - mRULE_INTEGERLITERAL(); - - } - break; - case 38 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:174: RULE_REALLITERAL - { - mRULE_REALLITERAL(); - - } - break; - case 39 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:191: RULE_DATETIMELITERAL - { - mRULE_DATETIMELITERAL(); - - } - break; - case 40 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:212: RULE_BOOLEANLITERAL - { - mRULE_BOOLEANLITERAL(); - - } - break; - case 41 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:232: RULE_NULLLITERAL - { - mRULE_NULLLITERAL(); - - } - break; - case 42 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:249: RULE_ID - { - mRULE_ID(); - - } - break; - case 43 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:257: RULE_INT - { - mRULE_INT(); - - } - break; - case 44 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:266: RULE_STRING - { - mRULE_STRING(); - - } - break; - case 45 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:278: RULE_ML_COMMENT - { - mRULE_ML_COMMENT(); - - } - break; - case 46 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:294: RULE_SL_COMMENT - { - mRULE_SL_COMMENT(); - - } - break; - case 47 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:310: RULE_WS - { - mRULE_WS(); - - } - break; - case 48 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1:318: RULE_ANY_OTHER - { - mRULE_ANY_OTHER(); - - } - break; - - } - - } - - - protected DFA38 dfa38 = new DFA38(this); - static final String DFA38_eotS = - "\1\uffff\3\57\1\64\1\67\1\71\1\uffff\1\74\1\75\1\100\1\uffff\1\104"+ - "\2\57\1\111\10\uffff\1\57\1\uffff\1\57\1\uffff\1\57\4\127\7\57\1"+ - "\55\1\uffff\2\55\2\uffff\1\57\1\uffff\1\150\2\57\13\uffff\2\127"+ - "\5\uffff\3\57\12\uffff\1\57\1\uffff\1\57\1\uffff\1\161\1\uffff\1"+ - "\127\1\uffff\2\127\11\57\2\uffff\1\175\1\uffff\1\176\1\177\1\u0080"+ - "\1\u0081\4\57\1\uffff\1\127\1\uffff\7\163\2\57\5\uffff\1\u0089\1"+ - "\u008a\2\57\1\127\1\u008e\1\57\2\uffff\1\57\1\u0091\1\127\1\uffff"+ - "\1\u008e\1\57\2\uffff"; - static final String DFA38_eofS = - "\u0093\uffff"; - static final String DFA38_minS = - "\1\0\1\156\1\162\1\157\3\75\1\uffff\1\72\2\60\1\uffff\1\52\2\157"+ - "\1\56\10\uffff\1\150\1\uffff\1\151\1\uffff\1\156\4\56\1\157\1\150"+ - "\1\145\1\162\1\141\1\162\1\141\1\101\1\uffff\2\0\2\uffff\1\144\1"+ - "\uffff\1\60\1\164\1\162\13\uffff\2\56\5\uffff\1\144\1\164\1\154"+ - "\12\uffff\1\145\1\uffff\1\164\1\uffff\1\60\1\uffff\1\56\1\uffff"+ - "\2\56\1\156\1\145\1\162\1\144\1\151\1\164\1\156\1\165\1\154\2\uffff"+ - "\1\60\1\uffff\4\60\1\154\1\156\1\164\1\165\1\uffff\1\56\1\uffff"+ - "\7\60\1\145\1\163\5\uffff\2\60\1\145\1\164\1\56\1\60\1\145\2\uffff"+ - "\1\162\1\60\1\56\1\uffff\1\60\1\50\2\uffff"; - static final String DFA38_maxS = - "\1\ufffe\1\156\1\165\1\157\1\75\1\76\1\75\1\uffff\1\72\2\71\1\uffff"+ - "\1\57\1\157\1\165\1\56\10\uffff\1\150\1\uffff\1\151\1\uffff\1\156"+ - "\4\71\1\157\1\165\1\145\1\162\1\165\1\162\1\141\1\172\1\uffff\2"+ - "\ufffe\2\uffff\1\144\1\uffff\1\172\1\164\1\162\13\uffff\2\71\5\uffff"+ - "\1\144\1\164\1\154\12\uffff\1\145\1\uffff\1\164\1\uffff\1\172\1"+ - "\uffff\1\72\1\uffff\1\72\1\71\1\156\1\145\1\162\1\144\1\151\1\164"+ - "\1\156\1\165\1\154\2\uffff\1\172\1\uffff\4\172\1\154\1\156\1\164"+ - "\1\165\1\uffff\1\71\1\uffff\7\172\1\145\1\163\5\uffff\2\172\1\145"+ - "\1\164\1\71\1\172\1\145\2\uffff\1\162\1\172\1\71\1\uffff\1\172\1"+ - "\50\2\uffff"; - static final String DFA38_acceptS = - "\7\uffff\1\12\3\uffff\1\16\4\uffff\1\23\1\24\1\26\1\27\1\31\1\32"+ - "\1\33\1\35\1\uffff\1\37\1\uffff\1\41\15\uffff\1\52\2\uffff\1\57"+ - "\1\60\1\uffff\1\52\3\uffff\1\4\1\34\1\10\1\5\1\6\1\11\1\7\1\12\1"+ - "\25\1\13\1\14\2\uffff\1\15\1\16\1\56\1\55\1\17\3\uffff\1\30\1\22"+ - "\1\23\1\24\1\26\1\27\1\31\1\32\1\33\1\35\1\uffff\1\37\1\uffff\1"+ - "\41\1\uffff\1\45\1\uffff\1\46\13\uffff\1\54\1\57\1\uffff\1\2\10"+ - "\uffff\1\42\1\uffff\1\47\11\uffff\1\1\1\43\1\3\1\20\1\21\7\uffff"+ - "\1\51\1\36\3\uffff\1\50\2\uffff\1\44\1\40"; - static final String DFA38_specialS = - "\u0093\uffff}>"; - static final String[] DFA38_transitionS = { - "\11\55\2\54\2\55\1\54\22\55\1\54\1\55\1\52\1\55\1\33\1\55\1"+ - "\31\1\53\1\20\1\21\1\13\1\11\1\26\1\12\1\17\1\14\1\35\1\36\1"+ - "\37\7\40\1\10\1\55\1\5\1\4\1\6\1\7\1\27\5\51\1\44\6\51\1\41"+ - "\5\51\1\45\1\42\2\51\1\43\3\51\1\23\1\55\1\22\1\50\1\51\1\55"+ - "\1\1\4\51\1\47\2\51\1\34\1\32\2\51\1\15\1\16\1\2\4\51\1\46\2"+ - "\51\1\30\1\3\2\51\1\24\1\55\1\25\uff81\55", - "\1\56", - "\1\60\2\uffff\1\61", - "\1\62", - "\1\63", - "\1\65\1\66", - "\1\70", - "", - "\1\73", - "\1\76\11\77", - "\1\76\11\77", - "", - "\1\103\4\uffff\1\102", - "\1\105", - "\1\106\5\uffff\1\107", - "\1\110", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\122", - "", - "\1\124", - "", - "\1\126", - "\1\131\1\uffff\12\130", - "\1\131\1\uffff\12\130", - "\1\131\1\uffff\4\132\6\133", - "\1\131\1\uffff\12\133", - "\1\134", - "\1\136\14\uffff\1\135", - "\1\137", - "\1\140", - "\1\141\23\uffff\1\142", - "\1\143", - "\1\144", - "\32\57\4\uffff\1\57\1\uffff\32\57", - "", - "\uffff\145", - "\uffff\145", - "", - "", - "\1\147", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\151", - "\1\152", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\131\1\uffff\12\77", - "\1\131\1\uffff\12\77", - "", - "", - "", - "", - "", - "\1\153", - "\1\154", - "\1\155", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "\1\156", - "", - "\1\157", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\16\57\1\160\13\57", - "", - "\1\131\1\uffff\12\162\1\163", - "", - "\1\131\1\uffff\12\162\1\163", - "\1\131\1\uffff\12\162", - "\1\164", - "\1\165", - "\1\166", - "\1\167", - "\1\170", - "\1\171", - "\1\172", - "\1\173", - "\1\174", - "", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\u0082", - "\1\u0083", - "\1\u0084", - "\1\u0085", - "", - "\1\131\1\uffff\12\u0086", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\u0087", - "\1\u0088", - "", - "", - "", - "", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\u008b", - "\1\u008c", - "\1\131\1\163\12\u008d", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\u008f", - "", - "", - "\1\u0090", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\131\1\uffff\12\u008d", - "", - "\12\57\7\uffff\32\57\4\uffff\1\57\1\uffff\32\57", - "\1\u0092", - "", - "" - }; - - static final short[] DFA38_eot = DFA.unpackEncodedString(DFA38_eotS); - static final short[] DFA38_eof = DFA.unpackEncodedString(DFA38_eofS); - static final char[] DFA38_min = DFA.unpackEncodedStringToUnsignedChars(DFA38_minS); - static final char[] DFA38_max = DFA.unpackEncodedStringToUnsignedChars(DFA38_maxS); - static final short[] DFA38_accept = DFA.unpackEncodedString(DFA38_acceptS); - static final short[] DFA38_special = DFA.unpackEncodedString(DFA38_specialS); - static final short[][] DFA38_transition; - - static { - int numStates = DFA38_transitionS.length; - DFA38_transition = new short[numStates][]; - for (int i=0; i<numStates; i++) { - DFA38_transition[i] = DFA.unpackEncodedString(DFA38_transitionS[i]); - } - } - - class DFA38 extends DFA { - - public DFA38(BaseRecognizer recognizer) { - this.recognizer = recognizer; - this.decisionNumber = 38; - this.eot = DFA38_eot; - this.eof = DFA38_eof; - this.min = DFA38_min; - this.max = DFA38_max; - this.accept = DFA38_accept; - this.special = DFA38_special; - this.transition = DFA38_transition; - } - public String getDescription() { - return "1:1: Tokens : ( T16 | T17 | T18 | T19 | T20 | T21 | T22 | T23 | T24 | T25 | T26 | T27 | T28 | T29 | T30 | T31 | T32 | T33 | T34 | T35 | T36 | T37 | T38 | T39 | T40 | T41 | T42 | T43 | T44 | T45 | T46 | T47 | T48 | T49 | T50 | T51 | RULE_INTEGERLITERAL | RULE_REALLITERAL | RULE_DATETIMELITERAL | RULE_BOOLEANLITERAL | RULE_NULLLITERAL | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; - } - } - - -}
\ No newline at end of file diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLParser.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLParser.java deleted file mode 100644 index 7b3e1ac4afc..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSLParser.java +++ /dev/null @@ -1,7640 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.parser.antlr.internal; - -import java.io.InputStream; -import org.eclipse.xtext.*; -import org.eclipse.xtext.parser.*; -import org.eclipse.xtext.parser.impl.*; -import org.eclipse.xtext.parsetree.*; -import org.eclipse.emf.ecore.util.EcoreUtil; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; -import org.eclipse.xtext.parser.antlr.XtextTokenStream; -import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; -import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; -import org.eclipse.xtext.conversion.ValueConverterException; -import org.eclipse.papyrus.marte.vsl.services.VSLGrammarAccess; - - - -import org.antlr.runtime.*; -import java.util.Stack; -import java.util.List; -import java.util.ArrayList; - -@SuppressWarnings("all") -public class InternalVSLParser extends AbstractInternalAntlrParser { - public static final String[] tokenNames = new String[] { - "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGERLITERAL", "RULE_REALLITERAL", "RULE_DATETIMELITERAL", "RULE_BOOLEANLITERAL", "RULE_NULLLITERAL", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'and'", "'or'", "'xor'", "'=='", "'<>'", "'<'", "'>'", "'<='", "'>='", "'?'", "':'", "'+'", "'-'", "'*'", "'/'", "'mod'", "'not'", "'.'", "'('", "')'", "'::'", "']'", "'['", "'..'", "'{'", "'}'", "','", "'='", "'@'", "'when'", "'&'", "'jitter('", "'$'", "'in'", "'out'", "'inout'" - }; - public static final int RULE_NULLLITERAL=9; - public static final int RULE_DATETIMELITERAL=7; - public static final int RULE_BOOLEANLITERAL=8; - public static final int RULE_ID=4; - public static final int RULE_STRING=10; - public static final int RULE_ANY_OTHER=15; - public static final int RULE_REALLITERAL=6; - public static final int RULE_INTEGERLITERAL=5; - public static final int RULE_INT=11; - public static final int RULE_WS=14; - public static final int RULE_SL_COMMENT=13; - public static final int EOF=-1; - public static final int RULE_ML_COMMENT=12; - - public InternalVSLParser(TokenStream input) { - super(input); - } - - - public String[] getTokenNames() { return tokenNames; } - public String getGrammarFileName() { return "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g"; } - - - - private VSLGrammarAccess grammarAccess; - - public InternalVSLParser(TokenStream input, IAstFactory factory, VSLGrammarAccess grammarAccess) { - this(input); - this.factory = factory; - registerRules(grammarAccess.getGrammar()); - this.grammarAccess = grammarAccess; - } - - @Override - protected InputStream getTokenFile() { - ClassLoader classLoader = getClass().getClassLoader(); - return classLoader.getResourceAsStream("org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.tokens"); - } - - @Override - protected String getFirstRuleName() { - return "Expression"; - } - - @Override - protected VSLGrammarAccess getGrammarAccess() { - return grammarAccess; - } - - - - // $ANTLR start entryRuleExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:77:1: entryRuleExpression returns [EObject current=null] : iv_ruleExpression= ruleExpression EOF ; - public final EObject entryRuleExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:78:2: (iv_ruleExpression= ruleExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:79:2: iv_ruleExpression= ruleExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression75); - iv_ruleExpression=ruleExpression(); - _fsp--; - - current =iv_ruleExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleExpression85); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleExpression - - - // $ANTLR start ruleExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:86:1: ruleExpression returns [EObject current=null] : ( (lv_exp_0_0= ruleAndOrXorExpression ) ) ; - public final EObject ruleExpression() throws RecognitionException { - EObject current = null; - - EObject lv_exp_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:91:6: ( ( (lv_exp_0_0= ruleAndOrXorExpression ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:92:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:92:1: ( (lv_exp_0_0= ruleAndOrXorExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:93:1: (lv_exp_0_0= ruleAndOrXorExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:93:1: (lv_exp_0_0= ruleAndOrXorExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:94:3: lv_exp_0_0= ruleAndOrXorExpression - { - - currentNode=createCompositeNode(grammarAccess.getExpressionAccess().getExpAndOrXorExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleAndOrXorExpression_in_ruleExpression130); - lv_exp_0_0=ruleAndOrXorExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "exp", - lv_exp_0_0, - "AndOrXorExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleExpression - - - // $ANTLR start entryRuleAndOrXorExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:124:1: entryRuleAndOrXorExpression returns [EObject current=null] : iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF ; - public final EObject entryRuleAndOrXorExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAndOrXorExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:125:2: (iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:126:2: iv_ruleAndOrXorExpression= ruleAndOrXorExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getAndOrXorExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression165); - iv_ruleAndOrXorExpression=ruleAndOrXorExpression(); - _fsp--; - - current =iv_ruleAndOrXorExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleAndOrXorExpression175); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleAndOrXorExpression - - - // $ANTLR start ruleAndOrXorExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:133:1: ruleAndOrXorExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ; - public final EObject ruleAndOrXorExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:138:6: ( ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:139:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:140:1: (lv_exp_0_0= ruleEqualityExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:140:1: (lv_exp_0_0= ruleEqualityExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:141:3: lv_exp_0_0= ruleEqualityExpression - { - - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression221); - lv_exp_0_0=ruleEqualityExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:2: ( ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) )* - loop2: - do { - int alt2=2; - int LA2_0 = input.LA(1); - - if ( ((LA2_0>=16 && LA2_0<=18)) ) { - alt2=1; - } - - - switch (alt2) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) ( (lv_exp_2_0= ruleEqualityExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:163:3: ( ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:164:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:164:1: ( (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' ) - int alt1=3; - switch ( input.LA(1) ) { - case 16: - { - alt1=1; - } - break; - case 17: - { - alt1=2; - } - break; - case 18: - { - alt1=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("165:1: (lv_op_1_1= 'and' | lv_op_1_2= 'or' | lv_op_1_3= 'xor' )", 1, 0, input); - - throw nvae; - } - - switch (alt1) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:166:3: lv_op_1_1= 'and' - { - lv_op_1_1=(Token)input.LT(1); - match(input,16,FOLLOW_16_in_ruleAndOrXorExpression242); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpAndKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:184:8: lv_op_1_2= 'or' - { - lv_op_1_2=(Token)input.LT(1); - match(input,17,FOLLOW_17_in_ruleAndOrXorExpression271); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpOrKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:202:8: lv_op_1_3= 'xor' - { - lv_op_1_3=(Token)input.LT(1); - match(input,18,FOLLOW_18_in_ruleAndOrXorExpression300); - - createLeafNode(grammarAccess.getAndOrXorExpressionAccess().getOpXorKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:223:2: ( (lv_exp_2_0= ruleEqualityExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:224:1: (lv_exp_2_0= ruleEqualityExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:224:1: (lv_exp_2_0= ruleEqualityExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:225:3: lv_exp_2_0= ruleEqualityExpression - { - - currentNode=createCompositeNode(grammarAccess.getAndOrXorExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression337); - lv_exp_2_0=ruleEqualityExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAndOrXorExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "EqualityExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop2; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleAndOrXorExpression - - - // $ANTLR start entryRuleEqualityExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:255:1: entryRuleEqualityExpression returns [EObject current=null] : iv_ruleEqualityExpression= ruleEqualityExpression EOF ; - public final EObject entryRuleEqualityExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleEqualityExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:256:2: (iv_ruleEqualityExpression= ruleEqualityExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:257:2: iv_ruleEqualityExpression= ruleEqualityExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getEqualityExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression375); - iv_ruleEqualityExpression=ruleEqualityExpression(); - _fsp--; - - current =iv_ruleEqualityExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleEqualityExpression385); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleEqualityExpression - - - // $ANTLR start ruleEqualityExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:264:1: ruleEqualityExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) ; - public final EObject ruleEqualityExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:269:6: ( ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:270:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:271:1: (lv_exp_0_0= ruleRelationalExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:271:1: (lv_exp_0_0= ruleRelationalExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:272:3: lv_exp_0_0= ruleRelationalExpression - { - - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression431); - lv_exp_0_0=ruleRelationalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:2: ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); - - if ( ((LA4_0>=19 && LA4_0<=20)) ) { - alt4=1; - } - - - switch (alt4) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) ( (lv_exp_2_0= ruleRelationalExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:294:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:295:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:295:1: ( (lv_op_1_1= '==' | lv_op_1_2= '<>' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' ) - int alt3=2; - int LA3_0 = input.LA(1); - - if ( (LA3_0==19) ) { - alt3=1; - } - else if ( (LA3_0==20) ) { - alt3=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("296:1: (lv_op_1_1= '==' | lv_op_1_2= '<>' )", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:297:3: lv_op_1_1= '==' - { - lv_op_1_1=(Token)input.LT(1); - match(input,19,FOLLOW_19_in_ruleEqualityExpression452); - - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:315:8: lv_op_1_2= '<>' - { - lv_op_1_2=(Token)input.LT(1); - match(input,20,FOLLOW_20_in_ruleEqualityExpression481); - - createLeafNode(grammarAccess.getEqualityExpressionAccess().getOpLessThanSignGreaterThanSignKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:336:2: ( (lv_exp_2_0= ruleRelationalExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:337:1: (lv_exp_2_0= ruleRelationalExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:337:1: (lv_exp_2_0= ruleRelationalExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:338:3: lv_exp_2_0= ruleRelationalExpression - { - - currentNode=createCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpRelationalExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression518); - lv_exp_2_0=ruleRelationalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getEqualityExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "RelationalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop4; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleEqualityExpression - - - // $ANTLR start entryRuleRelationalExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:368:1: entryRuleRelationalExpression returns [EObject current=null] : iv_ruleRelationalExpression= ruleRelationalExpression EOF ; - public final EObject entryRuleRelationalExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRelationalExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:369:2: (iv_ruleRelationalExpression= ruleRelationalExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:370:2: iv_ruleRelationalExpression= ruleRelationalExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getRelationalExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression556); - iv_ruleRelationalExpression=ruleRelationalExpression(); - _fsp--; - - current =iv_ruleRelationalExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleRelationalExpression566); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleRelationalExpression - - - // $ANTLR start ruleRelationalExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:377:1: ruleRelationalExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) ; - public final EObject ruleRelationalExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - Token lv_op_1_4=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:382:6: ( ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383:1: ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383:1: ( ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383:2: ( (lv_exp_0_0= ruleConditionalExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:383:2: ( (lv_exp_0_0= ruleConditionalExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:384:1: (lv_exp_0_0= ruleConditionalExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:384:1: (lv_exp_0_0= ruleConditionalExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:385:3: lv_exp_0_0= ruleConditionalExpression - { - - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression612); - lv_exp_0_0=ruleConditionalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407:2: ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); - - if ( ((LA6_0>=21 && LA6_0<=24)) ) { - alt6=1; - } - - - switch (alt6) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_exp_2_0= ruleConditionalExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:407:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:408:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:408:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) - int alt5=4; - switch ( input.LA(1) ) { - case 21: - { - alt5=1; - } - break; - case 22: - { - alt5=2; - } - break; - case 23: - { - alt5=3; - } - break; - case 24: - { - alt5=4; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("409:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )", 5, 0, input); - - throw nvae; - } - - switch (alt5) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:410:3: lv_op_1_1= '<' - { - lv_op_1_1=(Token)input.LT(1); - match(input,21,FOLLOW_21_in_ruleRelationalExpression633); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:428:8: lv_op_1_2= '>' - { - lv_op_1_2=(Token)input.LT(1); - match(input,22,FOLLOW_22_in_ruleRelationalExpression662); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:446:8: lv_op_1_3= '<=' - { - lv_op_1_3=(Token)input.LT(1); - match(input,23,FOLLOW_23_in_ruleRelationalExpression691); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:464:8: lv_op_1_4= '>=' - { - lv_op_1_4=(Token)input.LT(1); - match(input,24,FOLLOW_24_in_ruleRelationalExpression720); - - createLeafNode(grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_4, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:485:2: ( (lv_exp_2_0= ruleConditionalExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:486:1: (lv_exp_2_0= ruleConditionalExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:486:1: (lv_exp_2_0= ruleConditionalExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:487:3: lv_exp_2_0= ruleConditionalExpression - { - - currentNode=createCompositeNode(grammarAccess.getRelationalExpressionAccess().getExpConditionalExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression757); - lv_exp_2_0=ruleConditionalExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getRelationalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "ConditionalExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop6; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleRelationalExpression - - - // $ANTLR start entryRuleConditionalExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:517:1: entryRuleConditionalExpression returns [EObject current=null] : iv_ruleConditionalExpression= ruleConditionalExpression EOF ; - public final EObject entryRuleConditionalExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleConditionalExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:518:2: (iv_ruleConditionalExpression= ruleConditionalExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:519:2: iv_ruleConditionalExpression= ruleConditionalExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getConditionalExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression795); - iv_ruleConditionalExpression=ruleConditionalExpression(); - _fsp--; - - current =iv_ruleConditionalExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleConditionalExpression805); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleConditionalExpression - - - // $ANTLR start ruleConditionalExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:526:1: ruleConditionalExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) ; - public final EObject ruleConditionalExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_0=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - EObject lv_exp_4_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:531:6: ( ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:532:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:533:1: (lv_exp_0_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:533:1: (lv_exp_0_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:534:3: lv_exp_0_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression851); - lv_exp_0_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:2: ( ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) )? - int alt7=2; - int LA7_0 = input.LA(1); - - if ( (LA7_0==25) ) { - alt7=1; - } - switch (alt7) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:3: ( (lv_op_1_0= '?' ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) ':' ( (lv_exp_4_0= ruleAdditiveExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:556:3: ( (lv_op_1_0= '?' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:557:1: (lv_op_1_0= '?' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:557:1: (lv_op_1_0= '?' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:558:3: lv_op_1_0= '?' - { - lv_op_1_0=(Token)input.LT(1); - match(input,25,FOLLOW_25_in_ruleConditionalExpression870); - - createLeafNode(grammarAccess.getConditionalExpressionAccess().getOpQuestionMarkKeyword_1_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_0, "?", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:577:2: ( (lv_exp_2_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:578:1: (lv_exp_2_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:578:1: (lv_exp_2_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:579:3: lv_exp_2_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression904); - lv_exp_2_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,26,FOLLOW_26_in_ruleConditionalExpression914); - - createLeafNode(grammarAccess.getConditionalExpressionAccess().getColonKeyword_1_2(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:605:1: ( (lv_exp_4_0= ruleAdditiveExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:606:1: (lv_exp_4_0= ruleAdditiveExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:606:1: (lv_exp_4_0= ruleAdditiveExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:607:3: lv_exp_4_0= ruleAdditiveExpression - { - - currentNode=createCompositeNode(grammarAccess.getConditionalExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_3_0(), currentNode); - - pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression935); - lv_exp_4_0=ruleAdditiveExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getConditionalExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_4_0, - "AdditiveExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleConditionalExpression - - - // $ANTLR start entryRuleAdditiveExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:637:1: entryRuleAdditiveExpression returns [EObject current=null] : iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ; - public final EObject entryRuleAdditiveExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleAdditiveExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:638:2: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:639:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getAdditiveExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression973); - iv_ruleAdditiveExpression=ruleAdditiveExpression(); - _fsp--; - - current =iv_ruleAdditiveExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleAdditiveExpression983); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleAdditiveExpression - - - // $ANTLR start ruleAdditiveExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:646:1: ruleAdditiveExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ; - public final EObject ruleAdditiveExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:651:6: ( ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:652:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:653:1: (lv_exp_0_0= ruleMultiplicativeExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:653:1: (lv_exp_0_0= ruleMultiplicativeExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:654:3: lv_exp_0_0= ruleMultiplicativeExpression - { - - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1029); - lv_exp_0_0=ruleMultiplicativeExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:2: ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* - loop9: - do { - int alt9=2; - int LA9_0 = input.LA(1); - - if ( ((LA9_0>=27 && LA9_0<=28)) ) { - alt9=1; - } - - - switch (alt9) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:676:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:677:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:677:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' ) - int alt8=2; - int LA8_0 = input.LA(1); - - if ( (LA8_0==27) ) { - alt8=1; - } - else if ( (LA8_0==28) ) { - alt8=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("678:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )", 8, 0, input); - - throw nvae; - } - switch (alt8) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:679:3: lv_op_1_1= '+' - { - lv_op_1_1=(Token)input.LT(1); - match(input,27,FOLLOW_27_in_ruleAdditiveExpression1050); - - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:697:8: lv_op_1_2= '-' - { - lv_op_1_2=(Token)input.LT(1); - match(input,28,FOLLOW_28_in_ruleAdditiveExpression1079); - - createLeafNode(grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:718:2: ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:719:1: (lv_exp_2_0= ruleMultiplicativeExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:719:1: (lv_exp_2_0= ruleMultiplicativeExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:720:3: lv_exp_2_0= ruleMultiplicativeExpression - { - - currentNode=createCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1116); - lv_exp_2_0=ruleMultiplicativeExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getAdditiveExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "MultiplicativeExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop9; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleAdditiveExpression - - - // $ANTLR start entryRuleMultiplicativeExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:750:1: entryRuleMultiplicativeExpression returns [EObject current=null] : iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ; - public final EObject entryRuleMultiplicativeExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleMultiplicativeExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:751:2: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:752:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getMultiplicativeExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1154); - iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression(); - _fsp--; - - current =iv_ruleMultiplicativeExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleMultiplicativeExpression1164); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleMultiplicativeExpression - - - // $ANTLR start ruleMultiplicativeExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:759:1: ruleMultiplicativeExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ; - public final EObject ruleMultiplicativeExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_1_1=null; - Token lv_op_1_2=null; - Token lv_op_1_3=null; - EObject lv_exp_0_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:764:6: ( ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:765:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:766:1: (lv_exp_0_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:766:1: (lv_exp_0_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:767:3: lv_exp_0_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1210); - lv_exp_0_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_0_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:2: ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* - loop11: - do { - int alt11=2; - int LA11_0 = input.LA(1); - - if ( ((LA11_0>=29 && LA11_0<=31)) ) { - alt11=1; - } - - - switch (alt11) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:789:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:790:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:790:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' ) - int alt10=3; - switch ( input.LA(1) ) { - case 29: - { - alt10=1; - } - break; - case 30: - { - alt10=2; - } - break; - case 31: - { - alt10=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("791:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= 'mod' )", 10, 0, input); - - throw nvae; - } - - switch (alt10) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:792:3: lv_op_1_1= '*' - { - lv_op_1_1=(Token)input.LT(1); - match(input,29,FOLLOW_29_in_ruleMultiplicativeExpression1231); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:810:8: lv_op_1_2= '/' - { - lv_op_1_2=(Token)input.LT(1); - match(input,30,FOLLOW_30_in_ruleMultiplicativeExpression1260); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:828:8: lv_op_1_3= 'mod' - { - lv_op_1_3=(Token)input.LT(1); - match(input,31,FOLLOW_31_in_ruleMultiplicativeExpression1289); - - createLeafNode(grammarAccess.getMultiplicativeExpressionAccess().getOpModKeyword_1_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - add(current, "op", lv_op_1_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:849:2: ( (lv_exp_2_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:850:1: (lv_exp_2_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:850:1: (lv_exp_2_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:851:3: lv_exp_2_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1326); - lv_exp_2_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getMultiplicativeExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "exp", - lv_exp_2_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop11; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleMultiplicativeExpression - - - // $ANTLR start entryRuleUnaryExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:881:1: entryRuleUnaryExpression returns [EObject current=null] : iv_ruleUnaryExpression= ruleUnaryExpression EOF ; - public final EObject entryRuleUnaryExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUnaryExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:882:2: (iv_ruleUnaryExpression= ruleUnaryExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:883:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getUnaryExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1364); - iv_ruleUnaryExpression=ruleUnaryExpression(); - _fsp--; - - current =iv_ruleUnaryExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleUnaryExpression1374); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleUnaryExpression - - - // $ANTLR start ruleUnaryExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:890:1: ruleUnaryExpression returns [EObject current=null] : ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) ; - public final EObject ruleUnaryExpression() throws RecognitionException { - EObject current = null; - - Token lv_op_0_1=null; - Token lv_op_0_2=null; - Token lv_op_0_3=null; - EObject lv_unary_1_0 = null; - - EObject lv_exp_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:895:6: ( ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) ) - int alt13=2; - int LA13_0 = input.LA(1); - - if ( ((LA13_0>=27 && LA13_0<=28)||LA13_0==32) ) { - alt13=1; - } - else if ( ((LA13_0>=RULE_ID && LA13_0<=RULE_STRING)||(LA13_0>=29 && LA13_0<=30)||LA13_0==34||(LA13_0>=37 && LA13_0<=38)||LA13_0==40||LA13_0==44||(LA13_0>=46 && LA13_0<=51)) ) { - alt13=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("896:1: ( ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) | ( (lv_exp_2_0= rulePrimaryExpression ) ) )", 13, 0, input); - - throw nvae; - } - switch (alt13) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:2: ( ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) ( (lv_unary_1_0= ruleUnaryExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:896:3: ( ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:897:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:897:1: ( (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' ) - int alt12=3; - switch ( input.LA(1) ) { - case 32: - { - alt12=1; - } - break; - case 28: - { - alt12=2; - } - break; - case 27: - { - alt12=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("898:1: (lv_op_0_1= 'not' | lv_op_0_2= '-' | lv_op_0_3= '+' )", 12, 0, input); - - throw nvae; - } - - switch (alt12) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:899:3: lv_op_0_1= 'not' - { - lv_op_0_1=(Token)input.LT(1); - match(input,32,FOLLOW_32_in_ruleUnaryExpression1420); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpNotKeyword_0_0_0_0(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_1, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:917:8: lv_op_0_2= '-' - { - lv_op_0_2=(Token)input.LT(1); - match(input,28,FOLLOW_28_in_ruleUnaryExpression1449); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_0_1(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_2, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:935:8: lv_op_0_3= '+' - { - lv_op_0_3=(Token)input.LT(1); - match(input,27,FOLLOW_27_in_ruleUnaryExpression1478); - - createLeafNode(grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_0_2(), "op"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "op", lv_op_0_3, null, lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - break; - - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:956:2: ( (lv_unary_1_0= ruleUnaryExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:957:1: (lv_unary_1_0= ruleUnaryExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:957:1: (lv_unary_1_0= ruleUnaryExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:958:3: lv_unary_1_0= ruleUnaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getUnaryUnaryExpressionParserRuleCall_0_1_0(), currentNode); - - pushFollow(FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1515); - lv_unary_1_0=ruleUnaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "unary", - lv_unary_1_0, - "UnaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:981:6: ( (lv_exp_2_0= rulePrimaryExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:981:6: ( (lv_exp_2_0= rulePrimaryExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:982:1: (lv_exp_2_0= rulePrimaryExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:982:1: (lv_exp_2_0= rulePrimaryExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:983:3: lv_exp_2_0= rulePrimaryExpression - { - - currentNode=createCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression1543); - lv_exp_2_0=rulePrimaryExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getUnaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "exp", - lv_exp_2_0, - "PrimaryExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleUnaryExpression - - - // $ANTLR start entryRulePrimaryExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1013:1: entryRulePrimaryExpression returns [EObject current=null] : iv_rulePrimaryExpression= rulePrimaryExpression EOF ; - public final EObject entryRulePrimaryExpression() throws RecognitionException { - EObject current = null; - - EObject iv_rulePrimaryExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1014:2: (iv_rulePrimaryExpression= rulePrimaryExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1015:2: iv_rulePrimaryExpression= rulePrimaryExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getPrimaryExpressionRule(), currentNode); - pushFollow(FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression1579); - iv_rulePrimaryExpression=rulePrimaryExpression(); - _fsp--; - - current =iv_rulePrimaryExpression; - match(input,EOF,FOLLOW_EOF_in_entryRulePrimaryExpression1589); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRulePrimaryExpression - - - // $ANTLR start rulePrimaryExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1022:1: rulePrimaryExpression returns [EObject current=null] : ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ; - public final EObject rulePrimaryExpression() throws RecognitionException { - EObject current = null; - - EObject lv_prefix_0_0 = null; - - EObject lv_suffix_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1027:6: ( ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:1: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:2: ( (lv_prefix_0_0= ruleValueSpecification ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1028:2: ( (lv_prefix_0_0= ruleValueSpecification ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1029:1: (lv_prefix_0_0= ruleValueSpecification ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1029:1: (lv_prefix_0_0= ruleValueSpecification ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1030:3: lv_prefix_0_0= ruleValueSpecification - { - - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleValueSpecification_in_rulePrimaryExpression1635); - lv_prefix_0_0=ruleValueSpecification(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "prefix", - lv_prefix_0_0, - "ValueSpecification", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1052:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - int alt14=2; - int LA14_0 = input.LA(1); - - if ( (LA14_0==33) ) { - alt14=1; - } - switch (alt14) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1052:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) - { - match(input,33,FOLLOW_33_in_rulePrimaryExpression1646); - - createLeafNode(grammarAccess.getPrimaryExpressionAccess().getFullStopKeyword_1_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1056:1: ( (lv_suffix_2_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1057:1: (lv_suffix_2_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1057:1: (lv_suffix_2_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1058:3: lv_suffix_2_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getPrimaryExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression1667); - lv_suffix_2_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPrimaryExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end rulePrimaryExpression - - - // $ANTLR start entryRuleValueSpecification - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1088:1: entryRuleValueSpecification returns [EObject current=null] : iv_ruleValueSpecification= ruleValueSpecification EOF ; - public final EObject entryRuleValueSpecification() throws RecognitionException { - EObject current = null; - - EObject iv_ruleValueSpecification = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1089:2: (iv_ruleValueSpecification= ruleValueSpecification EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1090:2: iv_ruleValueSpecification= ruleValueSpecification EOF - { - currentNode = createCompositeNode(grammarAccess.getValueSpecificationRule(), currentNode); - pushFollow(FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification1705); - iv_ruleValueSpecification=ruleValueSpecification(); - _fsp--; - - current =iv_ruleValueSpecification; - match(input,EOF,FOLLOW_EOF_in_entryRuleValueSpecification1715); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleValueSpecification - - - // $ANTLR start ruleValueSpecification - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1097:1: ruleValueSpecification returns [EObject current=null] : (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) ; - public final EObject ruleValueSpecification() throws RecognitionException { - EObject current = null; - - EObject this_Literal_0 = null; - - EObject this_NameOrChoiceOrBehaviorCall_1 = null; - - EObject this_Interval_2 = null; - - EObject this_CollectionOrTuple_3 = null; - - EObject this_Tuple_4 = null; - - EObject this_TimeExpression_5 = null; - - EObject this_VariableDeclaration_6 = null; - - EObject this_Expression_8 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1102:6: ( (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1103:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1103:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) ) - int alt15=8; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - case RULE_REALLITERAL: - case RULE_DATETIMELITERAL: - case RULE_BOOLEANLITERAL: - case RULE_NULLLITERAL: - case RULE_STRING: - case 29: - case 30: - { - alt15=1; - } - break; - case RULE_ID: - { - alt15=2; - } - break; - case 37: - case 38: - { - alt15=3; - } - break; - case 40: - { - int LA15_4 = input.LA(2); - - if ( (LA15_4==RULE_ID) ) { - int LA15_8 = input.LA(3); - - if ( ((LA15_8>=16 && LA15_8<=25)||(LA15_8>=27 && LA15_8<=31)||(LA15_8>=33 && LA15_8<=34)||LA15_8==36||(LA15_8>=41 && LA15_8<=42)) ) { - alt15=4; - } - else if ( (LA15_8==43) ) { - alt15=5; - } - else { - NoViableAltException nvae = - new NoViableAltException("1103:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 15, 8, input); - - throw nvae; - } - } - else if ( ((LA15_4>=RULE_INTEGERLITERAL && LA15_4<=RULE_STRING)||(LA15_4>=27 && LA15_4<=30)||LA15_4==32||LA15_4==34||(LA15_4>=37 && LA15_4<=38)||LA15_4==40||LA15_4==44||(LA15_4>=46 && LA15_4<=51)) ) { - alt15=4; - } - else { - NoViableAltException nvae = - new NoViableAltException("1103:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 15, 4, input); - - throw nvae; - } - } - break; - case 44: - case 46: - case 47: - { - alt15=6; - } - break; - case 48: - case 49: - case 50: - case 51: - { - alt15=7; - } - break; - case 34: - { - alt15=8; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1103:1: (this_Literal_0= ruleLiteral | this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall | this_Interval_2= ruleInterval | this_CollectionOrTuple_3= ruleCollectionOrTuple | this_Tuple_4= ruleTuple | this_TimeExpression_5= ruleTimeExpression | this_VariableDeclaration_6= ruleVariableDeclaration | ( '(' this_Expression_8= ruleExpression ')' ) )", 15, 0, input); - - throw nvae; - } - - switch (alt15) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1104:5: this_Literal_0= ruleLiteral - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getLiteralParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleLiteral_in_ruleValueSpecification1762); - this_Literal_0=ruleLiteral(); - _fsp--; - - - current = this_Literal_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1114:5: this_NameOrChoiceOrBehaviorCall_1= ruleNameOrChoiceOrBehaviorCall - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getNameOrChoiceOrBehaviorCallParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification1789); - this_NameOrChoiceOrBehaviorCall_1=ruleNameOrChoiceOrBehaviorCall(); - _fsp--; - - - current = this_NameOrChoiceOrBehaviorCall_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1124:5: this_Interval_2= ruleInterval - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getIntervalParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleInterval_in_ruleValueSpecification1816); - this_Interval_2=ruleInterval(); - _fsp--; - - - current = this_Interval_2; - currentNode = currentNode.getParent(); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1134:5: this_CollectionOrTuple_3= ruleCollectionOrTuple - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getCollectionOrTupleParserRuleCall_3(), currentNode); - - pushFollow(FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification1843); - this_CollectionOrTuple_3=ruleCollectionOrTuple(); - _fsp--; - - - current = this_CollectionOrTuple_3; - currentNode = currentNode.getParent(); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1144:5: this_Tuple_4= ruleTuple - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTupleParserRuleCall_4(), currentNode); - - pushFollow(FOLLOW_ruleTuple_in_ruleValueSpecification1870); - this_Tuple_4=ruleTuple(); - _fsp--; - - - current = this_Tuple_4; - currentNode = currentNode.getParent(); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1154:5: this_TimeExpression_5= ruleTimeExpression - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getTimeExpressionParserRuleCall_5(), currentNode); - - pushFollow(FOLLOW_ruleTimeExpression_in_ruleValueSpecification1897); - this_TimeExpression_5=ruleTimeExpression(); - _fsp--; - - - current = this_TimeExpression_5; - currentNode = currentNode.getParent(); - - - } - break; - case 7 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1164:5: this_VariableDeclaration_6= ruleVariableDeclaration - { - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getVariableDeclarationParserRuleCall_6(), currentNode); - - pushFollow(FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification1924); - this_VariableDeclaration_6=ruleVariableDeclaration(); - _fsp--; - - - current = this_VariableDeclaration_6; - currentNode = currentNode.getParent(); - - - } - break; - case 8 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:6: ( '(' this_Expression_8= ruleExpression ')' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:6: ( '(' this_Expression_8= ruleExpression ')' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1173:8: '(' this_Expression_8= ruleExpression ')' - { - match(input,34,FOLLOW_34_in_ruleValueSpecification1940); - - createLeafNode(grammarAccess.getValueSpecificationAccess().getLeftParenthesisKeyword_7_0(), null); - - - currentNode=createCompositeNode(grammarAccess.getValueSpecificationAccess().getExpressionParserRuleCall_7_1(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleValueSpecification1962); - this_Expression_8=ruleExpression(); - _fsp--; - - - current = this_Expression_8; - currentNode = currentNode.getParent(); - - match(input,35,FOLLOW_35_in_ruleValueSpecification1971); - - createLeafNode(grammarAccess.getValueSpecificationAccess().getRightParenthesisKeyword_7_2(), null); - - - } - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleValueSpecification - - - // $ANTLR start entryRuleSuffixExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1198:1: entryRuleSuffixExpression returns [EObject current=null] : iv_ruleSuffixExpression= ruleSuffixExpression EOF ; - public final EObject entryRuleSuffixExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleSuffixExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1199:2: (iv_ruleSuffixExpression= ruleSuffixExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1200:2: iv_ruleSuffixExpression= ruleSuffixExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getSuffixExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2008); - iv_ruleSuffixExpression=ruleSuffixExpression(); - _fsp--; - - current =iv_ruleSuffixExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleSuffixExpression2018); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleSuffixExpression - - - // $ANTLR start ruleSuffixExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1207:1: ruleSuffixExpression returns [EObject current=null] : (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) ; - public final EObject ruleSuffixExpression() throws RecognitionException { - EObject current = null; - - EObject this_PropertyCallExpression_0 = null; - - EObject this_OperationCallExpression_1 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1212:6: ( (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression ) - int alt16=2; - int LA16_0 = input.LA(1); - - if ( (LA16_0==RULE_ID) ) { - int LA16_1 = input.LA(2); - - if ( (LA16_1==34) ) { - alt16=2; - } - else if ( (LA16_1==EOF||(LA16_1>=16 && LA16_1<=31)||LA16_1==33||LA16_1==35||(LA16_1>=37 && LA16_1<=39)||(LA16_1>=41 && LA16_1<=42)) ) { - alt16=1; - } - else { - NoViableAltException nvae = - new NoViableAltException("1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 16, 1, input); - - throw nvae; - } - } - else { - NoViableAltException nvae = - new NoViableAltException("1213:1: (this_PropertyCallExpression_0= rulePropertyCallExpression | this_OperationCallExpression_1= ruleOperationCallExpression )", 16, 0, input); - - throw nvae; - } - switch (alt16) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1214:5: this_PropertyCallExpression_0= rulePropertyCallExpression - { - - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2065); - this_PropertyCallExpression_0=rulePropertyCallExpression(); - _fsp--; - - - current = this_PropertyCallExpression_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1224:5: this_OperationCallExpression_1= ruleOperationCallExpression - { - - currentNode=createCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2092); - this_OperationCallExpression_1=ruleOperationCallExpression(); - _fsp--; - - - current = this_OperationCallExpression_1; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleSuffixExpression - - - // $ANTLR start entryRulePropertyCallExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1240:1: entryRulePropertyCallExpression returns [EObject current=null] : iv_rulePropertyCallExpression= rulePropertyCallExpression EOF ; - public final EObject entryRulePropertyCallExpression() throws RecognitionException { - EObject current = null; - - EObject iv_rulePropertyCallExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1241:2: (iv_rulePropertyCallExpression= rulePropertyCallExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1242:2: iv_rulePropertyCallExpression= rulePropertyCallExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getPropertyCallExpressionRule(), currentNode); - pushFollow(FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2127); - iv_rulePropertyCallExpression=rulePropertyCallExpression(); - _fsp--; - - current =iv_rulePropertyCallExpression; - match(input,EOF,FOLLOW_EOF_in_entryRulePropertyCallExpression2137); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRulePropertyCallExpression - - - // $ANTLR start rulePropertyCallExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1249:1: rulePropertyCallExpression returns [EObject current=null] : ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ; - public final EObject rulePropertyCallExpression() throws RecognitionException { - EObject current = null; - - EObject lv_suffix_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1254:6: ( ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:1: ( ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:2: ( ( RULE_ID ) ) ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1255:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1256:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1256:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1257:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_rulePropertyCallExpression2180); - - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getPropertyPropertyCrossReference_0_0(), "property"); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1269:2: ( '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) )? - int alt17=2; - int LA17_0 = input.LA(1); - - if ( (LA17_0==33) ) { - alt17=1; - } - switch (alt17) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1269:4: '.' ( (lv_suffix_2_0= ruleSuffixExpression ) ) - { - match(input,33,FOLLOW_33_in_rulePropertyCallExpression2191); - - createLeafNode(grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_1_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1273:1: ( (lv_suffix_2_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1274:1: (lv_suffix_2_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1274:1: (lv_suffix_2_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1275:3: lv_suffix_2_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2212); - lv_suffix_2_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_2_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end rulePropertyCallExpression - - - // $ANTLR start entryRuleOperationCallExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1305:1: entryRuleOperationCallExpression returns [EObject current=null] : iv_ruleOperationCallExpression= ruleOperationCallExpression EOF ; - public final EObject entryRuleOperationCallExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleOperationCallExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1306:2: (iv_ruleOperationCallExpression= ruleOperationCallExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1307:2: iv_ruleOperationCallExpression= ruleOperationCallExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getOperationCallExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2250); - iv_ruleOperationCallExpression=ruleOperationCallExpression(); - _fsp--; - - current =iv_ruleOperationCallExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleOperationCallExpression2260); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleOperationCallExpression - - - // $ANTLR start ruleOperationCallExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1314:1: ruleOperationCallExpression returns [EObject current=null] : ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) ; - public final EObject ruleOperationCallExpression() throws RecognitionException { - EObject current = null; - - EObject lv_arguments_2_0 = null; - - EObject lv_suffix_5_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1319:6: ( ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:1: ( ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:2: ( ( RULE_ID ) ) '(' ( (lv_arguments_2_0= ruleListOfValues ) )? ')' ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1320:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1321:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1321:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1322:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleOperationCallExpression2303); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getOperationOperationCrossReference_0_0(), "operation"); - - - } - - - } - - match(input,34,FOLLOW_34_in_ruleOperationCallExpression2313); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getLeftParenthesisKeyword_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1338:1: ( (lv_arguments_2_0= ruleListOfValues ) )? - int alt18=2; - int LA18_0 = input.LA(1); - - if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_STRING)||(LA18_0>=27 && LA18_0<=30)||LA18_0==32||LA18_0==34||(LA18_0>=37 && LA18_0<=38)||LA18_0==40||LA18_0==44||(LA18_0>=46 && LA18_0<=51)) ) { - alt18=1; - } - switch (alt18) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1339:1: (lv_arguments_2_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1339:1: (lv_arguments_2_0= ruleListOfValues ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1340:3: lv_arguments_2_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getArgumentsListOfValuesParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2334); - lv_arguments_2_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "arguments", - lv_arguments_2_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,35,FOLLOW_35_in_ruleOperationCallExpression2345); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getRightParenthesisKeyword_3(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1366:1: ( '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) )? - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0==33) ) { - alt19=1; - } - switch (alt19) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1366:3: '.' ( (lv_suffix_5_0= ruleSuffixExpression ) ) - { - match(input,33,FOLLOW_33_in_ruleOperationCallExpression2356); - - createLeafNode(grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_4_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1370:1: ( (lv_suffix_5_0= ruleSuffixExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1371:1: (lv_suffix_5_0= ruleSuffixExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1371:1: (lv_suffix_5_0= ruleSuffixExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1372:3: lv_suffix_5_0= ruleSuffixExpression - { - - currentNode=createCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_1_0(), currentNode); - - pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2377); - lv_suffix_5_0=ruleSuffixExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getOperationCallExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "suffix", - lv_suffix_5_0, - "SuffixExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleOperationCallExpression - - - // $ANTLR start entryRuleLiteral - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1402:1: entryRuleLiteral returns [EObject current=null] : iv_ruleLiteral= ruleLiteral EOF ; - public final EObject entryRuleLiteral() throws RecognitionException { - EObject current = null; - - EObject iv_ruleLiteral = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1403:2: (iv_ruleLiteral= ruleLiteral EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1404:2: iv_ruleLiteral= ruleLiteral EOF - { - currentNode = createCompositeNode(grammarAccess.getLiteralRule(), currentNode); - pushFollow(FOLLOW_ruleLiteral_in_entryRuleLiteral2415); - iv_ruleLiteral=ruleLiteral(); - _fsp--; - - current =iv_ruleLiteral; - match(input,EOF,FOLLOW_EOF_in_entryRuleLiteral2425); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleLiteral - - - // $ANTLR start ruleLiteral - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1411:1: ruleLiteral returns [EObject current=null] : (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) ; - public final EObject ruleLiteral() throws RecognitionException { - EObject current = null; - - EObject this_NumberLiteralRule_0 = null; - - EObject this_DateTimeLiteralRule_1 = null; - - EObject this_BooleanLiteralRule_2 = null; - - EObject this_NullLiteralRule_3 = null; - - EObject this_DefaultLiteralRule_4 = null; - - EObject this_StringLiteralRule_5 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1416:6: ( (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1417:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1417:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule ) - int alt20=6; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - case RULE_REALLITERAL: - case 29: - { - alt20=1; - } - break; - case RULE_DATETIMELITERAL: - { - alt20=2; - } - break; - case RULE_BOOLEANLITERAL: - { - alt20=3; - } - break; - case RULE_NULLLITERAL: - { - alt20=4; - } - break; - case 30: - { - alt20=5; - } - break; - case RULE_STRING: - { - alt20=6; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("1417:1: (this_NumberLiteralRule_0= ruleNumberLiteralRule | this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule | this_BooleanLiteralRule_2= ruleBooleanLiteralRule | this_NullLiteralRule_3= ruleNullLiteralRule | this_DefaultLiteralRule_4= ruleDefaultLiteralRule | this_StringLiteralRule_5= ruleStringLiteralRule )", 20, 0, input); - - throw nvae; - } - - switch (alt20) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1418:5: this_NumberLiteralRule_0= ruleNumberLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNumberLiteralRuleParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2472); - this_NumberLiteralRule_0=ruleNumberLiteralRule(); - _fsp--; - - - current = this_NumberLiteralRule_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1428:5: this_DateTimeLiteralRule_1= ruleDateTimeLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDateTimeLiteralRuleParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2499); - this_DateTimeLiteralRule_1=ruleDateTimeLiteralRule(); - _fsp--; - - - current = this_DateTimeLiteralRule_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1438:5: this_BooleanLiteralRule_2= ruleBooleanLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getBooleanLiteralRuleParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2526); - this_BooleanLiteralRule_2=ruleBooleanLiteralRule(); - _fsp--; - - - current = this_BooleanLiteralRule_2; - currentNode = currentNode.getParent(); - - - } - break; - case 4 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1448:5: this_NullLiteralRule_3= ruleNullLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getNullLiteralRuleParserRuleCall_3(), currentNode); - - pushFollow(FOLLOW_ruleNullLiteralRule_in_ruleLiteral2553); - this_NullLiteralRule_3=ruleNullLiteralRule(); - _fsp--; - - - current = this_NullLiteralRule_3; - currentNode = currentNode.getParent(); - - - } - break; - case 5 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1458:5: this_DefaultLiteralRule_4= ruleDefaultLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getDefaultLiteralRuleParserRuleCall_4(), currentNode); - - pushFollow(FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral2580); - this_DefaultLiteralRule_4=ruleDefaultLiteralRule(); - _fsp--; - - - current = this_DefaultLiteralRule_4; - currentNode = currentNode.getParent(); - - - } - break; - case 6 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1468:5: this_StringLiteralRule_5= ruleStringLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getLiteralAccess().getStringLiteralRuleParserRuleCall_5(), currentNode); - - pushFollow(FOLLOW_ruleStringLiteralRule_in_ruleLiteral2607); - this_StringLiteralRule_5=ruleStringLiteralRule(); - _fsp--; - - - current = this_StringLiteralRule_5; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleLiteral - - - // $ANTLR start entryRuleNameOrChoiceOrBehaviorCall - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1484:1: entryRuleNameOrChoiceOrBehaviorCall returns [EObject current=null] : iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF ; - public final EObject entryRuleNameOrChoiceOrBehaviorCall() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNameOrChoiceOrBehaviorCall = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1485:2: (iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1486:2: iv_ruleNameOrChoiceOrBehaviorCall= ruleNameOrChoiceOrBehaviorCall EOF - { - currentNode = createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallRule(), currentNode); - pushFollow(FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall2642); - iv_ruleNameOrChoiceOrBehaviorCall=ruleNameOrChoiceOrBehaviorCall(); - _fsp--; - - current =iv_ruleNameOrChoiceOrBehaviorCall; - match(input,EOF,FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall2652); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNameOrChoiceOrBehaviorCall - - - // $ANTLR start ruleNameOrChoiceOrBehaviorCall - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1493:1: ruleNameOrChoiceOrBehaviorCall returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) ; - public final EObject ruleNameOrChoiceOrBehaviorCall() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - EObject lv_arguments_3_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1498:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1499:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt21=2; - int LA21_0 = input.LA(1); - - if ( (LA21_0==RULE_ID) ) { - int LA21_1 = input.LA(2); - - if ( (LA21_1==36) ) { - alt21=1; - } - } - switch (alt21) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1500:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1500:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1501:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall2698); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1523:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1524:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1524:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1525:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall2717); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getIdNamedElementCrossReference_1_0(), "id"); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1537:2: ( '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' )? - int alt23=2; - int LA23_0 = input.LA(1); - - if ( (LA23_0==34) ) { - alt23=1; - } - switch (alt23) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1537:4: '(' ( (lv_arguments_3_0= ruleListOfValues ) )? ')' - { - match(input,34,FOLLOW_34_in_ruleNameOrChoiceOrBehaviorCall2728); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1541:1: ( (lv_arguments_3_0= ruleListOfValues ) )? - int alt22=2; - int LA22_0 = input.LA(1); - - if ( ((LA22_0>=RULE_ID && LA22_0<=RULE_STRING)||(LA22_0>=27 && LA22_0<=30)||LA22_0==32||LA22_0==34||(LA22_0>=37 && LA22_0<=38)||LA22_0==40||LA22_0==44||(LA22_0>=46 && LA22_0<=51)) ) { - alt22=1; - } - switch (alt22) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1542:1: (lv_arguments_3_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1542:1: (lv_arguments_3_0= ruleListOfValues ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1543:3: lv_arguments_3_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getArgumentsListOfValuesParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall2749); - lv_arguments_3_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getNameOrChoiceOrBehaviorCallRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "arguments", - lv_arguments_3_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,35,FOLLOW_35_in_ruleNameOrChoiceOrBehaviorCall2760); - - createLeafNode(grammarAccess.getNameOrChoiceOrBehaviorCallAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNameOrChoiceOrBehaviorCall - - - // $ANTLR start entryRuleQualifiedName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1577:1: entryRuleQualifiedName returns [EObject current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; - public final EObject entryRuleQualifiedName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleQualifiedName = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1578:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1579:2: iv_ruleQualifiedName= ruleQualifiedName EOF - { - currentNode = createCompositeNode(grammarAccess.getQualifiedNameRule(), currentNode); - pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2798); - iv_ruleQualifiedName=ruleQualifiedName(); - _fsp--; - - current =iv_ruleQualifiedName; - match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName2808); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleQualifiedName - - - // $ANTLR start ruleQualifiedName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1586:1: ruleQualifiedName returns [EObject current=null] : ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ; - public final EObject ruleQualifiedName() throws RecognitionException { - EObject current = null; - - EObject lv_remaining_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1591:6: ( ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:1: ( ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:2: ( ( RULE_ID ) ) '::' ( (lv_remaining_2_0= ruleQualifiedName ) )? - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1592:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1593:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1593:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1594:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleQualifiedName2851); - - createLeafNode(grammarAccess.getQualifiedNameAccess().getPathNamespaceCrossReference_0_0(), "path"); - - - } - - - } - - match(input,36,FOLLOW_36_in_ruleQualifiedName2861); - - createLeafNode(grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1610:1: ( (lv_remaining_2_0= ruleQualifiedName ) )? - int alt24=2; - int LA24_0 = input.LA(1); - - if ( (LA24_0==RULE_ID) ) { - int LA24_1 = input.LA(2); - - if ( (LA24_1==36) ) { - alt24=1; - } - } - switch (alt24) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1611:1: (lv_remaining_2_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1611:1: (lv_remaining_2_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1612:3: lv_remaining_2_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getQualifiedNameAccess().getRemainingQualifiedNameParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleQualifiedName2882); - lv_remaining_2_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getQualifiedNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "remaining", - lv_remaining_2_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleQualifiedName - - - // $ANTLR start entryRuleInterval - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1642:1: entryRuleInterval returns [EObject current=null] : iv_ruleInterval= ruleInterval EOF ; - public final EObject entryRuleInterval() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInterval = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1643:2: (iv_ruleInterval= ruleInterval EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1644:2: iv_ruleInterval= ruleInterval EOF - { - currentNode = createCompositeNode(grammarAccess.getIntervalRule(), currentNode); - pushFollow(FOLLOW_ruleInterval_in_entryRuleInterval2919); - iv_ruleInterval=ruleInterval(); - _fsp--; - - current =iv_ruleInterval; - match(input,EOF,FOLLOW_EOF_in_entryRuleInterval2929); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInterval - - - // $ANTLR start ruleInterval - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1651:1: ruleInterval returns [EObject current=null] : ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) ; - public final EObject ruleInterval() throws RecognitionException { - EObject current = null; - - Token lv_isLowerIncluded_1_0=null; - Token lv_isUpperIncluded_5_0=null; - EObject lv_lower_2_0 = null; - - EObject lv_upper_4_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1656:6: ( ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:1: ( ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) ( (lv_lower_2_0= ruleExpression ) ) '..' ( (lv_upper_4_0= ruleExpression ) ) ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) ) - int alt25=2; - int LA25_0 = input.LA(1); - - if ( (LA25_0==37) ) { - alt25=1; - } - else if ( (LA25_0==38) ) { - alt25=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("1657:2: ( ']' | ( (lv_isLowerIncluded_1_0= '[' ) ) )", 25, 0, input); - - throw nvae; - } - switch (alt25) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1657:4: ']' - { - match(input,37,FOLLOW_37_in_ruleInterval2965); - - createLeafNode(grammarAccess.getIntervalAccess().getRightSquareBracketKeyword_0_0(), null); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1662:6: ( (lv_isLowerIncluded_1_0= '[' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1662:6: ( (lv_isLowerIncluded_1_0= '[' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1663:1: (lv_isLowerIncluded_1_0= '[' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1663:1: (lv_isLowerIncluded_1_0= '[' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1664:3: lv_isLowerIncluded_1_0= '[' - { - lv_isLowerIncluded_1_0=(Token)input.LT(1); - match(input,38,FOLLOW_38_in_ruleInterval2989); - - createLeafNode(grammarAccess.getIntervalAccess().getIsLowerIncludedLeftSquareBracketKeyword_0_1_0(), "isLowerIncluded"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "isLowerIncluded", lv_isLowerIncluded_1_0, "[", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1683:3: ( (lv_lower_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1684:1: (lv_lower_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1684:1: (lv_lower_2_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1685:3: lv_lower_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getLowerExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInterval3024); - lv_lower_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "lower", - lv_lower_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,39,FOLLOW_39_in_ruleInterval3034); - - createLeafNode(grammarAccess.getIntervalAccess().getFullStopFullStopKeyword_2(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1711:1: ( (lv_upper_4_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1712:1: (lv_upper_4_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1712:1: (lv_upper_4_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1713:3: lv_upper_4_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getIntervalAccess().getUpperExpressionParserRuleCall_3_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInterval3055); - lv_upper_4_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "upper", - lv_upper_4_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' ) - int alt26=2; - int LA26_0 = input.LA(1); - - if ( (LA26_0==37) ) { - alt26=1; - } - else if ( (LA26_0==38) ) { - alt26=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("1735:2: ( ( (lv_isUpperIncluded_5_0= ']' ) ) | '[' )", 26, 0, input); - - throw nvae; - } - switch (alt26) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:3: ( (lv_isUpperIncluded_5_0= ']' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1735:3: ( (lv_isUpperIncluded_5_0= ']' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1736:1: (lv_isUpperIncluded_5_0= ']' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1736:1: (lv_isUpperIncluded_5_0= ']' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1737:3: lv_isUpperIncluded_5_0= ']' - { - lv_isUpperIncluded_5_0=(Token)input.LT(1); - match(input,37,FOLLOW_37_in_ruleInterval3074); - - createLeafNode(grammarAccess.getIntervalAccess().getIsUpperIncludedRightSquareBracketKeyword_4_0_0(), "isUpperIncluded"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntervalRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "isUpperIncluded", lv_isUpperIncluded_5_0, "]", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1757:7: '[' - { - match(input,38,FOLLOW_38_in_ruleInterval3103); - - createLeafNode(grammarAccess.getIntervalAccess().getLeftSquareBracketKeyword_4_1(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInterval - - - // $ANTLR start entryRuleCollectionOrTuple - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1769:1: entryRuleCollectionOrTuple returns [EObject current=null] : iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF ; - public final EObject entryRuleCollectionOrTuple() throws RecognitionException { - EObject current = null; - - EObject iv_ruleCollectionOrTuple = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1770:2: (iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1771:2: iv_ruleCollectionOrTuple= ruleCollectionOrTuple EOF - { - currentNode = createCompositeNode(grammarAccess.getCollectionOrTupleRule(), currentNode); - pushFollow(FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3140); - iv_ruleCollectionOrTuple=ruleCollectionOrTuple(); - _fsp--; - - current =iv_ruleCollectionOrTuple; - match(input,EOF,FOLLOW_EOF_in_entryRuleCollectionOrTuple3150); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleCollectionOrTuple - - - // $ANTLR start ruleCollectionOrTuple - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1778:1: ruleCollectionOrTuple returns [EObject current=null] : ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) ; - public final EObject ruleCollectionOrTuple() throws RecognitionException { - EObject current = null; - - EObject lv_listOfValues_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1783:6: ( ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:1: ( '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1784:3: '{' ( (lv_listOfValues_1_0= ruleListOfValues ) ) '}' - { - match(input,40,FOLLOW_40_in_ruleCollectionOrTuple3185); - - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getLeftCurlyBracketKeyword_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1788:1: ( (lv_listOfValues_1_0= ruleListOfValues ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1789:1: (lv_listOfValues_1_0= ruleListOfValues ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1789:1: (lv_listOfValues_1_0= ruleListOfValues ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1790:3: lv_listOfValues_1_0= ruleListOfValues - { - - currentNode=createCompositeNode(grammarAccess.getCollectionOrTupleAccess().getListOfValuesListOfValuesParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3206); - lv_listOfValues_1_0=ruleListOfValues(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getCollectionOrTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "listOfValues", - lv_listOfValues_1_0, - "ListOfValues", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,41,FOLLOW_41_in_ruleCollectionOrTuple3216); - - createLeafNode(grammarAccess.getCollectionOrTupleAccess().getRightCurlyBracketKeyword_2(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleCollectionOrTuple - - - // $ANTLR start entryRuleTuple - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1824:1: entryRuleTuple returns [EObject current=null] : iv_ruleTuple= ruleTuple EOF ; - public final EObject entryRuleTuple() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTuple = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1825:2: (iv_ruleTuple= ruleTuple EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1826:2: iv_ruleTuple= ruleTuple EOF - { - currentNode = createCompositeNode(grammarAccess.getTupleRule(), currentNode); - pushFollow(FOLLOW_ruleTuple_in_entryRuleTuple3252); - iv_ruleTuple=ruleTuple(); - _fsp--; - - current =iv_ruleTuple; - match(input,EOF,FOLLOW_EOF_in_entryRuleTuple3262); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleTuple - - - // $ANTLR start ruleTuple - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1833:1: ruleTuple returns [EObject current=null] : ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) ; - public final EObject ruleTuple() throws RecognitionException { - EObject current = null; - - EObject lv_listOfValueNamePairs_1_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1838:6: ( ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:1: ( '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1839:3: '{' ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) '}' - { - match(input,40,FOLLOW_40_in_ruleTuple3297); - - createLeafNode(grammarAccess.getTupleAccess().getLeftCurlyBracketKeyword_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1843:1: ( (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1844:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1844:1: (lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1845:3: lv_listOfValueNamePairs_1_0= ruleListOfValueNamePairs - { - - currentNode=createCompositeNode(grammarAccess.getTupleAccess().getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3318); - lv_listOfValueNamePairs_1_0=ruleListOfValueNamePairs(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getTupleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "listOfValueNamePairs", - lv_listOfValueNamePairs_1_0, - "ListOfValueNamePairs", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,41,FOLLOW_41_in_ruleTuple3328); - - createLeafNode(grammarAccess.getTupleAccess().getRightCurlyBracketKeyword_2(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleTuple - - - // $ANTLR start entryRuleListOfValues - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1879:1: entryRuleListOfValues returns [EObject current=null] : iv_ruleListOfValues= ruleListOfValues EOF ; - public final EObject entryRuleListOfValues() throws RecognitionException { - EObject current = null; - - EObject iv_ruleListOfValues = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1880:2: (iv_ruleListOfValues= ruleListOfValues EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1881:2: iv_ruleListOfValues= ruleListOfValues EOF - { - currentNode = createCompositeNode(grammarAccess.getListOfValuesRule(), currentNode); - pushFollow(FOLLOW_ruleListOfValues_in_entryRuleListOfValues3364); - iv_ruleListOfValues=ruleListOfValues(); - _fsp--; - - current =iv_ruleListOfValues; - match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValues3374); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleListOfValues - - - // $ANTLR start ruleListOfValues - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1888:1: ruleListOfValues returns [EObject current=null] : ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) ; - public final EObject ruleListOfValues() throws RecognitionException { - EObject current = null; - - EObject lv_values_0_0 = null; - - EObject lv_values_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1893:6: ( ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:1: ( ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:2: ( (lv_values_0_0= ruleExpression ) ) ( ',' ( (lv_values_2_0= ruleExpression ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1894:2: ( (lv_values_0_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1895:1: (lv_values_0_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1895:1: (lv_values_0_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1896:3: lv_values_0_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3420); - lv_values_0_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "values", - lv_values_0_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1918:2: ( ',' ( (lv_values_2_0= ruleExpression ) ) )* - loop27: - do { - int alt27=2; - int LA27_0 = input.LA(1); - - if ( (LA27_0==42) ) { - alt27=1; - } - - - switch (alt27) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1918:4: ',' ( (lv_values_2_0= ruleExpression ) ) - { - match(input,42,FOLLOW_42_in_ruleListOfValues3431); - - createLeafNode(grammarAccess.getListOfValuesAccess().getCommaKeyword_1_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1922:1: ( (lv_values_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1923:1: (lv_values_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1923:1: (lv_values_2_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1924:3: lv_values_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getListOfValuesAccess().getValuesExpressionParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleListOfValues3452); - lv_values_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValuesRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "values", - lv_values_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop27; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleListOfValues - - - // $ANTLR start entryRuleListOfValueNamePairs - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1954:1: entryRuleListOfValueNamePairs returns [EObject current=null] : iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF ; - public final EObject entryRuleListOfValueNamePairs() throws RecognitionException { - EObject current = null; - - EObject iv_ruleListOfValueNamePairs = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1955:2: (iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1956:2: iv_ruleListOfValueNamePairs= ruleListOfValueNamePairs EOF - { - currentNode = createCompositeNode(grammarAccess.getListOfValueNamePairsRule(), currentNode); - pushFollow(FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3490); - iv_ruleListOfValueNamePairs=ruleListOfValueNamePairs(); - _fsp--; - - current =iv_ruleListOfValueNamePairs; - match(input,EOF,FOLLOW_EOF_in_entryRuleListOfValueNamePairs3500); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleListOfValueNamePairs - - - // $ANTLR start ruleListOfValueNamePairs - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1963:1: ruleListOfValueNamePairs returns [EObject current=null] : ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) ; - public final EObject ruleListOfValueNamePairs() throws RecognitionException { - EObject current = null; - - EObject lv_valueNamePairs_0_0 = null; - - EObject lv_valueNamePairs_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1968:6: ( ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:1: ( ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1969:2: ( (lv_valueNamePairs_0_0= ruleValueNamePair ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1970:1: (lv_valueNamePairs_0_0= ruleValueNamePair ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1970:1: (lv_valueNamePairs_0_0= ruleValueNamePair ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1971:3: lv_valueNamePairs_0_0= ruleValueNamePair - { - - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3546); - lv_valueNamePairs_0_0=ruleValueNamePair(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "valueNamePairs", - lv_valueNamePairs_0_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1993:2: ( ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) )* - loop28: - do { - int alt28=2; - int LA28_0 = input.LA(1); - - if ( (LA28_0==42) ) { - alt28=1; - } - - - switch (alt28) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1993:4: ',' ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) - { - match(input,42,FOLLOW_42_in_ruleListOfValueNamePairs3557); - - createLeafNode(grammarAccess.getListOfValueNamePairsAccess().getCommaKeyword_1_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1997:1: ( (lv_valueNamePairs_2_0= ruleValueNamePair ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1998:1: (lv_valueNamePairs_2_0= ruleValueNamePair ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1998:1: (lv_valueNamePairs_2_0= ruleValueNamePair ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:1999:3: lv_valueNamePairs_2_0= ruleValueNamePair - { - - currentNode=createCompositeNode(grammarAccess.getListOfValueNamePairsAccess().getValueNamePairsValueNamePairParserRuleCall_1_1_0(), currentNode); - - pushFollow(FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3578); - lv_valueNamePairs_2_0=ruleValueNamePair(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getListOfValueNamePairsRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - add( - current, - "valueNamePairs", - lv_valueNamePairs_2_0, - "ValueNamePair", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - default : - break loop28; - } - } while (true); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleListOfValueNamePairs - - - // $ANTLR start entryRuleValueNamePair - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2029:1: entryRuleValueNamePair returns [EObject current=null] : iv_ruleValueNamePair= ruleValueNamePair EOF ; - public final EObject entryRuleValueNamePair() throws RecognitionException { - EObject current = null; - - EObject iv_ruleValueNamePair = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2030:2: (iv_ruleValueNamePair= ruleValueNamePair EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2031:2: iv_ruleValueNamePair= ruleValueNamePair EOF - { - currentNode = createCompositeNode(grammarAccess.getValueNamePairRule(), currentNode); - pushFollow(FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair3616); - iv_ruleValueNamePair=ruleValueNamePair(); - _fsp--; - - current =iv_ruleValueNamePair; - match(input,EOF,FOLLOW_EOF_in_entryRuleValueNamePair3626); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleValueNamePair - - - // $ANTLR start ruleValueNamePair - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2038:1: ruleValueNamePair returns [EObject current=null] : ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) ; - public final EObject ruleValueNamePair() throws RecognitionException { - EObject current = null; - - EObject lv_value_2_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2043:6: ( ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:1: ( ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:2: ( ( RULE_ID ) ) '=' ( (lv_value_2_0= ruleExpression ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2044:2: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2045:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2045:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2046:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValueNamePair3669); - - createLeafNode(grammarAccess.getValueNamePairAccess().getPropertyPropertyCrossReference_0_0(), "property"); - - - } - - - } - - match(input,43,FOLLOW_43_in_ruleValueNamePair3679); - - createLeafNode(grammarAccess.getValueNamePairAccess().getEqualsSignKeyword_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2062:1: ( (lv_value_2_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2063:1: (lv_value_2_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2063:1: (lv_value_2_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2064:3: lv_value_2_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getValueNamePairAccess().getValueExpressionParserRuleCall_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleValueNamePair3700); - lv_value_2_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getValueNamePairRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "value", - lv_value_2_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleValueNamePair - - - // $ANTLR start entryRuleTimeExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2094:1: entryRuleTimeExpression returns [EObject current=null] : iv_ruleTimeExpression= ruleTimeExpression EOF ; - public final EObject entryRuleTimeExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleTimeExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2095:2: (iv_ruleTimeExpression= ruleTimeExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2096:2: iv_ruleTimeExpression= ruleTimeExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getTimeExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression3736); - iv_ruleTimeExpression=ruleTimeExpression(); - _fsp--; - - current =iv_ruleTimeExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleTimeExpression3746); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleTimeExpression - - - // $ANTLR start ruleTimeExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2103:1: ruleTimeExpression returns [EObject current=null] : (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) ; - public final EObject ruleTimeExpression() throws RecognitionException { - EObject current = null; - - EObject this_InstantObsExpression_0 = null; - - EObject this_DurationObsExpression_1 = null; - - EObject this_JitterExp_2 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2108:6: ( (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp ) - int alt29=3; - switch ( input.LA(1) ) { - case 44: - { - alt29=1; - } - break; - case 46: - { - alt29=2; - } - break; - case 47: - { - alt29=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("2109:1: (this_InstantObsExpression_0= ruleInstantObsExpression | this_DurationObsExpression_1= ruleDurationObsExpression | this_JitterExp_2= ruleJitterExp )", 29, 0, input); - - throw nvae; - } - - switch (alt29) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2110:5: this_InstantObsExpression_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getInstantObsExpressionParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression3793); - this_InstantObsExpression_0=ruleInstantObsExpression(); - _fsp--; - - - current = this_InstantObsExpression_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2120:5: this_DurationObsExpression_1= ruleDurationObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getDurationObsExpressionParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression3820); - this_DurationObsExpression_1=ruleDurationObsExpression(); - _fsp--; - - - current = this_DurationObsExpression_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2130:5: this_JitterExp_2= ruleJitterExp - { - - currentNode=createCompositeNode(grammarAccess.getTimeExpressionAccess().getJitterExpParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleJitterExp_in_ruleTimeExpression3847); - this_JitterExp_2=ruleJitterExp(); - _fsp--; - - - current = this_JitterExp_2; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleTimeExpression - - - // $ANTLR start entryRuleInstantObsExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2146:1: entryRuleInstantObsExpression returns [EObject current=null] : iv_ruleInstantObsExpression= ruleInstantObsExpression EOF ; - public final EObject entryRuleInstantObsExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInstantObsExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2147:2: (iv_ruleInstantObsExpression= ruleInstantObsExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2148:2: iv_ruleInstantObsExpression= ruleInstantObsExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getInstantObsExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression3882); - iv_ruleInstantObsExpression=ruleInstantObsExpression(); - _fsp--; - - current =iv_ruleInstantObsExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsExpression3892); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInstantObsExpression - - - // $ANTLR start ruleInstantObsExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2155:1: ruleInstantObsExpression returns [EObject current=null] : ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ; - public final EObject ruleInstantObsExpression() throws RecognitionException { - EObject current = null; - - EObject lv_id_1_0 = null; - - EObject lv_index_3_0 = null; - - EObject lv_condition_7_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2160:6: ( ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:1: ( '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2161:3: '@' ( (lv_id_1_0= ruleInstantObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - { - match(input,44,FOLLOW_44_in_ruleInstantObsExpression3927); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getCommercialAtKeyword_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2165:1: ( (lv_id_1_0= ruleInstantObsName ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2166:1: (lv_id_1_0= ruleInstantObsName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2166:1: (lv_id_1_0= ruleInstantObsName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2167:3: lv_id_1_0= ruleInstantObsName - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIdInstantObsNameParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression3948); - lv_id_1_0=ruleInstantObsName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "id", - lv_id_1_0, - "InstantObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2189:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? - int alt30=2; - int LA30_0 = input.LA(1); - - if ( (LA30_0==34) ) { - alt30=1; - } - switch (alt30) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2189:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')' - { - match(input,34,FOLLOW_34_in_ruleInstantObsExpression3959); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2193:1: ( (lv_index_3_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2194:1: (lv_index_3_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2194:1: (lv_index_3_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2195:3: lv_index_3_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression3980); - lv_index_3_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleInstantObsExpression3990); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2221:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - int alt31=2; - int LA31_0 = input.LA(1); - - if ( (LA31_0==45) ) { - alt31=1; - } - switch (alt31) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2221:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' - { - match(input,45,FOLLOW_45_in_ruleInstantObsExpression4003); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getWhenKeyword_3_0(), null); - - match(input,34,FOLLOW_34_in_ruleInstantObsExpression4013); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2229:1: ( (lv_condition_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2230:1: (lv_condition_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2230:1: (lv_condition_7_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2231:3: lv_condition_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleInstantObsExpression4034); - lv_condition_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleInstantObsExpression4044); - - createLeafNode(grammarAccess.getInstantObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInstantObsExpression - - - // $ANTLR start entryRuleInstantObsName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2265:1: entryRuleInstantObsName returns [EObject current=null] : iv_ruleInstantObsName= ruleInstantObsName EOF ; - public final EObject entryRuleInstantObsName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleInstantObsName = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2266:2: (iv_ruleInstantObsName= ruleInstantObsName EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2267:2: iv_ruleInstantObsName= ruleInstantObsName EOF - { - currentNode = createCompositeNode(grammarAccess.getInstantObsNameRule(), currentNode); - pushFollow(FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4082); - iv_ruleInstantObsName=ruleInstantObsName(); - _fsp--; - - current =iv_ruleInstantObsName; - match(input,EOF,FOLLOW_EOF_in_entryRuleInstantObsName4092); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleInstantObsName - - - // $ANTLR start ruleInstantObsName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2274:1: ruleInstantObsName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleInstantObsName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2279:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2280:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt32=2; - int LA32_0 = input.LA(1); - - if ( (LA32_0==RULE_ID) ) { - int LA32_1 = input.LA(2); - - if ( (LA32_1==36) ) { - alt32=1; - } - } - switch (alt32) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2281:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2281:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2282:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getInstantObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleInstantObsName4138); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2304:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2305:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2305:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2306:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getInstantObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleInstantObsName4157); - - createLeafNode(grammarAccess.getInstantObsNameAccess().getInstantIdTimeObservationCrossReference_1_0(), "instantId"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleInstantObsName - - - // $ANTLR start entryRuleDurationObsExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2326:1: entryRuleDurationObsExpression returns [EObject current=null] : iv_ruleDurationObsExpression= ruleDurationObsExpression EOF ; - public final EObject entryRuleDurationObsExpression() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDurationObsExpression = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2327:2: (iv_ruleDurationObsExpression= ruleDurationObsExpression EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2328:2: iv_ruleDurationObsExpression= ruleDurationObsExpression EOF - { - currentNode = createCompositeNode(grammarAccess.getDurationObsExpressionRule(), currentNode); - pushFollow(FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4193); - iv_ruleDurationObsExpression=ruleDurationObsExpression(); - _fsp--; - - current =iv_ruleDurationObsExpression; - match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsExpression4203); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDurationObsExpression - - - // $ANTLR start ruleDurationObsExpression - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2335:1: ruleDurationObsExpression returns [EObject current=null] : ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ; - public final EObject ruleDurationObsExpression() throws RecognitionException { - EObject current = null; - - EObject lv_id_1_0 = null; - - EObject lv_index_3_0 = null; - - EObject lv_condition_7_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2340:6: ( ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:1: ( '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2341:3: '&' ( (lv_id_1_0= ruleDurationObsName ) ) ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - { - match(input,46,FOLLOW_46_in_ruleDurationObsExpression4238); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getAmpersandKeyword_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2345:1: ( (lv_id_1_0= ruleDurationObsName ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2346:1: (lv_id_1_0= ruleDurationObsName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2346:1: (lv_id_1_0= ruleDurationObsName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2347:3: lv_id_1_0= ruleDurationObsName - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIdDurationObsNameParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4259); - lv_id_1_0=ruleDurationObsName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "id", - lv_id_1_0, - "DurationObsName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2369:2: ( '(' ( (lv_index_3_0= ruleExpression ) ) ')' )? - int alt33=2; - int LA33_0 = input.LA(1); - - if ( (LA33_0==34) ) { - alt33=1; - } - switch (alt33) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2369:4: '(' ( (lv_index_3_0= ruleExpression ) ) ')' - { - match(input,34,FOLLOW_34_in_ruleDurationObsExpression4270); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_2_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2373:1: ( (lv_index_3_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2374:1: (lv_index_3_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2374:1: (lv_index_3_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2375:3: lv_index_3_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getIndexExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4291); - lv_index_3_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "index", - lv_index_3_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleDurationObsExpression4301); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_2_2(), null); - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2401:3: ( 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' )? - int alt34=2; - int LA34_0 = input.LA(1); - - if ( (LA34_0==45) ) { - alt34=1; - } - switch (alt34) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2401:5: 'when' '(' ( (lv_condition_7_0= ruleExpression ) ) ')' - { - match(input,45,FOLLOW_45_in_ruleDurationObsExpression4314); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getWhenKeyword_3_0(), null); - - match(input,34,FOLLOW_34_in_ruleDurationObsExpression4324); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getLeftParenthesisKeyword_3_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2409:1: ( (lv_condition_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2410:1: (lv_condition_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2410:1: (lv_condition_7_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2411:3: lv_condition_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsExpressionAccess().getConditionExpressionParserRuleCall_3_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleDurationObsExpression4345); - lv_condition_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsExpressionRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "condition", - lv_condition_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleDurationObsExpression4355); - - createLeafNode(grammarAccess.getDurationObsExpressionAccess().getRightParenthesisKeyword_3_3(), null); - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDurationObsExpression - - - // $ANTLR start entryRuleDurationObsName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2445:1: entryRuleDurationObsName returns [EObject current=null] : iv_ruleDurationObsName= ruleDurationObsName EOF ; - public final EObject entryRuleDurationObsName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDurationObsName = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2446:2: (iv_ruleDurationObsName= ruleDurationObsName EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2447:2: iv_ruleDurationObsName= ruleDurationObsName EOF - { - currentNode = createCompositeNode(grammarAccess.getDurationObsNameRule(), currentNode); - pushFollow(FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4393); - iv_ruleDurationObsName=ruleDurationObsName(); - _fsp--; - - current =iv_ruleDurationObsName; - match(input,EOF,FOLLOW_EOF_in_entryRuleDurationObsName4403); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDurationObsName - - - // $ANTLR start ruleDurationObsName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2454:1: ruleDurationObsName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleDurationObsName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2459:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2460:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt35=2; - int LA35_0 = input.LA(1); - - if ( (LA35_0==RULE_ID) ) { - int LA35_1 = input.LA(2); - - if ( (LA35_1==36) ) { - alt35=1; - } - } - switch (alt35) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2461:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2461:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2462:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getDurationObsNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleDurationObsName4449); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2484:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2485:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2485:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2486:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getDurationObsNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDurationObsName4468); - - createLeafNode(grammarAccess.getDurationObsNameAccess().getDurationIdDurationObservationCrossReference_1_0(), "durationId"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDurationObsName - - - // $ANTLR start entryRuleJitterExp - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2506:1: entryRuleJitterExp returns [EObject current=null] : iv_ruleJitterExp= ruleJitterExp EOF ; - public final EObject entryRuleJitterExp() throws RecognitionException { - EObject current = null; - - EObject iv_ruleJitterExp = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2507:2: (iv_ruleJitterExp= ruleJitterExp EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2508:2: iv_ruleJitterExp= ruleJitterExp EOF - { - currentNode = createCompositeNode(grammarAccess.getJitterExpRule(), currentNode); - pushFollow(FOLLOW_ruleJitterExp_in_entryRuleJitterExp4504); - iv_ruleJitterExp=ruleJitterExp(); - _fsp--; - - current =iv_ruleJitterExp; - match(input,EOF,FOLLOW_EOF_in_entryRuleJitterExp4514); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleJitterExp - - - // $ANTLR start ruleJitterExp - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2515:1: ruleJitterExp returns [EObject current=null] : ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) ; - public final EObject ruleJitterExp() throws RecognitionException { - EObject current = null; - - EObject lv_firstInstant_1_0 = null; - - EObject lv_secondInstant_3_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2520:6: ( ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:1: ( 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2521:3: 'jitter(' ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? ')' - { - match(input,47,FOLLOW_47_in_ruleJitterExp4549); - - createLeafNode(grammarAccess.getJitterExpAccess().getJitterKeyword_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2525:1: ( (lv_firstInstant_1_0= ruleInstantObsExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2526:1: (lv_firstInstant_1_0= ruleInstantObsExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2526:1: (lv_firstInstant_1_0= ruleInstantObsExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2527:3: lv_firstInstant_1_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getFirstInstantInstantObsExpressionParserRuleCall_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4570); - lv_firstInstant_1_0=ruleInstantObsExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "firstInstant", - lv_firstInstant_1_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2549:2: ( '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) )? - int alt36=2; - int LA36_0 = input.LA(1); - - if ( (LA36_0==28) ) { - alt36=1; - } - switch (alt36) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2549:4: '-' ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) - { - match(input,28,FOLLOW_28_in_ruleJitterExp4581); - - createLeafNode(grammarAccess.getJitterExpAccess().getHyphenMinusKeyword_2_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2553:1: ( (lv_secondInstant_3_0= ruleInstantObsExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2554:1: (lv_secondInstant_3_0= ruleInstantObsExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2554:1: (lv_secondInstant_3_0= ruleInstantObsExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2555:3: lv_secondInstant_3_0= ruleInstantObsExpression - { - - currentNode=createCompositeNode(grammarAccess.getJitterExpAccess().getSecondInstantInstantObsExpressionParserRuleCall_2_1_0(), currentNode); - - pushFollow(FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4602); - lv_secondInstant_3_0=ruleInstantObsExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getJitterExpRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "secondInstant", - lv_secondInstant_3_0, - "InstantObsExpression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - - } - break; - - } - - match(input,35,FOLLOW_35_in_ruleJitterExp4614); - - createLeafNode(grammarAccess.getJitterExpAccess().getRightParenthesisKeyword_3(), null); - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleJitterExp - - - // $ANTLR start entryRuleVariableDeclaration - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2589:1: entryRuleVariableDeclaration returns [EObject current=null] : iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ; - public final EObject entryRuleVariableDeclaration() throws RecognitionException { - EObject current = null; - - EObject iv_ruleVariableDeclaration = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2590:2: (iv_ruleVariableDeclaration= ruleVariableDeclaration EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2591:2: iv_ruleVariableDeclaration= ruleVariableDeclaration EOF - { - currentNode = createCompositeNode(grammarAccess.getVariableDeclarationRule(), currentNode); - pushFollow(FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration4650); - iv_ruleVariableDeclaration=ruleVariableDeclaration(); - _fsp--; - - current =iv_ruleVariableDeclaration; - match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDeclaration4660); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleVariableDeclaration - - - // $ANTLR start ruleVariableDeclaration - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2598:1: ruleVariableDeclaration returns [EObject current=null] : ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) ; - public final EObject ruleVariableDeclaration() throws RecognitionException { - EObject current = null; - - Token lv_name_2_0=null; - AntlrDatatypeRuleToken lv_variableDeclaration_0_0 = null; - - EObject lv_type_4_0 = null; - - EObject lv_initValue_7_0 = null; - - EObject lv_initValue_11_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2603:6: ( ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604:1: ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604:1: ( ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604:2: ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? '$' ( (lv_name_2_0= RULE_ID ) ) ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2604:2: ( (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) )? - int alt37=2; - int LA37_0 = input.LA(1); - - if ( ((LA37_0>=49 && LA37_0<=51)) ) { - alt37=1; - } - switch (alt37) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2605:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2605:1: (lv_variableDeclaration_0_0= ruleVariableDirectionKind ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2606:3: lv_variableDeclaration_0_0= ruleVariableDirectionKind - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getVariableDeclarationVariableDirectionKindParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration4706); - lv_variableDeclaration_0_0=ruleVariableDirectionKind(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "variableDeclaration", - lv_variableDeclaration_0_0, - "VariableDirectionKind", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - match(input,48,FOLLOW_48_in_ruleVariableDeclaration4717); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getDollarSignKeyword_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2632:1: ( (lv_name_2_0= RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2633:1: (lv_name_2_0= RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2633:1: (lv_name_2_0= RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2634:3: lv_name_2_0= RULE_ID - { - lv_name_2_0=(Token)input.LT(1); - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleVariableDeclaration4734); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getNameIDTerminalRuleCall_2_0(), "name"); - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "name", - lv_name_2_0, - "ID", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) ) - int alt39=2; - int LA39_0 = input.LA(1); - - if ( (LA39_0==26) ) { - alt39=1; - } - else if ( (LA39_0==43) ) { - alt39=2; - } - else { - NoViableAltException nvae = - new NoViableAltException("2656:2: ( ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) | ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) )", 39, 0, input); - - throw nvae; - } - switch (alt39) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:3: ( ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2656:5: ':' ( (lv_type_4_0= ruleDataTypeName ) ) ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? - { - match(input,26,FOLLOW_26_in_ruleVariableDeclaration4751); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getColonKeyword_3_0_0(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2660:1: ( (lv_type_4_0= ruleDataTypeName ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2661:1: (lv_type_4_0= ruleDataTypeName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2661:1: (lv_type_4_0= ruleDataTypeName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2662:3: lv_type_4_0= ruleDataTypeName - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getTypeDataTypeNameParserRuleCall_3_0_1_0(), currentNode); - - pushFollow(FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration4772); - lv_type_4_0=ruleDataTypeName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "type", - lv_type_4_0, - "DataTypeName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2684:2: ( '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' )? - int alt38=2; - int LA38_0 = input.LA(1); - - if ( (LA38_0==43) ) { - alt38=1; - } - switch (alt38) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2684:4: '=' '(' ( (lv_initValue_7_0= ruleExpression ) ) ')' - { - match(input,43,FOLLOW_43_in_ruleVariableDeclaration4783); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_0_2_0(), null); - - match(input,34,FOLLOW_34_in_ruleVariableDeclaration4793); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_0_2_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2692:1: ( (lv_initValue_7_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2693:1: (lv_initValue_7_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2693:1: (lv_initValue_7_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2694:3: lv_initValue_7_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_0_2_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration4814); - lv_initValue_7_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "initValue", - lv_initValue_7_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleVariableDeclaration4824); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_0_2_3(), null); - - - } - break; - - } - - - } - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:6: ( '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2721:8: '=' '(' ( (lv_initValue_11_0= ruleExpression ) ) ')' - { - match(input,43,FOLLOW_43_in_ruleVariableDeclaration4844); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getEqualsSignKeyword_3_1_0(), null); - - match(input,34,FOLLOW_34_in_ruleVariableDeclaration4854); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getLeftParenthesisKeyword_3_1_1(), null); - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2729:1: ( (lv_initValue_11_0= ruleExpression ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:1: (lv_initValue_11_0= ruleExpression ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2730:1: (lv_initValue_11_0= ruleExpression ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2731:3: lv_initValue_11_0= ruleExpression - { - - currentNode=createCompositeNode(grammarAccess.getVariableDeclarationAccess().getInitValueExpressionParserRuleCall_3_1_2_0(), currentNode); - - pushFollow(FOLLOW_ruleExpression_in_ruleVariableDeclaration4875); - lv_initValue_11_0=ruleExpression(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getVariableDeclarationRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "initValue", - lv_initValue_11_0, - "Expression", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - - match(input,35,FOLLOW_35_in_ruleVariableDeclaration4885); - - createLeafNode(grammarAccess.getVariableDeclarationAccess().getRightParenthesisKeyword_3_1_3(), null); - - - } - - - } - break; - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleVariableDeclaration - - - // $ANTLR start entryRuleVariableDirectionKind - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2765:1: entryRuleVariableDirectionKind returns [String current=null] : iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF ; - public final String entryRuleVariableDirectionKind() throws RecognitionException { - String current = null; - - AntlrDatatypeRuleToken iv_ruleVariableDirectionKind = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2766:2: (iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2767:2: iv_ruleVariableDirectionKind= ruleVariableDirectionKind EOF - { - currentNode = createCompositeNode(grammarAccess.getVariableDirectionKindRule(), currentNode); - pushFollow(FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind4924); - iv_ruleVariableDirectionKind=ruleVariableDirectionKind(); - _fsp--; - - current =iv_ruleVariableDirectionKind.getText(); - match(input,EOF,FOLLOW_EOF_in_entryRuleVariableDirectionKind4935); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleVariableDirectionKind - - - // $ANTLR start ruleVariableDirectionKind - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2774:1: ruleVariableDirectionKind returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'in' | kw= 'out' | kw= 'inout' ) ; - public final AntlrDatatypeRuleToken ruleVariableDirectionKind() throws RecognitionException { - AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); - - Token kw=null; - - setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2779:6: ( (kw= 'in' | kw= 'out' | kw= 'inout' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' ) - int alt40=3; - switch ( input.LA(1) ) { - case 49: - { - alt40=1; - } - break; - case 50: - { - alt40=2; - } - break; - case 51: - { - alt40=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("2780:1: (kw= 'in' | kw= 'out' | kw= 'inout' )", 40, 0, input); - - throw nvae; - } - - switch (alt40) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2781:2: kw= 'in' - { - kw=(Token)input.LT(1); - match(input,49,FOLLOW_49_in_ruleVariableDirectionKind4973); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInKeyword_0(), null); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2788:2: kw= 'out' - { - kw=(Token)input.LT(1); - match(input,50,FOLLOW_50_in_ruleVariableDirectionKind4992); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getOutKeyword_1(), null); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2795:2: kw= 'inout' - { - kw=(Token)input.LT(1); - match(input,51,FOLLOW_51_in_ruleVariableDirectionKind5011); - - current.merge(kw); - createLeafNode(grammarAccess.getVariableDirectionKindAccess().getInoutKeyword_2(), null); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleVariableDirectionKind - - - // $ANTLR start entryRuleDataTypeName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2808:1: entryRuleDataTypeName returns [EObject current=null] : iv_ruleDataTypeName= ruleDataTypeName EOF ; - public final EObject entryRuleDataTypeName() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDataTypeName = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2809:2: (iv_ruleDataTypeName= ruleDataTypeName EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2810:2: iv_ruleDataTypeName= ruleDataTypeName EOF - { - currentNode = createCompositeNode(grammarAccess.getDataTypeNameRule(), currentNode); - pushFollow(FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5051); - iv_ruleDataTypeName=ruleDataTypeName(); - _fsp--; - - current =iv_ruleDataTypeName; - match(input,EOF,FOLLOW_EOF_in_entryRuleDataTypeName5061); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDataTypeName - - - // $ANTLR start ruleDataTypeName - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2817:1: ruleDataTypeName returns [EObject current=null] : ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ; - public final EObject ruleDataTypeName() throws RecognitionException { - EObject current = null; - - EObject lv_path_0_0 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2822:6: ( ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:1: ( ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:2: ( (lv_path_0_0= ruleQualifiedName ) )? ( ( RULE_ID ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2823:2: ( (lv_path_0_0= ruleQualifiedName ) )? - int alt41=2; - int LA41_0 = input.LA(1); - - if ( (LA41_0==RULE_ID) ) { - int LA41_1 = input.LA(2); - - if ( (LA41_1==36) ) { - alt41=1; - } - } - switch (alt41) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2824:1: (lv_path_0_0= ruleQualifiedName ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2824:1: (lv_path_0_0= ruleQualifiedName ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2825:3: lv_path_0_0= ruleQualifiedName - { - - currentNode=createCompositeNode(grammarAccess.getDataTypeNameAccess().getPathQualifiedNameParserRuleCall_0_0(), currentNode); - - pushFollow(FOLLOW_ruleQualifiedName_in_ruleDataTypeName5107); - lv_path_0_0=ruleQualifiedName(); - _fsp--; - - - if (current==null) { - current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode.getParent(), current); - } - try { - set( - current, - "path", - lv_path_0_0, - "QualifiedName", - currentNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - currentNode = currentNode.getParent(); - - - } - - - } - break; - - } - - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2847:3: ( ( RULE_ID ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2848:1: ( RULE_ID ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2848:1: ( RULE_ID ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2849:3: RULE_ID - { - - if (current==null) { - current = factory.create(grammarAccess.getDataTypeNameRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataTypeName5126); - - createLeafNode(grammarAccess.getDataTypeNameAccess().getTypeDataTypeCrossReference_1_0(), "type"); - - - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDataTypeName - - - // $ANTLR start entryRuleNumberLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2869:1: entryRuleNumberLiteralRule returns [EObject current=null] : iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF ; - public final EObject entryRuleNumberLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNumberLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2870:2: (iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2871:2: iv_ruleNumberLiteralRule= ruleNumberLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getNumberLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5162); - iv_ruleNumberLiteralRule=ruleNumberLiteralRule(); - _fsp--; - - current =iv_ruleNumberLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleNumberLiteralRule5172); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNumberLiteralRule - - - // $ANTLR start ruleNumberLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2878:1: ruleNumberLiteralRule returns [EObject current=null] : (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) ; - public final EObject ruleNumberLiteralRule() throws RecognitionException { - EObject current = null; - - EObject this_IntegerLiteralRule_0 = null; - - EObject this_UnlimitedLiteralRule_1 = null; - - EObject this_RealLiteralRule_2 = null; - - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2883:6: ( (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule ) - int alt42=3; - switch ( input.LA(1) ) { - case RULE_INTEGERLITERAL: - { - alt42=1; - } - break; - case 29: - { - alt42=2; - } - break; - case RULE_REALLITERAL: - { - alt42=3; - } - break; - default: - NoViableAltException nvae = - new NoViableAltException("2884:1: (this_IntegerLiteralRule_0= ruleIntegerLiteralRule | this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule | this_RealLiteralRule_2= ruleRealLiteralRule )", 42, 0, input); - - throw nvae; - } - - switch (alt42) { - case 1 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2885:5: this_IntegerLiteralRule_0= ruleIntegerLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getIntegerLiteralRuleParserRuleCall_0(), currentNode); - - pushFollow(FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5219); - this_IntegerLiteralRule_0=ruleIntegerLiteralRule(); - _fsp--; - - - current = this_IntegerLiteralRule_0; - currentNode = currentNode.getParent(); - - - } - break; - case 2 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2895:5: this_UnlimitedLiteralRule_1= ruleUnlimitedLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getUnlimitedLiteralRuleParserRuleCall_1(), currentNode); - - pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5246); - this_UnlimitedLiteralRule_1=ruleUnlimitedLiteralRule(); - _fsp--; - - - current = this_UnlimitedLiteralRule_1; - currentNode = currentNode.getParent(); - - - } - break; - case 3 : - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2905:5: this_RealLiteralRule_2= ruleRealLiteralRule - { - - currentNode=createCompositeNode(grammarAccess.getNumberLiteralRuleAccess().getRealLiteralRuleParserRuleCall_2(), currentNode); - - pushFollow(FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5273); - this_RealLiteralRule_2=ruleRealLiteralRule(); - _fsp--; - - - current = this_RealLiteralRule_2; - currentNode = currentNode.getParent(); - - - } - break; - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNumberLiteralRule - - - // $ANTLR start entryRuleIntegerLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2921:1: entryRuleIntegerLiteralRule returns [EObject current=null] : iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF ; - public final EObject entryRuleIntegerLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleIntegerLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2922:2: (iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2923:2: iv_ruleIntegerLiteralRule= ruleIntegerLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getIntegerLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5308); - iv_ruleIntegerLiteralRule=ruleIntegerLiteralRule(); - _fsp--; - - current =iv_ruleIntegerLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleIntegerLiteralRule5318); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleIntegerLiteralRule - - - // $ANTLR start ruleIntegerLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2930:1: ruleIntegerLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) ; - public final EObject ruleIntegerLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2935:6: ( ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2936:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2936:1: ( (lv_value_0_0= RULE_INTEGERLITERAL ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2937:1: (lv_value_0_0= RULE_INTEGERLITERAL ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2937:1: (lv_value_0_0= RULE_INTEGERLITERAL ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2938:3: lv_value_0_0= RULE_INTEGERLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_INTEGERLITERAL,FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5359); - - createLeafNode(grammarAccess.getIntegerLiteralRuleAccess().getValueIntegerLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getIntegerLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "IntegerLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleIntegerLiteralRule - - - // $ANTLR start entryRuleUnlimitedLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2968:1: entryRuleUnlimitedLiteralRule returns [EObject current=null] : iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF ; - public final EObject entryRuleUnlimitedLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleUnlimitedLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2969:2: (iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2970:2: iv_ruleUnlimitedLiteralRule= ruleUnlimitedLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getUnlimitedLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5399); - iv_ruleUnlimitedLiteralRule=ruleUnlimitedLiteralRule(); - _fsp--; - - current =iv_ruleUnlimitedLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5409); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleUnlimitedLiteralRule - - - // $ANTLR start ruleUnlimitedLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2977:1: ruleUnlimitedLiteralRule returns [EObject current=null] : ( (lv_value_0_0= '*' ) ) ; - public final EObject ruleUnlimitedLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2982:6: ( ( (lv_value_0_0= '*' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2983:1: ( (lv_value_0_0= '*' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2983:1: ( (lv_value_0_0= '*' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2984:1: (lv_value_0_0= '*' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2984:1: (lv_value_0_0= '*' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:2985:3: lv_value_0_0= '*' - { - lv_value_0_0=(Token)input.LT(1); - match(input,29,FOLLOW_29_in_ruleUnlimitedLiteralRule5451); - - createLeafNode(grammarAccess.getUnlimitedLiteralRuleAccess().getValueAsteriskKeyword_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getUnlimitedLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "value", lv_value_0_0, "*", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleUnlimitedLiteralRule - - - // $ANTLR start entryRuleRealLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3012:1: entryRuleRealLiteralRule returns [EObject current=null] : iv_ruleRealLiteralRule= ruleRealLiteralRule EOF ; - public final EObject entryRuleRealLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleRealLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3013:2: (iv_ruleRealLiteralRule= ruleRealLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3014:2: iv_ruleRealLiteralRule= ruleRealLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getRealLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5499); - iv_ruleRealLiteralRule=ruleRealLiteralRule(); - _fsp--; - - current =iv_ruleRealLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleRealLiteralRule5509); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleRealLiteralRule - - - // $ANTLR start ruleRealLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3021:1: ruleRealLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_REALLITERAL ) ) ; - public final EObject ruleRealLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3026:6: ( ( (lv_value_0_0= RULE_REALLITERAL ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3027:1: ( (lv_value_0_0= RULE_REALLITERAL ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3027:1: ( (lv_value_0_0= RULE_REALLITERAL ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3028:1: (lv_value_0_0= RULE_REALLITERAL ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3028:1: (lv_value_0_0= RULE_REALLITERAL ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3029:3: lv_value_0_0= RULE_REALLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_REALLITERAL,FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule5550); - - createLeafNode(grammarAccess.getRealLiteralRuleAccess().getValueRealLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getRealLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "RealLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleRealLiteralRule - - - // $ANTLR start entryRuleDateTimeLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3059:1: entryRuleDateTimeLiteralRule returns [EObject current=null] : iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF ; - public final EObject entryRuleDateTimeLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDateTimeLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3060:2: (iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3061:2: iv_ruleDateTimeLiteralRule= ruleDateTimeLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getDateTimeLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule5590); - iv_ruleDateTimeLiteralRule=ruleDateTimeLiteralRule(); - _fsp--; - - current =iv_ruleDateTimeLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleDateTimeLiteralRule5600); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDateTimeLiteralRule - - - // $ANTLR start ruleDateTimeLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3068:1: ruleDateTimeLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) ; - public final EObject ruleDateTimeLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3073:6: ( ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3074:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3074:1: ( (lv_value_0_0= RULE_DATETIMELITERAL ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3075:1: (lv_value_0_0= RULE_DATETIMELITERAL ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3075:1: (lv_value_0_0= RULE_DATETIMELITERAL ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3076:3: lv_value_0_0= RULE_DATETIMELITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_DATETIMELITERAL,FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule5641); - - createLeafNode(grammarAccess.getDateTimeLiteralRuleAccess().getValueDateTimeLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getDateTimeLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "DateTimeLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDateTimeLiteralRule - - - // $ANTLR start entryRuleBooleanLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3106:1: entryRuleBooleanLiteralRule returns [EObject current=null] : iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF ; - public final EObject entryRuleBooleanLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleBooleanLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3107:2: (iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3108:2: iv_ruleBooleanLiteralRule= ruleBooleanLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getBooleanLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule5681); - iv_ruleBooleanLiteralRule=ruleBooleanLiteralRule(); - _fsp--; - - current =iv_ruleBooleanLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleBooleanLiteralRule5691); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleBooleanLiteralRule - - - // $ANTLR start ruleBooleanLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3115:1: ruleBooleanLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) ; - public final EObject ruleBooleanLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3120:6: ( ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3121:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3121:1: ( (lv_value_0_0= RULE_BOOLEANLITERAL ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3122:1: (lv_value_0_0= RULE_BOOLEANLITERAL ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3122:1: (lv_value_0_0= RULE_BOOLEANLITERAL ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3123:3: lv_value_0_0= RULE_BOOLEANLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_BOOLEANLITERAL,FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule5732); - - createLeafNode(grammarAccess.getBooleanLiteralRuleAccess().getValueBooleanLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getBooleanLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "BooleanLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleBooleanLiteralRule - - - // $ANTLR start entryRuleNullLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3153:1: entryRuleNullLiteralRule returns [EObject current=null] : iv_ruleNullLiteralRule= ruleNullLiteralRule EOF ; - public final EObject entryRuleNullLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleNullLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3154:2: (iv_ruleNullLiteralRule= ruleNullLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3155:2: iv_ruleNullLiteralRule= ruleNullLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getNullLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule5772); - iv_ruleNullLiteralRule=ruleNullLiteralRule(); - _fsp--; - - current =iv_ruleNullLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleNullLiteralRule5782); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleNullLiteralRule - - - // $ANTLR start ruleNullLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3162:1: ruleNullLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_NULLLITERAL ) ) ; - public final EObject ruleNullLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3167:6: ( ( (lv_value_0_0= RULE_NULLLITERAL ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3168:1: ( (lv_value_0_0= RULE_NULLLITERAL ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3168:1: ( (lv_value_0_0= RULE_NULLLITERAL ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3169:1: (lv_value_0_0= RULE_NULLLITERAL ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3169:1: (lv_value_0_0= RULE_NULLLITERAL ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3170:3: lv_value_0_0= RULE_NULLLITERAL - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_NULLLITERAL,FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule5823); - - createLeafNode(grammarAccess.getNullLiteralRuleAccess().getValueNullLiteralTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getNullLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "NullLiteral", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleNullLiteralRule - - - // $ANTLR start entryRuleDefaultLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3200:1: entryRuleDefaultLiteralRule returns [EObject current=null] : iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF ; - public final EObject entryRuleDefaultLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleDefaultLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3201:2: (iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3202:2: iv_ruleDefaultLiteralRule= ruleDefaultLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getDefaultLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule5863); - iv_ruleDefaultLiteralRule=ruleDefaultLiteralRule(); - _fsp--; - - current =iv_ruleDefaultLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleDefaultLiteralRule5873); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleDefaultLiteralRule - - - // $ANTLR start ruleDefaultLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3209:1: ruleDefaultLiteralRule returns [EObject current=null] : ( (lv_value_0_0= '/' ) ) ; - public final EObject ruleDefaultLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3214:6: ( ( (lv_value_0_0= '/' ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3215:1: ( (lv_value_0_0= '/' ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3215:1: ( (lv_value_0_0= '/' ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3216:1: (lv_value_0_0= '/' ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3216:1: (lv_value_0_0= '/' ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3217:3: lv_value_0_0= '/' - { - lv_value_0_0=(Token)input.LT(1); - match(input,30,FOLLOW_30_in_ruleDefaultLiteralRule5915); - - createLeafNode(grammarAccess.getDefaultLiteralRuleAccess().getValueSolidusKeyword_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getDefaultLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - - try { - set(current, "value", lv_value_0_0, "/", lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleDefaultLiteralRule - - - // $ANTLR start entryRuleStringLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3244:1: entryRuleStringLiteralRule returns [EObject current=null] : iv_ruleStringLiteralRule= ruleStringLiteralRule EOF ; - public final EObject entryRuleStringLiteralRule() throws RecognitionException { - EObject current = null; - - EObject iv_ruleStringLiteralRule = null; - - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3245:2: (iv_ruleStringLiteralRule= ruleStringLiteralRule EOF ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3246:2: iv_ruleStringLiteralRule= ruleStringLiteralRule EOF - { - currentNode = createCompositeNode(grammarAccess.getStringLiteralRuleRule(), currentNode); - pushFollow(FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule5963); - iv_ruleStringLiteralRule=ruleStringLiteralRule(); - _fsp--; - - current =iv_ruleStringLiteralRule; - match(input,EOF,FOLLOW_EOF_in_entryRuleStringLiteralRule5973); - - } - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end entryRuleStringLiteralRule - - - // $ANTLR start ruleStringLiteralRule - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3253:1: ruleStringLiteralRule returns [EObject current=null] : ( (lv_value_0_0= RULE_STRING ) ) ; - public final EObject ruleStringLiteralRule() throws RecognitionException { - EObject current = null; - - Token lv_value_0_0=null; - - EObject temp=null; setCurrentLookahead(); resetLookahead(); - - try { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3258:6: ( ( (lv_value_0_0= RULE_STRING ) ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3259:1: ( (lv_value_0_0= RULE_STRING ) ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3259:1: ( (lv_value_0_0= RULE_STRING ) ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3260:1: (lv_value_0_0= RULE_STRING ) - { - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3260:1: (lv_value_0_0= RULE_STRING ) - // ../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g:3261:3: lv_value_0_0= RULE_STRING - { - lv_value_0_0=(Token)input.LT(1); - match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleStringLiteralRule6014); - - createLeafNode(grammarAccess.getStringLiteralRuleAccess().getValueSTRINGTerminalRuleCall_0(), "value"); - - - if (current==null) { - current = factory.create(grammarAccess.getStringLiteralRuleRule().getType().getClassifier()); - associateNodeWithAstElement(currentNode, current); - } - try { - set( - current, - "value", - lv_value_0_0, - "STRING", - lastConsumedNode); - } catch (ValueConverterException vce) { - handleValueConverterException(vce); - } - - - } - - - } - - - } - - resetLookahead(); - lastConsumedNode = currentNode; - - } - - catch (RecognitionException re) { - recover(input,re); - appendSkippedTokens(); - } - finally { - } - return current; - } - // $ANTLR end ruleStringLiteralRule - - - - - public static final BitSet FOLLOW_ruleExpression_in_entryRuleExpression75 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleExpression85 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAndOrXorExpression_in_ruleExpression130 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAndOrXorExpression_in_entryRuleAndOrXorExpression165 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAndOrXorExpression175 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression221 = new BitSet(new long[]{0x0000000000070002L}); - public static final BitSet FOLLOW_16_in_ruleAndOrXorExpression242 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_17_in_ruleAndOrXorExpression271 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_18_in_ruleAndOrXorExpression300 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndOrXorExpression337 = new BitSet(new long[]{0x0000000000070002L}); - public static final BitSet FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression375 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleEqualityExpression385 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression431 = new BitSet(new long[]{0x0000000000180002L}); - public static final BitSet FOLLOW_19_in_ruleEqualityExpression452 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_20_in_ruleEqualityExpression481 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleEqualityExpression518 = new BitSet(new long[]{0x0000000000180002L}); - public static final BitSet FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression556 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRelationalExpression566 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression612 = new BitSet(new long[]{0x0000000001E00002L}); - public static final BitSet FOLLOW_21_in_ruleRelationalExpression633 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_22_in_ruleRelationalExpression662 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_23_in_ruleRelationalExpression691 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_24_in_ruleRelationalExpression720 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_ruleRelationalExpression757 = new BitSet(new long[]{0x0000000001E00002L}); - public static final BitSet FOLLOW_ruleConditionalExpression_in_entryRuleConditionalExpression795 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleConditionalExpression805 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression851 = new BitSet(new long[]{0x0000000002000002L}); - public static final BitSet FOLLOW_25_in_ruleConditionalExpression870 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression904 = new BitSet(new long[]{0x0000000004000000L}); - public static final BitSet FOLLOW_26_in_ruleConditionalExpression914 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleConditionalExpression935 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression973 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleAdditiveExpression983 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1029 = new BitSet(new long[]{0x0000000018000002L}); - public static final BitSet FOLLOW_27_in_ruleAdditiveExpression1050 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_28_in_ruleAdditiveExpression1079 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression1116 = new BitSet(new long[]{0x0000000018000002L}); - public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression1154 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicativeExpression1164 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1210 = new BitSet(new long[]{0x00000000E0000002L}); - public static final BitSet FOLLOW_29_in_ruleMultiplicativeExpression1231 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_30_in_ruleMultiplicativeExpression1260 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_31_in_ruleMultiplicativeExpression1289 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression1326 = new BitSet(new long[]{0x00000000E0000002L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression1364 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleUnaryExpression1374 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_32_in_ruleUnaryExpression1420 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_28_in_ruleUnaryExpression1449 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_27_in_ruleUnaryExpression1478 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleUnaryExpression1515 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression1543 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression1579 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpression1589 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueSpecification_in_rulePrimaryExpression1635 = new BitSet(new long[]{0x0000000200000002L}); - public static final BitSet FOLLOW_33_in_rulePrimaryExpression1646 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePrimaryExpression1667 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification1705 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleValueSpecification1715 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_ruleValueSpecification1762 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_ruleValueSpecification1789 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInterval_in_ruleValueSpecification1816 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCollectionOrTuple_in_ruleValueSpecification1843 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTuple_in_ruleValueSpecification1870 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTimeExpression_in_ruleValueSpecification1897 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDeclaration_in_ruleValueSpecification1924 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_34_in_ruleValueSpecification1940 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleValueSpecification1962 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleValueSpecification1971 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression2008 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleSuffixExpression2018 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression2065 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression2092 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression2127 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRulePropertyCallExpression2137 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_rulePropertyCallExpression2180 = new BitSet(new long[]{0x0000000200000002L}); - public static final BitSet FOLLOW_33_in_rulePropertyCallExpression2191 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression2212 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression2250 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpression2260 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpression2303 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleOperationCallExpression2313 = new BitSet(new long[]{0x000FD16D780007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleOperationCallExpression2334 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleOperationCallExpression2345 = new BitSet(new long[]{0x0000000200000002L}); - public static final BitSet FOLLOW_33_in_ruleOperationCallExpression2356 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression2377 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleLiteral_in_entryRuleLiteral2415 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleLiteral2425 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteralRule_in_ruleLiteral2472 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_ruleLiteral2499 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_ruleLiteral2526 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNullLiteralRule_in_ruleLiteral2553 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_ruleLiteral2580 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteralRule_in_ruleLiteral2607 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNameOrChoiceOrBehaviorCall_in_entryRuleNameOrChoiceOrBehaviorCall2642 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNameOrChoiceOrBehaviorCall2652 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleNameOrChoiceOrBehaviorCall2698 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleNameOrChoiceOrBehaviorCall2717 = new BitSet(new long[]{0x0000000400000002L}); - public static final BitSet FOLLOW_34_in_ruleNameOrChoiceOrBehaviorCall2728 = new BitSet(new long[]{0x000FD16D780007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleNameOrChoiceOrBehaviorCall2749 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleNameOrChoiceOrBehaviorCall2760 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2798 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedName2808 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedName2851 = new BitSet(new long[]{0x0000001000000000L}); - public static final BitSet FOLLOW_36_in_ruleQualifiedName2861 = new BitSet(new long[]{0x0000000000000012L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleQualifiedName2882 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInterval_in_entryRuleInterval2919 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInterval2929 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_37_in_ruleInterval2965 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_38_in_ruleInterval2989 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3024 = new BitSet(new long[]{0x0000008000000000L}); - public static final BitSet FOLLOW_39_in_ruleInterval3034 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInterval3055 = new BitSet(new long[]{0x0000006000000000L}); - public static final BitSet FOLLOW_37_in_ruleInterval3074 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_38_in_ruleInterval3103 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleCollectionOrTuple_in_entryRuleCollectionOrTuple3140 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleCollectionOrTuple3150 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleCollectionOrTuple3185 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleListOfValues_in_ruleCollectionOrTuple3206 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_41_in_ruleCollectionOrTuple3216 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTuple_in_entryRuleTuple3252 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTuple3262 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_40_in_ruleTuple3297 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_ruleTuple3318 = new BitSet(new long[]{0x0000020000000000L}); - public static final BitSet FOLLOW_41_in_ruleTuple3328 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleListOfValues_in_entryRuleListOfValues3364 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleListOfValues3374 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3420 = new BitSet(new long[]{0x0000040000000002L}); - public static final BitSet FOLLOW_42_in_ruleListOfValues3431 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleListOfValues3452 = new BitSet(new long[]{0x0000040000000002L}); - public static final BitSet FOLLOW_ruleListOfValueNamePairs_in_entryRuleListOfValueNamePairs3490 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleListOfValueNamePairs3500 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3546 = new BitSet(new long[]{0x0000040000000002L}); - public static final BitSet FOLLOW_42_in_ruleListOfValueNamePairs3557 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_ruleListOfValueNamePairs3578 = new BitSet(new long[]{0x0000040000000002L}); - public static final BitSet FOLLOW_ruleValueNamePair_in_entryRuleValueNamePair3616 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleValueNamePair3626 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleValueNamePair3669 = new BitSet(new long[]{0x0000080000000000L}); - public static final BitSet FOLLOW_43_in_ruleValueNamePair3679 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleValueNamePair3700 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleTimeExpression_in_entryRuleTimeExpression3736 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleTimeExpression3746 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleTimeExpression3793 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsExpression_in_ruleTimeExpression3820 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleJitterExp_in_ruleTimeExpression3847 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_entryRuleInstantObsExpression3882 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsExpression3892 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_44_in_ruleInstantObsExpression3927 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleInstantObsName_in_ruleInstantObsExpression3948 = new BitSet(new long[]{0x0000200400000002L}); - public static final BitSet FOLLOW_34_in_ruleInstantObsExpression3959 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression3980 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleInstantObsExpression3990 = new BitSet(new long[]{0x0000200000000002L}); - public static final BitSet FOLLOW_45_in_ruleInstantObsExpression4003 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleInstantObsExpression4013 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleInstantObsExpression4034 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleInstantObsExpression4044 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleInstantObsName_in_entryRuleInstantObsName4082 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleInstantObsName4092 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleInstantObsName4138 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleInstantObsName4157 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsExpression_in_entryRuleDurationObsExpression4193 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsExpression4203 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_46_in_ruleDurationObsExpression4238 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleDurationObsName_in_ruleDurationObsExpression4259 = new BitSet(new long[]{0x0000200400000002L}); - public static final BitSet FOLLOW_34_in_ruleDurationObsExpression4270 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4291 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleDurationObsExpression4301 = new BitSet(new long[]{0x0000200000000002L}); - public static final BitSet FOLLOW_45_in_ruleDurationObsExpression4314 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleDurationObsExpression4324 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleDurationObsExpression4345 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleDurationObsExpression4355 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDurationObsName_in_entryRuleDurationObsName4393 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDurationObsName4403 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDurationObsName4449 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleDurationObsName4468 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleJitterExp_in_entryRuleJitterExp4504 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleJitterExp4514 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_47_in_ruleJitterExp4549 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4570 = new BitSet(new long[]{0x0000000810000000L}); - public static final BitSet FOLLOW_28_in_ruleJitterExp4581 = new BitSet(new long[]{0x0000100000000000L}); - public static final BitSet FOLLOW_ruleInstantObsExpression_in_ruleJitterExp4602 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleJitterExp4614 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDeclaration_in_entryRuleVariableDeclaration4650 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVariableDeclaration4660 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDirectionKind_in_ruleVariableDeclaration4706 = new BitSet(new long[]{0x0001000000000000L}); - public static final BitSet FOLLOW_48_in_ruleVariableDeclaration4717 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleVariableDeclaration4734 = new BitSet(new long[]{0x0000080004000000L}); - public static final BitSet FOLLOW_26_in_ruleVariableDeclaration4751 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_ruleDataTypeName_in_ruleVariableDeclaration4772 = new BitSet(new long[]{0x0000080000000002L}); - public static final BitSet FOLLOW_43_in_ruleVariableDeclaration4783 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleVariableDeclaration4793 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration4814 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleVariableDeclaration4824 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_43_in_ruleVariableDeclaration4844 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_34_in_ruleVariableDeclaration4854 = new BitSet(new long[]{0x000FD165780007F0L}); - public static final BitSet FOLLOW_ruleExpression_in_ruleVariableDeclaration4875 = new BitSet(new long[]{0x0000000800000000L}); - public static final BitSet FOLLOW_35_in_ruleVariableDeclaration4885 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleVariableDirectionKind_in_entryRuleVariableDirectionKind4924 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleVariableDirectionKind4935 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_49_in_ruleVariableDirectionKind4973 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_50_in_ruleVariableDirectionKind4992 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_51_in_ruleVariableDirectionKind5011 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDataTypeName_in_entryRuleDataTypeName5051 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDataTypeName5061 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleQualifiedName_in_ruleDataTypeName5107 = new BitSet(new long[]{0x0000000000000010L}); - public static final BitSet FOLLOW_RULE_ID_in_ruleDataTypeName5126 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNumberLiteralRule_in_entryRuleNumberLiteralRule5162 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNumberLiteralRule5172 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_ruleNumberLiteralRule5219 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_ruleNumberLiteralRule5246 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteralRule_in_ruleNumberLiteralRule5273 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleIntegerLiteralRule_in_entryRuleIntegerLiteralRule5308 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleIntegerLiteralRule5318 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_INTEGERLITERAL_in_ruleIntegerLiteralRule5359 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleUnlimitedLiteralRule_in_entryRuleUnlimitedLiteralRule5399 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleUnlimitedLiteralRule5409 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_29_in_ruleUnlimitedLiteralRule5451 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleRealLiteralRule_in_entryRuleRealLiteralRule5499 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleRealLiteralRule5509 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_REALLITERAL_in_ruleRealLiteralRule5550 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDateTimeLiteralRule_in_entryRuleDateTimeLiteralRule5590 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDateTimeLiteralRule5600 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_DATETIMELITERAL_in_ruleDateTimeLiteralRule5641 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleBooleanLiteralRule_in_entryRuleBooleanLiteralRule5681 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleBooleanLiteralRule5691 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_BOOLEANLITERAL_in_ruleBooleanLiteralRule5732 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleNullLiteralRule_in_entryRuleNullLiteralRule5772 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleNullLiteralRule5782 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_NULLLITERAL_in_ruleNullLiteralRule5823 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleDefaultLiteralRule_in_entryRuleDefaultLiteralRule5863 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleDefaultLiteralRule5873 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_30_in_ruleDefaultLiteralRule5915 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_ruleStringLiteralRule_in_entryRuleStringLiteralRule5963 = new BitSet(new long[]{0x0000000000000000L}); - public static final BitSet FOLLOW_EOF_in_entryRuleStringLiteralRule5973 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_RULE_STRING_in_ruleStringLiteralRule6014 = new BitSet(new long[]{0x0000000000000002L}); - -}
\ No newline at end of file diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL__.g b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL__.g deleted file mode 100644 index c9cadf8c995..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL__.g +++ /dev/null @@ -1,83 +0,0 @@ -lexer grammar InternalVSL; -@header { -package org.eclipse.papyrus.marte.vsl.parser.antlr.internal; - -// Hack: Use our own Lexer superclass by means of import. -// Currently there is no other way to specify the superclass for the lexer. -import org.eclipse.xtext.parser.antlr.Lexer; -} - -T16 : 'and' ; -T17 : 'or' ; -T18 : 'xor' ; -T19 : '==' ; -T20 : '<>' ; -T21 : '<' ; -T22 : '>' ; -T23 : '<=' ; -T24 : '>=' ; -T25 : '?' ; -T26 : ':' ; -T27 : '+' ; -T28 : '-' ; -T29 : '*' ; -T30 : '/' ; -T31 : 'mod' ; -T32 : 'not' ; -T33 : '.' ; -T34 : '(' ; -T35 : ')' ; -T36 : '::' ; -T37 : ']' ; -T38 : '[' ; -T39 : '..' ; -T40 : '{' ; -T41 : '}' ; -T42 : ',' ; -T43 : '=' ; -T44 : '@' ; -T45 : 'when' ; -T46 : '&' ; -T47 : 'jitter(' ; -T48 : '$' ; -T49 : 'in' ; -T50 : 'out' ; -T51 : 'inout' ; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3290 -RULE_INTEGERLITERAL : ('+'|'-')? (('0'..'9')+|'0x' ('0'..'9'|'A'..'F'|'a'..'f')+|'0b' ('0'..'1')+); - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3292 -RULE_REALLITERAL : ('+'|'-')? ('0'..'9')+ '.' ('0'..'9')+ ('E' ('+'|'-')? ('0'..'9')+)?; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3294 -RULE_DATETIMELITERAL : (('0'..'1' '0'..'9'|'2' '0'..'3') ':' '0'..'5' '0'..'9' (':' '0'..'5' '0'..'9' (':' '0'..'9' '0'..'9')?)? (' ' '0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')))? (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|'0'..'9' '0'..'9' '0'..'9' '0'..'9' '/' ('0' '0'..'9'|'1' '0'..'2') '/' ('0'..'2' '0'..'9'|'3' ('0'|'1')) (' ' ('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun'))?|('Mon'|'Tue'|'Wed'|'Thr'|'Fri'|'Sat'|'Sun')); - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3296 -RULE_BOOLEANLITERAL : ('true'|'false'); - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3298 -RULE_NULLLITERAL : 'null'; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3300 -RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3302 -RULE_INT : ('0'..'9')+; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3304 -RULE_STRING : ('"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"'|'\'' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'\'')))* '\''); - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3306 -RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3308 -RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3310 -RULE_WS : (' '|'\t'|'\r'|'\n')+; - -// $ANTLR src "../org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/parser/antlr/internal/InternalVSL.g" 3312 -RULE_ANY_OTHER : .; - - diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/services/VSLGrammarAccess.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/services/VSLGrammarAccess.java deleted file mode 100644 index d70f59d30b9..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/services/VSLGrammarAccess.java +++ /dev/null @@ -1,2151 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ - -package org.eclipse.papyrus.marte.vsl.services; - -import com.google.inject.Singleton; -import com.google.inject.Inject; - -import org.eclipse.xtext.*; -import org.eclipse.xtext.service.GrammarProvider; -import org.eclipse.xtext.service.AbstractElementFinder.*; - -import org.eclipse.xtext.common.services.TerminalsGrammarAccess; - -@Singleton -public class VSLGrammarAccess extends AbstractGrammarElementFinder { - - - public class ExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Expression"); - private final Assignment cExpAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cExpAndOrXorExpressionParserRuleCall_0 = (RuleCall)cExpAssignment.eContents().get(0); - - //Expression: - // exp=AndOrXorExpression; - public ParserRule getRule() { return rule; } - - //exp=AndOrXorExpression - public Assignment getExpAssignment() { return cExpAssignment; } - - //AndOrXorExpression - public RuleCall getExpAndOrXorExpressionParserRuleCall_0() { return cExpAndOrXorExpressionParserRuleCall_0; } - } - - public class AndOrXorExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AndOrXorExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpEqualityExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Alternatives cOpAlternatives_1_0_0 = (Alternatives)cOpAssignment_1_0.eContents().get(0); - private final Keyword cOpAndKeyword_1_0_0_0 = (Keyword)cOpAlternatives_1_0_0.eContents().get(0); - private final Keyword cOpOrKeyword_1_0_0_1 = (Keyword)cOpAlternatives_1_0_0.eContents().get(1); - private final Keyword cOpXorKeyword_1_0_0_2 = (Keyword)cOpAlternatives_1_0_0.eContents().get(2); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpEqualityExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - - //AndOrXorExpression: - // exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)*; - public ParserRule getRule() { return rule; } - - //exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)* - public Group getGroup() { return cGroup; } - - //exp+=EqualityExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //EqualityExpression - public RuleCall getExpEqualityExpressionParserRuleCall_0_0() { return cExpEqualityExpressionParserRuleCall_0_0; } - - //(op+=("and" | "or" | "xor") exp+=EqualityExpression)* - public Group getGroup_1() { return cGroup_1; } - - //op+=("and" | "or" | "xor") - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"and" | "or" | "xor" - public Alternatives getOpAlternatives_1_0_0() { return cOpAlternatives_1_0_0; } - - //"and" - public Keyword getOpAndKeyword_1_0_0_0() { return cOpAndKeyword_1_0_0_0; } - - //"or" - public Keyword getOpOrKeyword_1_0_0_1() { return cOpOrKeyword_1_0_0_1; } - - //"xor" - public Keyword getOpXorKeyword_1_0_0_2() { return cOpXorKeyword_1_0_0_2; } - - //exp+=EqualityExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //EqualityExpression - public RuleCall getExpEqualityExpressionParserRuleCall_1_1_0() { return cExpEqualityExpressionParserRuleCall_1_1_0; } - } - - public class EqualityExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "EqualityExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpRelationalExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Alternatives cOpAlternatives_1_0_0 = (Alternatives)cOpAssignment_1_0.eContents().get(0); - private final Keyword cOpEqualsSignEqualsSignKeyword_1_0_0_0 = (Keyword)cOpAlternatives_1_0_0.eContents().get(0); - private final Keyword cOpLessThanSignGreaterThanSignKeyword_1_0_0_1 = (Keyword)cOpAlternatives_1_0_0.eContents().get(1); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpRelationalExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - - //EqualityExpression: - // exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)*; - public ParserRule getRule() { return rule; } - - //exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)* - public Group getGroup() { return cGroup; } - - //exp+=RelationalExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //RelationalExpression - public RuleCall getExpRelationalExpressionParserRuleCall_0_0() { return cExpRelationalExpressionParserRuleCall_0_0; } - - //(op+=("==" | "<>") exp+=RelationalExpression)* - public Group getGroup_1() { return cGroup_1; } - - //op+=("==" | "<>") - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"==" | "<>" - public Alternatives getOpAlternatives_1_0_0() { return cOpAlternatives_1_0_0; } - - //"==" - public Keyword getOpEqualsSignEqualsSignKeyword_1_0_0_0() { return cOpEqualsSignEqualsSignKeyword_1_0_0_0; } - - //"<>" - public Keyword getOpLessThanSignGreaterThanSignKeyword_1_0_0_1() { return cOpLessThanSignGreaterThanSignKeyword_1_0_0_1; } - - //exp+=RelationalExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //RelationalExpression - public RuleCall getExpRelationalExpressionParserRuleCall_1_1_0() { return cExpRelationalExpressionParserRuleCall_1_1_0; } - } - - public class RelationalExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RelationalExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpConditionalExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Alternatives cOpAlternatives_1_0_0 = (Alternatives)cOpAssignment_1_0.eContents().get(0); - private final Keyword cOpLessThanSignKeyword_1_0_0_0 = (Keyword)cOpAlternatives_1_0_0.eContents().get(0); - private final Keyword cOpGreaterThanSignKeyword_1_0_0_1 = (Keyword)cOpAlternatives_1_0_0.eContents().get(1); - private final Keyword cOpLessThanSignEqualsSignKeyword_1_0_0_2 = (Keyword)cOpAlternatives_1_0_0.eContents().get(2); - private final Keyword cOpGreaterThanSignEqualsSignKeyword_1_0_0_3 = (Keyword)cOpAlternatives_1_0_0.eContents().get(3); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpConditionalExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - - //RelationalExpression: - // exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*; - public ParserRule getRule() { return rule; } - - //exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)* - public Group getGroup() { return cGroup; } - - //exp+=ConditionalExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //ConditionalExpression - public RuleCall getExpConditionalExpressionParserRuleCall_0_0() { return cExpConditionalExpressionParserRuleCall_0_0; } - - //(op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)* - public Group getGroup_1() { return cGroup_1; } - - //op+=("<" | ">" | "<=" | ">=") - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"<" | ">" | "<=" | ">=" - public Alternatives getOpAlternatives_1_0_0() { return cOpAlternatives_1_0_0; } - - //"<" - public Keyword getOpLessThanSignKeyword_1_0_0_0() { return cOpLessThanSignKeyword_1_0_0_0; } - - //">" - public Keyword getOpGreaterThanSignKeyword_1_0_0_1() { return cOpGreaterThanSignKeyword_1_0_0_1; } - - //"<=" - public Keyword getOpLessThanSignEqualsSignKeyword_1_0_0_2() { return cOpLessThanSignEqualsSignKeyword_1_0_0_2; } - - //">=" - public Keyword getOpGreaterThanSignEqualsSignKeyword_1_0_0_3() { return cOpGreaterThanSignEqualsSignKeyword_1_0_0_3; } - - //exp+=ConditionalExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //ConditionalExpression - public RuleCall getExpConditionalExpressionParserRuleCall_1_1_0() { return cExpConditionalExpressionParserRuleCall_1_1_0; } - } - - public class ConditionalExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ConditionalExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpAdditiveExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Keyword cOpQuestionMarkKeyword_1_0_0 = (Keyword)cOpAssignment_1_0.eContents().get(0); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpAdditiveExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - private final Keyword cColonKeyword_1_2 = (Keyword)cGroup_1.eContents().get(2); - private final Assignment cExpAssignment_1_3 = (Assignment)cGroup_1.eContents().get(3); - private final RuleCall cExpAdditiveExpressionParserRuleCall_1_3_0 = (RuleCall)cExpAssignment_1_3.eContents().get(0); - - //ConditionalExpression: - // exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?; - public ParserRule getRule() { return rule; } - - //exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)? - public Group getGroup() { return cGroup; } - - //exp+=AdditiveExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //AdditiveExpression - public RuleCall getExpAdditiveExpressionParserRuleCall_0_0() { return cExpAdditiveExpressionParserRuleCall_0_0; } - - //(op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)? - public Group getGroup_1() { return cGroup_1; } - - //op+="?" - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"?" - public Keyword getOpQuestionMarkKeyword_1_0_0() { return cOpQuestionMarkKeyword_1_0_0; } - - //exp+=AdditiveExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //AdditiveExpression - public RuleCall getExpAdditiveExpressionParserRuleCall_1_1_0() { return cExpAdditiveExpressionParserRuleCall_1_1_0; } - - //":" - public Keyword getColonKeyword_1_2() { return cColonKeyword_1_2; } - - //exp+=AdditiveExpression - public Assignment getExpAssignment_1_3() { return cExpAssignment_1_3; } - - //AdditiveExpression - public RuleCall getExpAdditiveExpressionParserRuleCall_1_3_0() { return cExpAdditiveExpressionParserRuleCall_1_3_0; } - } - - public class AdditiveExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "AdditiveExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpMultiplicativeExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Alternatives cOpAlternatives_1_0_0 = (Alternatives)cOpAssignment_1_0.eContents().get(0); - private final Keyword cOpPlusSignKeyword_1_0_0_0 = (Keyword)cOpAlternatives_1_0_0.eContents().get(0); - private final Keyword cOpHyphenMinusKeyword_1_0_0_1 = (Keyword)cOpAlternatives_1_0_0.eContents().get(1); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpMultiplicativeExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - - //AdditiveExpression: - // exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*; - public ParserRule getRule() { return rule; } - - //exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)* - public Group getGroup() { return cGroup; } - - //exp+=MultiplicativeExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //MultiplicativeExpression - public RuleCall getExpMultiplicativeExpressionParserRuleCall_0_0() { return cExpMultiplicativeExpressionParserRuleCall_0_0; } - - //(op+=("+" | "-") exp+=MultiplicativeExpression)* - public Group getGroup_1() { return cGroup_1; } - - //op+=("+" | "-") - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"+" | "-" - public Alternatives getOpAlternatives_1_0_0() { return cOpAlternatives_1_0_0; } - - //"+" - public Keyword getOpPlusSignKeyword_1_0_0_0() { return cOpPlusSignKeyword_1_0_0_0; } - - //"-" - public Keyword getOpHyphenMinusKeyword_1_0_0_1() { return cOpHyphenMinusKeyword_1_0_0_1; } - - //exp+=MultiplicativeExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //MultiplicativeExpression - public RuleCall getExpMultiplicativeExpressionParserRuleCall_1_1_0() { return cExpMultiplicativeExpressionParserRuleCall_1_1_0; } - } - - public class MultiplicativeExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MultiplicativeExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cExpAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cExpUnaryExpressionParserRuleCall_0_0 = (RuleCall)cExpAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Assignment cOpAssignment_1_0 = (Assignment)cGroup_1.eContents().get(0); - private final Alternatives cOpAlternatives_1_0_0 = (Alternatives)cOpAssignment_1_0.eContents().get(0); - private final Keyword cOpAsteriskKeyword_1_0_0_0 = (Keyword)cOpAlternatives_1_0_0.eContents().get(0); - private final Keyword cOpSolidusKeyword_1_0_0_1 = (Keyword)cOpAlternatives_1_0_0.eContents().get(1); - private final Keyword cOpModKeyword_1_0_0_2 = (Keyword)cOpAlternatives_1_0_0.eContents().get(2); - private final Assignment cExpAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cExpUnaryExpressionParserRuleCall_1_1_0 = (RuleCall)cExpAssignment_1_1.eContents().get(0); - - //MultiplicativeExpression: - // exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)*; - public ParserRule getRule() { return rule; } - - //exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)* - public Group getGroup() { return cGroup; } - - //exp+=UnaryExpression - public Assignment getExpAssignment_0() { return cExpAssignment_0; } - - //UnaryExpression - public RuleCall getExpUnaryExpressionParserRuleCall_0_0() { return cExpUnaryExpressionParserRuleCall_0_0; } - - //(op+=("*" | "/" | "mod") exp+=UnaryExpression)* - public Group getGroup_1() { return cGroup_1; } - - //op+=("*" | "/" | "mod") - public Assignment getOpAssignment_1_0() { return cOpAssignment_1_0; } - - //"*" | "/" | "mod" - public Alternatives getOpAlternatives_1_0_0() { return cOpAlternatives_1_0_0; } - - //"*" - public Keyword getOpAsteriskKeyword_1_0_0_0() { return cOpAsteriskKeyword_1_0_0_0; } - - //"/" - public Keyword getOpSolidusKeyword_1_0_0_1() { return cOpSolidusKeyword_1_0_0_1; } - - //"mod" - public Keyword getOpModKeyword_1_0_0_2() { return cOpModKeyword_1_0_0_2; } - - //exp+=UnaryExpression - public Assignment getExpAssignment_1_1() { return cExpAssignment_1_1; } - - //UnaryExpression - public RuleCall getExpUnaryExpressionParserRuleCall_1_1_0() { return cExpUnaryExpressionParserRuleCall_1_1_0; } - } - - public class UnaryExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UnaryExpression"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Group cGroup_0 = (Group)cAlternatives.eContents().get(0); - private final Assignment cOpAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); - private final Alternatives cOpAlternatives_0_0_0 = (Alternatives)cOpAssignment_0_0.eContents().get(0); - private final Keyword cOpNotKeyword_0_0_0_0 = (Keyword)cOpAlternatives_0_0_0.eContents().get(0); - private final Keyword cOpHyphenMinusKeyword_0_0_0_1 = (Keyword)cOpAlternatives_0_0_0.eContents().get(1); - private final Keyword cOpPlusSignKeyword_0_0_0_2 = (Keyword)cOpAlternatives_0_0_0.eContents().get(2); - private final Assignment cUnaryAssignment_0_1 = (Assignment)cGroup_0.eContents().get(1); - private final RuleCall cUnaryUnaryExpressionParserRuleCall_0_1_0 = (RuleCall)cUnaryAssignment_0_1.eContents().get(0); - private final Assignment cExpAssignment_1 = (Assignment)cAlternatives.eContents().get(1); - private final RuleCall cExpPrimaryExpressionParserRuleCall_1_0 = (RuleCall)cExpAssignment_1.eContents().get(0); - - //UnaryExpression: - // op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression; - public ParserRule getRule() { return rule; } - - //op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression - public Alternatives getAlternatives() { return cAlternatives; } - - //op=("not" | "-" | "+") unary=UnaryExpression - public Group getGroup_0() { return cGroup_0; } - - //op=("not" | "-" | "+") - public Assignment getOpAssignment_0_0() { return cOpAssignment_0_0; } - - //"not" | "-" | "+" - public Alternatives getOpAlternatives_0_0_0() { return cOpAlternatives_0_0_0; } - - //"not" - public Keyword getOpNotKeyword_0_0_0_0() { return cOpNotKeyword_0_0_0_0; } - - //"-" - public Keyword getOpHyphenMinusKeyword_0_0_0_1() { return cOpHyphenMinusKeyword_0_0_0_1; } - - //"+" - public Keyword getOpPlusSignKeyword_0_0_0_2() { return cOpPlusSignKeyword_0_0_0_2; } - - //unary=UnaryExpression - public Assignment getUnaryAssignment_0_1() { return cUnaryAssignment_0_1; } - - //UnaryExpression - public RuleCall getUnaryUnaryExpressionParserRuleCall_0_1_0() { return cUnaryUnaryExpressionParserRuleCall_0_1_0; } - - //exp=PrimaryExpression - public Assignment getExpAssignment_1() { return cExpAssignment_1; } - - //PrimaryExpression - public RuleCall getExpPrimaryExpressionParserRuleCall_1_0() { return cExpPrimaryExpressionParserRuleCall_1_0; } - } - - public class PrimaryExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PrimaryExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPrefixAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPrefixValueSpecificationParserRuleCall_0_0 = (RuleCall)cPrefixAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final Assignment cSuffixAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cSuffixSuffixExpressionParserRuleCall_1_1_0 = (RuleCall)cSuffixAssignment_1_1.eContents().get(0); - - //PrimaryExpression: - // prefix=ValueSpecification ("." suffix=SuffixExpression)?; - public ParserRule getRule() { return rule; } - - //prefix=ValueSpecification ("." suffix=SuffixExpression)? - public Group getGroup() { return cGroup; } - - //prefix=ValueSpecification - public Assignment getPrefixAssignment_0() { return cPrefixAssignment_0; } - - //ValueSpecification - public RuleCall getPrefixValueSpecificationParserRuleCall_0_0() { return cPrefixValueSpecificationParserRuleCall_0_0; } - - //("." suffix=SuffixExpression)? - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //suffix=SuffixExpression - public Assignment getSuffixAssignment_1_1() { return cSuffixAssignment_1_1; } - - //SuffixExpression - public RuleCall getSuffixSuffixExpressionParserRuleCall_1_1_0() { return cSuffixSuffixExpressionParserRuleCall_1_1_0; } - } - - public class ValueSpecificationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValueSpecification"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cLiteralParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cNameOrChoiceOrBehaviorCallParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cIntervalParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cCollectionOrTupleParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cTupleParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - private final RuleCall cTimeExpressionParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); - private final RuleCall cVariableDeclarationParserRuleCall_6 = (RuleCall)cAlternatives.eContents().get(6); - private final Group cGroup_7 = (Group)cAlternatives.eContents().get(7); - private final Keyword cLeftParenthesisKeyword_7_0 = (Keyword)cGroup_7.eContents().get(0); - private final RuleCall cExpressionParserRuleCall_7_1 = (RuleCall)cGroup_7.eContents().get(1); - private final Keyword cRightParenthesisKeyword_7_2 = (Keyword)cGroup_7.eContents().get(2); - - //ValueSpecification: - // Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | - // "(" Expression ")"; - public ParserRule getRule() { return rule; } - - //Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | "(" - //Expression ")" - public Alternatives getAlternatives() { return cAlternatives; } - - //Literal - public RuleCall getLiteralParserRuleCall_0() { return cLiteralParserRuleCall_0; } - - //NameOrChoiceOrBehaviorCall - public RuleCall getNameOrChoiceOrBehaviorCallParserRuleCall_1() { return cNameOrChoiceOrBehaviorCallParserRuleCall_1; } - - //Interval - public RuleCall getIntervalParserRuleCall_2() { return cIntervalParserRuleCall_2; } - - //CollectionOrTuple - public RuleCall getCollectionOrTupleParserRuleCall_3() { return cCollectionOrTupleParserRuleCall_3; } - - //Tuple - public RuleCall getTupleParserRuleCall_4() { return cTupleParserRuleCall_4; } - - //TimeExpression - public RuleCall getTimeExpressionParserRuleCall_5() { return cTimeExpressionParserRuleCall_5; } - - //VariableDeclaration - public RuleCall getVariableDeclarationParserRuleCall_6() { return cVariableDeclarationParserRuleCall_6; } - - //"(" Expression ")" - public Group getGroup_7() { return cGroup_7; } - - //"(" - public Keyword getLeftParenthesisKeyword_7_0() { return cLeftParenthesisKeyword_7_0; } - - //Expression - public RuleCall getExpressionParserRuleCall_7_1() { return cExpressionParserRuleCall_7_1; } - - //")" - public Keyword getRightParenthesisKeyword_7_2() { return cRightParenthesisKeyword_7_2; } - } - - public class SuffixExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "SuffixExpression"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cPropertyCallExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cOperationCallExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - - //SuffixExpression: - // PropertyCallExpression | OperationCallExpression; - public ParserRule getRule() { return rule; } - - //PropertyCallExpression | OperationCallExpression - public Alternatives getAlternatives() { return cAlternatives; } - - //PropertyCallExpression - public RuleCall getPropertyCallExpressionParserRuleCall_0() { return cPropertyCallExpressionParserRuleCall_0; } - - //OperationCallExpression - public RuleCall getOperationCallExpressionParserRuleCall_1() { return cOperationCallExpressionParserRuleCall_1; } - } - - public class PropertyCallExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "PropertyCallExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPropertyAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cPropertyPropertyCrossReference_0_0 = (CrossReference)cPropertyAssignment_0.eContents().get(0); - private final RuleCall cPropertyPropertyIDTerminalRuleCall_0_0_1 = (RuleCall)cPropertyPropertyCrossReference_0_0.eContents().get(1); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final Assignment cSuffixAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cSuffixSuffixExpressionParserRuleCall_1_1_0 = (RuleCall)cSuffixAssignment_1_1.eContents().get(0); - - //PropertyCallExpression: - // property=[uml::Property] ("." suffix=SuffixExpression)?; - public ParserRule getRule() { return rule; } - - //property=[uml::Property] ("." suffix=SuffixExpression)? - public Group getGroup() { return cGroup; } - - //property=[uml::Property] - public Assignment getPropertyAssignment_0() { return cPropertyAssignment_0; } - - //[uml::Property] - public CrossReference getPropertyPropertyCrossReference_0_0() { return cPropertyPropertyCrossReference_0_0; } - - //ID - public RuleCall getPropertyPropertyIDTerminalRuleCall_0_0_1() { return cPropertyPropertyIDTerminalRuleCall_0_0_1; } - - //("." suffix=SuffixExpression)? - public Group getGroup_1() { return cGroup_1; } - - //"." - public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } - - //suffix=SuffixExpression - public Assignment getSuffixAssignment_1_1() { return cSuffixAssignment_1_1; } - - //SuffixExpression - public RuleCall getSuffixSuffixExpressionParserRuleCall_1_1_0() { return cSuffixSuffixExpressionParserRuleCall_1_1_0; } - } - - public class OperationCallExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OperationCallExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cOperationAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cOperationOperationCrossReference_0_0 = (CrossReference)cOperationAssignment_0.eContents().get(0); - private final RuleCall cOperationOperationIDTerminalRuleCall_0_0_1 = (RuleCall)cOperationOperationCrossReference_0_0.eContents().get(1); - private final Keyword cLeftParenthesisKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cArgumentsAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cArgumentsListOfValuesParserRuleCall_2_0 = (RuleCall)cArgumentsAssignment_2.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); - private final Group cGroup_4 = (Group)cGroup.eContents().get(4); - private final Keyword cFullStopKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); - private final Assignment cSuffixAssignment_4_1 = (Assignment)cGroup_4.eContents().get(1); - private final RuleCall cSuffixSuffixExpressionParserRuleCall_4_1_0 = (RuleCall)cSuffixAssignment_4_1.eContents().get(0); - - //OperationCallExpression: - // operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)?; - public ParserRule getRule() { return rule; } - - //operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)? - public Group getGroup() { return cGroup; } - - //operation=[uml::Operation] - public Assignment getOperationAssignment_0() { return cOperationAssignment_0; } - - //[uml::Operation] - public CrossReference getOperationOperationCrossReference_0_0() { return cOperationOperationCrossReference_0_0; } - - //ID - public RuleCall getOperationOperationIDTerminalRuleCall_0_0_1() { return cOperationOperationIDTerminalRuleCall_0_0_1; } - - //"(" - public Keyword getLeftParenthesisKeyword_1() { return cLeftParenthesisKeyword_1; } - - //arguments=ListOfValues? - public Assignment getArgumentsAssignment_2() { return cArgumentsAssignment_2; } - - //ListOfValues - public RuleCall getArgumentsListOfValuesParserRuleCall_2_0() { return cArgumentsListOfValuesParserRuleCall_2_0; } - - //")" - public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } - - //("." suffix=SuffixExpression)? - public Group getGroup_4() { return cGroup_4; } - - //"." - public Keyword getFullStopKeyword_4_0() { return cFullStopKeyword_4_0; } - - //suffix=SuffixExpression - public Assignment getSuffixAssignment_4_1() { return cSuffixAssignment_4_1; } - - //SuffixExpression - public RuleCall getSuffixSuffixExpressionParserRuleCall_4_1_0() { return cSuffixSuffixExpressionParserRuleCall_4_1_0; } - } - - public class LiteralElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Literal"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cNumberLiteralRuleParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cDateTimeLiteralRuleParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cBooleanLiteralRuleParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - private final RuleCall cNullLiteralRuleParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); - private final RuleCall cDefaultLiteralRuleParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); - private final RuleCall cStringLiteralRuleParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); - - //Literal: - // NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | - // StringLiteralRule; - public ParserRule getRule() { return rule; } - - //NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | StringLiteralRule - public Alternatives getAlternatives() { return cAlternatives; } - - //NumberLiteralRule - public RuleCall getNumberLiteralRuleParserRuleCall_0() { return cNumberLiteralRuleParserRuleCall_0; } - - //DateTimeLiteralRule - public RuleCall getDateTimeLiteralRuleParserRuleCall_1() { return cDateTimeLiteralRuleParserRuleCall_1; } - - //BooleanLiteralRule - public RuleCall getBooleanLiteralRuleParserRuleCall_2() { return cBooleanLiteralRuleParserRuleCall_2; } - - //NullLiteralRule - public RuleCall getNullLiteralRuleParserRuleCall_3() { return cNullLiteralRuleParserRuleCall_3; } - - //DefaultLiteralRule - public RuleCall getDefaultLiteralRuleParserRuleCall_4() { return cDefaultLiteralRuleParserRuleCall_4; } - - //StringLiteralRule - public RuleCall getStringLiteralRuleParserRuleCall_5() { return cStringLiteralRuleParserRuleCall_5; } - } - - public class NameOrChoiceOrBehaviorCallElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NameOrChoiceOrBehaviorCall"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0); - private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cIdNamedElementCrossReference_1_0 = (CrossReference)cIdAssignment_1.eContents().get(0); - private final RuleCall cIdNamedElementIDTerminalRuleCall_1_0_1 = (RuleCall)cIdNamedElementCrossReference_1_0.eContents().get(1); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cArgumentsAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cArgumentsListOfValuesParserRuleCall_2_1_0 = (RuleCall)cArgumentsAssignment_2_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2); - - //NameOrChoiceOrBehaviorCall: - // path=QualifiedName? // can resolve to : - // // - EnumSpecification, - // // - VariableCallExpression - // // - PropertyCallExpression - // // - ChoiceExpression - // id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")?; - public ParserRule getRule() { return rule; } - - //path=QualifiedName? // can resolve to : - //// - EnumSpecification, - //// - VariableCallExpression - //// - PropertyCallExpression - //// - ChoiceExpression - //id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")? - public Group getGroup() { return cGroup; } - - //path=QualifiedName? - public Assignment getPathAssignment_0() { return cPathAssignment_0; } - - //QualifiedName - public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; } - - //id=[uml::NamedElement] - public Assignment getIdAssignment_1() { return cIdAssignment_1; } - - //[uml::NamedElement] - public CrossReference getIdNamedElementCrossReference_1_0() { return cIdNamedElementCrossReference_1_0; } - - //ID - public RuleCall getIdNamedElementIDTerminalRuleCall_1_0_1() { return cIdNamedElementIDTerminalRuleCall_1_0_1; } - - //("(" arguments=ListOfValues? ")")? - public Group getGroup_2() { return cGroup_2; } - - //"(" - public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; } - - //arguments=ListOfValues? - public Assignment getArgumentsAssignment_2_1() { return cArgumentsAssignment_2_1; } - - //ListOfValues - public RuleCall getArgumentsListOfValuesParserRuleCall_2_1_0() { return cArgumentsListOfValuesParserRuleCall_2_1_0; } - - //")" - public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; } - } - - public class QualifiedNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "QualifiedName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cPathNamespaceCrossReference_0_0 = (CrossReference)cPathAssignment_0.eContents().get(0); - private final RuleCall cPathNamespaceIDTerminalRuleCall_0_0_1 = (RuleCall)cPathNamespaceCrossReference_0_0.eContents().get(1); - private final Keyword cColonColonKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cRemainingAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cRemainingQualifiedNameParserRuleCall_2_0 = (RuleCall)cRemainingAssignment_2.eContents().get(0); - - //QualifiedName: - // path=[uml::Namespace] "::" remaining=QualifiedName?; - public ParserRule getRule() { return rule; } - - //path=[uml::Namespace] "::" remaining=QualifiedName? - public Group getGroup() { return cGroup; } - - //path=[uml::Namespace] - public Assignment getPathAssignment_0() { return cPathAssignment_0; } - - //[uml::Namespace] - public CrossReference getPathNamespaceCrossReference_0_0() { return cPathNamespaceCrossReference_0_0; } - - //ID - public RuleCall getPathNamespaceIDTerminalRuleCall_0_0_1() { return cPathNamespaceIDTerminalRuleCall_0_0_1; } - - //"::" - public Keyword getColonColonKeyword_1() { return cColonColonKeyword_1; } - - //remaining=QualifiedName? - public Assignment getRemainingAssignment_2() { return cRemainingAssignment_2; } - - //QualifiedName - public RuleCall getRemainingQualifiedNameParserRuleCall_2_0() { return cRemainingQualifiedNameParserRuleCall_2_0; } - } - - public class IntervalElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Interval"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Alternatives cAlternatives_0 = (Alternatives)cGroup.eContents().get(0); - private final Keyword cRightSquareBracketKeyword_0_0 = (Keyword)cAlternatives_0.eContents().get(0); - private final Assignment cIsLowerIncludedAssignment_0_1 = (Assignment)cAlternatives_0.eContents().get(1); - private final Keyword cIsLowerIncludedLeftSquareBracketKeyword_0_1_0 = (Keyword)cIsLowerIncludedAssignment_0_1.eContents().get(0); - private final Assignment cLowerAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cLowerExpressionParserRuleCall_1_0 = (RuleCall)cLowerAssignment_1.eContents().get(0); - private final Keyword cFullStopFullStopKeyword_2 = (Keyword)cGroup.eContents().get(2); - private final Assignment cUpperAssignment_3 = (Assignment)cGroup.eContents().get(3); - private final RuleCall cUpperExpressionParserRuleCall_3_0 = (RuleCall)cUpperAssignment_3.eContents().get(0); - private final Alternatives cAlternatives_4 = (Alternatives)cGroup.eContents().get(4); - private final Assignment cIsUpperIncludedAssignment_4_0 = (Assignment)cAlternatives_4.eContents().get(0); - private final Keyword cIsUpperIncludedRightSquareBracketKeyword_4_0_0 = (Keyword)cIsUpperIncludedAssignment_4_0.eContents().get(0); - private final Keyword cLeftSquareBracketKeyword_4_1 = (Keyword)cAlternatives_4.eContents().get(1); - - //Interval: - // ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "["); - public ParserRule getRule() { return rule; } - - //("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "[") - public Group getGroup() { return cGroup; } - - //"]" | isLowerIncluded="[" - public Alternatives getAlternatives_0() { return cAlternatives_0; } - - //"]" - public Keyword getRightSquareBracketKeyword_0_0() { return cRightSquareBracketKeyword_0_0; } - - //isLowerIncluded="[" - public Assignment getIsLowerIncludedAssignment_0_1() { return cIsLowerIncludedAssignment_0_1; } - - //"[" - public Keyword getIsLowerIncludedLeftSquareBracketKeyword_0_1_0() { return cIsLowerIncludedLeftSquareBracketKeyword_0_1_0; } - - //lower=Expression - public Assignment getLowerAssignment_1() { return cLowerAssignment_1; } - - //Expression - public RuleCall getLowerExpressionParserRuleCall_1_0() { return cLowerExpressionParserRuleCall_1_0; } - - //".." - public Keyword getFullStopFullStopKeyword_2() { return cFullStopFullStopKeyword_2; } - - //upper=Expression - public Assignment getUpperAssignment_3() { return cUpperAssignment_3; } - - //Expression - public RuleCall getUpperExpressionParserRuleCall_3_0() { return cUpperExpressionParserRuleCall_3_0; } - - //isUpperIncluded="]" | "[" - public Alternatives getAlternatives_4() { return cAlternatives_4; } - - //isUpperIncluded="]" - public Assignment getIsUpperIncludedAssignment_4_0() { return cIsUpperIncludedAssignment_4_0; } - - //"]" - public Keyword getIsUpperIncludedRightSquareBracketKeyword_4_0_0() { return cIsUpperIncludedRightSquareBracketKeyword_4_0_0; } - - //"[" - public Keyword getLeftSquareBracketKeyword_4_1() { return cLeftSquareBracketKeyword_4_1; } - } - - public class CollectionOrTupleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "CollectionOrTuple"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cListOfValuesAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cListOfValuesListOfValuesParserRuleCall_1_0 = (RuleCall)cListOfValuesAssignment_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //CollectionOrTuple: - // "{" listOfValues=ListOfValues "}"; - public ParserRule getRule() { return rule; } - - //"{" listOfValues=ListOfValues "}" - public Group getGroup() { return cGroup; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } - - //listOfValues=ListOfValues - public Assignment getListOfValuesAssignment_1() { return cListOfValuesAssignment_1; } - - //ListOfValues - public RuleCall getListOfValuesListOfValuesParserRuleCall_1_0() { return cListOfValuesListOfValuesParserRuleCall_1_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_2() { return cRightCurlyBracketKeyword_2; } - } - - public class TupleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Tuple"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cListOfValueNamePairsAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0 = (RuleCall)cListOfValueNamePairsAssignment_1.eContents().get(0); - private final Keyword cRightCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); - - //Tuple: - // "{" listOfValueNamePairs=ListOfValueNamePairs "}"; - public ParserRule getRule() { return rule; } - - //"{" listOfValueNamePairs=ListOfValueNamePairs "}" - public Group getGroup() { return cGroup; } - - //"{" - public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } - - //listOfValueNamePairs=ListOfValueNamePairs - public Assignment getListOfValueNamePairsAssignment_1() { return cListOfValueNamePairsAssignment_1; } - - //ListOfValueNamePairs - public RuleCall getListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0() { return cListOfValueNamePairsListOfValueNamePairsParserRuleCall_1_0; } - - //"}" - public Keyword getRightCurlyBracketKeyword_2() { return cRightCurlyBracketKeyword_2; } - } - - public class ListOfValuesElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ListOfValues"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cValuesAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cValuesExpressionParserRuleCall_0_0 = (RuleCall)cValuesAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cCommaKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final Assignment cValuesAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cValuesExpressionParserRuleCall_1_1_0 = (RuleCall)cValuesAssignment_1_1.eContents().get(0); - - //ListOfValues: - // values+=Expression ("," values+=Expression)*; - public ParserRule getRule() { return rule; } - - //values+=Expression ("," values+=Expression)* - public Group getGroup() { return cGroup; } - - //values+=Expression - public Assignment getValuesAssignment_0() { return cValuesAssignment_0; } - - //Expression - public RuleCall getValuesExpressionParserRuleCall_0_0() { return cValuesExpressionParserRuleCall_0_0; } - - //("," values+=Expression)* - public Group getGroup_1() { return cGroup_1; } - - //"," - public Keyword getCommaKeyword_1_0() { return cCommaKeyword_1_0; } - - //values+=Expression - public Assignment getValuesAssignment_1_1() { return cValuesAssignment_1_1; } - - //Expression - public RuleCall getValuesExpressionParserRuleCall_1_1_0() { return cValuesExpressionParserRuleCall_1_1_0; } - } - - public class ListOfValueNamePairsElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ListOfValueNamePairs"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cValueNamePairsAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cValueNamePairsValueNamePairParserRuleCall_0_0 = (RuleCall)cValueNamePairsAssignment_0.eContents().get(0); - private final Group cGroup_1 = (Group)cGroup.eContents().get(1); - private final Keyword cCommaKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); - private final Assignment cValueNamePairsAssignment_1_1 = (Assignment)cGroup_1.eContents().get(1); - private final RuleCall cValueNamePairsValueNamePairParserRuleCall_1_1_0 = (RuleCall)cValueNamePairsAssignment_1_1.eContents().get(0); - - //ListOfValueNamePairs: - // valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)*; - public ParserRule getRule() { return rule; } - - //valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)* - public Group getGroup() { return cGroup; } - - //valueNamePairs+=ValueNamePair - public Assignment getValueNamePairsAssignment_0() { return cValueNamePairsAssignment_0; } - - //ValueNamePair - public RuleCall getValueNamePairsValueNamePairParserRuleCall_0_0() { return cValueNamePairsValueNamePairParserRuleCall_0_0; } - - //("," valueNamePairs+=ValueNamePair)* - public Group getGroup_1() { return cGroup_1; } - - //"," - public Keyword getCommaKeyword_1_0() { return cCommaKeyword_1_0; } - - //valueNamePairs+=ValueNamePair - public Assignment getValueNamePairsAssignment_1_1() { return cValueNamePairsAssignment_1_1; } - - //ValueNamePair - public RuleCall getValueNamePairsValueNamePairParserRuleCall_1_1_0() { return cValueNamePairsValueNamePairParserRuleCall_1_1_0; } - } - - public class ValueNamePairElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "ValueNamePair"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPropertyAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final CrossReference cPropertyPropertyCrossReference_0_0 = (CrossReference)cPropertyAssignment_0.eContents().get(0); - private final RuleCall cPropertyPropertyIDTerminalRuleCall_0_0_1 = (RuleCall)cPropertyPropertyCrossReference_0_0.eContents().get(1); - private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cValueExpressionParserRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); - - //ValueNamePair: - // property=[uml::Property] "=" value=Expression; - public ParserRule getRule() { return rule; } - - //property=[uml::Property] "=" value=Expression - public Group getGroup() { return cGroup; } - - //property=[uml::Property] - public Assignment getPropertyAssignment_0() { return cPropertyAssignment_0; } - - //[uml::Property] - public CrossReference getPropertyPropertyCrossReference_0_0() { return cPropertyPropertyCrossReference_0_0; } - - //ID - public RuleCall getPropertyPropertyIDTerminalRuleCall_0_0_1() { return cPropertyPropertyIDTerminalRuleCall_0_0_1; } - - //"=" - public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } - - //value=Expression - public Assignment getValueAssignment_2() { return cValueAssignment_2; } - - //Expression - public RuleCall getValueExpressionParserRuleCall_2_0() { return cValueExpressionParserRuleCall_2_0; } - } - - public class TimeExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TimeExpression"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cInstantObsExpressionParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cDurationObsExpressionParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cJitterExpParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - - //TimeExpression: - // InstantObsExpression | DurationObsExpression | JitterExp; - public ParserRule getRule() { return rule; } - - //InstantObsExpression | DurationObsExpression | JitterExp - public Alternatives getAlternatives() { return cAlternatives; } - - //InstantObsExpression - public RuleCall getInstantObsExpressionParserRuleCall_0() { return cInstantObsExpressionParserRuleCall_0; } - - //DurationObsExpression - public RuleCall getDurationObsExpressionParserRuleCall_1() { return cDurationObsExpressionParserRuleCall_1; } - - //JitterExp - public RuleCall getJitterExpParserRuleCall_2() { return cJitterExpParserRuleCall_2; } - } - - public class InstantObsExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InstantObsExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cCommercialAtKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cIdInstantObsNameParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cIndexAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cIndexExpressionParserRuleCall_2_1_0 = (RuleCall)cIndexAssignment_2_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cWhenKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); - private final Assignment cConditionAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); - private final RuleCall cConditionExpressionParserRuleCall_3_2_0 = (RuleCall)cConditionAssignment_3_2.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); - - //InstantObsExpression: - // "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - public ParserRule getRule() { return rule; } - - //"@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")? - public Group getGroup() { return cGroup; } - - //"@" - public Keyword getCommercialAtKeyword_0() { return cCommercialAtKeyword_0; } - - //id=InstantObsName - public Assignment getIdAssignment_1() { return cIdAssignment_1; } - - //InstantObsName - public RuleCall getIdInstantObsNameParserRuleCall_1_0() { return cIdInstantObsNameParserRuleCall_1_0; } - - //("(" index=Expression ")")? - public Group getGroup_2() { return cGroup_2; } - - //"(" - public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; } - - //index=Expression - public Assignment getIndexAssignment_2_1() { return cIndexAssignment_2_1; } - - //Expression - public RuleCall getIndexExpressionParserRuleCall_2_1_0() { return cIndexExpressionParserRuleCall_2_1_0; } - - //")" - public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; } - - //("when" "(" condition=Expression ")")? - public Group getGroup_3() { return cGroup_3; } - - //"when" - public Keyword getWhenKeyword_3_0() { return cWhenKeyword_3_0; } - - //"(" - public Keyword getLeftParenthesisKeyword_3_1() { return cLeftParenthesisKeyword_3_1; } - - //condition=Expression - public Assignment getConditionAssignment_3_2() { return cConditionAssignment_3_2; } - - //Expression - public RuleCall getConditionExpressionParserRuleCall_3_2_0() { return cConditionExpressionParserRuleCall_3_2_0; } - - //")" - public Keyword getRightParenthesisKeyword_3_3() { return cRightParenthesisKeyword_3_3; } - } - - public class InstantObsNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "InstantObsName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0); - private final Assignment cInstantIdAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cInstantIdTimeObservationCrossReference_1_0 = (CrossReference)cInstantIdAssignment_1.eContents().get(0); - private final RuleCall cInstantIdTimeObservationIDTerminalRuleCall_1_0_1 = (RuleCall)cInstantIdTimeObservationCrossReference_1_0.eContents().get(1); - - //InstantObsName: - // path=QualifiedName? instantId=[uml::TimeObservation]; - public ParserRule getRule() { return rule; } - - //path=QualifiedName? instantId=[uml::TimeObservation] - public Group getGroup() { return cGroup; } - - //path=QualifiedName? - public Assignment getPathAssignment_0() { return cPathAssignment_0; } - - //QualifiedName - public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; } - - //instantId=[uml::TimeObservation] - public Assignment getInstantIdAssignment_1() { return cInstantIdAssignment_1; } - - //[uml::TimeObservation] - public CrossReference getInstantIdTimeObservationCrossReference_1_0() { return cInstantIdTimeObservationCrossReference_1_0; } - - //ID - public RuleCall getInstantIdTimeObservationIDTerminalRuleCall_1_0_1() { return cInstantIdTimeObservationIDTerminalRuleCall_1_0_1; } - } - - public class DurationObsExpressionElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DurationObsExpression"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cAmpersandKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cIdAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cIdDurationObsNameParserRuleCall_1_0 = (RuleCall)cIdAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cLeftParenthesisKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cIndexAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cIndexExpressionParserRuleCall_2_1_0 = (RuleCall)cIndexAssignment_2_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_2_2 = (Keyword)cGroup_2.eContents().get(2); - private final Group cGroup_3 = (Group)cGroup.eContents().get(3); - private final Keyword cWhenKeyword_3_0 = (Keyword)cGroup_3.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_3_1 = (Keyword)cGroup_3.eContents().get(1); - private final Assignment cConditionAssignment_3_2 = (Assignment)cGroup_3.eContents().get(2); - private final RuleCall cConditionExpressionParserRuleCall_3_2_0 = (RuleCall)cConditionAssignment_3_2.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3_3 = (Keyword)cGroup_3.eContents().get(3); - - //DurationObsExpression: - // "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - public ParserRule getRule() { return rule; } - - //"&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")? - public Group getGroup() { return cGroup; } - - //"&" - public Keyword getAmpersandKeyword_0() { return cAmpersandKeyword_0; } - - //id=DurationObsName - public Assignment getIdAssignment_1() { return cIdAssignment_1; } - - //DurationObsName - public RuleCall getIdDurationObsNameParserRuleCall_1_0() { return cIdDurationObsNameParserRuleCall_1_0; } - - //("(" index=Expression ")")? - public Group getGroup_2() { return cGroup_2; } - - //"(" - public Keyword getLeftParenthesisKeyword_2_0() { return cLeftParenthesisKeyword_2_0; } - - //index=Expression - public Assignment getIndexAssignment_2_1() { return cIndexAssignment_2_1; } - - //Expression - public RuleCall getIndexExpressionParserRuleCall_2_1_0() { return cIndexExpressionParserRuleCall_2_1_0; } - - //")" - public Keyword getRightParenthesisKeyword_2_2() { return cRightParenthesisKeyword_2_2; } - - //("when" "(" condition=Expression ")")? - public Group getGroup_3() { return cGroup_3; } - - //"when" - public Keyword getWhenKeyword_3_0() { return cWhenKeyword_3_0; } - - //"(" - public Keyword getLeftParenthesisKeyword_3_1() { return cLeftParenthesisKeyword_3_1; } - - //condition=Expression - public Assignment getConditionAssignment_3_2() { return cConditionAssignment_3_2; } - - //Expression - public RuleCall getConditionExpressionParserRuleCall_3_2_0() { return cConditionExpressionParserRuleCall_3_2_0; } - - //")" - public Keyword getRightParenthesisKeyword_3_3() { return cRightParenthesisKeyword_3_3; } - } - - public class DurationObsNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DurationObsName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0); - private final Assignment cDurationIdAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cDurationIdDurationObservationCrossReference_1_0 = (CrossReference)cDurationIdAssignment_1.eContents().get(0); - private final RuleCall cDurationIdDurationObservationIDTerminalRuleCall_1_0_1 = (RuleCall)cDurationIdDurationObservationCrossReference_1_0.eContents().get(1); - - //DurationObsName: - // path=QualifiedName? durationId=[uml::DurationObservation]; - public ParserRule getRule() { return rule; } - - //path=QualifiedName? durationId=[uml::DurationObservation] - public Group getGroup() { return cGroup; } - - //path=QualifiedName? - public Assignment getPathAssignment_0() { return cPathAssignment_0; } - - //QualifiedName - public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; } - - //durationId=[uml::DurationObservation] - public Assignment getDurationIdAssignment_1() { return cDurationIdAssignment_1; } - - //[uml::DurationObservation] - public CrossReference getDurationIdDurationObservationCrossReference_1_0() { return cDurationIdDurationObservationCrossReference_1_0; } - - //ID - public RuleCall getDurationIdDurationObservationIDTerminalRuleCall_1_0_1() { return cDurationIdDurationObservationIDTerminalRuleCall_1_0_1; } - } - - public class JitterExpElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "JitterExp"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Keyword cJitterKeyword_0 = (Keyword)cGroup.eContents().get(0); - private final Assignment cFirstInstantAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final RuleCall cFirstInstantInstantObsExpressionParserRuleCall_1_0 = (RuleCall)cFirstInstantAssignment_1.eContents().get(0); - private final Group cGroup_2 = (Group)cGroup.eContents().get(2); - private final Keyword cHyphenMinusKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); - private final Assignment cSecondInstantAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); - private final RuleCall cSecondInstantInstantObsExpressionParserRuleCall_2_1_0 = (RuleCall)cSecondInstantAssignment_2_1.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3 = (Keyword)cGroup.eContents().get(3); - - //JitterExp: - // "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")"; - public ParserRule getRule() { return rule; } - - //"jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")" - public Group getGroup() { return cGroup; } - - //"jitter(" - public Keyword getJitterKeyword_0() { return cJitterKeyword_0; } - - //firstInstant=InstantObsExpression - public Assignment getFirstInstantAssignment_1() { return cFirstInstantAssignment_1; } - - //InstantObsExpression - public RuleCall getFirstInstantInstantObsExpressionParserRuleCall_1_0() { return cFirstInstantInstantObsExpressionParserRuleCall_1_0; } - - //("-" secondInstant=InstantObsExpression)? - public Group getGroup_2() { return cGroup_2; } - - //"-" - public Keyword getHyphenMinusKeyword_2_0() { return cHyphenMinusKeyword_2_0; } - - //secondInstant=InstantObsExpression - public Assignment getSecondInstantAssignment_2_1() { return cSecondInstantAssignment_2_1; } - - //InstantObsExpression - public RuleCall getSecondInstantInstantObsExpressionParserRuleCall_2_1_0() { return cSecondInstantInstantObsExpressionParserRuleCall_2_1_0; } - - //")" - public Keyword getRightParenthesisKeyword_3() { return cRightParenthesisKeyword_3; } - } - - public class VariableDeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "VariableDeclaration"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cVariableDeclarationAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cVariableDeclarationVariableDirectionKindParserRuleCall_0_0 = (RuleCall)cVariableDeclarationAssignment_0.eContents().get(0); - private final Keyword cDollarSignKeyword_1 = (Keyword)cGroup.eContents().get(1); - private final Assignment cNameAssignment_2 = (Assignment)cGroup.eContents().get(2); - private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall)cNameAssignment_2.eContents().get(0); - private final Alternatives cAlternatives_3 = (Alternatives)cGroup.eContents().get(3); - private final Group cGroup_3_0 = (Group)cAlternatives_3.eContents().get(0); - private final Keyword cColonKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); - private final Assignment cTypeAssignment_3_0_1 = (Assignment)cGroup_3_0.eContents().get(1); - private final RuleCall cTypeDataTypeNameParserRuleCall_3_0_1_0 = (RuleCall)cTypeAssignment_3_0_1.eContents().get(0); - private final Group cGroup_3_0_2 = (Group)cGroup_3_0.eContents().get(2); - private final Keyword cEqualsSignKeyword_3_0_2_0 = (Keyword)cGroup_3_0_2.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_3_0_2_1 = (Keyword)cGroup_3_0_2.eContents().get(1); - private final Assignment cInitValueAssignment_3_0_2_2 = (Assignment)cGroup_3_0_2.eContents().get(2); - private final RuleCall cInitValueExpressionParserRuleCall_3_0_2_2_0 = (RuleCall)cInitValueAssignment_3_0_2_2.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3_0_2_3 = (Keyword)cGroup_3_0_2.eContents().get(3); - private final Group cGroup_3_1 = (Group)cAlternatives_3.eContents().get(1); - private final Keyword cEqualsSignKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); - private final Keyword cLeftParenthesisKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); - private final Assignment cInitValueAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); - private final RuleCall cInitValueExpressionParserRuleCall_3_1_2_0 = (RuleCall)cInitValueAssignment_3_1_2.eContents().get(0); - private final Keyword cRightParenthesisKeyword_3_1_3 = (Keyword)cGroup_3_1.eContents().get(3); - - //VariableDeclaration: - // variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | - // "=" "(" initValue=Expression ")"); - public ParserRule getRule() { return rule; } - - //variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "=" - //"(" initValue=Expression ")") - public Group getGroup() { return cGroup; } - - //variableDeclaration=VariableDirectionKind? - public Assignment getVariableDeclarationAssignment_0() { return cVariableDeclarationAssignment_0; } - - //VariableDirectionKind - public RuleCall getVariableDeclarationVariableDirectionKindParserRuleCall_0_0() { return cVariableDeclarationVariableDirectionKindParserRuleCall_0_0; } - - //"$" - public Keyword getDollarSignKeyword_1() { return cDollarSignKeyword_1; } - - //name=ID - public Assignment getNameAssignment_2() { return cNameAssignment_2; } - - //ID - public RuleCall getNameIDTerminalRuleCall_2_0() { return cNameIDTerminalRuleCall_2_0; } - - //":" type=DataTypeName ("=" "(" initValue=Expression ")")? | "=" "(" initValue=Expression ")" - public Alternatives getAlternatives_3() { return cAlternatives_3; } - - //":" type=DataTypeName ("=" "(" initValue=Expression ")")? - public Group getGroup_3_0() { return cGroup_3_0; } - - //":" - public Keyword getColonKeyword_3_0_0() { return cColonKeyword_3_0_0; } - - //type=DataTypeName - public Assignment getTypeAssignment_3_0_1() { return cTypeAssignment_3_0_1; } - - //DataTypeName - public RuleCall getTypeDataTypeNameParserRuleCall_3_0_1_0() { return cTypeDataTypeNameParserRuleCall_3_0_1_0; } - - //("=" "(" initValue=Expression ")")? - public Group getGroup_3_0_2() { return cGroup_3_0_2; } - - //"=" - public Keyword getEqualsSignKeyword_3_0_2_0() { return cEqualsSignKeyword_3_0_2_0; } - - //"(" - public Keyword getLeftParenthesisKeyword_3_0_2_1() { return cLeftParenthesisKeyword_3_0_2_1; } - - //initValue=Expression - public Assignment getInitValueAssignment_3_0_2_2() { return cInitValueAssignment_3_0_2_2; } - - //Expression - public RuleCall getInitValueExpressionParserRuleCall_3_0_2_2_0() { return cInitValueExpressionParserRuleCall_3_0_2_2_0; } - - //")" - public Keyword getRightParenthesisKeyword_3_0_2_3() { return cRightParenthesisKeyword_3_0_2_3; } - - //"=" "(" initValue=Expression ")" - public Group getGroup_3_1() { return cGroup_3_1; } - - //"=" - public Keyword getEqualsSignKeyword_3_1_0() { return cEqualsSignKeyword_3_1_0; } - - //"(" - public Keyword getLeftParenthesisKeyword_3_1_1() { return cLeftParenthesisKeyword_3_1_1; } - - //initValue=Expression - public Assignment getInitValueAssignment_3_1_2() { return cInitValueAssignment_3_1_2; } - - //Expression - public RuleCall getInitValueExpressionParserRuleCall_3_1_2_0() { return cInitValueExpressionParserRuleCall_3_1_2_0; } - - //")" - public Keyword getRightParenthesisKeyword_3_1_3() { return cRightParenthesisKeyword_3_1_3; } - } - - public class VariableDirectionKindElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "VariableDirectionKind"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final Keyword cInKeyword_0 = (Keyword)cAlternatives.eContents().get(0); - private final Keyword cOutKeyword_1 = (Keyword)cAlternatives.eContents().get(1); - private final Keyword cInoutKeyword_2 = (Keyword)cAlternatives.eContents().get(2); - - //VariableDirectionKind returns ecore::EString: - // "in" | "out" | "inout"; - public ParserRule getRule() { return rule; } - - //"in" | "out" | "inout" - public Alternatives getAlternatives() { return cAlternatives; } - - //"in" - public Keyword getInKeyword_0() { return cInKeyword_0; } - - //"out" - public Keyword getOutKeyword_1() { return cOutKeyword_1; } - - //"inout" - public Keyword getInoutKeyword_2() { return cInoutKeyword_2; } - } - - public class DataTypeNameElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DataTypeName"); - private final Group cGroup = (Group)rule.eContents().get(1); - private final Assignment cPathAssignment_0 = (Assignment)cGroup.eContents().get(0); - private final RuleCall cPathQualifiedNameParserRuleCall_0_0 = (RuleCall)cPathAssignment_0.eContents().get(0); - private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); - private final CrossReference cTypeDataTypeCrossReference_1_0 = (CrossReference)cTypeAssignment_1.eContents().get(0); - private final RuleCall cTypeDataTypeIDTerminalRuleCall_1_0_1 = (RuleCall)cTypeDataTypeCrossReference_1_0.eContents().get(1); - - //DataTypeName: - // path=QualifiedName? type=[uml::DataType]; - public ParserRule getRule() { return rule; } - - //path=QualifiedName? type=[uml::DataType] - public Group getGroup() { return cGroup; } - - //path=QualifiedName? - public Assignment getPathAssignment_0() { return cPathAssignment_0; } - - //QualifiedName - public RuleCall getPathQualifiedNameParserRuleCall_0_0() { return cPathQualifiedNameParserRuleCall_0_0; } - - //type=[uml::DataType] - public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - - //[uml::DataType] - public CrossReference getTypeDataTypeCrossReference_1_0() { return cTypeDataTypeCrossReference_1_0; } - - //ID - public RuleCall getTypeDataTypeIDTerminalRuleCall_1_0_1() { return cTypeDataTypeIDTerminalRuleCall_1_0_1; } - } - - public class NumberLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NumberLiteralRule"); - private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); - private final RuleCall cIntegerLiteralRuleParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); - private final RuleCall cUnlimitedLiteralRuleParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); - private final RuleCall cRealLiteralRuleParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); - - //////////////////////////////////////////////////////////////////////////////////////////////////////// - ////LITERAL - //////////////////////////////////////////////////////////////////////////////////////////////////////// - //NumberLiteralRule: - // IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule; - public ParserRule getRule() { return rule; } - - //IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule - public Alternatives getAlternatives() { return cAlternatives; } - - //IntegerLiteralRule - public RuleCall getIntegerLiteralRuleParserRuleCall_0() { return cIntegerLiteralRuleParserRuleCall_0; } - - //UnlimitedLiteralRule - public RuleCall getUnlimitedLiteralRuleParserRuleCall_1() { return cUnlimitedLiteralRuleParserRuleCall_1; } - - //RealLiteralRule - public RuleCall getRealLiteralRuleParserRuleCall_2() { return cRealLiteralRuleParserRuleCall_2; } - } - - public class IntegerLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueIntegerLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - //IntegerLiteralRule: - // value=IntegerLiteral; - public ParserRule getRule() { return rule; } - - //value=IntegerLiteral - public Assignment getValueAssignment() { return cValueAssignment; } - - //IntegerLiteral - public RuleCall getValueIntegerLiteralTerminalRuleCall_0() { return cValueIntegerLiteralTerminalRuleCall_0; } - } - - public class UnlimitedLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UnlimitedLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final Keyword cValueAsteriskKeyword_0 = (Keyword)cValueAssignment.eContents().get(0); - - ////UnlimitedLiteralRule : - //// value = UnlimitedLiteral ; - ////terminal UnlimitedLiteral : - //// '*' ; - //UnlimitedLiteralRule: - // value="*"; - public ParserRule getRule() { return rule; } - - //value="*" - public Assignment getValueAssignment() { return cValueAssignment; } - - //"*" - public Keyword getValueAsteriskKeyword_0() { return cValueAsteriskKeyword_0; } - } - - public class RealLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RealLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueRealLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - //RealLiteralRule: - // value=RealLiteral; - public ParserRule getRule() { return rule; } - - //value=RealLiteral - public Assignment getValueAssignment() { return cValueAssignment; } - - //RealLiteral - public RuleCall getValueRealLiteralTerminalRuleCall_0() { return cValueRealLiteralTerminalRuleCall_0; } - } - - public class DateTimeLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DateTimeLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueDateTimeLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - ////DateTimeLiteral: - //// TimeString (DateString)? (DayString)? | - //// DateString (DayString)? | - //// DayString ; - ////terminal DateString : - //// ('0'..'9')('0'..'9')('0'..'9')('0'..'9')'/'('0'('0'..'9')|'1'('0'..'2'))'/'(('0'..'2')('0'..'9')|'3' ('0'|'1')) ; - ////terminal TimeString : - //// (('0'..'1')('0'..'9')|'2'('0'..'3'))':'('0'..'5')('0'..'9')(':'('0'..'5')('0'..'9')(':'('0'..'9')('0'..'9'))?)? ; - ////terminal DayString : - //// "Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun" ; - //DateTimeLiteralRule: - // value=DateTimeLiteral; - public ParserRule getRule() { return rule; } - - //value=DateTimeLiteral - public Assignment getValueAssignment() { return cValueAssignment; } - - //DateTimeLiteral - public RuleCall getValueDateTimeLiteralTerminalRuleCall_0() { return cValueDateTimeLiteralTerminalRuleCall_0; } - } - - public class BooleanLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueBooleanLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - //BooleanLiteralRule: - // value=BooleanLiteral; - public ParserRule getRule() { return rule; } - - //value=BooleanLiteral - public Assignment getValueAssignment() { return cValueAssignment; } - - //BooleanLiteral - public RuleCall getValueBooleanLiteralTerminalRuleCall_0() { return cValueBooleanLiteralTerminalRuleCall_0; } - } - - public class NullLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NullLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueNullLiteralTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - //NullLiteralRule: - // value=NullLiteral; - public ParserRule getRule() { return rule; } - - //value=NullLiteral - public Assignment getValueAssignment() { return cValueAssignment; } - - //NullLiteral - public RuleCall getValueNullLiteralTerminalRuleCall_0() { return cValueNullLiteralTerminalRuleCall_0; } - } - - public class DefaultLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "DefaultLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final Keyword cValueSolidusKeyword_0 = (Keyword)cValueAssignment.eContents().get(0); - - ////DefaultLiteralRule : - //// value = DefaultLiteral ; - ////terminal DefaultLiteral : - //// '/' ; - //DefaultLiteralRule: - // value="/"; - public ParserRule getRule() { return rule; } - - //value="/" - public Assignment getValueAssignment() { return cValueAssignment; } - - //"/" - public Keyword getValueSolidusKeyword_0() { return cValueSolidusKeyword_0; } - } - - public class StringLiteralRuleElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "StringLiteralRule"); - private final Assignment cValueAssignment = (Assignment)rule.eContents().get(1); - private final RuleCall cValueSTRINGTerminalRuleCall_0 = (RuleCall)cValueAssignment.eContents().get(0); - - //StringLiteralRule: - // value=STRING; - public ParserRule getRule() { return rule; } - - //value=STRING - public Assignment getValueAssignment() { return cValueAssignment; } - - //STRING - public RuleCall getValueSTRINGTerminalRuleCall_0() { return cValueSTRINGTerminalRuleCall_0; } - } - - - private ExpressionElements pExpression; - private AndOrXorExpressionElements pAndOrXorExpression; - private EqualityExpressionElements pEqualityExpression; - private RelationalExpressionElements pRelationalExpression; - private ConditionalExpressionElements pConditionalExpression; - private AdditiveExpressionElements pAdditiveExpression; - private MultiplicativeExpressionElements pMultiplicativeExpression; - private UnaryExpressionElements pUnaryExpression; - private PrimaryExpressionElements pPrimaryExpression; - private ValueSpecificationElements pValueSpecification; - private SuffixExpressionElements pSuffixExpression; - private PropertyCallExpressionElements pPropertyCallExpression; - private OperationCallExpressionElements pOperationCallExpression; - private LiteralElements pLiteral; - private NameOrChoiceOrBehaviorCallElements pNameOrChoiceOrBehaviorCall; - private QualifiedNameElements pQualifiedName; - private IntervalElements pInterval; - private CollectionOrTupleElements pCollectionOrTuple; - private TupleElements pTuple; - private ListOfValuesElements pListOfValues; - private ListOfValueNamePairsElements pListOfValueNamePairs; - private ValueNamePairElements pValueNamePair; - private TimeExpressionElements pTimeExpression; - private InstantObsExpressionElements pInstantObsExpression; - private InstantObsNameElements pInstantObsName; - private DurationObsExpressionElements pDurationObsExpression; - private DurationObsNameElements pDurationObsName; - private JitterExpElements pJitterExp; - private VariableDeclarationElements pVariableDeclaration; - private VariableDirectionKindElements pVariableDirectionKind; - private DataTypeNameElements pDataTypeName; - private NumberLiteralRuleElements pNumberLiteralRule; - private IntegerLiteralRuleElements pIntegerLiteralRule; - private TerminalRule tIntegerLiteral; - private UnlimitedLiteralRuleElements pUnlimitedLiteralRule; - private RealLiteralRuleElements pRealLiteralRule; - private TerminalRule tRealLiteral; - private DateTimeLiteralRuleElements pDateTimeLiteralRule; - private TerminalRule tDateTimeLiteral; - private BooleanLiteralRuleElements pBooleanLiteralRule; - private TerminalRule tBooleanLiteral; - private NullLiteralRuleElements pNullLiteralRule; - private TerminalRule tNullLiteral; - private DefaultLiteralRuleElements pDefaultLiteralRule; - private StringLiteralRuleElements pStringLiteralRule; - - private final GrammarProvider grammarProvider; - - private TerminalsGrammarAccess gaTerminals; - - @Inject - public VSLGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammarProvider = grammarProvider; - this.gaTerminals = gaTerminals; - } - - public Grammar getGrammar() { - return grammarProvider.getGrammar(this); - } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; - } - - - //Expression: - // exp=AndOrXorExpression; - public ExpressionElements getExpressionAccess() { - return (pExpression != null) ? pExpression : (pExpression = new ExpressionElements()); - } - - public ParserRule getExpressionRule() { - return getExpressionAccess().getRule(); - } - - //AndOrXorExpression: - // exp+=EqualityExpression (op+=("and" | "or" | "xor") exp+=EqualityExpression)*; - public AndOrXorExpressionElements getAndOrXorExpressionAccess() { - return (pAndOrXorExpression != null) ? pAndOrXorExpression : (pAndOrXorExpression = new AndOrXorExpressionElements()); - } - - public ParserRule getAndOrXorExpressionRule() { - return getAndOrXorExpressionAccess().getRule(); - } - - //EqualityExpression: - // exp+=RelationalExpression (op+=("==" | "<>") exp+=RelationalExpression)*; - public EqualityExpressionElements getEqualityExpressionAccess() { - return (pEqualityExpression != null) ? pEqualityExpression : (pEqualityExpression = new EqualityExpressionElements()); - } - - public ParserRule getEqualityExpressionRule() { - return getEqualityExpressionAccess().getRule(); - } - - //RelationalExpression: - // exp+=ConditionalExpression (op+=("<" | ">" | "<=" | ">=") exp+=ConditionalExpression)*; - public RelationalExpressionElements getRelationalExpressionAccess() { - return (pRelationalExpression != null) ? pRelationalExpression : (pRelationalExpression = new RelationalExpressionElements()); - } - - public ParserRule getRelationalExpressionRule() { - return getRelationalExpressionAccess().getRule(); - } - - //ConditionalExpression: - // exp+=AdditiveExpression (op+="?" exp+=AdditiveExpression ":" exp+=AdditiveExpression)?; - public ConditionalExpressionElements getConditionalExpressionAccess() { - return (pConditionalExpression != null) ? pConditionalExpression : (pConditionalExpression = new ConditionalExpressionElements()); - } - - public ParserRule getConditionalExpressionRule() { - return getConditionalExpressionAccess().getRule(); - } - - //AdditiveExpression: - // exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*; - public AdditiveExpressionElements getAdditiveExpressionAccess() { - return (pAdditiveExpression != null) ? pAdditiveExpression : (pAdditiveExpression = new AdditiveExpressionElements()); - } - - public ParserRule getAdditiveExpressionRule() { - return getAdditiveExpressionAccess().getRule(); - } - - //MultiplicativeExpression: - // exp+=UnaryExpression (op+=("*" | "/" | "mod") exp+=UnaryExpression)*; - public MultiplicativeExpressionElements getMultiplicativeExpressionAccess() { - return (pMultiplicativeExpression != null) ? pMultiplicativeExpression : (pMultiplicativeExpression = new MultiplicativeExpressionElements()); - } - - public ParserRule getMultiplicativeExpressionRule() { - return getMultiplicativeExpressionAccess().getRule(); - } - - //UnaryExpression: - // op=("not" | "-" | "+") unary=UnaryExpression | exp=PrimaryExpression; - public UnaryExpressionElements getUnaryExpressionAccess() { - return (pUnaryExpression != null) ? pUnaryExpression : (pUnaryExpression = new UnaryExpressionElements()); - } - - public ParserRule getUnaryExpressionRule() { - return getUnaryExpressionAccess().getRule(); - } - - //PrimaryExpression: - // prefix=ValueSpecification ("." suffix=SuffixExpression)?; - public PrimaryExpressionElements getPrimaryExpressionAccess() { - return (pPrimaryExpression != null) ? pPrimaryExpression : (pPrimaryExpression = new PrimaryExpressionElements()); - } - - public ParserRule getPrimaryExpressionRule() { - return getPrimaryExpressionAccess().getRule(); - } - - //ValueSpecification: - // Literal | NameOrChoiceOrBehaviorCall | Interval | CollectionOrTuple | Tuple | TimeExpression | VariableDeclaration | - // "(" Expression ")"; - public ValueSpecificationElements getValueSpecificationAccess() { - return (pValueSpecification != null) ? pValueSpecification : (pValueSpecification = new ValueSpecificationElements()); - } - - public ParserRule getValueSpecificationRule() { - return getValueSpecificationAccess().getRule(); - } - - //SuffixExpression: - // PropertyCallExpression | OperationCallExpression; - public SuffixExpressionElements getSuffixExpressionAccess() { - return (pSuffixExpression != null) ? pSuffixExpression : (pSuffixExpression = new SuffixExpressionElements()); - } - - public ParserRule getSuffixExpressionRule() { - return getSuffixExpressionAccess().getRule(); - } - - //PropertyCallExpression: - // property=[uml::Property] ("." suffix=SuffixExpression)?; - public PropertyCallExpressionElements getPropertyCallExpressionAccess() { - return (pPropertyCallExpression != null) ? pPropertyCallExpression : (pPropertyCallExpression = new PropertyCallExpressionElements()); - } - - public ParserRule getPropertyCallExpressionRule() { - return getPropertyCallExpressionAccess().getRule(); - } - - //OperationCallExpression: - // operation=[uml::Operation] "(" arguments=ListOfValues? ")" ("." suffix=SuffixExpression)?; - public OperationCallExpressionElements getOperationCallExpressionAccess() { - return (pOperationCallExpression != null) ? pOperationCallExpression : (pOperationCallExpression = new OperationCallExpressionElements()); - } - - public ParserRule getOperationCallExpressionRule() { - return getOperationCallExpressionAccess().getRule(); - } - - //Literal: - // NumberLiteralRule | DateTimeLiteralRule | BooleanLiteralRule | NullLiteralRule | DefaultLiteralRule | - // StringLiteralRule; - public LiteralElements getLiteralAccess() { - return (pLiteral != null) ? pLiteral : (pLiteral = new LiteralElements()); - } - - public ParserRule getLiteralRule() { - return getLiteralAccess().getRule(); - } - - //NameOrChoiceOrBehaviorCall: - // path=QualifiedName? // can resolve to : - // // - EnumSpecification, - // // - VariableCallExpression - // // - PropertyCallExpression - // // - ChoiceExpression - // id=[uml::NamedElement] ("(" arguments=ListOfValues? ")")?; - public NameOrChoiceOrBehaviorCallElements getNameOrChoiceOrBehaviorCallAccess() { - return (pNameOrChoiceOrBehaviorCall != null) ? pNameOrChoiceOrBehaviorCall : (pNameOrChoiceOrBehaviorCall = new NameOrChoiceOrBehaviorCallElements()); - } - - public ParserRule getNameOrChoiceOrBehaviorCallRule() { - return getNameOrChoiceOrBehaviorCallAccess().getRule(); - } - - //QualifiedName: - // path=[uml::Namespace] "::" remaining=QualifiedName?; - public QualifiedNameElements getQualifiedNameAccess() { - return (pQualifiedName != null) ? pQualifiedName : (pQualifiedName = new QualifiedNameElements()); - } - - public ParserRule getQualifiedNameRule() { - return getQualifiedNameAccess().getRule(); - } - - //Interval: - // ("]" | isLowerIncluded="[") lower=Expression ".." upper=Expression (isUpperIncluded="]" | "["); - public IntervalElements getIntervalAccess() { - return (pInterval != null) ? pInterval : (pInterval = new IntervalElements()); - } - - public ParserRule getIntervalRule() { - return getIntervalAccess().getRule(); - } - - //CollectionOrTuple: - // "{" listOfValues=ListOfValues "}"; - public CollectionOrTupleElements getCollectionOrTupleAccess() { - return (pCollectionOrTuple != null) ? pCollectionOrTuple : (pCollectionOrTuple = new CollectionOrTupleElements()); - } - - public ParserRule getCollectionOrTupleRule() { - return getCollectionOrTupleAccess().getRule(); - } - - //Tuple: - // "{" listOfValueNamePairs=ListOfValueNamePairs "}"; - public TupleElements getTupleAccess() { - return (pTuple != null) ? pTuple : (pTuple = new TupleElements()); - } - - public ParserRule getTupleRule() { - return getTupleAccess().getRule(); - } - - //ListOfValues: - // values+=Expression ("," values+=Expression)*; - public ListOfValuesElements getListOfValuesAccess() { - return (pListOfValues != null) ? pListOfValues : (pListOfValues = new ListOfValuesElements()); - } - - public ParserRule getListOfValuesRule() { - return getListOfValuesAccess().getRule(); - } - - //ListOfValueNamePairs: - // valueNamePairs+=ValueNamePair ("," valueNamePairs+=ValueNamePair)*; - public ListOfValueNamePairsElements getListOfValueNamePairsAccess() { - return (pListOfValueNamePairs != null) ? pListOfValueNamePairs : (pListOfValueNamePairs = new ListOfValueNamePairsElements()); - } - - public ParserRule getListOfValueNamePairsRule() { - return getListOfValueNamePairsAccess().getRule(); - } - - //ValueNamePair: - // property=[uml::Property] "=" value=Expression; - public ValueNamePairElements getValueNamePairAccess() { - return (pValueNamePair != null) ? pValueNamePair : (pValueNamePair = new ValueNamePairElements()); - } - - public ParserRule getValueNamePairRule() { - return getValueNamePairAccess().getRule(); - } - - //TimeExpression: - // InstantObsExpression | DurationObsExpression | JitterExp; - public TimeExpressionElements getTimeExpressionAccess() { - return (pTimeExpression != null) ? pTimeExpression : (pTimeExpression = new TimeExpressionElements()); - } - - public ParserRule getTimeExpressionRule() { - return getTimeExpressionAccess().getRule(); - } - - //InstantObsExpression: - // "@" id=InstantObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - public InstantObsExpressionElements getInstantObsExpressionAccess() { - return (pInstantObsExpression != null) ? pInstantObsExpression : (pInstantObsExpression = new InstantObsExpressionElements()); - } - - public ParserRule getInstantObsExpressionRule() { - return getInstantObsExpressionAccess().getRule(); - } - - //InstantObsName: - // path=QualifiedName? instantId=[uml::TimeObservation]; - public InstantObsNameElements getInstantObsNameAccess() { - return (pInstantObsName != null) ? pInstantObsName : (pInstantObsName = new InstantObsNameElements()); - } - - public ParserRule getInstantObsNameRule() { - return getInstantObsNameAccess().getRule(); - } - - //DurationObsExpression: - // "&" id=DurationObsName ("(" index=Expression ")")? ("when" "(" condition=Expression ")")?; - public DurationObsExpressionElements getDurationObsExpressionAccess() { - return (pDurationObsExpression != null) ? pDurationObsExpression : (pDurationObsExpression = new DurationObsExpressionElements()); - } - - public ParserRule getDurationObsExpressionRule() { - return getDurationObsExpressionAccess().getRule(); - } - - //DurationObsName: - // path=QualifiedName? durationId=[uml::DurationObservation]; - public DurationObsNameElements getDurationObsNameAccess() { - return (pDurationObsName != null) ? pDurationObsName : (pDurationObsName = new DurationObsNameElements()); - } - - public ParserRule getDurationObsNameRule() { - return getDurationObsNameAccess().getRule(); - } - - //JitterExp: - // "jitter(" firstInstant=InstantObsExpression ("-" secondInstant=InstantObsExpression)? ")"; - public JitterExpElements getJitterExpAccess() { - return (pJitterExp != null) ? pJitterExp : (pJitterExp = new JitterExpElements()); - } - - public ParserRule getJitterExpRule() { - return getJitterExpAccess().getRule(); - } - - //VariableDeclaration: - // variableDeclaration=VariableDirectionKind? "$" name=ID (":" type=DataTypeName ("=" "(" initValue=Expression ")")? | - // "=" "(" initValue=Expression ")"); - public VariableDeclarationElements getVariableDeclarationAccess() { - return (pVariableDeclaration != null) ? pVariableDeclaration : (pVariableDeclaration = new VariableDeclarationElements()); - } - - public ParserRule getVariableDeclarationRule() { - return getVariableDeclarationAccess().getRule(); - } - - //VariableDirectionKind returns ecore::EString: - // "in" | "out" | "inout"; - public VariableDirectionKindElements getVariableDirectionKindAccess() { - return (pVariableDirectionKind != null) ? pVariableDirectionKind : (pVariableDirectionKind = new VariableDirectionKindElements()); - } - - public ParserRule getVariableDirectionKindRule() { - return getVariableDirectionKindAccess().getRule(); - } - - //DataTypeName: - // path=QualifiedName? type=[uml::DataType]; - public DataTypeNameElements getDataTypeNameAccess() { - return (pDataTypeName != null) ? pDataTypeName : (pDataTypeName = new DataTypeNameElements()); - } - - public ParserRule getDataTypeNameRule() { - return getDataTypeNameAccess().getRule(); - } - - //////////////////////////////////////////////////////////////////////////////////////////////////////// - ////LITERAL - //////////////////////////////////////////////////////////////////////////////////////////////////////// - //NumberLiteralRule: - // IntegerLiteralRule | UnlimitedLiteralRule | RealLiteralRule; - public NumberLiteralRuleElements getNumberLiteralRuleAccess() { - return (pNumberLiteralRule != null) ? pNumberLiteralRule : (pNumberLiteralRule = new NumberLiteralRuleElements()); - } - - public ParserRule getNumberLiteralRuleRule() { - return getNumberLiteralRuleAccess().getRule(); - } - - //IntegerLiteralRule: - // value=IntegerLiteral; - public IntegerLiteralRuleElements getIntegerLiteralRuleAccess() { - return (pIntegerLiteralRule != null) ? pIntegerLiteralRule : (pIntegerLiteralRule = new IntegerLiteralRuleElements()); - } - - public ParserRule getIntegerLiteralRuleRule() { - return getIntegerLiteralRuleAccess().getRule(); - } - - //terminal IntegerLiteral: - // ("+" | "-")? ("0".."9"+ | "0x" ("0".."9" | "A".."F" | "a".."f")+ | "0b" "0".."1"+); - public TerminalRule getIntegerLiteralRule() { - return (tIntegerLiteral != null) ? tIntegerLiteral : (tIntegerLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "IntegerLiteral")); - } - - ////UnlimitedLiteralRule : - //// value = UnlimitedLiteral ; - ////terminal UnlimitedLiteral : - //// '*' ; - //UnlimitedLiteralRule: - // value="*"; - public UnlimitedLiteralRuleElements getUnlimitedLiteralRuleAccess() { - return (pUnlimitedLiteralRule != null) ? pUnlimitedLiteralRule : (pUnlimitedLiteralRule = new UnlimitedLiteralRuleElements()); - } - - public ParserRule getUnlimitedLiteralRuleRule() { - return getUnlimitedLiteralRuleAccess().getRule(); - } - - //RealLiteralRule: - // value=RealLiteral; - public RealLiteralRuleElements getRealLiteralRuleAccess() { - return (pRealLiteralRule != null) ? pRealLiteralRule : (pRealLiteralRule = new RealLiteralRuleElements()); - } - - public ParserRule getRealLiteralRuleRule() { - return getRealLiteralRuleAccess().getRule(); - } - - //terminal RealLiteral: - // ("+" | "-")? "0".."9"+ "." "0".."9"+ ("E" ("+" | "-")? "0".."9"+)?; - public TerminalRule getRealLiteralRule() { - return (tRealLiteral != null) ? tRealLiteral : (tRealLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "RealLiteral")); - } - - ////DateTimeLiteral: - //// TimeString (DateString)? (DayString)? | - //// DateString (DayString)? | - //// DayString ; - ////terminal DateString : - //// ('0'..'9')('0'..'9')('0'..'9')('0'..'9')'/'('0'('0'..'9')|'1'('0'..'2'))'/'(('0'..'2')('0'..'9')|'3' ('0'|'1')) ; - ////terminal TimeString : - //// (('0'..'1')('0'..'9')|'2'('0'..'3'))':'('0'..'5')('0'..'9')(':'('0'..'5')('0'..'9')(':'('0'..'9')('0'..'9'))?)? ; - ////terminal DayString : - //// "Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun" ; - //DateTimeLiteralRule: - // value=DateTimeLiteral; - public DateTimeLiteralRuleElements getDateTimeLiteralRuleAccess() { - return (pDateTimeLiteralRule != null) ? pDateTimeLiteralRule : (pDateTimeLiteralRule = new DateTimeLiteralRuleElements()); - } - - public ParserRule getDateTimeLiteralRuleRule() { - return getDateTimeLiteralRuleAccess().getRule(); - } - - //terminal DateTimeLiteral: - // (("0".."1" "0".."9" | "2" "0".."3") ":" "0".."5" "0".."9" (":" "0".."5" "0".."9" (":" "0".."9" "0".."9")?)?) (" " - // "0".."9" "0".."9" "0".."9" "0".."9" "/" ("0" "0".."9" | "1" "0".."2") "/" ("0".."2" "0".."9" | "3" ("0" | "1")))? (" " - // ("Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun"))? | ("0".."9" "0".."9" "0".."9" "0".."9" "/" ("0" "0".."9" | - // "1" "0".."2") "/" ("0".."2" "0".."9" | "3" ("0" | "1"))) (" " ("Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | - // "Sun"))? | ("Mon" | "Tue" | "Wed" | "Thr" | "Fri" | "Sat" | "Sun"); - public TerminalRule getDateTimeLiteralRule() { - return (tDateTimeLiteral != null) ? tDateTimeLiteral : (tDateTimeLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "DateTimeLiteral")); - } - - //BooleanLiteralRule: - // value=BooleanLiteral; - public BooleanLiteralRuleElements getBooleanLiteralRuleAccess() { - return (pBooleanLiteralRule != null) ? pBooleanLiteralRule : (pBooleanLiteralRule = new BooleanLiteralRuleElements()); - } - - public ParserRule getBooleanLiteralRuleRule() { - return getBooleanLiteralRuleAccess().getRule(); - } - - //terminal BooleanLiteral: - // "true" | "false"; - public TerminalRule getBooleanLiteralRule() { - return (tBooleanLiteral != null) ? tBooleanLiteral : (tBooleanLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "BooleanLiteral")); - } - - //NullLiteralRule: - // value=NullLiteral; - public NullLiteralRuleElements getNullLiteralRuleAccess() { - return (pNullLiteralRule != null) ? pNullLiteralRule : (pNullLiteralRule = new NullLiteralRuleElements()); - } - - public ParserRule getNullLiteralRuleRule() { - return getNullLiteralRuleAccess().getRule(); - } - - //terminal NullLiteral: - // "null"; - public TerminalRule getNullLiteralRule() { - return (tNullLiteral != null) ? tNullLiteral : (tNullLiteral = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "NullLiteral")); - } - - ////DefaultLiteralRule : - //// value = DefaultLiteral ; - ////terminal DefaultLiteral : - //// '/' ; - //DefaultLiteralRule: - // value="/"; - public DefaultLiteralRuleElements getDefaultLiteralRuleAccess() { - return (pDefaultLiteralRule != null) ? pDefaultLiteralRule : (pDefaultLiteralRule = new DefaultLiteralRuleElements()); - } - - public ParserRule getDefaultLiteralRuleRule() { - return getDefaultLiteralRuleAccess().getRule(); - } - - //StringLiteralRule: - // value=STRING; - public StringLiteralRuleElements getStringLiteralRuleAccess() { - return (pStringLiteralRule != null) ? pStringLiteralRule : (pStringLiteralRule = new StringLiteralRuleElements()); - } - - public ParserRule getStringLiteralRuleRule() { - return getStringLiteralRuleAccess().getRule(); - } - - //terminal ID: - // "^"? ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")*; - public TerminalRule getIDRule() { - return gaTerminals.getIDRule(); - } - - //terminal INT returns ecore::EInt: - // "0".."9"+; - public TerminalRule getINTRule() { - return gaTerminals.getINTRule(); - } - - //terminal STRING: - // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"" | "\'" ("\\" ("b" | "t" | "n" | - // "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\'"))* "\'"; - public TerminalRule getSTRINGRule() { - return gaTerminals.getSTRINGRule(); - } - - //terminal ML_COMMENT: - // "/ *"->"* /"; - public TerminalRule getML_COMMENTRule() { - return gaTerminals.getML_COMMENTRule(); - } - - //terminal SL_COMMENT: - // "//" !("\n" | "\r")* ("\r"? "\n")?; - public TerminalRule getSL_COMMENTRule() { - return gaTerminals.getSL_COMMENTRule(); - } - - //terminal WS: - // (" " | "\t" | "\r" | "\n")+; - public TerminalRule getWSRule() { - return gaTerminals.getWSRule(); - } - - //terminal ANY_OTHER: - // .; - public TerminalRule getANY_OTHERRule() { - return gaTerminals.getANY_OTHERRule(); - } -} diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AdditiveExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AdditiveExpression.java deleted file mode 100644 index e5763192a88..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AdditiveExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Additive Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAdditiveExpression()
- * @model
- * @generated
- */
-public interface AdditiveExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAdditiveExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<MultiplicativeExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAdditiveExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // AdditiveExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AndOrXorExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AndOrXorExpression.java deleted file mode 100644 index 3c153abd453..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/AndOrXorExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>And Or Xor Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAndOrXorExpression()
- * @model
- * @generated
- */
-public interface AndOrXorExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAndOrXorExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<EqualityExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getAndOrXorExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // AndOrXorExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/BooleanLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/BooleanLiteralRule.java deleted file mode 100644 index cd13985375d..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/BooleanLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Boolean Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getBooleanLiteralRule()
- * @model
- * @generated
- */
-public interface BooleanLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // BooleanLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/CollectionOrTuple.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/CollectionOrTuple.java deleted file mode 100644 index 65410ad6df1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/CollectionOrTuple.java +++ /dev/null @@ -1,92 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Collection Or Tuple</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple#getListOfValues <em>List Of Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getCollectionOrTuple()
- * @model
- * @generated
- */
-public interface CollectionOrTuple extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>List Of Values</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>List Of Values</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>List Of Values</em>' containment reference.
- * @see #setListOfValues(ListOfValues)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getCollectionOrTuple_ListOfValues()
- * @model containment="true"
- * @generated
- */
- ListOfValues getListOfValues();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple#getListOfValues <em>List Of Values</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>List Of Values</em>' containment reference.
- * @see #getListOfValues()
- * @generated
- */
- void setListOfValues(ListOfValues value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // CollectionOrTuple
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ConditionalExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ConditionalExpression.java deleted file mode 100644 index 6b6604dc6de..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ConditionalExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Conditional Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getConditionalExpression()
- * @model
- * @generated
- */
-public interface ConditionalExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getConditionalExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<AdditiveExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getConditionalExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // ConditionalExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DataTypeName.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DataTypeName.java deleted file mode 100644 index 3c632c649e9..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DataTypeName.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Data Type Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDataTypeName()
- * @model
- * @generated
- */
-public interface DataTypeName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Path</em>' containment reference.
- * @see #setPath(QualifiedName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDataTypeName_Path()
- * @model containment="true"
- * @generated
- */
- QualifiedName getPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getPath <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Path</em>' containment reference.
- * @see #getPath()
- * @generated
- */
- void setPath(QualifiedName value);
-
- /**
- * Returns the value of the '<em><b>Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' reference.
- * @see #setType(DataType)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDataTypeName_Type()
- * @model
- * @generated
- */
- DataType getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getType <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' reference.
- * @see #getType()
- * @generated
- */
- void setType(DataType value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // DataTypeName
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DateTimeLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DateTimeLiteralRule.java deleted file mode 100644 index 13fc28b9066..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DateTimeLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Date Time Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDateTimeLiteralRule()
- * @model
- * @generated
- */
-public interface DateTimeLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // DateTimeLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DefaultLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DefaultLiteralRule.java deleted file mode 100644 index f5562b8ecc9..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DefaultLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Default Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDefaultLiteralRule()
- * @model
- * @generated
- */
-public interface DefaultLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // DefaultLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsExpression.java deleted file mode 100644 index f1f0594027b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsExpression.java +++ /dev/null @@ -1,146 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Duration Obs Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getCondition <em>Condition</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsExpression()
- * @model
- * @generated
- */
-public interface DurationObsExpression extends TimeExpression
-{
- /**
- * Returns the value of the '<em><b>Id</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' containment reference.
- * @see #setId(DurationObsName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsExpression_Id()
- * @model containment="true"
- * @generated
- */
- DurationObsName getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getId <em>Id</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' containment reference.
- * @see #getId()
- * @generated
- */
- void setId(DurationObsName value);
-
- /**
- * Returns the value of the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Index</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Index</em>' containment reference.
- * @see #setIndex(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsExpression_Index()
- * @model containment="true"
- * @generated
- */
- Expression getIndex();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getIndex <em>Index</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Index</em>' containment reference.
- * @see #getIndex()
- * @generated
- */
- void setIndex(Expression value);
-
- /**
- * Returns the value of the '<em><b>Condition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Condition</em>' containment reference.
- * @see #setCondition(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsExpression_Condition()
- * @model containment="true"
- * @generated
- */
- Expression getCondition();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getCondition <em>Condition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Condition</em>' containment reference.
- * @see #getCondition()
- * @generated
- */
- void setCondition(Expression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // DurationObsExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsName.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsName.java deleted file mode 100644 index 0fb26aa56fd..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/DurationObsName.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.DurationObservation;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Duration Obs Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getDurationId <em>Duration Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsName()
- * @model
- * @generated
- */
-public interface DurationObsName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Path</em>' containment reference.
- * @see #setPath(QualifiedName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsName_Path()
- * @model containment="true"
- * @generated
- */
- QualifiedName getPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getPath <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Path</em>' containment reference.
- * @see #getPath()
- * @generated
- */
- void setPath(QualifiedName value);
-
- /**
- * Returns the value of the '<em><b>Duration Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Duration Id</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Duration Id</em>' reference.
- * @see #setDurationId(DurationObservation)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getDurationObsName_DurationId()
- * @model
- * @generated
- */
- DurationObservation getDurationId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getDurationId <em>Duration Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Duration Id</em>' reference.
- * @see #getDurationId()
- * @generated
- */
- void setDurationId(DurationObservation value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // DurationObsName
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/EqualityExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/EqualityExpression.java deleted file mode 100644 index bb63cc03452..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/EqualityExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Equality Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getEqualityExpression()
- * @model
- * @generated
- */
-public interface EqualityExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getEqualityExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<RelationalExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getEqualityExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // EqualityExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Expression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Expression.java deleted file mode 100644 index bd01d191a8d..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Expression.java +++ /dev/null @@ -1,92 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Expression#getExp <em>Exp</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getExpression()
- * @model
- * @generated
- */
-public interface Expression extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference.
- * @see #setExp(AndOrXorExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getExpression_Exp()
- * @model containment="true"
- * @generated
- */
- AndOrXorExpression getExp();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Expression#getExp <em>Exp</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Exp</em>' containment reference.
- * @see #getExp()
- * @generated
- */
- void setExp(AndOrXorExpression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // Expression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsExpression.java deleted file mode 100644 index 7668ebdb0a8..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsExpression.java +++ /dev/null @@ -1,146 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Instant Obs Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getCondition <em>Condition</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsExpression()
- * @model
- * @generated
- */
-public interface InstantObsExpression extends TimeExpression
-{
- /**
- * Returns the value of the '<em><b>Id</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' containment reference.
- * @see #setId(InstantObsName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsExpression_Id()
- * @model containment="true"
- * @generated
- */
- InstantObsName getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getId <em>Id</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' containment reference.
- * @see #getId()
- * @generated
- */
- void setId(InstantObsName value);
-
- /**
- * Returns the value of the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Index</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Index</em>' containment reference.
- * @see #setIndex(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsExpression_Index()
- * @model containment="true"
- * @generated
- */
- Expression getIndex();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getIndex <em>Index</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Index</em>' containment reference.
- * @see #getIndex()
- * @generated
- */
- void setIndex(Expression value);
-
- /**
- * Returns the value of the '<em><b>Condition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Condition</em>' containment reference.
- * @see #setCondition(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsExpression_Condition()
- * @model containment="true"
- * @generated
- */
- Expression getCondition();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getCondition <em>Condition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Condition</em>' containment reference.
- * @see #getCondition()
- * @generated
- */
- void setCondition(Expression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // InstantObsExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsName.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsName.java deleted file mode 100644 index 59d7d646dda..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/InstantObsName.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.TimeObservation;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Instant Obs Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getInstantId <em>Instant Id</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsName()
- * @model
- * @generated
- */
-public interface InstantObsName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Path</em>' containment reference.
- * @see #setPath(QualifiedName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsName_Path()
- * @model containment="true"
- * @generated
- */
- QualifiedName getPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getPath <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Path</em>' containment reference.
- * @see #getPath()
- * @generated
- */
- void setPath(QualifiedName value);
-
- /**
- * Returns the value of the '<em><b>Instant Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Instant Id</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Instant Id</em>' reference.
- * @see #setInstantId(TimeObservation)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInstantObsName_InstantId()
- * @model
- * @generated
- */
- TimeObservation getInstantId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getInstantId <em>Instant Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Instant Id</em>' reference.
- * @see #getInstantId()
- * @generated
- */
- void setInstantId(TimeObservation value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // InstantObsName
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/IntegerLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/IntegerLiteralRule.java deleted file mode 100644 index 68572ee9a04..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/IntegerLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Integer Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getIntegerLiteralRule()
- * @model
- * @generated
- */
-public interface IntegerLiteralRule extends NumberLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // IntegerLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Interval.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Interval.java deleted file mode 100644 index 9cbcb8d26b1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Interval.java +++ /dev/null @@ -1,173 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Interval</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsLowerIncluded <em>Is Lower Included</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getUpper <em>Upper</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsUpperIncluded <em>Is Upper Included</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInterval()
- * @model
- * @generated
- */
-public interface Interval extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>Is Lower Included</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Lower Included</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Lower Included</em>' attribute.
- * @see #setIsLowerIncluded(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInterval_IsLowerIncluded()
- * @model
- * @generated
- */
- String getIsLowerIncluded();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsLowerIncluded <em>Is Lower Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Lower Included</em>' attribute.
- * @see #getIsLowerIncluded()
- * @generated
- */
- void setIsLowerIncluded(String value);
-
- /**
- * Returns the value of the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lower</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Lower</em>' containment reference.
- * @see #setLower(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInterval_Lower()
- * @model containment="true"
- * @generated
- */
- Expression getLower();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getLower <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Lower</em>' containment reference.
- * @see #getLower()
- * @generated
- */
- void setLower(Expression value);
-
- /**
- * Returns the value of the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Upper</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Upper</em>' containment reference.
- * @see #setUpper(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInterval_Upper()
- * @model containment="true"
- * @generated
- */
- Expression getUpper();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getUpper <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Upper</em>' containment reference.
- * @see #getUpper()
- * @generated
- */
- void setUpper(Expression value);
-
- /**
- * Returns the value of the '<em><b>Is Upper Included</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Is Upper Included</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Is Upper Included</em>' attribute.
- * @see #setIsUpperIncluded(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getInterval_IsUpperIncluded()
- * @model
- * @generated
- */
- String getIsUpperIncluded();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsUpperIncluded <em>Is Upper Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Is Upper Included</em>' attribute.
- * @see #getIsUpperIncluded()
- * @generated
- */
- void setIsUpperIncluded(String value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // Interval
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/JitterExp.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/JitterExp.java deleted file mode 100644 index f31f4f3fd80..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/JitterExp.java +++ /dev/null @@ -1,119 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Jitter Exp</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getFirstInstant <em>First Instant</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getSecondInstant <em>Second Instant</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getJitterExp()
- * @model
- * @generated
- */
-public interface JitterExp extends TimeExpression
-{
- /**
- * Returns the value of the '<em><b>First Instant</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>First Instant</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>First Instant</em>' containment reference.
- * @see #setFirstInstant(InstantObsExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getJitterExp_FirstInstant()
- * @model containment="true"
- * @generated
- */
- InstantObsExpression getFirstInstant();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getFirstInstant <em>First Instant</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>First Instant</em>' containment reference.
- * @see #getFirstInstant()
- * @generated
- */
- void setFirstInstant(InstantObsExpression value);
-
- /**
- * Returns the value of the '<em><b>Second Instant</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Second Instant</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Second Instant</em>' containment reference.
- * @see #setSecondInstant(InstantObsExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getJitterExp_SecondInstant()
- * @model containment="true"
- * @generated
- */
- InstantObsExpression getSecondInstant();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getSecondInstant <em>Second Instant</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Second Instant</em>' containment reference.
- * @see #getSecondInstant()
- * @generated
- */
- void setSecondInstant(InstantObsExpression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // JitterExp
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValueNamePairs.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValueNamePairs.java deleted file mode 100644 index e66d38fc0e4..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValueNamePairs.java +++ /dev/null @@ -1,84 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>List Of Value Name Pairs</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs#getValueNamePairs <em>Value Name Pairs</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getListOfValueNamePairs()
- * @model
- * @generated
- */
-public interface ListOfValueNamePairs extends EObject
-{
- /**
- * Returns the value of the '<em><b>Value Name Pairs</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value Name Pairs</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value Name Pairs</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getListOfValueNamePairs_ValueNamePairs()
- * @model containment="true"
- * @generated
- */
- EList<ValueNamePair> getValueNamePairs();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // ListOfValueNamePairs
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValues.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValues.java deleted file mode 100644 index 195c579c169..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ListOfValues.java +++ /dev/null @@ -1,84 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>List Of Values</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValues#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getListOfValues()
- * @model
- * @generated
- */
-public interface ListOfValues extends EObject
-{
- /**
- * Returns the value of the '<em><b>Values</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.Expression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Values</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Values</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getListOfValues_Values()
- * @model containment="true"
- * @generated
- */
- EList<Expression> getValues();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // ListOfValues
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Literal.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Literal.java deleted file mode 100644 index bf3383e5b73..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Literal.java +++ /dev/null @@ -1,92 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Literal</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Literal#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getLiteral()
- * @model
- * @generated
- */
-public interface Literal extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getLiteral_Value()
- * @model
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Literal#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // Literal
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/MultiplicativeExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/MultiplicativeExpression.java deleted file mode 100644 index 9023a03a19e..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/MultiplicativeExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Multiplicative Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getMultiplicativeExpression()
- * @model
- * @generated
- */
-public interface MultiplicativeExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getMultiplicativeExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<UnaryExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getMultiplicativeExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // MultiplicativeExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NameOrChoiceOrBehaviorCall.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NameOrChoiceOrBehaviorCall.java deleted file mode 100644 index e69f6d64c84..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NameOrChoiceOrBehaviorCall.java +++ /dev/null @@ -1,147 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Name Or Choice Or Behavior Call</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getArguments <em>Arguments</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNameOrChoiceOrBehaviorCall()
- * @model
- * @generated
- */
-public interface NameOrChoiceOrBehaviorCall extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Path</em>' containment reference.
- * @see #setPath(QualifiedName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNameOrChoiceOrBehaviorCall_Path()
- * @model containment="true"
- * @generated
- */
- QualifiedName getPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getPath <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Path</em>' containment reference.
- * @see #getPath()
- * @generated
- */
- void setPath(QualifiedName value);
-
- /**
- * Returns the value of the '<em><b>Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Id</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Id</em>' reference.
- * @see #setId(NamedElement)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNameOrChoiceOrBehaviorCall_Id()
- * @model
- * @generated
- */
- NamedElement getId();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getId <em>Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Id</em>' reference.
- * @see #getId()
- * @generated
- */
- void setId(NamedElement value);
-
- /**
- * Returns the value of the '<em><b>Arguments</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Arguments</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Arguments</em>' containment reference.
- * @see #setArguments(ListOfValues)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNameOrChoiceOrBehaviorCall_Arguments()
- * @model containment="true"
- * @generated
- */
- ListOfValues getArguments();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getArguments <em>Arguments</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Arguments</em>' containment reference.
- * @see #getArguments()
- * @generated
- */
- void setArguments(ListOfValues value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // NameOrChoiceOrBehaviorCall
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NullLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NullLiteralRule.java deleted file mode 100644 index 372a3163f5d..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NullLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Null Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNullLiteralRule()
- * @model
- * @generated
- */
-public interface NullLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // NullLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NumberLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NumberLiteralRule.java deleted file mode 100644 index a1c3f993beb..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/NumberLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Number Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getNumberLiteralRule()
- * @model
- * @generated
- */
-public interface NumberLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // NumberLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/OperationCallExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/OperationCallExpression.java deleted file mode 100644 index ab594224bb2..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/OperationCallExpression.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Operation;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Operation Call Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getOperation <em>Operation</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getArguments <em>Arguments</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getOperationCallExpression()
- * @model
- * @generated
- */
-public interface OperationCallExpression extends SuffixExpression
-{
- /**
- * Returns the value of the '<em><b>Operation</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Operation</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Operation</em>' reference.
- * @see #setOperation(Operation)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getOperationCallExpression_Operation()
- * @model
- * @generated
- */
- Operation getOperation();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getOperation <em>Operation</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Operation</em>' reference.
- * @see #getOperation()
- * @generated
- */
- void setOperation(Operation value);
-
- /**
- * Returns the value of the '<em><b>Arguments</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Arguments</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Arguments</em>' containment reference.
- * @see #setArguments(ListOfValues)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getOperationCallExpression_Arguments()
- * @model containment="true"
- * @generated
- */
- ListOfValues getArguments();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getArguments <em>Arguments</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Arguments</em>' containment reference.
- * @see #getArguments()
- * @generated
- */
- void setArguments(ListOfValues value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // OperationCallExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PrimaryExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PrimaryExpression.java deleted file mode 100644 index 60d08b33cdc..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PrimaryExpression.java +++ /dev/null @@ -1,119 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Primary Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getPrefix <em>Prefix</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getSuffix <em>Suffix</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getPrimaryExpression()
- * @model
- * @generated
- */
-public interface PrimaryExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Prefix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Prefix</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Prefix</em>' containment reference.
- * @see #setPrefix(ValueSpecification)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getPrimaryExpression_Prefix()
- * @model containment="true"
- * @generated
- */
- ValueSpecification getPrefix();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getPrefix <em>Prefix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Prefix</em>' containment reference.
- * @see #getPrefix()
- * @generated
- */
- void setPrefix(ValueSpecification value);
-
- /**
- * Returns the value of the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Suffix</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Suffix</em>' containment reference.
- * @see #setSuffix(SuffixExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getPrimaryExpression_Suffix()
- * @model containment="true"
- * @generated
- */
- SuffixExpression getSuffix();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getSuffix <em>Suffix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Suffix</em>' containment reference.
- * @see #getSuffix()
- * @generated
- */
- void setSuffix(SuffixExpression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // PrimaryExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PropertyCallExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PropertyCallExpression.java deleted file mode 100644 index f1cc7453bc1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/PropertyCallExpression.java +++ /dev/null @@ -1,93 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Property Call Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression#getProperty <em>Property</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getPropertyCallExpression()
- * @model
- * @generated
- */
-public interface PropertyCallExpression extends SuffixExpression
-{
- /**
- * Returns the value of the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property</em>' reference.
- * @see #setProperty(Property)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getPropertyCallExpression_Property()
- * @model
- * @generated
- */
- Property getProperty();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression#getProperty <em>Property</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Property</em>' reference.
- * @see #getProperty()
- * @generated
- */
- void setProperty(Property value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // PropertyCallExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/QualifiedName.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/QualifiedName.java deleted file mode 100644 index 79c3489c6c7..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/QualifiedName.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Namespace;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Qualified Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getRemaining <em>Remaining</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getQualifiedName()
- * @model
- * @generated
- */
-public interface QualifiedName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Path</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Path</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Path</em>' reference.
- * @see #setPath(Namespace)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getQualifiedName_Path()
- * @model
- * @generated
- */
- Namespace getPath();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getPath <em>Path</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Path</em>' reference.
- * @see #getPath()
- * @generated
- */
- void setPath(Namespace value);
-
- /**
- * Returns the value of the '<em><b>Remaining</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Remaining</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Remaining</em>' containment reference.
- * @see #setRemaining(QualifiedName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getQualifiedName_Remaining()
- * @model containment="true"
- * @generated
- */
- QualifiedName getRemaining();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getRemaining <em>Remaining</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Remaining</em>' containment reference.
- * @see #getRemaining()
- * @generated
- */
- void setRemaining(QualifiedName value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // QualifiedName
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RealLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RealLiteralRule.java deleted file mode 100644 index cefe10ea1ea..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RealLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Real Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getRealLiteralRule()
- * @model
- * @generated
- */
-public interface RealLiteralRule extends NumberLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // RealLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RelationalExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RelationalExpression.java deleted file mode 100644 index 380a88745f7..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/RelationalExpression.java +++ /dev/null @@ -1,101 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Relational Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getRelationalExpression()
- * @model
- * @generated
- */
-public interface RelationalExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getRelationalExpression_Exp()
- * @model containment="true"
- * @generated
- */
- EList<ConditionalExpression> getExp();
-
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute list.
- * The list contents are of type {@link java.lang.String}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute list.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getRelationalExpression_Op()
- * @model unique="false"
- * @generated
- */
- EList<String> getOp();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // RelationalExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/StringLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/StringLiteralRule.java deleted file mode 100644 index 2d976801ca5..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/StringLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>String Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getStringLiteralRule()
- * @model
- * @generated
- */
-public interface StringLiteralRule extends Literal
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // StringLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/SuffixExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/SuffixExpression.java deleted file mode 100644 index e45d8c7116b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/SuffixExpression.java +++ /dev/null @@ -1,92 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Suffix Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression#getSuffix <em>Suffix</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getSuffixExpression()
- * @model
- * @generated
- */
-public interface SuffixExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Suffix</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Suffix</em>' containment reference.
- * @see #setSuffix(SuffixExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getSuffixExpression_Suffix()
- * @model containment="true"
- * @generated
- */
- SuffixExpression getSuffix();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression#getSuffix <em>Suffix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Suffix</em>' containment reference.
- * @see #getSuffix()
- * @generated
- */
- void setSuffix(SuffixExpression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // SuffixExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/TimeExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/TimeExpression.java deleted file mode 100644 index fa3024c2d18..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/TimeExpression.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Time Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getTimeExpression()
- * @model
- * @generated
- */
-public interface TimeExpression extends ValueSpecification
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // TimeExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Tuple.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Tuple.java deleted file mode 100644 index 8848a54fb81..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/Tuple.java +++ /dev/null @@ -1,92 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Tuple</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.Tuple#getListOfValueNamePairs <em>List Of Value Name Pairs</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getTuple()
- * @model
- * @generated
- */
-public interface Tuple extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>List Of Value Name Pairs</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>List Of Value Name Pairs</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>List Of Value Name Pairs</em>' containment reference.
- * @see #setListOfValueNamePairs(ListOfValueNamePairs)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getTuple_ListOfValueNamePairs()
- * @model containment="true"
- * @generated
- */
- ListOfValueNamePairs getListOfValueNamePairs();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.Tuple#getListOfValueNamePairs <em>List Of Value Name Pairs</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>List Of Value Name Pairs</em>' containment reference.
- * @see #getListOfValueNamePairs()
- * @generated
- */
- void setListOfValueNamePairs(ListOfValueNamePairs value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // Tuple
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnaryExpression.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnaryExpression.java deleted file mode 100644 index c338872015c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnaryExpression.java +++ /dev/null @@ -1,146 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Unary Expression</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getOp <em>Op</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getUnary <em>Unary</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getExp <em>Exp</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getUnaryExpression()
- * @model
- * @generated
- */
-public interface UnaryExpression extends EObject
-{
- /**
- * Returns the value of the '<em><b>Op</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Op</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Op</em>' attribute.
- * @see #setOp(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getUnaryExpression_Op()
- * @model
- * @generated
- */
- String getOp();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getOp <em>Op</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Op</em>' attribute.
- * @see #getOp()
- * @generated
- */
- void setOp(String value);
-
- /**
- * Returns the value of the '<em><b>Unary</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unary</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Unary</em>' containment reference.
- * @see #setUnary(UnaryExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getUnaryExpression_Unary()
- * @model containment="true"
- * @generated
- */
- UnaryExpression getUnary();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getUnary <em>Unary</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Unary</em>' containment reference.
- * @see #getUnary()
- * @generated
- */
- void setUnary(UnaryExpression value);
-
- /**
- * Returns the value of the '<em><b>Exp</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Exp</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Exp</em>' containment reference.
- * @see #setExp(PrimaryExpression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getUnaryExpression_Exp()
- * @model containment="true"
- * @generated
- */
- PrimaryExpression getExp();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getExp <em>Exp</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Exp</em>' containment reference.
- * @see #getExp()
- * @generated
- */
- void setExp(PrimaryExpression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // UnaryExpression
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnlimitedLiteralRule.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnlimitedLiteralRule.java deleted file mode 100644 index 722a01ace15..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/UnlimitedLiteralRule.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Unlimited Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getUnlimitedLiteralRule()
- * @model
- * @generated
- */
-public interface UnlimitedLiteralRule extends NumberLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // UnlimitedLiteralRule
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLFactory.java deleted file mode 100644 index e36554a528d..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLFactory.java +++ /dev/null @@ -1,396 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage
- * @generated
- */
-public interface VSLFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- VSLFactory eINSTANCE = org.eclipse.papyrus.marte.vsl.vSL.impl.VSLFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Expression</em>'.
- * @generated
- */
- Expression createExpression();
-
- /**
- * Returns a new object of class '<em>And Or Xor Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>And Or Xor Expression</em>'.
- * @generated
- */
- AndOrXorExpression createAndOrXorExpression();
-
- /**
- * Returns a new object of class '<em>Equality Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Equality Expression</em>'.
- * @generated
- */
- EqualityExpression createEqualityExpression();
-
- /**
- * Returns a new object of class '<em>Relational Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Relational Expression</em>'.
- * @generated
- */
- RelationalExpression createRelationalExpression();
-
- /**
- * Returns a new object of class '<em>Conditional Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Conditional Expression</em>'.
- * @generated
- */
- ConditionalExpression createConditionalExpression();
-
- /**
- * Returns a new object of class '<em>Additive Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Additive Expression</em>'.
- * @generated
- */
- AdditiveExpression createAdditiveExpression();
-
- /**
- * Returns a new object of class '<em>Multiplicative Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Multiplicative Expression</em>'.
- * @generated
- */
- MultiplicativeExpression createMultiplicativeExpression();
-
- /**
- * Returns a new object of class '<em>Unary Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Unary Expression</em>'.
- * @generated
- */
- UnaryExpression createUnaryExpression();
-
- /**
- * Returns a new object of class '<em>Primary Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Primary Expression</em>'.
- * @generated
- */
- PrimaryExpression createPrimaryExpression();
-
- /**
- * Returns a new object of class '<em>Value Specification</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Value Specification</em>'.
- * @generated
- */
- ValueSpecification createValueSpecification();
-
- /**
- * Returns a new object of class '<em>Suffix Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Suffix Expression</em>'.
- * @generated
- */
- SuffixExpression createSuffixExpression();
-
- /**
- * Returns a new object of class '<em>Property Call Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Property Call Expression</em>'.
- * @generated
- */
- PropertyCallExpression createPropertyCallExpression();
-
- /**
- * Returns a new object of class '<em>Operation Call Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Operation Call Expression</em>'.
- * @generated
- */
- OperationCallExpression createOperationCallExpression();
-
- /**
- * Returns a new object of class '<em>Literal</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Literal</em>'.
- * @generated
- */
- Literal createLiteral();
-
- /**
- * Returns a new object of class '<em>Name Or Choice Or Behavior Call</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Name Or Choice Or Behavior Call</em>'.
- * @generated
- */
- NameOrChoiceOrBehaviorCall createNameOrChoiceOrBehaviorCall();
-
- /**
- * Returns a new object of class '<em>Qualified Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Qualified Name</em>'.
- * @generated
- */
- QualifiedName createQualifiedName();
-
- /**
- * Returns a new object of class '<em>Interval</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Interval</em>'.
- * @generated
- */
- Interval createInterval();
-
- /**
- * Returns a new object of class '<em>Collection Or Tuple</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Collection Or Tuple</em>'.
- * @generated
- */
- CollectionOrTuple createCollectionOrTuple();
-
- /**
- * Returns a new object of class '<em>Tuple</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Tuple</em>'.
- * @generated
- */
- Tuple createTuple();
-
- /**
- * Returns a new object of class '<em>List Of Values</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>List Of Values</em>'.
- * @generated
- */
- ListOfValues createListOfValues();
-
- /**
- * Returns a new object of class '<em>List Of Value Name Pairs</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>List Of Value Name Pairs</em>'.
- * @generated
- */
- ListOfValueNamePairs createListOfValueNamePairs();
-
- /**
- * Returns a new object of class '<em>Value Name Pair</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Value Name Pair</em>'.
- * @generated
- */
- ValueNamePair createValueNamePair();
-
- /**
- * Returns a new object of class '<em>Time Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Time Expression</em>'.
- * @generated
- */
- TimeExpression createTimeExpression();
-
- /**
- * Returns a new object of class '<em>Instant Obs Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Instant Obs Expression</em>'.
- * @generated
- */
- InstantObsExpression createInstantObsExpression();
-
- /**
- * Returns a new object of class '<em>Instant Obs Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Instant Obs Name</em>'.
- * @generated
- */
- InstantObsName createInstantObsName();
-
- /**
- * Returns a new object of class '<em>Duration Obs Expression</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Duration Obs Expression</em>'.
- * @generated
- */
- DurationObsExpression createDurationObsExpression();
-
- /**
- * Returns a new object of class '<em>Duration Obs Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Duration Obs Name</em>'.
- * @generated
- */
- DurationObsName createDurationObsName();
-
- /**
- * Returns a new object of class '<em>Jitter Exp</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Jitter Exp</em>'.
- * @generated
- */
- JitterExp createJitterExp();
-
- /**
- * Returns a new object of class '<em>Variable Declaration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Variable Declaration</em>'.
- * @generated
- */
- VariableDeclaration createVariableDeclaration();
-
- /**
- * Returns a new object of class '<em>Data Type Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Data Type Name</em>'.
- * @generated
- */
- DataTypeName createDataTypeName();
-
- /**
- * Returns a new object of class '<em>Number Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Number Literal Rule</em>'.
- * @generated
- */
- NumberLiteralRule createNumberLiteralRule();
-
- /**
- * Returns a new object of class '<em>Integer Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Integer Literal Rule</em>'.
- * @generated
- */
- IntegerLiteralRule createIntegerLiteralRule();
-
- /**
- * Returns a new object of class '<em>Unlimited Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Unlimited Literal Rule</em>'.
- * @generated
- */
- UnlimitedLiteralRule createUnlimitedLiteralRule();
-
- /**
- * Returns a new object of class '<em>Real Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Real Literal Rule</em>'.
- * @generated
- */
- RealLiteralRule createRealLiteralRule();
-
- /**
- * Returns a new object of class '<em>Date Time Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Date Time Literal Rule</em>'.
- * @generated
- */
- DateTimeLiteralRule createDateTimeLiteralRule();
-
- /**
- * Returns a new object of class '<em>Boolean Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Boolean Literal Rule</em>'.
- * @generated
- */
- BooleanLiteralRule createBooleanLiteralRule();
-
- /**
- * Returns a new object of class '<em>Null Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Null Literal Rule</em>'.
- * @generated
- */
- NullLiteralRule createNullLiteralRule();
-
- /**
- * Returns a new object of class '<em>Default Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Default Literal Rule</em>'.
- * @generated
- */
- DefaultLiteralRule createDefaultLiteralRule();
-
- /**
- * Returns a new object of class '<em>String Literal Rule</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>String Literal Rule</em>'.
- * @generated
- */
- StringLiteralRule createStringLiteralRule();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- VSLPackage getVSLPackage();
-
-} //VSLFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLPackage.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLPackage.java deleted file mode 100644 index 834292092c8..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VSLPackage.java +++ /dev/null @@ -1,3284 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLFactory
- * @model kind="package"
- * @generated
- */
-public interface VSLPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "vSL";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/marte/vsl/VSL";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "vSL";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- VSLPackage eINSTANCE = org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueSpecificationImpl <em>Value Specification</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ValueSpecificationImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getValueSpecification()
- * @generated
- */
- int VALUE_SPECIFICATION = 9;
-
- /**
- * The number of structural features of the '<em>Value Specification</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALUE_SPECIFICATION_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ExpressionImpl <em>Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getExpression()
- * @generated
- */
- int EXPRESSION = 0;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXPRESSION__EXP = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EXPRESSION_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl <em>And Or Xor Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getAndOrXorExpression()
- * @generated
- */
- int AND_OR_XOR_EXPRESSION = 1;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AND_OR_XOR_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AND_OR_XOR_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>And Or Xor Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int AND_OR_XOR_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl <em>Equality Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getEqualityExpression()
- * @generated
- */
- int EQUALITY_EXPRESSION = 2;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EQUALITY_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EQUALITY_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>Equality Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int EQUALITY_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl <em>Relational Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getRelationalExpression()
- * @generated
- */
- int RELATIONAL_EXPRESSION = 3;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>Relational Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RELATIONAL_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl <em>Conditional Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getConditionalExpression()
- * @generated
- */
- int CONDITIONAL_EXPRESSION = 4;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONDITIONAL_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONDITIONAL_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>Conditional Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONDITIONAL_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl <em>Additive Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getAdditiveExpression()
- * @generated
- */
- int ADDITIVE_EXPRESSION = 5;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDITIVE_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDITIVE_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>Additive Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDITIVE_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl <em>Multiplicative Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getMultiplicativeExpression()
- * @generated
- */
- int MULTIPLICATIVE_EXPRESSION = 6;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICATIVE_EXPRESSION__EXP = 0;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICATIVE_EXPRESSION__OP = 1;
-
- /**
- * The number of structural features of the '<em>Multiplicative Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int MULTIPLICATIVE_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl <em>Unary Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getUnaryExpression()
- * @generated
- */
- int UNARY_EXPRESSION = 7;
-
- /**
- * The feature id for the '<em><b>Op</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNARY_EXPRESSION__OP = 0;
-
- /**
- * The feature id for the '<em><b>Unary</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNARY_EXPRESSION__UNARY = 1;
-
- /**
- * The feature id for the '<em><b>Exp</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNARY_EXPRESSION__EXP = 2;
-
- /**
- * The number of structural features of the '<em>Unary Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNARY_EXPRESSION_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl <em>Primary Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getPrimaryExpression()
- * @generated
- */
- int PRIMARY_EXPRESSION = 8;
-
- /**
- * The feature id for the '<em><b>Prefix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRIMARY_EXPRESSION__PREFIX = 0;
-
- /**
- * The feature id for the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRIMARY_EXPRESSION__SUFFIX = 1;
-
- /**
- * The number of structural features of the '<em>Primary Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRIMARY_EXPRESSION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.SuffixExpressionImpl <em>Suffix Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.SuffixExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getSuffixExpression()
- * @generated
- */
- int SUFFIX_EXPRESSION = 10;
-
- /**
- * The feature id for the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SUFFIX_EXPRESSION__SUFFIX = 0;
-
- /**
- * The number of structural features of the '<em>Suffix Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SUFFIX_EXPRESSION_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PropertyCallExpressionImpl <em>Property Call Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.PropertyCallExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getPropertyCallExpression()
- * @generated
- */
- int PROPERTY_CALL_EXPRESSION = 11;
-
- /**
- * The feature id for the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROPERTY_CALL_EXPRESSION__SUFFIX = SUFFIX_EXPRESSION__SUFFIX;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROPERTY_CALL_EXPRESSION__PROPERTY = SUFFIX_EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Property Call Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PROPERTY_CALL_EXPRESSION_FEATURE_COUNT = SUFFIX_EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl <em>Operation Call Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getOperationCallExpression()
- * @generated
- */
- int OPERATION_CALL_EXPRESSION = 12;
-
- /**
- * The feature id for the '<em><b>Suffix</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_CALL_EXPRESSION__SUFFIX = SUFFIX_EXPRESSION__SUFFIX;
-
- /**
- * The feature id for the '<em><b>Operation</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_CALL_EXPRESSION__OPERATION = SUFFIX_EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Arguments</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_CALL_EXPRESSION__ARGUMENTS = SUFFIX_EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Operation Call Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int OPERATION_CALL_EXPRESSION_FEATURE_COUNT = SUFFIX_EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.LiteralImpl <em>Literal</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.LiteralImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getLiteral()
- * @generated
- */
- int LITERAL = 13;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LITERAL__VALUE = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Literal</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LITERAL_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl <em>Name Or Choice Or Behavior Call</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNameOrChoiceOrBehaviorCall()
- * @generated
- */
- int NAME_OR_CHOICE_OR_BEHAVIOR_CALL = 14;
-
- /**
- * The feature id for the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Arguments</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS = VALUE_SPECIFICATION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Name Or Choice Or Behavior Call</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NAME_OR_CHOICE_OR_BEHAVIOR_CALL_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl <em>Qualified Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getQualifiedName()
- * @generated
- */
- int QUALIFIED_NAME = 15;
-
- /**
- * The feature id for the '<em><b>Path</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int QUALIFIED_NAME__PATH = 0;
-
- /**
- * The feature id for the '<em><b>Remaining</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int QUALIFIED_NAME__REMAINING = 1;
-
- /**
- * The number of structural features of the '<em>Qualified Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int QUALIFIED_NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl <em>Interval</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInterval()
- * @generated
- */
- int INTERVAL = 16;
-
- /**
- * The feature id for the '<em><b>Is Lower Included</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERVAL__IS_LOWER_INCLUDED = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERVAL__LOWER = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERVAL__UPPER = VALUE_SPECIFICATION_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Is Upper Included</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERVAL__IS_UPPER_INCLUDED = VALUE_SPECIFICATION_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Interval</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERVAL_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.CollectionOrTupleImpl <em>Collection Or Tuple</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.CollectionOrTupleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getCollectionOrTuple()
- * @generated
- */
- int COLLECTION_OR_TUPLE = 17;
-
- /**
- * The feature id for the '<em><b>List Of Values</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_OR_TUPLE__LIST_OF_VALUES = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Collection Or Tuple</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COLLECTION_OR_TUPLE_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.TupleImpl <em>Tuple</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.TupleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getTuple()
- * @generated
- */
- int TUPLE = 18;
-
- /**
- * The feature id for the '<em><b>List Of Value Name Pairs</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TUPLE__LIST_OF_VALUE_NAME_PAIRS = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Tuple</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TUPLE_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValuesImpl <em>List Of Values</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValuesImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getListOfValues()
- * @generated
- */
- int LIST_OF_VALUES = 19;
-
- /**
- * The feature id for the '<em><b>Values</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_OF_VALUES__VALUES = 0;
-
- /**
- * The number of structural features of the '<em>List Of Values</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_OF_VALUES_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValueNamePairsImpl <em>List Of Value Name Pairs</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValueNamePairsImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getListOfValueNamePairs()
- * @generated
- */
- int LIST_OF_VALUE_NAME_PAIRS = 20;
-
- /**
- * The feature id for the '<em><b>Value Name Pairs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS = 0;
-
- /**
- * The number of structural features of the '<em>List Of Value Name Pairs</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIST_OF_VALUE_NAME_PAIRS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl <em>Value Name Pair</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getValueNamePair()
- * @generated
- */
- int VALUE_NAME_PAIR = 21;
-
- /**
- * The feature id for the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALUE_NAME_PAIR__PROPERTY = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALUE_NAME_PAIR__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>Value Name Pair</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VALUE_NAME_PAIR_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.TimeExpressionImpl <em>Time Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.TimeExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getTimeExpression()
- * @generated
- */
- int TIME_EXPRESSION = 22;
-
- /**
- * The number of structural features of the '<em>Time Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int TIME_EXPRESSION_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl <em>Instant Obs Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInstantObsExpression()
- * @generated
- */
- int INSTANT_OBS_EXPRESSION = 23;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_EXPRESSION__ID = TIME_EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_EXPRESSION__INDEX = TIME_EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Condition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_EXPRESSION__CONDITION = TIME_EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Instant Obs Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_EXPRESSION_FEATURE_COUNT = TIME_EXPRESSION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl <em>Instant Obs Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInstantObsName()
- * @generated
- */
- int INSTANT_OBS_NAME = 24;
-
- /**
- * The feature id for the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_NAME__PATH = 0;
-
- /**
- * The feature id for the '<em><b>Instant Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_NAME__INSTANT_ID = 1;
-
- /**
- * The number of structural features of the '<em>Instant Obs Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INSTANT_OBS_NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl <em>Duration Obs Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDurationObsExpression()
- * @generated
- */
- int DURATION_OBS_EXPRESSION = 25;
-
- /**
- * The feature id for the '<em><b>Id</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_EXPRESSION__ID = TIME_EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Index</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_EXPRESSION__INDEX = TIME_EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Condition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_EXPRESSION__CONDITION = TIME_EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Duration Obs Expression</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_EXPRESSION_FEATURE_COUNT = TIME_EXPRESSION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl <em>Duration Obs Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDurationObsName()
- * @generated
- */
- int DURATION_OBS_NAME = 26;
-
- /**
- * The feature id for the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_NAME__PATH = 0;
-
- /**
- * The feature id for the '<em><b>Duration Id</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_NAME__DURATION_ID = 1;
-
- /**
- * The number of structural features of the '<em>Duration Obs Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DURATION_OBS_NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl <em>Jitter Exp</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getJitterExp()
- * @generated
- */
- int JITTER_EXP = 27;
-
- /**
- * The feature id for the '<em><b>First Instant</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JITTER_EXP__FIRST_INSTANT = TIME_EXPRESSION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Second Instant</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JITTER_EXP__SECOND_INSTANT = TIME_EXPRESSION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Jitter Exp</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int JITTER_EXP_FEATURE_COUNT = TIME_EXPRESSION_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl <em>Variable Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getVariableDeclaration()
- * @generated
- */
- int VARIABLE_DECLARATION = 28;
-
- /**
- * The feature id for the '<em><b>Variable Declaration</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VARIABLE_DECLARATION__VARIABLE_DECLARATION = VALUE_SPECIFICATION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VARIABLE_DECLARATION__NAME = VALUE_SPECIFICATION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VARIABLE_DECLARATION__TYPE = VALUE_SPECIFICATION_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Init Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VARIABLE_DECLARATION__INIT_VALUE = VALUE_SPECIFICATION_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Variable Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int VARIABLE_DECLARATION_FEATURE_COUNT = VALUE_SPECIFICATION_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl <em>Data Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDataTypeName()
- * @generated
- */
- int DATA_TYPE_NAME = 29;
-
- /**
- * The feature id for the '<em><b>Path</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DATA_TYPE_NAME__PATH = 0;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DATA_TYPE_NAME__TYPE = 1;
-
- /**
- * The number of structural features of the '<em>Data Type Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DATA_TYPE_NAME_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NumberLiteralRuleImpl <em>Number Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NumberLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNumberLiteralRule()
- * @generated
- */
- int NUMBER_LITERAL_RULE = 30;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>Number Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntegerLiteralRuleImpl <em>Integer Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.IntegerLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getIntegerLiteralRule()
- * @generated
- */
- int INTEGER_LITERAL_RULE = 31;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_RULE__VALUE = NUMBER_LITERAL_RULE__VALUE;
-
- /**
- * The number of structural features of the '<em>Integer Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_RULE_FEATURE_COUNT = NUMBER_LITERAL_RULE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnlimitedLiteralRuleImpl <em>Unlimited Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.UnlimitedLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getUnlimitedLiteralRule()
- * @generated
- */
- int UNLIMITED_LITERAL_RULE = 32;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_RULE__VALUE = NUMBER_LITERAL_RULE__VALUE;
-
- /**
- * The number of structural features of the '<em>Unlimited Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_RULE_FEATURE_COUNT = NUMBER_LITERAL_RULE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RealLiteralRuleImpl <em>Real Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.RealLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getRealLiteralRule()
- * @generated
- */
- int REAL_LITERAL_RULE = 33;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REAL_LITERAL_RULE__VALUE = NUMBER_LITERAL_RULE__VALUE;
-
- /**
- * The number of structural features of the '<em>Real Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int REAL_LITERAL_RULE_FEATURE_COUNT = NUMBER_LITERAL_RULE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DateTimeLiteralRuleImpl <em>Date Time Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DateTimeLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDateTimeLiteralRule()
- * @generated
- */
- int DATE_TIME_LITERAL_RULE = 34;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DATE_TIME_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>Date Time Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DATE_TIME_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.BooleanLiteralRuleImpl <em>Boolean Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.BooleanLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getBooleanLiteralRule()
- * @generated
- */
- int BOOLEAN_LITERAL_RULE = 35;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>Boolean Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOLEAN_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NullLiteralRuleImpl <em>Null Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NullLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNullLiteralRule()
- * @generated
- */
- int NULL_LITERAL_RULE = 36;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NULL_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>Null Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int NULL_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DefaultLiteralRuleImpl <em>Default Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DefaultLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDefaultLiteralRule()
- * @generated
- */
- int DEFAULT_LITERAL_RULE = 37;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFAULT_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>Default Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DEFAULT_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.StringLiteralRuleImpl <em>String Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.StringLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getStringLiteralRule()
- * @generated
- */
- int STRING_LITERAL_RULE = 38;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_LITERAL_RULE__VALUE = LITERAL__VALUE;
-
- /**
- * The number of structural features of the '<em>String Literal Rule</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int STRING_LITERAL_RULE_FEATURE_COUNT = LITERAL_FEATURE_COUNT + 0;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.Expression <em>Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Expression
- * @generated
- */
- EClass getExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.Expression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Expression#getExp()
- * @see #getExpression()
- * @generated
- */
- EReference getExpression_Exp();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression <em>And Or Xor Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>And Or Xor Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression
- * @generated
- */
- EClass getAndOrXorExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getExp()
- * @see #getAndOrXorExpression()
- * @generated
- */
- EReference getAndOrXorExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression#getOp()
- * @see #getAndOrXorExpression()
- * @generated
- */
- EAttribute getAndOrXorExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression <em>Equality Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Equality Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression
- * @generated
- */
- EClass getEqualityExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getExp()
- * @see #getEqualityExpression()
- * @generated
- */
- EReference getEqualityExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression#getOp()
- * @see #getEqualityExpression()
- * @generated
- */
- EAttribute getEqualityExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression <em>Relational Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Relational Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression
- * @generated
- */
- EClass getRelationalExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getExp()
- * @see #getRelationalExpression()
- * @generated
- */
- EReference getRelationalExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression#getOp()
- * @see #getRelationalExpression()
- * @generated
- */
- EAttribute getRelationalExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression <em>Conditional Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Conditional Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression
- * @generated
- */
- EClass getConditionalExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getExp()
- * @see #getConditionalExpression()
- * @generated
- */
- EReference getConditionalExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression#getOp()
- * @see #getConditionalExpression()
- * @generated
- */
- EAttribute getConditionalExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression <em>Additive Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Additive Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression
- * @generated
- */
- EClass getAdditiveExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getExp()
- * @see #getAdditiveExpression()
- * @generated
- */
- EReference getAdditiveExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression#getOp()
- * @see #getAdditiveExpression()
- * @generated
- */
- EAttribute getAdditiveExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression <em>Multiplicative Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Multiplicative Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression
- * @generated
- */
- EClass getMultiplicativeExpression();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getExp()
- * @see #getMultiplicativeExpression()
- * @generated
- */
- EReference getMultiplicativeExpression_Exp();
-
- /**
- * Returns the meta object for the attribute list '{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression#getOp()
- * @see #getMultiplicativeExpression()
- * @generated
- */
- EAttribute getMultiplicativeExpression_Op();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression <em>Unary Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Unary Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression
- * @generated
- */
- EClass getUnaryExpression();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getOp <em>Op</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Op</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getOp()
- * @see #getUnaryExpression()
- * @generated
- */
- EAttribute getUnaryExpression_Op();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getUnary <em>Unary</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Unary</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getUnary()
- * @see #getUnaryExpression()
- * @generated
- */
- EReference getUnaryExpression_Unary();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getExp <em>Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression#getExp()
- * @see #getUnaryExpression()
- * @generated
- */
- EReference getUnaryExpression_Exp();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression <em>Primary Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Primary Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression
- * @generated
- */
- EClass getPrimaryExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getPrefix <em>Prefix</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Prefix</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getPrefix()
- * @see #getPrimaryExpression()
- * @generated
- */
- EReference getPrimaryExpression_Prefix();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getSuffix <em>Suffix</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Suffix</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression#getSuffix()
- * @see #getPrimaryExpression()
- * @generated
- */
- EReference getPrimaryExpression_Suffix();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification <em>Value Specification</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Value Specification</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification
- * @generated
- */
- EClass getValueSpecification();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression <em>Suffix Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Suffix Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression
- * @generated
- */
- EClass getSuffixExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression#getSuffix <em>Suffix</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Suffix</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression#getSuffix()
- * @see #getSuffixExpression()
- * @generated
- */
- EReference getSuffixExpression_Suffix();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression <em>Property Call Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Property Call Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression
- * @generated
- */
- EClass getPropertyCallExpression();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression#getProperty <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Property</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression#getProperty()
- * @see #getPropertyCallExpression()
- * @generated
- */
- EReference getPropertyCallExpression_Property();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression <em>Operation Call Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Operation Call Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression
- * @generated
- */
- EClass getOperationCallExpression();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getOperation <em>Operation</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Operation</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getOperation()
- * @see #getOperationCallExpression()
- * @generated
- */
- EReference getOperationCallExpression_Operation();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getArguments <em>Arguments</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Arguments</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression#getArguments()
- * @see #getOperationCallExpression()
- * @generated
- */
- EReference getOperationCallExpression_Arguments();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.Literal <em>Literal</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Literal</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Literal
- * @generated
- */
- EClass getLiteral();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.Literal#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Literal#getValue()
- * @see #getLiteral()
- * @generated
- */
- EAttribute getLiteral_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall <em>Name Or Choice Or Behavior Call</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Name Or Choice Or Behavior Call</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall
- * @generated
- */
- EClass getNameOrChoiceOrBehaviorCall();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getPath <em>Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Path</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getPath()
- * @see #getNameOrChoiceOrBehaviorCall()
- * @generated
- */
- EReference getNameOrChoiceOrBehaviorCall_Path();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Id</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getId()
- * @see #getNameOrChoiceOrBehaviorCall()
- * @generated
- */
- EReference getNameOrChoiceOrBehaviorCall_Id();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getArguments <em>Arguments</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Arguments</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall#getArguments()
- * @see #getNameOrChoiceOrBehaviorCall()
- * @generated
- */
- EReference getNameOrChoiceOrBehaviorCall_Arguments();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName <em>Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Qualified Name</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.QualifiedName
- * @generated
- */
- EClass getQualifiedName();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getPath <em>Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Path</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getPath()
- * @see #getQualifiedName()
- * @generated
- */
- EReference getQualifiedName_Path();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getRemaining <em>Remaining</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Remaining</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.QualifiedName#getRemaining()
- * @see #getQualifiedName()
- * @generated
- */
- EReference getQualifiedName_Remaining();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval <em>Interval</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Interval</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Interval
- * @generated
- */
- EClass getInterval();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsLowerIncluded <em>Is Lower Included</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Lower Included</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsLowerIncluded()
- * @see #getInterval()
- * @generated
- */
- EAttribute getInterval_IsLowerIncluded();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getLower <em>Lower</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Lower</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Interval#getLower()
- * @see #getInterval()
- * @generated
- */
- EReference getInterval_Lower();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getUpper <em>Upper</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Upper</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Interval#getUpper()
- * @see #getInterval()
- * @generated
- */
- EReference getInterval_Upper();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsUpperIncluded <em>Is Upper Included</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Is Upper Included</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Interval#getIsUpperIncluded()
- * @see #getInterval()
- * @generated
- */
- EAttribute getInterval_IsUpperIncluded();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple <em>Collection Or Tuple</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Collection Or Tuple</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple
- * @generated
- */
- EClass getCollectionOrTuple();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple#getListOfValues <em>List Of Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>List Of Values</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple#getListOfValues()
- * @see #getCollectionOrTuple()
- * @generated
- */
- EReference getCollectionOrTuple_ListOfValues();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.Tuple <em>Tuple</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Tuple</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Tuple
- * @generated
- */
- EClass getTuple();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.Tuple#getListOfValueNamePairs <em>List Of Value Name Pairs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>List Of Value Name Pairs</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.Tuple#getListOfValueNamePairs()
- * @see #getTuple()
- * @generated
- */
- EReference getTuple_ListOfValueNamePairs();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValues <em>List Of Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>List Of Values</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ListOfValues
- * @generated
- */
- EClass getListOfValues();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValues#getValues <em>Values</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Values</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ListOfValues#getValues()
- * @see #getListOfValues()
- * @generated
- */
- EReference getListOfValues_Values();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs <em>List Of Value Name Pairs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>List Of Value Name Pairs</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs
- * @generated
- */
- EClass getListOfValueNamePairs();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs#getValueNamePairs <em>Value Name Pairs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Value Name Pairs</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs#getValueNamePairs()
- * @see #getListOfValueNamePairs()
- * @generated
- */
- EReference getListOfValueNamePairs_ValueNamePairs();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair <em>Value Name Pair</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Value Name Pair</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair
- * @generated
- */
- EClass getValueNamePair();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getProperty <em>Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Property</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getProperty()
- * @see #getValueNamePair()
- * @generated
- */
- EReference getValueNamePair_Property();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Value</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getValue()
- * @see #getValueNamePair()
- * @generated
- */
- EReference getValueNamePair_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.TimeExpression <em>Time Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Time Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.TimeExpression
- * @generated
- */
- EClass getTimeExpression();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression <em>Instant Obs Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Instant Obs Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression
- * @generated
- */
- EClass getInstantObsExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Id</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getId()
- * @see #getInstantObsExpression()
- * @generated
- */
- EReference getInstantObsExpression_Id();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getIndex <em>Index</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Index</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getIndex()
- * @see #getInstantObsExpression()
- * @generated
- */
- EReference getInstantObsExpression_Index();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getCondition <em>Condition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Condition</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression#getCondition()
- * @see #getInstantObsExpression()
- * @generated
- */
- EReference getInstantObsExpression_Condition();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName <em>Instant Obs Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Instant Obs Name</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsName
- * @generated
- */
- EClass getInstantObsName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getPath <em>Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Path</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getPath()
- * @see #getInstantObsName()
- * @generated
- */
- EReference getInstantObsName_Path();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getInstantId <em>Instant Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Instant Id</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.InstantObsName#getInstantId()
- * @see #getInstantObsName()
- * @generated
- */
- EReference getInstantObsName_InstantId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression <em>Duration Obs Expression</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Duration Obs Expression</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression
- * @generated
- */
- EClass getDurationObsExpression();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Id</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getId()
- * @see #getDurationObsExpression()
- * @generated
- */
- EReference getDurationObsExpression_Id();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getIndex <em>Index</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Index</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getIndex()
- * @see #getDurationObsExpression()
- * @generated
- */
- EReference getDurationObsExpression_Index();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getCondition <em>Condition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Condition</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression#getCondition()
- * @see #getDurationObsExpression()
- * @generated
- */
- EReference getDurationObsExpression_Condition();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName <em>Duration Obs Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Duration Obs Name</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsName
- * @generated
- */
- EClass getDurationObsName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getPath <em>Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Path</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getPath()
- * @see #getDurationObsName()
- * @generated
- */
- EReference getDurationObsName_Path();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getDurationId <em>Duration Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Duration Id</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DurationObsName#getDurationId()
- * @see #getDurationObsName()
- * @generated
- */
- EReference getDurationObsName_DurationId();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp <em>Jitter Exp</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Jitter Exp</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.JitterExp
- * @generated
- */
- EClass getJitterExp();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getFirstInstant <em>First Instant</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>First Instant</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getFirstInstant()
- * @see #getJitterExp()
- * @generated
- */
- EReference getJitterExp_FirstInstant();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getSecondInstant <em>Second Instant</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Second Instant</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.JitterExp#getSecondInstant()
- * @see #getJitterExp()
- * @generated
- */
- EReference getJitterExp_SecondInstant();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration <em>Variable Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Variable Declaration</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration
- * @generated
- */
- EClass getVariableDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getVariableDeclaration <em>Variable Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Variable Declaration</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getVariableDeclaration()
- * @see #getVariableDeclaration()
- * @generated
- */
- EAttribute getVariableDeclaration_VariableDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getName()
- * @see #getVariableDeclaration()
- * @generated
- */
- EAttribute getVariableDeclaration_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Type</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getType()
- * @see #getVariableDeclaration()
- * @generated
- */
- EReference getVariableDeclaration_Type();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getInitValue <em>Init Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Init Value</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getInitValue()
- * @see #getVariableDeclaration()
- * @generated
- */
- EReference getVariableDeclaration_InitValue();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName <em>Data Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Data Type Name</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DataTypeName
- * @generated
- */
- EClass getDataTypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getPath <em>Path</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Path</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getPath()
- * @see #getDataTypeName()
- * @generated
- */
- EReference getDataTypeName_Path();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Type</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DataTypeName#getType()
- * @see #getDataTypeName()
- * @generated
- */
- EReference getDataTypeName_Type();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.NumberLiteralRule <em>Number Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Number Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NumberLiteralRule
- * @generated
- */
- EClass getNumberLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.IntegerLiteralRule <em>Integer Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Integer Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.IntegerLiteralRule
- * @generated
- */
- EClass getIntegerLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.UnlimitedLiteralRule <em>Unlimited Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Unlimited Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.UnlimitedLiteralRule
- * @generated
- */
- EClass getUnlimitedLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.RealLiteralRule <em>Real Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Real Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.RealLiteralRule
- * @generated
- */
- EClass getRealLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.DateTimeLiteralRule <em>Date Time Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Date Time Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DateTimeLiteralRule
- * @generated
- */
- EClass getDateTimeLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.BooleanLiteralRule <em>Boolean Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Boolean Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.BooleanLiteralRule
- * @generated
- */
- EClass getBooleanLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.NullLiteralRule <em>Null Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Null Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.NullLiteralRule
- * @generated
- */
- EClass getNullLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.DefaultLiteralRule <em>Default Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Default Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.DefaultLiteralRule
- * @generated
- */
- EClass getDefaultLiteralRule();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.marte.vsl.vSL.StringLiteralRule <em>String Literal Rule</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>String Literal Rule</em>'.
- * @see org.eclipse.papyrus.marte.vsl.vSL.StringLiteralRule
- * @generated
- */
- EClass getStringLiteralRule();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the factory that creates the instances of the model.
- * @generated
- */
- VSLFactory getVSLFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals
- {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ExpressionImpl <em>Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getExpression()
- * @generated
- */
- EClass EXPRESSION = eINSTANCE.getExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference EXPRESSION__EXP = eINSTANCE.getExpression_Exp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl <em>And Or Xor Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getAndOrXorExpression()
- * @generated
- */
- EClass AND_OR_XOR_EXPRESSION = eINSTANCE.getAndOrXorExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference AND_OR_XOR_EXPRESSION__EXP = eINSTANCE.getAndOrXorExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute AND_OR_XOR_EXPRESSION__OP = eINSTANCE.getAndOrXorExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl <em>Equality Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getEqualityExpression()
- * @generated
- */
- EClass EQUALITY_EXPRESSION = eINSTANCE.getEqualityExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference EQUALITY_EXPRESSION__EXP = eINSTANCE.getEqualityExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute EQUALITY_EXPRESSION__OP = eINSTANCE.getEqualityExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl <em>Relational Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getRelationalExpression()
- * @generated
- */
- EClass RELATIONAL_EXPRESSION = eINSTANCE.getRelationalExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference RELATIONAL_EXPRESSION__EXP = eINSTANCE.getRelationalExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RELATIONAL_EXPRESSION__OP = eINSTANCE.getRelationalExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl <em>Conditional Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getConditionalExpression()
- * @generated
- */
- EClass CONDITIONAL_EXPRESSION = eINSTANCE.getConditionalExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONDITIONAL_EXPRESSION__EXP = eINSTANCE.getConditionalExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONDITIONAL_EXPRESSION__OP = eINSTANCE.getConditionalExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl <em>Additive Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getAdditiveExpression()
- * @generated
- */
- EClass ADDITIVE_EXPRESSION = eINSTANCE.getAdditiveExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ADDITIVE_EXPRESSION__EXP = eINSTANCE.getAdditiveExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDITIVE_EXPRESSION__OP = eINSTANCE.getAdditiveExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl <em>Multiplicative Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getMultiplicativeExpression()
- * @generated
- */
- EClass MULTIPLICATIVE_EXPRESSION = eINSTANCE.getMultiplicativeExpression();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference MULTIPLICATIVE_EXPRESSION__EXP = eINSTANCE.getMultiplicativeExpression_Exp();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute MULTIPLICATIVE_EXPRESSION__OP = eINSTANCE.getMultiplicativeExpression_Op();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl <em>Unary Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getUnaryExpression()
- * @generated
- */
- EClass UNARY_EXPRESSION = eINSTANCE.getUnaryExpression();
-
- /**
- * The meta object literal for the '<em><b>Op</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute UNARY_EXPRESSION__OP = eINSTANCE.getUnaryExpression_Op();
-
- /**
- * The meta object literal for the '<em><b>Unary</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference UNARY_EXPRESSION__UNARY = eINSTANCE.getUnaryExpression_Unary();
-
- /**
- * The meta object literal for the '<em><b>Exp</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference UNARY_EXPRESSION__EXP = eINSTANCE.getUnaryExpression_Exp();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl <em>Primary Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getPrimaryExpression()
- * @generated
- */
- EClass PRIMARY_EXPRESSION = eINSTANCE.getPrimaryExpression();
-
- /**
- * The meta object literal for the '<em><b>Prefix</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PRIMARY_EXPRESSION__PREFIX = eINSTANCE.getPrimaryExpression_Prefix();
-
- /**
- * The meta object literal for the '<em><b>Suffix</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PRIMARY_EXPRESSION__SUFFIX = eINSTANCE.getPrimaryExpression_Suffix();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueSpecificationImpl <em>Value Specification</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ValueSpecificationImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getValueSpecification()
- * @generated
- */
- EClass VALUE_SPECIFICATION = eINSTANCE.getValueSpecification();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.SuffixExpressionImpl <em>Suffix Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.SuffixExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getSuffixExpression()
- * @generated
- */
- EClass SUFFIX_EXPRESSION = eINSTANCE.getSuffixExpression();
-
- /**
- * The meta object literal for the '<em><b>Suffix</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SUFFIX_EXPRESSION__SUFFIX = eINSTANCE.getSuffixExpression_Suffix();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PropertyCallExpressionImpl <em>Property Call Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.PropertyCallExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getPropertyCallExpression()
- * @generated
- */
- EClass PROPERTY_CALL_EXPRESSION = eINSTANCE.getPropertyCallExpression();
-
- /**
- * The meta object literal for the '<em><b>Property</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PROPERTY_CALL_EXPRESSION__PROPERTY = eINSTANCE.getPropertyCallExpression_Property();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl <em>Operation Call Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getOperationCallExpression()
- * @generated
- */
- EClass OPERATION_CALL_EXPRESSION = eINSTANCE.getOperationCallExpression();
-
- /**
- * The meta object literal for the '<em><b>Operation</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_CALL_EXPRESSION__OPERATION = eINSTANCE.getOperationCallExpression_Operation();
-
- /**
- * The meta object literal for the '<em><b>Arguments</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference OPERATION_CALL_EXPRESSION__ARGUMENTS = eINSTANCE.getOperationCallExpression_Arguments();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.LiteralImpl <em>Literal</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.LiteralImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getLiteral()
- * @generated
- */
- EClass LITERAL = eINSTANCE.getLiteral();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LITERAL__VALUE = eINSTANCE.getLiteral_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl <em>Name Or Choice Or Behavior Call</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNameOrChoiceOrBehaviorCall()
- * @generated
- */
- EClass NAME_OR_CHOICE_OR_BEHAVIOR_CALL = eINSTANCE.getNameOrChoiceOrBehaviorCall();
-
- /**
- * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH = eINSTANCE.getNameOrChoiceOrBehaviorCall_Path();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID = eINSTANCE.getNameOrChoiceOrBehaviorCall_Id();
-
- /**
- * The meta object literal for the '<em><b>Arguments</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS = eINSTANCE.getNameOrChoiceOrBehaviorCall_Arguments();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl <em>Qualified Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getQualifiedName()
- * @generated
- */
- EClass QUALIFIED_NAME = eINSTANCE.getQualifiedName();
-
- /**
- * The meta object literal for the '<em><b>Path</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference QUALIFIED_NAME__PATH = eINSTANCE.getQualifiedName_Path();
-
- /**
- * The meta object literal for the '<em><b>Remaining</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference QUALIFIED_NAME__REMAINING = eINSTANCE.getQualifiedName_Remaining();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl <em>Interval</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInterval()
- * @generated
- */
- EClass INTERVAL = eINSTANCE.getInterval();
-
- /**
- * The meta object literal for the '<em><b>Is Lower Included</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INTERVAL__IS_LOWER_INCLUDED = eINSTANCE.getInterval_IsLowerIncluded();
-
- /**
- * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INTERVAL__LOWER = eINSTANCE.getInterval_Lower();
-
- /**
- * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INTERVAL__UPPER = eINSTANCE.getInterval_Upper();
-
- /**
- * The meta object literal for the '<em><b>Is Upper Included</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INTERVAL__IS_UPPER_INCLUDED = eINSTANCE.getInterval_IsUpperIncluded();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.CollectionOrTupleImpl <em>Collection Or Tuple</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.CollectionOrTupleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getCollectionOrTuple()
- * @generated
- */
- EClass COLLECTION_OR_TUPLE = eINSTANCE.getCollectionOrTuple();
-
- /**
- * The meta object literal for the '<em><b>List Of Values</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference COLLECTION_OR_TUPLE__LIST_OF_VALUES = eINSTANCE.getCollectionOrTuple_ListOfValues();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.TupleImpl <em>Tuple</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.TupleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getTuple()
- * @generated
- */
- EClass TUPLE = eINSTANCE.getTuple();
-
- /**
- * The meta object literal for the '<em><b>List Of Value Name Pairs</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference TUPLE__LIST_OF_VALUE_NAME_PAIRS = eINSTANCE.getTuple_ListOfValueNamePairs();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValuesImpl <em>List Of Values</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValuesImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getListOfValues()
- * @generated
- */
- EClass LIST_OF_VALUES = eINSTANCE.getListOfValues();
-
- /**
- * The meta object literal for the '<em><b>Values</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LIST_OF_VALUES__VALUES = eINSTANCE.getListOfValues_Values();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValueNamePairsImpl <em>List Of Value Name Pairs</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValueNamePairsImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getListOfValueNamePairs()
- * @generated
- */
- EClass LIST_OF_VALUE_NAME_PAIRS = eINSTANCE.getListOfValueNamePairs();
-
- /**
- * The meta object literal for the '<em><b>Value Name Pairs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS = eINSTANCE.getListOfValueNamePairs_ValueNamePairs();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl <em>Value Name Pair</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getValueNamePair()
- * @generated
- */
- EClass VALUE_NAME_PAIR = eINSTANCE.getValueNamePair();
-
- /**
- * The meta object literal for the '<em><b>Property</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference VALUE_NAME_PAIR__PROPERTY = eINSTANCE.getValueNamePair_Property();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference VALUE_NAME_PAIR__VALUE = eINSTANCE.getValueNamePair_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.TimeExpressionImpl <em>Time Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.TimeExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getTimeExpression()
- * @generated
- */
- EClass TIME_EXPRESSION = eINSTANCE.getTimeExpression();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl <em>Instant Obs Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInstantObsExpression()
- * @generated
- */
- EClass INSTANT_OBS_EXPRESSION = eINSTANCE.getInstantObsExpression();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INSTANT_OBS_EXPRESSION__ID = eINSTANCE.getInstantObsExpression_Id();
-
- /**
- * The meta object literal for the '<em><b>Index</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INSTANT_OBS_EXPRESSION__INDEX = eINSTANCE.getInstantObsExpression_Index();
-
- /**
- * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INSTANT_OBS_EXPRESSION__CONDITION = eINSTANCE.getInstantObsExpression_Condition();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl <em>Instant Obs Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getInstantObsName()
- * @generated
- */
- EClass INSTANT_OBS_NAME = eINSTANCE.getInstantObsName();
-
- /**
- * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INSTANT_OBS_NAME__PATH = eINSTANCE.getInstantObsName_Path();
-
- /**
- * The meta object literal for the '<em><b>Instant Id</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference INSTANT_OBS_NAME__INSTANT_ID = eINSTANCE.getInstantObsName_InstantId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl <em>Duration Obs Expression</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDurationObsExpression()
- * @generated
- */
- EClass DURATION_OBS_EXPRESSION = eINSTANCE.getDurationObsExpression();
-
- /**
- * The meta object literal for the '<em><b>Id</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DURATION_OBS_EXPRESSION__ID = eINSTANCE.getDurationObsExpression_Id();
-
- /**
- * The meta object literal for the '<em><b>Index</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DURATION_OBS_EXPRESSION__INDEX = eINSTANCE.getDurationObsExpression_Index();
-
- /**
- * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DURATION_OBS_EXPRESSION__CONDITION = eINSTANCE.getDurationObsExpression_Condition();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl <em>Duration Obs Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDurationObsName()
- * @generated
- */
- EClass DURATION_OBS_NAME = eINSTANCE.getDurationObsName();
-
- /**
- * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DURATION_OBS_NAME__PATH = eINSTANCE.getDurationObsName_Path();
-
- /**
- * The meta object literal for the '<em><b>Duration Id</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DURATION_OBS_NAME__DURATION_ID = eINSTANCE.getDurationObsName_DurationId();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl <em>Jitter Exp</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getJitterExp()
- * @generated
- */
- EClass JITTER_EXP = eINSTANCE.getJitterExp();
-
- /**
- * The meta object literal for the '<em><b>First Instant</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference JITTER_EXP__FIRST_INSTANT = eINSTANCE.getJitterExp_FirstInstant();
-
- /**
- * The meta object literal for the '<em><b>Second Instant</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference JITTER_EXP__SECOND_INSTANT = eINSTANCE.getJitterExp_SecondInstant();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl <em>Variable Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getVariableDeclaration()
- * @generated
- */
- EClass VARIABLE_DECLARATION = eINSTANCE.getVariableDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Variable Declaration</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VARIABLE_DECLARATION__VARIABLE_DECLARATION = eINSTANCE.getVariableDeclaration_VariableDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VARIABLE_DECLARATION__NAME = eINSTANCE.getVariableDeclaration_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference VARIABLE_DECLARATION__TYPE = eINSTANCE.getVariableDeclaration_Type();
-
- /**
- * The meta object literal for the '<em><b>Init Value</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference VARIABLE_DECLARATION__INIT_VALUE = eINSTANCE.getVariableDeclaration_InitValue();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl <em>Data Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDataTypeName()
- * @generated
- */
- EClass DATA_TYPE_NAME = eINSTANCE.getDataTypeName();
-
- /**
- * The meta object literal for the '<em><b>Path</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DATA_TYPE_NAME__PATH = eINSTANCE.getDataTypeName_Path();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DATA_TYPE_NAME__TYPE = eINSTANCE.getDataTypeName_Type();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NumberLiteralRuleImpl <em>Number Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NumberLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNumberLiteralRule()
- * @generated
- */
- EClass NUMBER_LITERAL_RULE = eINSTANCE.getNumberLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntegerLiteralRuleImpl <em>Integer Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.IntegerLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getIntegerLiteralRule()
- * @generated
- */
- EClass INTEGER_LITERAL_RULE = eINSTANCE.getIntegerLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnlimitedLiteralRuleImpl <em>Unlimited Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.UnlimitedLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getUnlimitedLiteralRule()
- * @generated
- */
- EClass UNLIMITED_LITERAL_RULE = eINSTANCE.getUnlimitedLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RealLiteralRuleImpl <em>Real Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.RealLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getRealLiteralRule()
- * @generated
- */
- EClass REAL_LITERAL_RULE = eINSTANCE.getRealLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DateTimeLiteralRuleImpl <em>Date Time Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DateTimeLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDateTimeLiteralRule()
- * @generated
- */
- EClass DATE_TIME_LITERAL_RULE = eINSTANCE.getDateTimeLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.BooleanLiteralRuleImpl <em>Boolean Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.BooleanLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getBooleanLiteralRule()
- * @generated
- */
- EClass BOOLEAN_LITERAL_RULE = eINSTANCE.getBooleanLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NullLiteralRuleImpl <em>Null Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.NullLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getNullLiteralRule()
- * @generated
- */
- EClass NULL_LITERAL_RULE = eINSTANCE.getNullLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DefaultLiteralRuleImpl <em>Default Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.DefaultLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getDefaultLiteralRule()
- * @generated
- */
- EClass DEFAULT_LITERAL_RULE = eINSTANCE.getDefaultLiteralRule();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.marte.vsl.vSL.impl.StringLiteralRuleImpl <em>String Literal Rule</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.StringLiteralRuleImpl
- * @see org.eclipse.papyrus.marte.vsl.vSL.impl.VSLPackageImpl#getStringLiteralRule()
- * @generated
- */
- EClass STRING_LITERAL_RULE = eINSTANCE.getStringLiteralRule();
-
- }
-
-} //VSLPackage
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueNamePair.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueNamePair.java deleted file mode 100644 index 3497712df9b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueNamePair.java +++ /dev/null @@ -1,120 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Value Name Pair</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getValueNamePair()
- * @model
- * @generated
- */
-public interface ValueNamePair extends EObject
-{
- /**
- * Returns the value of the '<em><b>Property</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Property</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Property</em>' reference.
- * @see #setProperty(Property)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getValueNamePair_Property()
- * @model
- * @generated
- */
- Property getProperty();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getProperty <em>Property</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Property</em>' reference.
- * @see #getProperty()
- * @generated
- */
- void setProperty(Property value);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' containment reference.
- * @see #setValue(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getValueNamePair_Value()
- * @model containment="true"
- * @generated
- */
- Expression getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair#getValue <em>Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' containment reference.
- * @see #getValue()
- * @generated
- */
- void setValue(Expression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // ValueNamePair
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueSpecification.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueSpecification.java deleted file mode 100644 index 574a02234d1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/ValueSpecification.java +++ /dev/null @@ -1,60 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Value Specification</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getValueSpecification()
- * @model
- * @generated
- */
-public interface ValueSpecification extends EObject
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // ValueSpecification
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VariableDeclaration.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VariableDeclaration.java deleted file mode 100644 index 75776e5fa51..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/VariableDeclaration.java +++ /dev/null @@ -1,173 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Variable Declaration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getVariableDeclaration <em>Variable Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getInitValue <em>Init Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getVariableDeclaration()
- * @model
- * @generated
- */
-public interface VariableDeclaration extends ValueSpecification
-{
- /**
- * Returns the value of the '<em><b>Variable Declaration</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Variable Declaration</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Variable Declaration</em>' attribute.
- * @see #setVariableDeclaration(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getVariableDeclaration_VariableDeclaration()
- * @model
- * @generated
- */
- String getVariableDeclaration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getVariableDeclaration <em>Variable Declaration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Variable Declaration</em>' attribute.
- * @see #getVariableDeclaration()
- * @generated
- */
- void setVariableDeclaration(String value);
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getVariableDeclaration_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Type</em>' containment reference.
- * @see #setType(DataTypeName)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getVariableDeclaration_Type()
- * @model containment="true"
- * @generated
- */
- DataTypeName getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getType <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Type</em>' containment reference.
- * @see #getType()
- * @generated
- */
- void setType(DataTypeName value);
-
- /**
- * Returns the value of the '<em><b>Init Value</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Init Value</em>' containment reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Init Value</em>' containment reference.
- * @see #setInitValue(Expression)
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#getVariableDeclaration_InitValue()
- * @model containment="true"
- * @generated
- */
- Expression getInitValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration#getInitValue <em>Init Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Init Value</em>' containment reference.
- * @see #getInitValue()
- * @generated
- */
- void setInitValue(Expression value);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;'"
- * @generated
- */
- EObject getFilteredParentRule(EClass filter);
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;'"
- * @generated
- */
- Type getExpectedType();
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @model kind="operation"
- * annotation="http://www.eclipse.org/emf/2002/GenModel body='return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;'"
- * @generated
- */
- Element getContextElement();
-
-} // VariableDeclaration
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AdditiveExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AdditiveExpressionImpl.java deleted file mode 100644 index 8cc882032cc..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AdditiveExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Additive Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AdditiveExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AdditiveExpressionImpl extends MinimalEObjectImpl.Container implements AdditiveExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<MultiplicativeExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AdditiveExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.ADDITIVE_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<MultiplicativeExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<MultiplicativeExpression>(MultiplicativeExpression.class, this, VSLPackage.ADDITIVE_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.ADDITIVE_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.ADDITIVE_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.ADDITIVE_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.ADDITIVE_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.ADDITIVE_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends MultiplicativeExpression>)newValue);
- return;
- case VSLPackage.ADDITIVE_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.ADDITIVE_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.ADDITIVE_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.ADDITIVE_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.ADDITIVE_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //AdditiveExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AndOrXorExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AndOrXorExpressionImpl.java deleted file mode 100644 index fb1202f8173..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/AndOrXorExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>And Or Xor Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.AndOrXorExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AndOrXorExpressionImpl extends MinimalEObjectImpl.Container implements AndOrXorExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<EqualityExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AndOrXorExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.AND_OR_XOR_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<EqualityExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<EqualityExpression>(EqualityExpression.class, this, VSLPackage.AND_OR_XOR_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.AND_OR_XOR_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.AND_OR_XOR_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.AND_OR_XOR_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.AND_OR_XOR_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.AND_OR_XOR_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends EqualityExpression>)newValue);
- return;
- case VSLPackage.AND_OR_XOR_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.AND_OR_XOR_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.AND_OR_XOR_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.AND_OR_XOR_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.AND_OR_XOR_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //AndOrXorExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/BooleanLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/BooleanLiteralRuleImpl.java deleted file mode 100644 index bfc3c798b34..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/BooleanLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.BooleanLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Boolean Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class BooleanLiteralRuleImpl extends LiteralImpl implements BooleanLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BooleanLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.BOOLEAN_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //BooleanLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/CollectionOrTupleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/CollectionOrTupleImpl.java deleted file mode 100644 index 7af3bc1cbd3..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/CollectionOrTupleImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple;
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValues;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Collection Or Tuple</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.CollectionOrTupleImpl#getListOfValues <em>List Of Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CollectionOrTupleImpl extends ValueSpecificationImpl implements CollectionOrTuple
-{
- /**
- * The cached value of the '{@link #getListOfValues() <em>List Of Values</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getListOfValues()
- * @generated
- * @ordered
- */
- protected ListOfValues listOfValues;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CollectionOrTupleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.COLLECTION_OR_TUPLE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValues getListOfValues()
- {
- return listOfValues;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetListOfValues(ListOfValues newListOfValues, NotificationChain msgs)
- {
- ListOfValues oldListOfValues = listOfValues;
- listOfValues = newListOfValues;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES, oldListOfValues, newListOfValues);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setListOfValues(ListOfValues newListOfValues)
- {
- if (newListOfValues != listOfValues)
- {
- NotificationChain msgs = null;
- if (listOfValues != null)
- msgs = ((InternalEObject)listOfValues).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES, null, msgs);
- if (newListOfValues != null)
- msgs = ((InternalEObject)newListOfValues).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES, null, msgs);
- msgs = basicSetListOfValues(newListOfValues, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES, newListOfValues, newListOfValues));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES:
- return basicSetListOfValues(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES:
- return getListOfValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES:
- setListOfValues((ListOfValues)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES:
- setListOfValues((ListOfValues)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.COLLECTION_OR_TUPLE__LIST_OF_VALUES:
- return listOfValues != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //CollectionOrTupleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ConditionalExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ConditionalExpressionImpl.java deleted file mode 100644 index 7fb6d343867..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ConditionalExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Conditional Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ConditionalExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConditionalExpressionImpl extends MinimalEObjectImpl.Container implements ConditionalExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<AdditiveExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConditionalExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.CONDITIONAL_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<AdditiveExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<AdditiveExpression>(AdditiveExpression.class, this, VSLPackage.CONDITIONAL_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.CONDITIONAL_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.CONDITIONAL_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.CONDITIONAL_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.CONDITIONAL_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.CONDITIONAL_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends AdditiveExpression>)newValue);
- return;
- case VSLPackage.CONDITIONAL_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.CONDITIONAL_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.CONDITIONAL_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.CONDITIONAL_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.CONDITIONAL_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //ConditionalExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java deleted file mode 100644 index 09cf3c2c696..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DataTypeNameImpl.java +++ /dev/null @@ -1,305 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DataTypeName;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Data Type Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DataTypeNameImpl#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DataTypeNameImpl extends MinimalEObjectImpl.Container implements DataTypeName
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected QualifiedName path;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected DataType type;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DataTypeNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DATA_TYPE_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
- {
- QualifiedName oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__PATH, oldPath, newPath);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(QualifiedName newPath)
- {
- if (newPath != path)
- {
- NotificationChain msgs = null;
- if (path != null)
- msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DATA_TYPE_NAME__PATH, null, msgs);
- if (newPath != null)
- msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DATA_TYPE_NAME__PATH, null, msgs);
- msgs = basicSetPath(newPath, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__PATH, newPath, newPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataType getType()
- {
- if (type != null && type.eIsProxy())
- {
- InternalEObject oldType = (InternalEObject)type;
- type = (DataType)eResolveProxy(oldType);
- if (type != oldType)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.DATA_TYPE_NAME__TYPE, oldType, type));
- }
- }
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataType basicGetType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(DataType newType)
- {
- DataType oldType = type;
- type = newType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DATA_TYPE_NAME__TYPE, oldType, type));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- return basicSetPath(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- return getPath();
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- if (resolve) return getType();
- return basicGetType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- setPath((QualifiedName)newValue);
- return;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- setType((DataType)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- setPath((QualifiedName)null);
- return;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- setType((DataType)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DATA_TYPE_NAME__PATH:
- return path != null;
- case VSLPackage.DATA_TYPE_NAME__TYPE:
- return type != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DataTypeNameImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DateTimeLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DateTimeLiteralRuleImpl.java deleted file mode 100644 index 6026328371b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DateTimeLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DateTimeLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Date Time Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class DateTimeLiteralRuleImpl extends LiteralImpl implements DateTimeLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DateTimeLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DATE_TIME_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //DateTimeLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DefaultLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DefaultLiteralRuleImpl.java deleted file mode 100644 index 06e8171b419..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DefaultLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DefaultLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Default Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class DefaultLiteralRuleImpl extends LiteralImpl implements DefaultLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DefaultLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DEFAULT_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //DefaultLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsExpressionImpl.java deleted file mode 100644 index 96be8a0570c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsExpressionImpl.java +++ /dev/null @@ -1,381 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.DurationObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Duration Obs Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsExpressionImpl#getCondition <em>Condition</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DurationObsExpressionImpl extends TimeExpressionImpl implements DurationObsExpression
-{
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected DurationObsName id;
-
- /**
- * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIndex()
- * @generated
- * @ordered
- */
- protected Expression index;
-
- /**
- * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCondition()
- * @generated
- * @ordered
- */
- protected Expression condition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DurationObsExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DURATION_OBS_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DurationObsName getId()
- {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetId(DurationObsName newId, NotificationChain msgs)
- {
- DurationObsName oldId = id;
- id = newId;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__ID, oldId, newId);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(DurationObsName newId)
- {
- if (newId != id)
- {
- NotificationChain msgs = null;
- if (id != null)
- msgs = ((InternalEObject)id).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__ID, null, msgs);
- if (newId != null)
- msgs = ((InternalEObject)newId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__ID, null, msgs);
- msgs = basicSetId(newId, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__ID, newId, newId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getIndex()
- {
- return index;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetIndex(Expression newIndex, NotificationChain msgs)
- {
- Expression oldIndex = index;
- index = newIndex;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__INDEX, oldIndex, newIndex);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIndex(Expression newIndex)
- {
- if (newIndex != index)
- {
- NotificationChain msgs = null;
- if (index != null)
- msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__INDEX, null, msgs);
- if (newIndex != null)
- msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__INDEX, null, msgs);
- msgs = basicSetIndex(newIndex, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__INDEX, newIndex, newIndex));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getCondition()
- {
- return condition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs)
- {
- Expression oldCondition = condition;
- condition = newCondition;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__CONDITION, oldCondition, newCondition);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCondition(Expression newCondition)
- {
- if (newCondition != condition)
- {
- NotificationChain msgs = null;
- if (condition != null)
- msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__CONDITION, null, msgs);
- if (newCondition != null)
- msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_EXPRESSION__CONDITION, null, msgs);
- msgs = basicSetCondition(newCondition, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_EXPRESSION__CONDITION, newCondition, newCondition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_EXPRESSION__ID:
- return basicSetId(null, msgs);
- case VSLPackage.DURATION_OBS_EXPRESSION__INDEX:
- return basicSetIndex(null, msgs);
- case VSLPackage.DURATION_OBS_EXPRESSION__CONDITION:
- return basicSetCondition(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_EXPRESSION__ID:
- return getId();
- case VSLPackage.DURATION_OBS_EXPRESSION__INDEX:
- return getIndex();
- case VSLPackage.DURATION_OBS_EXPRESSION__CONDITION:
- return getCondition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_EXPRESSION__ID:
- setId((DurationObsName)newValue);
- return;
- case VSLPackage.DURATION_OBS_EXPRESSION__INDEX:
- setIndex((Expression)newValue);
- return;
- case VSLPackage.DURATION_OBS_EXPRESSION__CONDITION:
- setCondition((Expression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_EXPRESSION__ID:
- setId((DurationObsName)null);
- return;
- case VSLPackage.DURATION_OBS_EXPRESSION__INDEX:
- setIndex((Expression)null);
- return;
- case VSLPackage.DURATION_OBS_EXPRESSION__CONDITION:
- setCondition((Expression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_EXPRESSION__ID:
- return id != null;
- case VSLPackage.DURATION_OBS_EXPRESSION__INDEX:
- return index != null;
- case VSLPackage.DURATION_OBS_EXPRESSION__CONDITION:
- return condition != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DurationObsExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsNameImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsNameImpl.java deleted file mode 100644 index e071cfb0c73..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/DurationObsNameImpl.java +++ /dev/null @@ -1,305 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DurationObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.DurationObservation;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Duration Obs Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.DurationObsNameImpl#getDurationId <em>Duration Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DurationObsNameImpl extends MinimalEObjectImpl.Container implements DurationObsName
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected QualifiedName path;
-
- /**
- * The cached value of the '{@link #getDurationId() <em>Duration Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDurationId()
- * @generated
- * @ordered
- */
- protected DurationObservation durationId;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DurationObsNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.DURATION_OBS_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
- {
- QualifiedName oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_NAME__PATH, oldPath, newPath);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(QualifiedName newPath)
- {
- if (newPath != path)
- {
- NotificationChain msgs = null;
- if (path != null)
- msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_NAME__PATH, null, msgs);
- if (newPath != null)
- msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.DURATION_OBS_NAME__PATH, null, msgs);
- msgs = basicSetPath(newPath, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_NAME__PATH, newPath, newPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DurationObservation getDurationId()
- {
- if (durationId != null && durationId.eIsProxy())
- {
- InternalEObject oldDurationId = (InternalEObject)durationId;
- durationId = (DurationObservation)eResolveProxy(oldDurationId);
- if (durationId != oldDurationId)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.DURATION_OBS_NAME__DURATION_ID, oldDurationId, durationId));
- }
- }
- return durationId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DurationObservation basicGetDurationId()
- {
- return durationId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDurationId(DurationObservation newDurationId)
- {
- DurationObservation oldDurationId = durationId;
- durationId = newDurationId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.DURATION_OBS_NAME__DURATION_ID, oldDurationId, durationId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_NAME__PATH:
- return basicSetPath(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_NAME__PATH:
- return getPath();
- case VSLPackage.DURATION_OBS_NAME__DURATION_ID:
- if (resolve) return getDurationId();
- return basicGetDurationId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_NAME__PATH:
- setPath((QualifiedName)newValue);
- return;
- case VSLPackage.DURATION_OBS_NAME__DURATION_ID:
- setDurationId((DurationObservation)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_NAME__PATH:
- setPath((QualifiedName)null);
- return;
- case VSLPackage.DURATION_OBS_NAME__DURATION_ID:
- setDurationId((DurationObservation)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.DURATION_OBS_NAME__PATH:
- return path != null;
- case VSLPackage.DURATION_OBS_NAME__DURATION_ID:
- return durationId != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //DurationObsNameImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/EqualityExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/EqualityExpressionImpl.java deleted file mode 100644 index e71c0b46b02..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/EqualityExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Equality Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.EqualityExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EqualityExpressionImpl extends MinimalEObjectImpl.Container implements EqualityExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<RelationalExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EqualityExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.EQUALITY_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<RelationalExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<RelationalExpression>(RelationalExpression.class, this, VSLPackage.EQUALITY_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.EQUALITY_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.EQUALITY_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.EQUALITY_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.EQUALITY_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.EQUALITY_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends RelationalExpression>)newValue);
- return;
- case VSLPackage.EQUALITY_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.EQUALITY_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.EQUALITY_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.EQUALITY_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.EQUALITY_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //EqualityExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ExpressionImpl.java deleted file mode 100644 index bc9c786d8e8..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ExpressionImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ExpressionImpl#getExp <em>Exp</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ExpressionImpl extends ValueSpecificationImpl implements Expression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected AndOrXorExpression exp;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AndOrXorExpression getExp()
- {
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetExp(AndOrXorExpression newExp, NotificationChain msgs)
- {
- AndOrXorExpression oldExp = exp;
- exp = newExp;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.EXPRESSION__EXP, oldExp, newExp);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setExp(AndOrXorExpression newExp)
- {
- if (newExp != exp)
- {
- NotificationChain msgs = null;
- if (exp != null)
- msgs = ((InternalEObject)exp).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.EXPRESSION__EXP, null, msgs);
- if (newExp != null)
- msgs = ((InternalEObject)newExp).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.EXPRESSION__EXP, null, msgs);
- msgs = basicSetExp(newExp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.EXPRESSION__EXP, newExp, newExp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.EXPRESSION__EXP:
- return basicSetExp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.EXPRESSION__EXP:
- return getExp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.EXPRESSION__EXP:
- setExp((AndOrXorExpression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.EXPRESSION__EXP:
- setExp((AndOrXorExpression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.EXPRESSION__EXP:
- return exp != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //ExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsExpressionImpl.java deleted file mode 100644 index 68347596254..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsExpressionImpl.java +++ /dev/null @@ -1,381 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Instant Obs Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl#getIndex <em>Index</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsExpressionImpl#getCondition <em>Condition</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InstantObsExpressionImpl extends TimeExpressionImpl implements InstantObsExpression
-{
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected InstantObsName id;
-
- /**
- * The cached value of the '{@link #getIndex() <em>Index</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIndex()
- * @generated
- * @ordered
- */
- protected Expression index;
-
- /**
- * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCondition()
- * @generated
- * @ordered
- */
- protected Expression condition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InstantObsExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.INSTANT_OBS_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InstantObsName getId()
- {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetId(InstantObsName newId, NotificationChain msgs)
- {
- InstantObsName oldId = id;
- id = newId;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__ID, oldId, newId);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(InstantObsName newId)
- {
- if (newId != id)
- {
- NotificationChain msgs = null;
- if (id != null)
- msgs = ((InternalEObject)id).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__ID, null, msgs);
- if (newId != null)
- msgs = ((InternalEObject)newId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__ID, null, msgs);
- msgs = basicSetId(newId, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__ID, newId, newId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getIndex()
- {
- return index;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetIndex(Expression newIndex, NotificationChain msgs)
- {
- Expression oldIndex = index;
- index = newIndex;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__INDEX, oldIndex, newIndex);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIndex(Expression newIndex)
- {
- if (newIndex != index)
- {
- NotificationChain msgs = null;
- if (index != null)
- msgs = ((InternalEObject)index).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__INDEX, null, msgs);
- if (newIndex != null)
- msgs = ((InternalEObject)newIndex).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__INDEX, null, msgs);
- msgs = basicSetIndex(newIndex, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__INDEX, newIndex, newIndex));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getCondition()
- {
- return condition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetCondition(Expression newCondition, NotificationChain msgs)
- {
- Expression oldCondition = condition;
- condition = newCondition;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION, oldCondition, newCondition);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCondition(Expression newCondition)
- {
- if (newCondition != condition)
- {
- NotificationChain msgs = null;
- if (condition != null)
- msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION, null, msgs);
- if (newCondition != null)
- msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION, null, msgs);
- msgs = basicSetCondition(newCondition, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION, newCondition, newCondition));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_EXPRESSION__ID:
- return basicSetId(null, msgs);
- case VSLPackage.INSTANT_OBS_EXPRESSION__INDEX:
- return basicSetIndex(null, msgs);
- case VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION:
- return basicSetCondition(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_EXPRESSION__ID:
- return getId();
- case VSLPackage.INSTANT_OBS_EXPRESSION__INDEX:
- return getIndex();
- case VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION:
- return getCondition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_EXPRESSION__ID:
- setId((InstantObsName)newValue);
- return;
- case VSLPackage.INSTANT_OBS_EXPRESSION__INDEX:
- setIndex((Expression)newValue);
- return;
- case VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION:
- setCondition((Expression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_EXPRESSION__ID:
- setId((InstantObsName)null);
- return;
- case VSLPackage.INSTANT_OBS_EXPRESSION__INDEX:
- setIndex((Expression)null);
- return;
- case VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION:
- setCondition((Expression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_EXPRESSION__ID:
- return id != null;
- case VSLPackage.INSTANT_OBS_EXPRESSION__INDEX:
- return index != null;
- case VSLPackage.INSTANT_OBS_EXPRESSION__CONDITION:
- return condition != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //InstantObsExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsNameImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsNameImpl.java deleted file mode 100644 index 45a3314eca0..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/InstantObsNameImpl.java +++ /dev/null @@ -1,305 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.TimeObservation;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Instant Obs Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.InstantObsNameImpl#getInstantId <em>Instant Id</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InstantObsNameImpl extends MinimalEObjectImpl.Container implements InstantObsName
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected QualifiedName path;
-
- /**
- * The cached value of the '{@link #getInstantId() <em>Instant Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInstantId()
- * @generated
- * @ordered
- */
- protected TimeObservation instantId;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InstantObsNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.INSTANT_OBS_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
- {
- QualifiedName oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_NAME__PATH, oldPath, newPath);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(QualifiedName newPath)
- {
- if (newPath != path)
- {
- NotificationChain msgs = null;
- if (path != null)
- msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_NAME__PATH, null, msgs);
- if (newPath != null)
- msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INSTANT_OBS_NAME__PATH, null, msgs);
- msgs = basicSetPath(newPath, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_NAME__PATH, newPath, newPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TimeObservation getInstantId()
- {
- if (instantId != null && instantId.eIsProxy())
- {
- InternalEObject oldInstantId = (InternalEObject)instantId;
- instantId = (TimeObservation)eResolveProxy(oldInstantId);
- if (instantId != oldInstantId)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.INSTANT_OBS_NAME__INSTANT_ID, oldInstantId, instantId));
- }
- }
- return instantId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TimeObservation basicGetInstantId()
- {
- return instantId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInstantId(TimeObservation newInstantId)
- {
- TimeObservation oldInstantId = instantId;
- instantId = newInstantId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INSTANT_OBS_NAME__INSTANT_ID, oldInstantId, instantId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_NAME__PATH:
- return basicSetPath(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_NAME__PATH:
- return getPath();
- case VSLPackage.INSTANT_OBS_NAME__INSTANT_ID:
- if (resolve) return getInstantId();
- return basicGetInstantId();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_NAME__PATH:
- setPath((QualifiedName)newValue);
- return;
- case VSLPackage.INSTANT_OBS_NAME__INSTANT_ID:
- setInstantId((TimeObservation)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_NAME__PATH:
- setPath((QualifiedName)null);
- return;
- case VSLPackage.INSTANT_OBS_NAME__INSTANT_ID:
- setInstantId((TimeObservation)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INSTANT_OBS_NAME__PATH:
- return path != null;
- case VSLPackage.INSTANT_OBS_NAME__INSTANT_ID:
- return instantId != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //InstantObsNameImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntegerLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntegerLiteralRuleImpl.java deleted file mode 100644 index a0108d2e1b0..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntegerLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.IntegerLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Integer Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class IntegerLiteralRuleImpl extends NumberLiteralRuleImpl implements IntegerLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IntegerLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.INTEGER_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //IntegerLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntervalImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntervalImpl.java deleted file mode 100644 index 002145419b8..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/IntervalImpl.java +++ /dev/null @@ -1,436 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.Interval;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Interval</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl#getIsLowerIncluded <em>Is Lower Included</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl#getUpper <em>Upper</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.IntervalImpl#getIsUpperIncluded <em>Is Upper Included</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class IntervalImpl extends ValueSpecificationImpl implements Interval
-{
- /**
- * The default value of the '{@link #getIsLowerIncluded() <em>Is Lower Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIsLowerIncluded()
- * @generated
- * @ordered
- */
- protected static final String IS_LOWER_INCLUDED_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIsLowerIncluded() <em>Is Lower Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIsLowerIncluded()
- * @generated
- * @ordered
- */
- protected String isLowerIncluded = IS_LOWER_INCLUDED_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLower()
- * @generated
- * @ordered
- */
- protected Expression lower;
-
- /**
- * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUpper()
- * @generated
- * @ordered
- */
- protected Expression upper;
-
- /**
- * The default value of the '{@link #getIsUpperIncluded() <em>Is Upper Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIsUpperIncluded()
- * @generated
- * @ordered
- */
- protected static final String IS_UPPER_INCLUDED_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getIsUpperIncluded() <em>Is Upper Included</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getIsUpperIncluded()
- * @generated
- * @ordered
- */
- protected String isUpperIncluded = IS_UPPER_INCLUDED_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected IntervalImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.INTERVAL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getIsLowerIncluded()
- {
- return isLowerIncluded;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIsLowerIncluded(String newIsLowerIncluded)
- {
- String oldIsLowerIncluded = isLowerIncluded;
- isLowerIncluded = newIsLowerIncluded;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__IS_LOWER_INCLUDED, oldIsLowerIncluded, isLowerIncluded));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getLower()
- {
- return lower;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetLower(Expression newLower, NotificationChain msgs)
- {
- Expression oldLower = lower;
- lower = newLower;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__LOWER, oldLower, newLower);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLower(Expression newLower)
- {
- if (newLower != lower)
- {
- NotificationChain msgs = null;
- if (lower != null)
- msgs = ((InternalEObject)lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INTERVAL__LOWER, null, msgs);
- if (newLower != null)
- msgs = ((InternalEObject)newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INTERVAL__LOWER, null, msgs);
- msgs = basicSetLower(newLower, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__LOWER, newLower, newLower));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getUpper()
- {
- return upper;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUpper(Expression newUpper, NotificationChain msgs)
- {
- Expression oldUpper = upper;
- upper = newUpper;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__UPPER, oldUpper, newUpper);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUpper(Expression newUpper)
- {
- if (newUpper != upper)
- {
- NotificationChain msgs = null;
- if (upper != null)
- msgs = ((InternalEObject)upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INTERVAL__UPPER, null, msgs);
- if (newUpper != null)
- msgs = ((InternalEObject)newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.INTERVAL__UPPER, null, msgs);
- msgs = basicSetUpper(newUpper, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__UPPER, newUpper, newUpper));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getIsUpperIncluded()
- {
- return isUpperIncluded;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setIsUpperIncluded(String newIsUpperIncluded)
- {
- String oldIsUpperIncluded = isUpperIncluded;
- isUpperIncluded = newIsUpperIncluded;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.INTERVAL__IS_UPPER_INCLUDED, oldIsUpperIncluded, isUpperIncluded));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.INTERVAL__LOWER:
- return basicSetLower(null, msgs);
- case VSLPackage.INTERVAL__UPPER:
- return basicSetUpper(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.INTERVAL__IS_LOWER_INCLUDED:
- return getIsLowerIncluded();
- case VSLPackage.INTERVAL__LOWER:
- return getLower();
- case VSLPackage.INTERVAL__UPPER:
- return getUpper();
- case VSLPackage.INTERVAL__IS_UPPER_INCLUDED:
- return getIsUpperIncluded();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.INTERVAL__IS_LOWER_INCLUDED:
- setIsLowerIncluded((String)newValue);
- return;
- case VSLPackage.INTERVAL__LOWER:
- setLower((Expression)newValue);
- return;
- case VSLPackage.INTERVAL__UPPER:
- setUpper((Expression)newValue);
- return;
- case VSLPackage.INTERVAL__IS_UPPER_INCLUDED:
- setIsUpperIncluded((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INTERVAL__IS_LOWER_INCLUDED:
- setIsLowerIncluded(IS_LOWER_INCLUDED_EDEFAULT);
- return;
- case VSLPackage.INTERVAL__LOWER:
- setLower((Expression)null);
- return;
- case VSLPackage.INTERVAL__UPPER:
- setUpper((Expression)null);
- return;
- case VSLPackage.INTERVAL__IS_UPPER_INCLUDED:
- setIsUpperIncluded(IS_UPPER_INCLUDED_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.INTERVAL__IS_LOWER_INCLUDED:
- return IS_LOWER_INCLUDED_EDEFAULT == null ? isLowerIncluded != null : !IS_LOWER_INCLUDED_EDEFAULT.equals(isLowerIncluded);
- case VSLPackage.INTERVAL__LOWER:
- return lower != null;
- case VSLPackage.INTERVAL__UPPER:
- return upper != null;
- case VSLPackage.INTERVAL__IS_UPPER_INCLUDED:
- return IS_UPPER_INCLUDED_EDEFAULT == null ? isUpperIncluded != null : !IS_UPPER_INCLUDED_EDEFAULT.equals(isUpperIncluded);
- }
- 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(" (isLowerIncluded: ");
- result.append(isLowerIncluded);
- result.append(", isUpperIncluded: ");
- result.append(isUpperIncluded);
- result.append(')');
- return result.toString();
- }
-
-} //IntervalImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/JitterExpImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/JitterExpImpl.java deleted file mode 100644 index bb60510e500..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/JitterExpImpl.java +++ /dev/null @@ -1,309 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.JitterExp;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Jitter Exp</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl#getFirstInstant <em>First Instant</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.JitterExpImpl#getSecondInstant <em>Second Instant</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class JitterExpImpl extends TimeExpressionImpl implements JitterExp
-{
- /**
- * The cached value of the '{@link #getFirstInstant() <em>First Instant</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getFirstInstant()
- * @generated
- * @ordered
- */
- protected InstantObsExpression firstInstant;
-
- /**
- * The cached value of the '{@link #getSecondInstant() <em>Second Instant</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSecondInstant()
- * @generated
- * @ordered
- */
- protected InstantObsExpression secondInstant;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected JitterExpImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.JITTER_EXP;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InstantObsExpression getFirstInstant()
- {
- return firstInstant;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetFirstInstant(InstantObsExpression newFirstInstant, NotificationChain msgs)
- {
- InstantObsExpression oldFirstInstant = firstInstant;
- firstInstant = newFirstInstant;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.JITTER_EXP__FIRST_INSTANT, oldFirstInstant, newFirstInstant);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setFirstInstant(InstantObsExpression newFirstInstant)
- {
- if (newFirstInstant != firstInstant)
- {
- NotificationChain msgs = null;
- if (firstInstant != null)
- msgs = ((InternalEObject)firstInstant).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.JITTER_EXP__FIRST_INSTANT, null, msgs);
- if (newFirstInstant != null)
- msgs = ((InternalEObject)newFirstInstant).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.JITTER_EXP__FIRST_INSTANT, null, msgs);
- msgs = basicSetFirstInstant(newFirstInstant, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.JITTER_EXP__FIRST_INSTANT, newFirstInstant, newFirstInstant));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InstantObsExpression getSecondInstant()
- {
- return secondInstant;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSecondInstant(InstantObsExpression newSecondInstant, NotificationChain msgs)
- {
- InstantObsExpression oldSecondInstant = secondInstant;
- secondInstant = newSecondInstant;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.JITTER_EXP__SECOND_INSTANT, oldSecondInstant, newSecondInstant);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSecondInstant(InstantObsExpression newSecondInstant)
- {
- if (newSecondInstant != secondInstant)
- {
- NotificationChain msgs = null;
- if (secondInstant != null)
- msgs = ((InternalEObject)secondInstant).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.JITTER_EXP__SECOND_INSTANT, null, msgs);
- if (newSecondInstant != null)
- msgs = ((InternalEObject)newSecondInstant).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.JITTER_EXP__SECOND_INSTANT, null, msgs);
- msgs = basicSetSecondInstant(newSecondInstant, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.JITTER_EXP__SECOND_INSTANT, newSecondInstant, newSecondInstant));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.JITTER_EXP__FIRST_INSTANT:
- return basicSetFirstInstant(null, msgs);
- case VSLPackage.JITTER_EXP__SECOND_INSTANT:
- return basicSetSecondInstant(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.JITTER_EXP__FIRST_INSTANT:
- return getFirstInstant();
- case VSLPackage.JITTER_EXP__SECOND_INSTANT:
- return getSecondInstant();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.JITTER_EXP__FIRST_INSTANT:
- setFirstInstant((InstantObsExpression)newValue);
- return;
- case VSLPackage.JITTER_EXP__SECOND_INSTANT:
- setSecondInstant((InstantObsExpression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.JITTER_EXP__FIRST_INSTANT:
- setFirstInstant((InstantObsExpression)null);
- return;
- case VSLPackage.JITTER_EXP__SECOND_INSTANT:
- setSecondInstant((InstantObsExpression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.JITTER_EXP__FIRST_INSTANT:
- return firstInstant != null;
- case VSLPackage.JITTER_EXP__SECOND_INSTANT:
- return secondInstant != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //JitterExpImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValueNamePairsImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValueNamePairsImpl.java deleted file mode 100644 index 08ee0269652..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValueNamePairsImpl.java +++ /dev/null @@ -1,212 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>List Of Value Name Pairs</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValueNamePairsImpl#getValueNamePairs <em>Value Name Pairs</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ListOfValueNamePairsImpl extends MinimalEObjectImpl.Container implements ListOfValueNamePairs
-{
- /**
- * The cached value of the '{@link #getValueNamePairs() <em>Value Name Pairs</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValueNamePairs()
- * @generated
- * @ordered
- */
- protected EList<ValueNamePair> valueNamePairs;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ListOfValueNamePairsImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.LIST_OF_VALUE_NAME_PAIRS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ValueNamePair> getValueNamePairs()
- {
- if (valueNamePairs == null)
- {
- valueNamePairs = new EObjectContainmentEList<ValueNamePair>(ValueNamePair.class, this, VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS);
- }
- return valueNamePairs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS:
- return ((InternalEList<?>)getValueNamePairs()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS:
- return getValueNamePairs();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS:
- getValueNamePairs().clear();
- getValueNamePairs().addAll((Collection<? extends ValueNamePair>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS:
- getValueNamePairs().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS:
- return valueNamePairs != null && !valueNamePairs.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //ListOfValueNamePairsImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValuesImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValuesImpl.java deleted file mode 100644 index b86a4d9d174..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ListOfValuesImpl.java +++ /dev/null @@ -1,212 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValues;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>List Of Values</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ListOfValuesImpl#getValues <em>Values</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ListOfValuesImpl extends MinimalEObjectImpl.Container implements ListOfValues
-{
- /**
- * The cached value of the '{@link #getValues() <em>Values</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValues()
- * @generated
- * @ordered
- */
- protected EList<Expression> values;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ListOfValuesImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.LIST_OF_VALUES;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Expression> getValues()
- {
- if (values == null)
- {
- values = new EObjectContainmentEList<Expression>(Expression.class, this, VSLPackage.LIST_OF_VALUES__VALUES);
- }
- return values;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUES__VALUES:
- return ((InternalEList<?>)getValues()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUES__VALUES:
- return getValues();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUES__VALUES:
- getValues().clear();
- getValues().addAll((Collection<? extends Expression>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUES__VALUES:
- getValues().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LIST_OF_VALUES__VALUES:
- return values != null && !values.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //ListOfValuesImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/LiteralImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/LiteralImpl.java deleted file mode 100644 index bc32872b1eb..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/LiteralImpl.java +++ /dev/null @@ -1,221 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.Literal;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Literal</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.LiteralImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LiteralImpl extends ValueSpecificationImpl implements Literal
-{
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LiteralImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.LITERAL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue)
- {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.LITERAL__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.LITERAL__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.LITERAL__VALUE:
- setValue((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LITERAL__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.LITERAL__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- 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(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} //LiteralImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/MultiplicativeExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/MultiplicativeExpressionImpl.java deleted file mode 100644 index ca0f13db551..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/MultiplicativeExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Multiplicative Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.MultiplicativeExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MultiplicativeExpressionImpl extends MinimalEObjectImpl.Container implements MultiplicativeExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<UnaryExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected MultiplicativeExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.MULTIPLICATIVE_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<UnaryExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<UnaryExpression>(UnaryExpression.class, this, VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.MULTIPLICATIVE_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends UnaryExpression>)newValue);
- return;
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.MULTIPLICATIVE_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //MultiplicativeExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NameOrChoiceOrBehaviorCallImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NameOrChoiceOrBehaviorCallImpl.java deleted file mode 100644 index 0b7dc056e77..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NameOrChoiceOrBehaviorCallImpl.java +++ /dev/null @@ -1,376 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValues;
-import org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Name Or Choice Or Behavior Call</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.NameOrChoiceOrBehaviorCallImpl#getArguments <em>Arguments</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NameOrChoiceOrBehaviorCallImpl extends ValueSpecificationImpl implements NameOrChoiceOrBehaviorCall
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected QualifiedName path;
-
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
- protected NamedElement id;
-
- /**
- * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArguments()
- * @generated
- * @ordered
- */
- protected ListOfValues arguments;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NameOrChoiceOrBehaviorCallImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.NAME_OR_CHOICE_OR_BEHAVIOR_CALL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPath(QualifiedName newPath, NotificationChain msgs)
- {
- QualifiedName oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH, oldPath, newPath);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(QualifiedName newPath)
- {
- if (newPath != path)
- {
- NotificationChain msgs = null;
- if (path != null)
- msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH, null, msgs);
- if (newPath != null)
- msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH, null, msgs);
- msgs = basicSetPath(newPath, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH, newPath, newPath));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NamedElement getId()
- {
- if (id != null && id.eIsProxy())
- {
- InternalEObject oldId = (InternalEObject)id;
- id = (NamedElement)eResolveProxy(oldId);
- if (id != oldId)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID, oldId, id));
- }
- }
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NamedElement basicGetId()
- {
- return id;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setId(NamedElement newId)
- {
- NamedElement oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID, oldId, id));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValues getArguments()
- {
- return arguments;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetArguments(ListOfValues newArguments, NotificationChain msgs)
- {
- ListOfValues oldArguments = arguments;
- arguments = newArguments;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS, oldArguments, newArguments);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArguments(ListOfValues newArguments)
- {
- if (newArguments != arguments)
- {
- NotificationChain msgs = null;
- if (arguments != null)
- msgs = ((InternalEObject)arguments).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS, null, msgs);
- if (newArguments != null)
- msgs = ((InternalEObject)newArguments).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS, null, msgs);
- msgs = basicSetArguments(newArguments, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS, newArguments, newArguments));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH:
- return basicSetPath(null, msgs);
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS:
- return basicSetArguments(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH:
- return getPath();
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID:
- if (resolve) return getId();
- return basicGetId();
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS:
- return getArguments();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH:
- setPath((QualifiedName)newValue);
- return;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID:
- setId((NamedElement)newValue);
- return;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS:
- setArguments((ListOfValues)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH:
- setPath((QualifiedName)null);
- return;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID:
- setId((NamedElement)null);
- return;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS:
- setArguments((ListOfValues)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH:
- return path != null;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID:
- return id != null;
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS:
- return arguments != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //NameOrChoiceOrBehaviorCallImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NullLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NullLiteralRuleImpl.java deleted file mode 100644 index 0a06ef4b0a6..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NullLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.NullLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Null Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class NullLiteralRuleImpl extends LiteralImpl implements NullLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NullLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.NULL_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //NullLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NumberLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NumberLiteralRuleImpl.java deleted file mode 100644 index cf0814e3e89..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/NumberLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.NumberLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Number Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class NumberLiteralRuleImpl extends LiteralImpl implements NumberLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected NumberLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.NUMBER_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //NumberLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/OperationCallExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/OperationCallExpressionImpl.java deleted file mode 100644 index 097543b7347..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/OperationCallExpressionImpl.java +++ /dev/null @@ -1,304 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValues;
-import org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Operation;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Operation Call Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl#getOperation <em>Operation</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.OperationCallExpressionImpl#getArguments <em>Arguments</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OperationCallExpressionImpl extends SuffixExpressionImpl implements OperationCallExpression
-{
- /**
- * The cached value of the '{@link #getOperation() <em>Operation</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOperation()
- * @generated
- * @ordered
- */
- protected Operation operation;
-
- /**
- * The cached value of the '{@link #getArguments() <em>Arguments</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getArguments()
- * @generated
- * @ordered
- */
- protected ListOfValues arguments;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected OperationCallExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.OPERATION_CALL_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Operation getOperation()
- {
- if (operation != null && operation.eIsProxy())
- {
- InternalEObject oldOperation = (InternalEObject)operation;
- operation = (Operation)eResolveProxy(oldOperation);
- if (operation != oldOperation)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION, oldOperation, operation));
- }
- }
- return operation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Operation basicGetOperation()
- {
- return operation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOperation(Operation newOperation)
- {
- Operation oldOperation = operation;
- operation = newOperation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION, oldOperation, operation));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValues getArguments()
- {
- return arguments;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetArguments(ListOfValues newArguments, NotificationChain msgs)
- {
- ListOfValues oldArguments = arguments;
- arguments = newArguments;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS, oldArguments, newArguments);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setArguments(ListOfValues newArguments)
- {
- if (newArguments != arguments)
- {
- NotificationChain msgs = null;
- if (arguments != null)
- msgs = ((InternalEObject)arguments).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS, null, msgs);
- if (newArguments != null)
- msgs = ((InternalEObject)newArguments).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS, null, msgs);
- msgs = basicSetArguments(newArguments, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS, newArguments, newArguments));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS:
- return basicSetArguments(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION:
- if (resolve) return getOperation();
- return basicGetOperation();
- case VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS:
- return getArguments();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION:
- setOperation((Operation)newValue);
- return;
- case VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS:
- setArguments((ListOfValues)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION:
- setOperation((Operation)null);
- return;
- case VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS:
- setArguments((ListOfValues)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.OPERATION_CALL_EXPRESSION__OPERATION:
- return operation != null;
- case VSLPackage.OPERATION_CALL_EXPRESSION__ARGUMENTS:
- return arguments != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //OperationCallExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PrimaryExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PrimaryExpressionImpl.java deleted file mode 100644 index b68a20d680b..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PrimaryExpressionImpl.java +++ /dev/null @@ -1,311 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Primary Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl#getPrefix <em>Prefix</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PrimaryExpressionImpl#getSuffix <em>Suffix</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PrimaryExpressionImpl extends MinimalEObjectImpl.Container implements PrimaryExpression
-{
- /**
- * The cached value of the '{@link #getPrefix() <em>Prefix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrefix()
- * @generated
- * @ordered
- */
- protected ValueSpecification prefix;
-
- /**
- * The cached value of the '{@link #getSuffix() <em>Suffix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSuffix()
- * @generated
- * @ordered
- */
- protected SuffixExpression suffix;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PrimaryExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.PRIMARY_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValueSpecification getPrefix()
- {
- return prefix;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPrefix(ValueSpecification newPrefix, NotificationChain msgs)
- {
- ValueSpecification oldPrefix = prefix;
- prefix = newPrefix;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.PRIMARY_EXPRESSION__PREFIX, oldPrefix, newPrefix);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPrefix(ValueSpecification newPrefix)
- {
- if (newPrefix != prefix)
- {
- NotificationChain msgs = null;
- if (prefix != null)
- msgs = ((InternalEObject)prefix).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.PRIMARY_EXPRESSION__PREFIX, null, msgs);
- if (newPrefix != null)
- msgs = ((InternalEObject)newPrefix).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.PRIMARY_EXPRESSION__PREFIX, null, msgs);
- msgs = basicSetPrefix(newPrefix, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.PRIMARY_EXPRESSION__PREFIX, newPrefix, newPrefix));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SuffixExpression getSuffix()
- {
- return suffix;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSuffix(SuffixExpression newSuffix, NotificationChain msgs)
- {
- SuffixExpression oldSuffix = suffix;
- suffix = newSuffix;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.PRIMARY_EXPRESSION__SUFFIX, oldSuffix, newSuffix);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSuffix(SuffixExpression newSuffix)
- {
- if (newSuffix != suffix)
- {
- NotificationChain msgs = null;
- if (suffix != null)
- msgs = ((InternalEObject)suffix).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.PRIMARY_EXPRESSION__SUFFIX, null, msgs);
- if (newSuffix != null)
- msgs = ((InternalEObject)newSuffix).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.PRIMARY_EXPRESSION__SUFFIX, null, msgs);
- msgs = basicSetSuffix(newSuffix, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.PRIMARY_EXPRESSION__SUFFIX, newSuffix, newSuffix));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.PRIMARY_EXPRESSION__PREFIX:
- return basicSetPrefix(null, msgs);
- case VSLPackage.PRIMARY_EXPRESSION__SUFFIX:
- return basicSetSuffix(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.PRIMARY_EXPRESSION__PREFIX:
- return getPrefix();
- case VSLPackage.PRIMARY_EXPRESSION__SUFFIX:
- return getSuffix();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.PRIMARY_EXPRESSION__PREFIX:
- setPrefix((ValueSpecification)newValue);
- return;
- case VSLPackage.PRIMARY_EXPRESSION__SUFFIX:
- setSuffix((SuffixExpression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.PRIMARY_EXPRESSION__PREFIX:
- setPrefix((ValueSpecification)null);
- return;
- case VSLPackage.PRIMARY_EXPRESSION__SUFFIX:
- setSuffix((SuffixExpression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.PRIMARY_EXPRESSION__PREFIX:
- return prefix != null;
- case VSLPackage.PRIMARY_EXPRESSION__SUFFIX:
- return suffix != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //PrimaryExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PropertyCallExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PropertyCallExpressionImpl.java deleted file mode 100644 index 001979ade7e..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/PropertyCallExpressionImpl.java +++ /dev/null @@ -1,217 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Property Call Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.PropertyCallExpressionImpl#getProperty <em>Property</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PropertyCallExpressionImpl extends SuffixExpressionImpl implements PropertyCallExpression
-{
- /**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getProperty()
- * @generated
- * @ordered
- */
- protected Property property;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PropertyCallExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.PROPERTY_CALL_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Property getProperty()
- {
- if (property != null && property.eIsProxy())
- {
- InternalEObject oldProperty = (InternalEObject)property;
- property = (Property)eResolveProxy(oldProperty);
- if (property != oldProperty)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY, oldProperty, property));
- }
- }
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Property basicGetProperty()
- {
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProperty(Property newProperty)
- {
- Property oldProperty = property;
- property = newProperty;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY, oldProperty, property));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY:
- if (resolve) return getProperty();
- return basicGetProperty();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY:
- setProperty((Property)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY:
- setProperty((Property)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.PROPERTY_CALL_EXPRESSION__PROPERTY:
- return property != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //PropertyCallExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/QualifiedNameImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/QualifiedNameImpl.java deleted file mode 100644 index 4e1c2af3aaf..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/QualifiedNameImpl.java +++ /dev/null @@ -1,304 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Namespace;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Qualified Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl#getPath <em>Path</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.QualifiedNameImpl#getRemaining <em>Remaining</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class QualifiedNameImpl extends MinimalEObjectImpl.Container implements QualifiedName
-{
- /**
- * The cached value of the '{@link #getPath() <em>Path</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPath()
- * @generated
- * @ordered
- */
- protected Namespace path;
-
- /**
- * The cached value of the '{@link #getRemaining() <em>Remaining</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRemaining()
- * @generated
- * @ordered
- */
- protected QualifiedName remaining;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected QualifiedNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.QUALIFIED_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Namespace getPath()
- {
- if (path != null && path.eIsProxy())
- {
- InternalEObject oldPath = (InternalEObject)path;
- path = (Namespace)eResolveProxy(oldPath);
- if (path != oldPath)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.QUALIFIED_NAME__PATH, oldPath, path));
- }
- }
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Namespace basicGetPath()
- {
- return path;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPath(Namespace newPath)
- {
- Namespace oldPath = path;
- path = newPath;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.QUALIFIED_NAME__PATH, oldPath, path));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName getRemaining()
- {
- return remaining;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetRemaining(QualifiedName newRemaining, NotificationChain msgs)
- {
- QualifiedName oldRemaining = remaining;
- remaining = newRemaining;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.QUALIFIED_NAME__REMAINING, oldRemaining, newRemaining);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setRemaining(QualifiedName newRemaining)
- {
- if (newRemaining != remaining)
- {
- NotificationChain msgs = null;
- if (remaining != null)
- msgs = ((InternalEObject)remaining).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.QUALIFIED_NAME__REMAINING, null, msgs);
- if (newRemaining != null)
- msgs = ((InternalEObject)newRemaining).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.QUALIFIED_NAME__REMAINING, null, msgs);
- msgs = basicSetRemaining(newRemaining, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.QUALIFIED_NAME__REMAINING, newRemaining, newRemaining));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.QUALIFIED_NAME__REMAINING:
- return basicSetRemaining(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.QUALIFIED_NAME__PATH:
- if (resolve) return getPath();
- return basicGetPath();
- case VSLPackage.QUALIFIED_NAME__REMAINING:
- return getRemaining();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.QUALIFIED_NAME__PATH:
- setPath((Namespace)newValue);
- return;
- case VSLPackage.QUALIFIED_NAME__REMAINING:
- setRemaining((QualifiedName)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.QUALIFIED_NAME__PATH:
- setPath((Namespace)null);
- return;
- case VSLPackage.QUALIFIED_NAME__REMAINING:
- setRemaining((QualifiedName)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.QUALIFIED_NAME__PATH:
- return path != null;
- case VSLPackage.QUALIFIED_NAME__REMAINING:
- return remaining != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //QualifiedNameImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RealLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RealLiteralRuleImpl.java deleted file mode 100644 index 6a4e7d78e81..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RealLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.RealLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Real Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class RealLiteralRuleImpl extends NumberLiteralRuleImpl implements RealLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RealLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.REAL_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //RealLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RelationalExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RelationalExpressionImpl.java deleted file mode 100644 index 938ac3fb0c6..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/RelationalExpressionImpl.java +++ /dev/null @@ -1,266 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.emf.ecore.util.EDataTypeEList;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Relational Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl#getExp <em>Exp</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.RelationalExpressionImpl#getOp <em>Op</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RelationalExpressionImpl extends MinimalEObjectImpl.Container implements RelationalExpression
-{
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected EList<ConditionalExpression> exp;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected EList<String> op;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RelationalExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.RELATIONAL_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ConditionalExpression> getExp()
- {
- if (exp == null)
- {
- exp = new EObjectContainmentEList<ConditionalExpression>(ConditionalExpression.class, this, VSLPackage.RELATIONAL_EXPRESSION__EXP);
- }
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<String> getOp()
- {
- if (op == null)
- {
- op = new EDataTypeEList<String>(String.class, this, VSLPackage.RELATIONAL_EXPRESSION__OP);
- }
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.RELATIONAL_EXPRESSION__EXP:
- return ((InternalEList<?>)getExp()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.RELATIONAL_EXPRESSION__EXP:
- return getExp();
- case VSLPackage.RELATIONAL_EXPRESSION__OP:
- return getOp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.RELATIONAL_EXPRESSION__EXP:
- getExp().clear();
- getExp().addAll((Collection<? extends ConditionalExpression>)newValue);
- return;
- case VSLPackage.RELATIONAL_EXPRESSION__OP:
- getOp().clear();
- getOp().addAll((Collection<? extends String>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.RELATIONAL_EXPRESSION__EXP:
- getExp().clear();
- return;
- case VSLPackage.RELATIONAL_EXPRESSION__OP:
- getOp().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.RELATIONAL_EXPRESSION__EXP:
- return exp != null && !exp.isEmpty();
- case VSLPackage.RELATIONAL_EXPRESSION__OP:
- return op != null && !op.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //RelationalExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/StringLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/StringLiteralRuleImpl.java deleted file mode 100644 index e4ea62cd217..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/StringLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.StringLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>String Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class StringLiteralRuleImpl extends LiteralImpl implements StringLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected StringLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.STRING_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //StringLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/SuffixExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/SuffixExpressionImpl.java deleted file mode 100644 index a3ed53d43b7..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/SuffixExpressionImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Suffix Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.SuffixExpressionImpl#getSuffix <em>Suffix</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SuffixExpressionImpl extends MinimalEObjectImpl.Container implements SuffixExpression
-{
- /**
- * The cached value of the '{@link #getSuffix() <em>Suffix</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSuffix()
- * @generated
- * @ordered
- */
- protected SuffixExpression suffix;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SuffixExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.SUFFIX_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SuffixExpression getSuffix()
- {
- return suffix;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetSuffix(SuffixExpression newSuffix, NotificationChain msgs)
- {
- SuffixExpression oldSuffix = suffix;
- suffix = newSuffix;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.SUFFIX_EXPRESSION__SUFFIX, oldSuffix, newSuffix);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSuffix(SuffixExpression newSuffix)
- {
- if (newSuffix != suffix)
- {
- NotificationChain msgs = null;
- if (suffix != null)
- msgs = ((InternalEObject)suffix).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.SUFFIX_EXPRESSION__SUFFIX, null, msgs);
- if (newSuffix != null)
- msgs = ((InternalEObject)newSuffix).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.SUFFIX_EXPRESSION__SUFFIX, null, msgs);
- msgs = basicSetSuffix(newSuffix, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.SUFFIX_EXPRESSION__SUFFIX, newSuffix, newSuffix));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.SUFFIX_EXPRESSION__SUFFIX:
- return basicSetSuffix(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.SUFFIX_EXPRESSION__SUFFIX:
- return getSuffix();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.SUFFIX_EXPRESSION__SUFFIX:
- setSuffix((SuffixExpression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.SUFFIX_EXPRESSION__SUFFIX:
- setSuffix((SuffixExpression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.SUFFIX_EXPRESSION__SUFFIX:
- return suffix != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //SuffixExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TimeExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TimeExpressionImpl.java deleted file mode 100644 index 4f9eeb3425c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TimeExpressionImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.TimeExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Time Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class TimeExpressionImpl extends ValueSpecificationImpl implements TimeExpression
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TimeExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.TIME_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //TimeExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TupleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TupleImpl.java deleted file mode 100644 index 6099fa4674c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/TupleImpl.java +++ /dev/null @@ -1,238 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs;
-import org.eclipse.papyrus.marte.vsl.vSL.Tuple;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Tuple</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.TupleImpl#getListOfValueNamePairs <em>List Of Value Name Pairs</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TupleImpl extends ValueSpecificationImpl implements Tuple
-{
- /**
- * The cached value of the '{@link #getListOfValueNamePairs() <em>List Of Value Name Pairs</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getListOfValueNamePairs()
- * @generated
- * @ordered
- */
- protected ListOfValueNamePairs listOfValueNamePairs;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected TupleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.TUPLE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValueNamePairs getListOfValueNamePairs()
- {
- return listOfValueNamePairs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetListOfValueNamePairs(ListOfValueNamePairs newListOfValueNamePairs, NotificationChain msgs)
- {
- ListOfValueNamePairs oldListOfValueNamePairs = listOfValueNamePairs;
- listOfValueNamePairs = newListOfValueNamePairs;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS, oldListOfValueNamePairs, newListOfValueNamePairs);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setListOfValueNamePairs(ListOfValueNamePairs newListOfValueNamePairs)
- {
- if (newListOfValueNamePairs != listOfValueNamePairs)
- {
- NotificationChain msgs = null;
- if (listOfValueNamePairs != null)
- msgs = ((InternalEObject)listOfValueNamePairs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS, null, msgs);
- if (newListOfValueNamePairs != null)
- msgs = ((InternalEObject)newListOfValueNamePairs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS, null, msgs);
- msgs = basicSetListOfValueNamePairs(newListOfValueNamePairs, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS, newListOfValueNamePairs, newListOfValueNamePairs));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS:
- return basicSetListOfValueNamePairs(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS:
- return getListOfValueNamePairs();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS:
- setListOfValueNamePairs((ListOfValueNamePairs)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS:
- setListOfValueNamePairs((ListOfValueNamePairs)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.TUPLE__LIST_OF_VALUE_NAME_PAIRS:
- return listOfValueNamePairs != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //TupleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnaryExpressionImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnaryExpressionImpl.java deleted file mode 100644 index 3640a14ffac..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnaryExpressionImpl.java +++ /dev/null @@ -1,381 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Unary Expression</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl#getOp <em>Op</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl#getUnary <em>Unary</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.UnaryExpressionImpl#getExp <em>Exp</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UnaryExpressionImpl extends MinimalEObjectImpl.Container implements UnaryExpression
-{
- /**
- * The default value of the '{@link #getOp() <em>Op</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected static final String OP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getOp() <em>Op</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOp()
- * @generated
- * @ordered
- */
- protected String op = OP_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getUnary() <em>Unary</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUnary()
- * @generated
- * @ordered
- */
- protected UnaryExpression unary;
-
- /**
- * The cached value of the '{@link #getExp() <em>Exp</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getExp()
- * @generated
- * @ordered
- */
- protected PrimaryExpression exp;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UnaryExpressionImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.UNARY_EXPRESSION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getOp()
- {
- return op;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOp(String newOp)
- {
- String oldOp = op;
- op = newOp;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.UNARY_EXPRESSION__OP, oldOp, op));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UnaryExpression getUnary()
- {
- return unary;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetUnary(UnaryExpression newUnary, NotificationChain msgs)
- {
- UnaryExpression oldUnary = unary;
- unary = newUnary;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.UNARY_EXPRESSION__UNARY, oldUnary, newUnary);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUnary(UnaryExpression newUnary)
- {
- if (newUnary != unary)
- {
- NotificationChain msgs = null;
- if (unary != null)
- msgs = ((InternalEObject)unary).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.UNARY_EXPRESSION__UNARY, null, msgs);
- if (newUnary != null)
- msgs = ((InternalEObject)newUnary).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.UNARY_EXPRESSION__UNARY, null, msgs);
- msgs = basicSetUnary(newUnary, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.UNARY_EXPRESSION__UNARY, newUnary, newUnary));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PrimaryExpression getExp()
- {
- return exp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetExp(PrimaryExpression newExp, NotificationChain msgs)
- {
- PrimaryExpression oldExp = exp;
- exp = newExp;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.UNARY_EXPRESSION__EXP, oldExp, newExp);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setExp(PrimaryExpression newExp)
- {
- if (newExp != exp)
- {
- NotificationChain msgs = null;
- if (exp != null)
- msgs = ((InternalEObject)exp).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.UNARY_EXPRESSION__EXP, null, msgs);
- if (newExp != null)
- msgs = ((InternalEObject)newExp).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.UNARY_EXPRESSION__EXP, null, msgs);
- msgs = basicSetExp(newExp, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.UNARY_EXPRESSION__EXP, newExp, newExp));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.UNARY_EXPRESSION__UNARY:
- return basicSetUnary(null, msgs);
- case VSLPackage.UNARY_EXPRESSION__EXP:
- return basicSetExp(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.UNARY_EXPRESSION__OP:
- return getOp();
- case VSLPackage.UNARY_EXPRESSION__UNARY:
- return getUnary();
- case VSLPackage.UNARY_EXPRESSION__EXP:
- return getExp();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.UNARY_EXPRESSION__OP:
- setOp((String)newValue);
- return;
- case VSLPackage.UNARY_EXPRESSION__UNARY:
- setUnary((UnaryExpression)newValue);
- return;
- case VSLPackage.UNARY_EXPRESSION__EXP:
- setExp((PrimaryExpression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.UNARY_EXPRESSION__OP:
- setOp(OP_EDEFAULT);
- return;
- case VSLPackage.UNARY_EXPRESSION__UNARY:
- setUnary((UnaryExpression)null);
- return;
- case VSLPackage.UNARY_EXPRESSION__EXP:
- setExp((PrimaryExpression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.UNARY_EXPRESSION__OP:
- return OP_EDEFAULT == null ? op != null : !OP_EDEFAULT.equals(op);
- case VSLPackage.UNARY_EXPRESSION__UNARY:
- return unary != null;
- case VSLPackage.UNARY_EXPRESSION__EXP:
- return exp != null;
- }
- 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(" (op: ");
- result.append(op);
- result.append(')');
- return result.toString();
- }
-
-} //UnaryExpressionImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnlimitedLiteralRuleImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnlimitedLiteralRuleImpl.java deleted file mode 100644 index 19b05349fd0..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/UnlimitedLiteralRuleImpl.java +++ /dev/null @@ -1,87 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.UnlimitedLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Unlimited Literal Rule</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class UnlimitedLiteralRuleImpl extends NumberLiteralRuleImpl implements UnlimitedLiteralRule
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UnlimitedLiteralRuleImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.UNLIMITED_LITERAL_RULE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //UnlimitedLiteralRuleImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLFactoryImpl.java deleted file mode 100644 index 406deec2a60..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLFactoryImpl.java +++ /dev/null @@ -1,573 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.papyrus.marte.vsl.vSL.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class VSLFactoryImpl extends EFactoryImpl implements VSLFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static VSLFactory init()
- {
- try
- {
- VSLFactory theVSLFactory = (VSLFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/marte/vsl/VSL");
- if (theVSLFactory != null)
- {
- return theVSLFactory;
- }
- }
- catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new VSLFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case VSLPackage.EXPRESSION: return createExpression();
- case VSLPackage.AND_OR_XOR_EXPRESSION: return createAndOrXorExpression();
- case VSLPackage.EQUALITY_EXPRESSION: return createEqualityExpression();
- case VSLPackage.RELATIONAL_EXPRESSION: return createRelationalExpression();
- case VSLPackage.CONDITIONAL_EXPRESSION: return createConditionalExpression();
- case VSLPackage.ADDITIVE_EXPRESSION: return createAdditiveExpression();
- case VSLPackage.MULTIPLICATIVE_EXPRESSION: return createMultiplicativeExpression();
- case VSLPackage.UNARY_EXPRESSION: return createUnaryExpression();
- case VSLPackage.PRIMARY_EXPRESSION: return createPrimaryExpression();
- case VSLPackage.VALUE_SPECIFICATION: return createValueSpecification();
- case VSLPackage.SUFFIX_EXPRESSION: return createSuffixExpression();
- case VSLPackage.PROPERTY_CALL_EXPRESSION: return createPropertyCallExpression();
- case VSLPackage.OPERATION_CALL_EXPRESSION: return createOperationCallExpression();
- case VSLPackage.LITERAL: return createLiteral();
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL: return createNameOrChoiceOrBehaviorCall();
- case VSLPackage.QUALIFIED_NAME: return createQualifiedName();
- case VSLPackage.INTERVAL: return createInterval();
- case VSLPackage.COLLECTION_OR_TUPLE: return createCollectionOrTuple();
- case VSLPackage.TUPLE: return createTuple();
- case VSLPackage.LIST_OF_VALUES: return createListOfValues();
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS: return createListOfValueNamePairs();
- case VSLPackage.VALUE_NAME_PAIR: return createValueNamePair();
- case VSLPackage.TIME_EXPRESSION: return createTimeExpression();
- case VSLPackage.INSTANT_OBS_EXPRESSION: return createInstantObsExpression();
- case VSLPackage.INSTANT_OBS_NAME: return createInstantObsName();
- case VSLPackage.DURATION_OBS_EXPRESSION: return createDurationObsExpression();
- case VSLPackage.DURATION_OBS_NAME: return createDurationObsName();
- case VSLPackage.JITTER_EXP: return createJitterExp();
- case VSLPackage.VARIABLE_DECLARATION: return createVariableDeclaration();
- case VSLPackage.DATA_TYPE_NAME: return createDataTypeName();
- case VSLPackage.NUMBER_LITERAL_RULE: return createNumberLiteralRule();
- case VSLPackage.INTEGER_LITERAL_RULE: return createIntegerLiteralRule();
- case VSLPackage.UNLIMITED_LITERAL_RULE: return createUnlimitedLiteralRule();
- case VSLPackage.REAL_LITERAL_RULE: return createRealLiteralRule();
- case VSLPackage.DATE_TIME_LITERAL_RULE: return createDateTimeLiteralRule();
- case VSLPackage.BOOLEAN_LITERAL_RULE: return createBooleanLiteralRule();
- case VSLPackage.NULL_LITERAL_RULE: return createNullLiteralRule();
- case VSLPackage.DEFAULT_LITERAL_RULE: return createDefaultLiteralRule();
- case VSLPackage.STRING_LITERAL_RULE: return createStringLiteralRule();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression createExpression()
- {
- ExpressionImpl expression = new ExpressionImpl();
- return expression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AndOrXorExpression createAndOrXorExpression()
- {
- AndOrXorExpressionImpl andOrXorExpression = new AndOrXorExpressionImpl();
- return andOrXorExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EqualityExpression createEqualityExpression()
- {
- EqualityExpressionImpl equalityExpression = new EqualityExpressionImpl();
- return equalityExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RelationalExpression createRelationalExpression()
- {
- RelationalExpressionImpl relationalExpression = new RelationalExpressionImpl();
- return relationalExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConditionalExpression createConditionalExpression()
- {
- ConditionalExpressionImpl conditionalExpression = new ConditionalExpressionImpl();
- return conditionalExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AdditiveExpression createAdditiveExpression()
- {
- AdditiveExpressionImpl additiveExpression = new AdditiveExpressionImpl();
- return additiveExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public MultiplicativeExpression createMultiplicativeExpression()
- {
- MultiplicativeExpressionImpl multiplicativeExpression = new MultiplicativeExpressionImpl();
- return multiplicativeExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UnaryExpression createUnaryExpression()
- {
- UnaryExpressionImpl unaryExpression = new UnaryExpressionImpl();
- return unaryExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PrimaryExpression createPrimaryExpression()
- {
- PrimaryExpressionImpl primaryExpression = new PrimaryExpressionImpl();
- return primaryExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValueSpecification createValueSpecification()
- {
- ValueSpecificationImpl valueSpecification = new ValueSpecificationImpl();
- return valueSpecification;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SuffixExpression createSuffixExpression()
- {
- SuffixExpressionImpl suffixExpression = new SuffixExpressionImpl();
- return suffixExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PropertyCallExpression createPropertyCallExpression()
- {
- PropertyCallExpressionImpl propertyCallExpression = new PropertyCallExpressionImpl();
- return propertyCallExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public OperationCallExpression createOperationCallExpression()
- {
- OperationCallExpressionImpl operationCallExpression = new OperationCallExpressionImpl();
- return operationCallExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Literal createLiteral()
- {
- LiteralImpl literal = new LiteralImpl();
- return literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NameOrChoiceOrBehaviorCall createNameOrChoiceOrBehaviorCall()
- {
- NameOrChoiceOrBehaviorCallImpl nameOrChoiceOrBehaviorCall = new NameOrChoiceOrBehaviorCallImpl();
- return nameOrChoiceOrBehaviorCall;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public QualifiedName createQualifiedName()
- {
- QualifiedNameImpl qualifiedName = new QualifiedNameImpl();
- return qualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Interval createInterval()
- {
- IntervalImpl interval = new IntervalImpl();
- return interval;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CollectionOrTuple createCollectionOrTuple()
- {
- CollectionOrTupleImpl collectionOrTuple = new CollectionOrTupleImpl();
- return collectionOrTuple;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Tuple createTuple()
- {
- TupleImpl tuple = new TupleImpl();
- return tuple;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValues createListOfValues()
- {
- ListOfValuesImpl listOfValues = new ListOfValuesImpl();
- return listOfValues;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ListOfValueNamePairs createListOfValueNamePairs()
- {
- ListOfValueNamePairsImpl listOfValueNamePairs = new ListOfValueNamePairsImpl();
- return listOfValueNamePairs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValueNamePair createValueNamePair()
- {
- ValueNamePairImpl valueNamePair = new ValueNamePairImpl();
- return valueNamePair;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TimeExpression createTimeExpression()
- {
- TimeExpressionImpl timeExpression = new TimeExpressionImpl();
- return timeExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InstantObsExpression createInstantObsExpression()
- {
- InstantObsExpressionImpl instantObsExpression = new InstantObsExpressionImpl();
- return instantObsExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InstantObsName createInstantObsName()
- {
- InstantObsNameImpl instantObsName = new InstantObsNameImpl();
- return instantObsName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DurationObsExpression createDurationObsExpression()
- {
- DurationObsExpressionImpl durationObsExpression = new DurationObsExpressionImpl();
- return durationObsExpression;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DurationObsName createDurationObsName()
- {
- DurationObsNameImpl durationObsName = new DurationObsNameImpl();
- return durationObsName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JitterExp createJitterExp()
- {
- JitterExpImpl jitterExp = new JitterExpImpl();
- return jitterExp;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VariableDeclaration createVariableDeclaration()
- {
- VariableDeclarationImpl variableDeclaration = new VariableDeclarationImpl();
- return variableDeclaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataTypeName createDataTypeName()
- {
- DataTypeNameImpl dataTypeName = new DataTypeNameImpl();
- return dataTypeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NumberLiteralRule createNumberLiteralRule()
- {
- NumberLiteralRuleImpl numberLiteralRule = new NumberLiteralRuleImpl();
- return numberLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public IntegerLiteralRule createIntegerLiteralRule()
- {
- IntegerLiteralRuleImpl integerLiteralRule = new IntegerLiteralRuleImpl();
- return integerLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UnlimitedLiteralRule createUnlimitedLiteralRule()
- {
- UnlimitedLiteralRuleImpl unlimitedLiteralRule = new UnlimitedLiteralRuleImpl();
- return unlimitedLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public RealLiteralRule createRealLiteralRule()
- {
- RealLiteralRuleImpl realLiteralRule = new RealLiteralRuleImpl();
- return realLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DateTimeLiteralRule createDateTimeLiteralRule()
- {
- DateTimeLiteralRuleImpl dateTimeLiteralRule = new DateTimeLiteralRuleImpl();
- return dateTimeLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooleanLiteralRule createBooleanLiteralRule()
- {
- BooleanLiteralRuleImpl booleanLiteralRule = new BooleanLiteralRuleImpl();
- return booleanLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NullLiteralRule createNullLiteralRule()
- {
- NullLiteralRuleImpl nullLiteralRule = new NullLiteralRuleImpl();
- return nullLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DefaultLiteralRule createDefaultLiteralRule()
- {
- DefaultLiteralRuleImpl defaultLiteralRule = new DefaultLiteralRuleImpl();
- return defaultLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public StringLiteralRule createStringLiteralRule()
- {
- StringLiteralRuleImpl stringLiteralRule = new StringLiteralRuleImpl();
- return stringLiteralRule;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLPackage getVSLPackage()
- {
- return (VSLPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static VSLPackage getPackage()
- {
- return VSLPackage.eINSTANCE;
- }
-
-} //VSLFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLPackageImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLPackageImpl.java deleted file mode 100644 index 98d6d72e16c..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VSLPackageImpl.java +++ /dev/null @@ -1,1997 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EOperation;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.BooleanLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple;
-import org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.DataTypeName;
-import org.eclipse.papyrus.marte.vsl.vSL.DateTimeLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.DefaultLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.DurationObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.InstantObsName;
-import org.eclipse.papyrus.marte.vsl.vSL.IntegerLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.Interval;
-import org.eclipse.papyrus.marte.vsl.vSL.JitterExp;
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs;
-import org.eclipse.papyrus.marte.vsl.vSL.ListOfValues;
-import org.eclipse.papyrus.marte.vsl.vSL.Literal;
-import org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall;
-import org.eclipse.papyrus.marte.vsl.vSL.NullLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.NumberLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.QualifiedName;
-import org.eclipse.papyrus.marte.vsl.vSL.RealLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.StringLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.TimeExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.Tuple;
-import org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression;
-import org.eclipse.papyrus.marte.vsl.vSL.UnlimitedLiteralRule;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLFactory;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification;
-import org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration;
-
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class VSLPackageImpl extends EPackageImpl implements VSLPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass expressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass andOrXorExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass equalityExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass relationalExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass conditionalExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass additiveExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass multiplicativeExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unaryExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass primaryExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass valueSpecificationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass suffixExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass propertyCallExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass operationCallExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass literalEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nameOrChoiceOrBehaviorCallEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass qualifiedNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass intervalEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass collectionOrTupleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass tupleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass listOfValuesEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass listOfValueNamePairsEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass valueNamePairEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass timeExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass instantObsExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass instantObsNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass durationObsExpressionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass durationObsNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass jitterExpEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass variableDeclarationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass dataTypeNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass numberLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass integerLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass unlimitedLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass realLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass dateTimeLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass booleanLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass nullLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass defaultLiteralRuleEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass stringLiteralRuleEClass = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private VSLPackageImpl()
- {
- super(eNS_URI, VSLFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link VSLPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static VSLPackage init()
- {
- if (isInited) return (VSLPackage)EPackage.Registry.INSTANCE.getEPackage(VSLPackage.eNS_URI);
-
- // Obtain or create and register package
- VSLPackageImpl theVSLPackage = (VSLPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof VSLPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new VSLPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- UMLPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theVSLPackage.createPackageContents();
-
- // Initialize created meta-data
- theVSLPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theVSLPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(VSLPackage.eNS_URI, theVSLPackage);
- return theVSLPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getExpression()
- {
- return expressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getExpression_Exp()
- {
- return (EReference)expressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAndOrXorExpression()
- {
- return andOrXorExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAndOrXorExpression_Exp()
- {
- return (EReference)andOrXorExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAndOrXorExpression_Op()
- {
- return (EAttribute)andOrXorExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getEqualityExpression()
- {
- return equalityExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getEqualityExpression_Exp()
- {
- return (EReference)equalityExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getEqualityExpression_Op()
- {
- return (EAttribute)equalityExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRelationalExpression()
- {
- return relationalExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRelationalExpression_Exp()
- {
- return (EReference)relationalExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getRelationalExpression_Op()
- {
- return (EAttribute)relationalExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getConditionalExpression()
- {
- return conditionalExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getConditionalExpression_Exp()
- {
- return (EReference)conditionalExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConditionalExpression_Op()
- {
- return (EAttribute)conditionalExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAdditiveExpression()
- {
- return additiveExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getAdditiveExpression_Exp()
- {
- return (EReference)additiveExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdditiveExpression_Op()
- {
- return (EAttribute)additiveExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getMultiplicativeExpression()
- {
- return multiplicativeExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getMultiplicativeExpression_Exp()
- {
- return (EReference)multiplicativeExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getMultiplicativeExpression_Op()
- {
- return (EAttribute)multiplicativeExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUnaryExpression()
- {
- return unaryExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUnaryExpression_Op()
- {
- return (EAttribute)unaryExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnaryExpression_Unary()
- {
- return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUnaryExpression_Exp()
- {
- return (EReference)unaryExpressionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPrimaryExpression()
- {
- return primaryExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrimaryExpression_Prefix()
- {
- return (EReference)primaryExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPrimaryExpression_Suffix()
- {
- return (EReference)primaryExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getValueSpecification()
- {
- return valueSpecificationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSuffixExpression()
- {
- return suffixExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSuffixExpression_Suffix()
- {
- return (EReference)suffixExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPropertyCallExpression()
- {
- return propertyCallExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPropertyCallExpression_Property()
- {
- return (EReference)propertyCallExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getOperationCallExpression()
- {
- return operationCallExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationCallExpression_Operation()
- {
- return (EReference)operationCallExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getOperationCallExpression_Arguments()
- {
- return (EReference)operationCallExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLiteral()
- {
- return literalEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLiteral_Value()
- {
- return (EAttribute)literalEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNameOrChoiceOrBehaviorCall()
- {
- return nameOrChoiceOrBehaviorCallEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNameOrChoiceOrBehaviorCall_Path()
- {
- return (EReference)nameOrChoiceOrBehaviorCallEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNameOrChoiceOrBehaviorCall_Id()
- {
- return (EReference)nameOrChoiceOrBehaviorCallEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getNameOrChoiceOrBehaviorCall_Arguments()
- {
- return (EReference)nameOrChoiceOrBehaviorCallEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getQualifiedName()
- {
- return qualifiedNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getQualifiedName_Path()
- {
- return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getQualifiedName_Remaining()
- {
- return (EReference)qualifiedNameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInterval()
- {
- return intervalEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInterval_IsLowerIncluded()
- {
- return (EAttribute)intervalEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInterval_Lower()
- {
- return (EReference)intervalEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInterval_Upper()
- {
- return (EReference)intervalEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInterval_IsUpperIncluded()
- {
- return (EAttribute)intervalEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCollectionOrTuple()
- {
- return collectionOrTupleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCollectionOrTuple_ListOfValues()
- {
- return (EReference)collectionOrTupleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTuple()
- {
- return tupleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getTuple_ListOfValueNamePairs()
- {
- return (EReference)tupleEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getListOfValues()
- {
- return listOfValuesEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getListOfValues_Values()
- {
- return (EReference)listOfValuesEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getListOfValueNamePairs()
- {
- return listOfValueNamePairsEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getListOfValueNamePairs_ValueNamePairs()
- {
- return (EReference)listOfValueNamePairsEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getValueNamePair()
- {
- return valueNamePairEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getValueNamePair_Property()
- {
- return (EReference)valueNamePairEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getValueNamePair_Value()
- {
- return (EReference)valueNamePairEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getTimeExpression()
- {
- return timeExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInstantObsExpression()
- {
- return instantObsExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInstantObsExpression_Id()
- {
- return (EReference)instantObsExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInstantObsExpression_Index()
- {
- return (EReference)instantObsExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInstantObsExpression_Condition()
- {
- return (EReference)instantObsExpressionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInstantObsName()
- {
- return instantObsNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInstantObsName_Path()
- {
- return (EReference)instantObsNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getInstantObsName_InstantId()
- {
- return (EReference)instantObsNameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDurationObsExpression()
- {
- return durationObsExpressionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDurationObsExpression_Id()
- {
- return (EReference)durationObsExpressionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDurationObsExpression_Index()
- {
- return (EReference)durationObsExpressionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDurationObsExpression_Condition()
- {
- return (EReference)durationObsExpressionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDurationObsName()
- {
- return durationObsNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDurationObsName_Path()
- {
- return (EReference)durationObsNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDurationObsName_DurationId()
- {
- return (EReference)durationObsNameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getJitterExp()
- {
- return jitterExpEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getJitterExp_FirstInstant()
- {
- return (EReference)jitterExpEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getJitterExp_SecondInstant()
- {
- return (EReference)jitterExpEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getVariableDeclaration()
- {
- return variableDeclarationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getVariableDeclaration_VariableDeclaration()
- {
- return (EAttribute)variableDeclarationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getVariableDeclaration_Name()
- {
- return (EAttribute)variableDeclarationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getVariableDeclaration_Type()
- {
- return (EReference)variableDeclarationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getVariableDeclaration_InitValue()
- {
- return (EReference)variableDeclarationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDataTypeName()
- {
- return dataTypeNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDataTypeName_Path()
- {
- return (EReference)dataTypeNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDataTypeName_Type()
- {
- return (EReference)dataTypeNameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNumberLiteralRule()
- {
- return numberLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getIntegerLiteralRule()
- {
- return integerLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUnlimitedLiteralRule()
- {
- return unlimitedLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRealLiteralRule()
- {
- return realLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDateTimeLiteralRule()
- {
- return dateTimeLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBooleanLiteralRule()
- {
- return booleanLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getNullLiteralRule()
- {
- return nullLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDefaultLiteralRule()
- {
- return defaultLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getStringLiteralRule()
- {
- return stringLiteralRuleEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLFactory getVSLFactory()
- {
- return (VSLFactory)getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void createPackageContents()
- {
- if (isCreated) return;
- isCreated = true;
-
- // Create classes and their features
- expressionEClass = createEClass(EXPRESSION);
- createEReference(expressionEClass, EXPRESSION__EXP);
-
- andOrXorExpressionEClass = createEClass(AND_OR_XOR_EXPRESSION);
- createEReference(andOrXorExpressionEClass, AND_OR_XOR_EXPRESSION__EXP);
- createEAttribute(andOrXorExpressionEClass, AND_OR_XOR_EXPRESSION__OP);
-
- equalityExpressionEClass = createEClass(EQUALITY_EXPRESSION);
- createEReference(equalityExpressionEClass, EQUALITY_EXPRESSION__EXP);
- createEAttribute(equalityExpressionEClass, EQUALITY_EXPRESSION__OP);
-
- relationalExpressionEClass = createEClass(RELATIONAL_EXPRESSION);
- createEReference(relationalExpressionEClass, RELATIONAL_EXPRESSION__EXP);
- createEAttribute(relationalExpressionEClass, RELATIONAL_EXPRESSION__OP);
-
- conditionalExpressionEClass = createEClass(CONDITIONAL_EXPRESSION);
- createEReference(conditionalExpressionEClass, CONDITIONAL_EXPRESSION__EXP);
- createEAttribute(conditionalExpressionEClass, CONDITIONAL_EXPRESSION__OP);
-
- additiveExpressionEClass = createEClass(ADDITIVE_EXPRESSION);
- createEReference(additiveExpressionEClass, ADDITIVE_EXPRESSION__EXP);
- createEAttribute(additiveExpressionEClass, ADDITIVE_EXPRESSION__OP);
-
- multiplicativeExpressionEClass = createEClass(MULTIPLICATIVE_EXPRESSION);
- createEReference(multiplicativeExpressionEClass, MULTIPLICATIVE_EXPRESSION__EXP);
- createEAttribute(multiplicativeExpressionEClass, MULTIPLICATIVE_EXPRESSION__OP);
-
- unaryExpressionEClass = createEClass(UNARY_EXPRESSION);
- createEAttribute(unaryExpressionEClass, UNARY_EXPRESSION__OP);
- createEReference(unaryExpressionEClass, UNARY_EXPRESSION__UNARY);
- createEReference(unaryExpressionEClass, UNARY_EXPRESSION__EXP);
-
- primaryExpressionEClass = createEClass(PRIMARY_EXPRESSION);
- createEReference(primaryExpressionEClass, PRIMARY_EXPRESSION__PREFIX);
- createEReference(primaryExpressionEClass, PRIMARY_EXPRESSION__SUFFIX);
-
- valueSpecificationEClass = createEClass(VALUE_SPECIFICATION);
-
- suffixExpressionEClass = createEClass(SUFFIX_EXPRESSION);
- createEReference(suffixExpressionEClass, SUFFIX_EXPRESSION__SUFFIX);
-
- propertyCallExpressionEClass = createEClass(PROPERTY_CALL_EXPRESSION);
- createEReference(propertyCallExpressionEClass, PROPERTY_CALL_EXPRESSION__PROPERTY);
-
- operationCallExpressionEClass = createEClass(OPERATION_CALL_EXPRESSION);
- createEReference(operationCallExpressionEClass, OPERATION_CALL_EXPRESSION__OPERATION);
- createEReference(operationCallExpressionEClass, OPERATION_CALL_EXPRESSION__ARGUMENTS);
-
- literalEClass = createEClass(LITERAL);
- createEAttribute(literalEClass, LITERAL__VALUE);
-
- nameOrChoiceOrBehaviorCallEClass = createEClass(NAME_OR_CHOICE_OR_BEHAVIOR_CALL);
- createEReference(nameOrChoiceOrBehaviorCallEClass, NAME_OR_CHOICE_OR_BEHAVIOR_CALL__PATH);
- createEReference(nameOrChoiceOrBehaviorCallEClass, NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ID);
- createEReference(nameOrChoiceOrBehaviorCallEClass, NAME_OR_CHOICE_OR_BEHAVIOR_CALL__ARGUMENTS);
-
- qualifiedNameEClass = createEClass(QUALIFIED_NAME);
- createEReference(qualifiedNameEClass, QUALIFIED_NAME__PATH);
- createEReference(qualifiedNameEClass, QUALIFIED_NAME__REMAINING);
-
- intervalEClass = createEClass(INTERVAL);
- createEAttribute(intervalEClass, INTERVAL__IS_LOWER_INCLUDED);
- createEReference(intervalEClass, INTERVAL__LOWER);
- createEReference(intervalEClass, INTERVAL__UPPER);
- createEAttribute(intervalEClass, INTERVAL__IS_UPPER_INCLUDED);
-
- collectionOrTupleEClass = createEClass(COLLECTION_OR_TUPLE);
- createEReference(collectionOrTupleEClass, COLLECTION_OR_TUPLE__LIST_OF_VALUES);
-
- tupleEClass = createEClass(TUPLE);
- createEReference(tupleEClass, TUPLE__LIST_OF_VALUE_NAME_PAIRS);
-
- listOfValuesEClass = createEClass(LIST_OF_VALUES);
- createEReference(listOfValuesEClass, LIST_OF_VALUES__VALUES);
-
- listOfValueNamePairsEClass = createEClass(LIST_OF_VALUE_NAME_PAIRS);
- createEReference(listOfValueNamePairsEClass, LIST_OF_VALUE_NAME_PAIRS__VALUE_NAME_PAIRS);
-
- valueNamePairEClass = createEClass(VALUE_NAME_PAIR);
- createEReference(valueNamePairEClass, VALUE_NAME_PAIR__PROPERTY);
- createEReference(valueNamePairEClass, VALUE_NAME_PAIR__VALUE);
-
- timeExpressionEClass = createEClass(TIME_EXPRESSION);
-
- instantObsExpressionEClass = createEClass(INSTANT_OBS_EXPRESSION);
- createEReference(instantObsExpressionEClass, INSTANT_OBS_EXPRESSION__ID);
- createEReference(instantObsExpressionEClass, INSTANT_OBS_EXPRESSION__INDEX);
- createEReference(instantObsExpressionEClass, INSTANT_OBS_EXPRESSION__CONDITION);
-
- instantObsNameEClass = createEClass(INSTANT_OBS_NAME);
- createEReference(instantObsNameEClass, INSTANT_OBS_NAME__PATH);
- createEReference(instantObsNameEClass, INSTANT_OBS_NAME__INSTANT_ID);
-
- durationObsExpressionEClass = createEClass(DURATION_OBS_EXPRESSION);
- createEReference(durationObsExpressionEClass, DURATION_OBS_EXPRESSION__ID);
- createEReference(durationObsExpressionEClass, DURATION_OBS_EXPRESSION__INDEX);
- createEReference(durationObsExpressionEClass, DURATION_OBS_EXPRESSION__CONDITION);
-
- durationObsNameEClass = createEClass(DURATION_OBS_NAME);
- createEReference(durationObsNameEClass, DURATION_OBS_NAME__PATH);
- createEReference(durationObsNameEClass, DURATION_OBS_NAME__DURATION_ID);
-
- jitterExpEClass = createEClass(JITTER_EXP);
- createEReference(jitterExpEClass, JITTER_EXP__FIRST_INSTANT);
- createEReference(jitterExpEClass, JITTER_EXP__SECOND_INSTANT);
-
- variableDeclarationEClass = createEClass(VARIABLE_DECLARATION);
- createEAttribute(variableDeclarationEClass, VARIABLE_DECLARATION__VARIABLE_DECLARATION);
- createEAttribute(variableDeclarationEClass, VARIABLE_DECLARATION__NAME);
- createEReference(variableDeclarationEClass, VARIABLE_DECLARATION__TYPE);
- createEReference(variableDeclarationEClass, VARIABLE_DECLARATION__INIT_VALUE);
-
- dataTypeNameEClass = createEClass(DATA_TYPE_NAME);
- createEReference(dataTypeNameEClass, DATA_TYPE_NAME__PATH);
- createEReference(dataTypeNameEClass, DATA_TYPE_NAME__TYPE);
-
- numberLiteralRuleEClass = createEClass(NUMBER_LITERAL_RULE);
-
- integerLiteralRuleEClass = createEClass(INTEGER_LITERAL_RULE);
-
- unlimitedLiteralRuleEClass = createEClass(UNLIMITED_LITERAL_RULE);
-
- realLiteralRuleEClass = createEClass(REAL_LITERAL_RULE);
-
- dateTimeLiteralRuleEClass = createEClass(DATE_TIME_LITERAL_RULE);
-
- booleanLiteralRuleEClass = createEClass(BOOLEAN_LITERAL_RULE);
-
- nullLiteralRuleEClass = createEClass(NULL_LITERAL_RULE);
-
- defaultLiteralRuleEClass = createEClass(DEFAULT_LITERAL_RULE);
-
- stringLiteralRuleEClass = createEClass(STRING_LITERAL_RULE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents()
- {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- UMLPackage theUMLPackage = (UMLPackage)EPackage.Registry.INSTANCE.getEPackage(UMLPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- expressionEClass.getESuperTypes().add(this.getValueSpecification());
- propertyCallExpressionEClass.getESuperTypes().add(this.getSuffixExpression());
- operationCallExpressionEClass.getESuperTypes().add(this.getSuffixExpression());
- literalEClass.getESuperTypes().add(this.getValueSpecification());
- nameOrChoiceOrBehaviorCallEClass.getESuperTypes().add(this.getValueSpecification());
- intervalEClass.getESuperTypes().add(this.getValueSpecification());
- collectionOrTupleEClass.getESuperTypes().add(this.getValueSpecification());
- tupleEClass.getESuperTypes().add(this.getValueSpecification());
- timeExpressionEClass.getESuperTypes().add(this.getValueSpecification());
- instantObsExpressionEClass.getESuperTypes().add(this.getTimeExpression());
- durationObsExpressionEClass.getESuperTypes().add(this.getTimeExpression());
- jitterExpEClass.getESuperTypes().add(this.getTimeExpression());
- variableDeclarationEClass.getESuperTypes().add(this.getValueSpecification());
- numberLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
- integerLiteralRuleEClass.getESuperTypes().add(this.getNumberLiteralRule());
- unlimitedLiteralRuleEClass.getESuperTypes().add(this.getNumberLiteralRule());
- realLiteralRuleEClass.getESuperTypes().add(this.getNumberLiteralRule());
- dateTimeLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
- booleanLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
- nullLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
- defaultLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
- stringLiteralRuleEClass.getESuperTypes().add(this.getLiteral());
-
- // Initialize classes and features; add operations and parameters
- initEClass(expressionEClass, Expression.class, "Expression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getExpression_Exp(), this.getAndOrXorExpression(), null, "exp", null, 0, 1, Expression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- EOperation op = addEOperation(expressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(expressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(expressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(andOrXorExpressionEClass, AndOrXorExpression.class, "AndOrXorExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAndOrXorExpression_Exp(), this.getEqualityExpression(), null, "exp", null, 0, -1, AndOrXorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAndOrXorExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, AndOrXorExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(andOrXorExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(andOrXorExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(andOrXorExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(equalityExpressionEClass, EqualityExpression.class, "EqualityExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getEqualityExpression_Exp(), this.getRelationalExpression(), null, "exp", null, 0, -1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getEqualityExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, EqualityExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(equalityExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(equalityExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(equalityExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(relationalExpressionEClass, RelationalExpression.class, "RelationalExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRelationalExpression_Exp(), this.getConditionalExpression(), null, "exp", null, 0, -1, RelationalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getRelationalExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, RelationalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(relationalExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(relationalExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(relationalExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(conditionalExpressionEClass, ConditionalExpression.class, "ConditionalExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getConditionalExpression_Exp(), this.getAdditiveExpression(), null, "exp", null, 0, -1, ConditionalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConditionalExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, ConditionalExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(conditionalExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(conditionalExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(conditionalExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(additiveExpressionEClass, AdditiveExpression.class, "AdditiveExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getAdditiveExpression_Exp(), this.getMultiplicativeExpression(), null, "exp", null, 0, -1, AdditiveExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdditiveExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, AdditiveExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(additiveExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(additiveExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(additiveExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(multiplicativeExpressionEClass, MultiplicativeExpression.class, "MultiplicativeExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicativeExpression_Exp(), this.getUnaryExpression(), null, "exp", null, 0, -1, MultiplicativeExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicativeExpression_Op(), ecorePackage.getEString(), "op", null, 0, -1, MultiplicativeExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(multiplicativeExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(multiplicativeExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(multiplicativeExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(unaryExpressionEClass, UnaryExpression.class, "UnaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUnaryExpression_Op(), ecorePackage.getEString(), "op", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUnaryExpression_Unary(), this.getUnaryExpression(), null, "unary", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUnaryExpression_Exp(), this.getPrimaryExpression(), null, "exp", null, 0, 1, UnaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(unaryExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(unaryExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(unaryExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(primaryExpressionEClass, PrimaryExpression.class, "PrimaryExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPrimaryExpression_Prefix(), this.getValueSpecification(), null, "prefix", null, 0, 1, PrimaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPrimaryExpression_Suffix(), this.getSuffixExpression(), null, "suffix", null, 0, 1, PrimaryExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(primaryExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(primaryExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(primaryExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(valueSpecificationEClass, ValueSpecification.class, "ValueSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(valueSpecificationEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(valueSpecificationEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(valueSpecificationEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(suffixExpressionEClass, SuffixExpression.class, "SuffixExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSuffixExpression_Suffix(), this.getSuffixExpression(), null, "suffix", null, 0, 1, SuffixExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(suffixExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(suffixExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(suffixExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(propertyCallExpressionEClass, PropertyCallExpression.class, "PropertyCallExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getPropertyCallExpression_Property(), theUMLPackage.getProperty(), null, "property", null, 0, 1, PropertyCallExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(propertyCallExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(propertyCallExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(propertyCallExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(operationCallExpressionEClass, OperationCallExpression.class, "OperationCallExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOperationCallExpression_Operation(), theUMLPackage.getOperation(), null, "operation", null, 0, 1, OperationCallExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationCallExpression_Arguments(), this.getListOfValues(), null, "arguments", null, 0, 1, OperationCallExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(operationCallExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(operationCallExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(operationCallExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(literalEClass, Literal.class, "Literal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getLiteral_Value(), ecorePackage.getEString(), "value", null, 0, 1, Literal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(literalEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(literalEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(literalEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(nameOrChoiceOrBehaviorCallEClass, NameOrChoiceOrBehaviorCall.class, "NameOrChoiceOrBehaviorCall", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getNameOrChoiceOrBehaviorCall_Path(), this.getQualifiedName(), null, "path", null, 0, 1, NameOrChoiceOrBehaviorCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNameOrChoiceOrBehaviorCall_Id(), theUMLPackage.getNamedElement(), null, "id", null, 0, 1, NameOrChoiceOrBehaviorCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getNameOrChoiceOrBehaviorCall_Arguments(), this.getListOfValues(), null, "arguments", null, 0, 1, NameOrChoiceOrBehaviorCall.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(nameOrChoiceOrBehaviorCallEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(nameOrChoiceOrBehaviorCallEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(nameOrChoiceOrBehaviorCallEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(qualifiedNameEClass, QualifiedName.class, "QualifiedName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getQualifiedName_Path(), theUMLPackage.getNamespace(), null, "path", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getQualifiedName_Remaining(), this.getQualifiedName(), null, "remaining", null, 0, 1, QualifiedName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(qualifiedNameEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(qualifiedNameEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(qualifiedNameEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(intervalEClass, Interval.class, "Interval", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInterval_IsLowerIncluded(), ecorePackage.getEString(), "isLowerIncluded", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInterval_Lower(), this.getExpression(), null, "lower", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInterval_Upper(), this.getExpression(), null, "upper", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getInterval_IsUpperIncluded(), ecorePackage.getEString(), "isUpperIncluded", null, 0, 1, Interval.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(intervalEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(intervalEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(intervalEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(collectionOrTupleEClass, CollectionOrTuple.class, "CollectionOrTuple", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCollectionOrTuple_ListOfValues(), this.getListOfValues(), null, "listOfValues", null, 0, 1, CollectionOrTuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(collectionOrTupleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(collectionOrTupleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(collectionOrTupleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(tupleEClass, Tuple.class, "Tuple", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTuple_ListOfValueNamePairs(), this.getListOfValueNamePairs(), null, "listOfValueNamePairs", null, 0, 1, Tuple.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(tupleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(tupleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(tupleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(listOfValuesEClass, ListOfValues.class, "ListOfValues", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getListOfValues_Values(), this.getExpression(), null, "values", null, 0, -1, ListOfValues.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(listOfValuesEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(listOfValuesEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(listOfValuesEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(listOfValueNamePairsEClass, ListOfValueNamePairs.class, "ListOfValueNamePairs", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getListOfValueNamePairs_ValueNamePairs(), this.getValueNamePair(), null, "valueNamePairs", null, 0, -1, ListOfValueNamePairs.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(listOfValueNamePairsEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(listOfValueNamePairsEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(listOfValueNamePairsEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(valueNamePairEClass, ValueNamePair.class, "ValueNamePair", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getValueNamePair_Property(), theUMLPackage.getProperty(), null, "property", null, 0, 1, ValueNamePair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getValueNamePair_Value(), this.getExpression(), null, "value", null, 0, 1, ValueNamePair.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(valueNamePairEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(valueNamePairEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(valueNamePairEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(timeExpressionEClass, TimeExpression.class, "TimeExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(timeExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(timeExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(timeExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(instantObsExpressionEClass, InstantObsExpression.class, "InstantObsExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getInstantObsExpression_Id(), this.getInstantObsName(), null, "id", null, 0, 1, InstantObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInstantObsExpression_Index(), this.getExpression(), null, "index", null, 0, 1, InstantObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInstantObsExpression_Condition(), this.getExpression(), null, "condition", null, 0, 1, InstantObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(instantObsExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(instantObsExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(instantObsExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(instantObsNameEClass, InstantObsName.class, "InstantObsName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getInstantObsName_Path(), this.getQualifiedName(), null, "path", null, 0, 1, InstantObsName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getInstantObsName_InstantId(), theUMLPackage.getTimeObservation(), null, "instantId", null, 0, 1, InstantObsName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(instantObsNameEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(instantObsNameEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(instantObsNameEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(durationObsExpressionEClass, DurationObsExpression.class, "DurationObsExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDurationObsExpression_Id(), this.getDurationObsName(), null, "id", null, 0, 1, DurationObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDurationObsExpression_Index(), this.getExpression(), null, "index", null, 0, 1, DurationObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDurationObsExpression_Condition(), this.getExpression(), null, "condition", null, 0, 1, DurationObsExpression.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(durationObsExpressionEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(durationObsExpressionEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(durationObsExpressionEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(durationObsNameEClass, DurationObsName.class, "DurationObsName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDurationObsName_Path(), this.getQualifiedName(), null, "path", null, 0, 1, DurationObsName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDurationObsName_DurationId(), theUMLPackage.getDurationObservation(), null, "durationId", null, 0, 1, DurationObsName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(durationObsNameEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(durationObsNameEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(durationObsNameEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(jitterExpEClass, JitterExp.class, "JitterExp", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getJitterExp_FirstInstant(), this.getInstantObsExpression(), null, "firstInstant", null, 0, 1, JitterExp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getJitterExp_SecondInstant(), this.getInstantObsExpression(), null, "secondInstant", null, 0, 1, JitterExp.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(jitterExpEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(jitterExpEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(jitterExpEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(variableDeclarationEClass, VariableDeclaration.class, "VariableDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getVariableDeclaration_VariableDeclaration(), ecorePackage.getEString(), "variableDeclaration", null, 0, 1, VariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getVariableDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, VariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getVariableDeclaration_Type(), this.getDataTypeName(), null, "type", null, 0, 1, VariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getVariableDeclaration_InitValue(), this.getExpression(), null, "initValue", null, 0, 1, VariableDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(variableDeclarationEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(variableDeclarationEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(variableDeclarationEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(dataTypeNameEClass, DataTypeName.class, "DataTypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDataTypeName_Path(), this.getQualifiedName(), null, "path", null, 0, 1, DataTypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDataTypeName_Type(), theUMLPackage.getDataType(), null, "type", null, 0, 1, DataTypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- op = addEOperation(dataTypeNameEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(dataTypeNameEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(dataTypeNameEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(numberLiteralRuleEClass, NumberLiteralRule.class, "NumberLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(numberLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(numberLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(numberLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(integerLiteralRuleEClass, IntegerLiteralRule.class, "IntegerLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(integerLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(integerLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(integerLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(unlimitedLiteralRuleEClass, UnlimitedLiteralRule.class, "UnlimitedLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(unlimitedLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(unlimitedLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(unlimitedLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(realLiteralRuleEClass, RealLiteralRule.class, "RealLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(realLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(realLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(realLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(dateTimeLiteralRuleEClass, DateTimeLiteralRule.class, "DateTimeLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(dateTimeLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(dateTimeLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(dateTimeLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(booleanLiteralRuleEClass, BooleanLiteralRule.class, "BooleanLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(booleanLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(booleanLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(booleanLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(nullLiteralRuleEClass, NullLiteralRule.class, "NullLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(nullLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(nullLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(nullLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(defaultLiteralRuleEClass, DefaultLiteralRule.class, "DefaultLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(defaultLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(defaultLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(defaultLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- initEClass(stringLiteralRuleEClass, StringLiteralRule.class, "StringLiteralRule", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- op = addEOperation(stringLiteralRuleEClass, ecorePackage.getEObject(), "getFilteredParentRule", 0, 1, IS_UNIQUE, IS_ORDERED);
- addEParameter(op, ecorePackage.getEClass(), "filter", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(stringLiteralRuleEClass, theUMLPackage.getType(), "getExpectedType", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- addEOperation(stringLiteralRuleEClass, theUMLPackage.getElement(), "getContextElement", 0, 1, IS_UNIQUE, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} //VSLPackageImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueNamePairImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueNamePairImpl.java deleted file mode 100644 index ee4efd82875..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueNamePairImpl.java +++ /dev/null @@ -1,305 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Value Name Pair</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl#getProperty <em>Property</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.ValueNamePairImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ValueNamePairImpl extends MinimalEObjectImpl.Container implements ValueNamePair
-{
- /**
- * The cached value of the '{@link #getProperty() <em>Property</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getProperty()
- * @generated
- * @ordered
- */
- protected Property property;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected Expression value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ValueNamePairImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.VALUE_NAME_PAIR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Property getProperty()
- {
- if (property != null && property.eIsProxy())
- {
- InternalEObject oldProperty = (InternalEObject)property;
- property = (Property)eResolveProxy(oldProperty);
- if (property != oldProperty)
- {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, VSLPackage.VALUE_NAME_PAIR__PROPERTY, oldProperty, property));
- }
- }
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Property basicGetProperty()
- {
- return property;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setProperty(Property newProperty)
- {
- Property oldProperty = property;
- property = newProperty;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VALUE_NAME_PAIR__PROPERTY, oldProperty, property));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetValue(Expression newValue, NotificationChain msgs)
- {
- Expression oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.VALUE_NAME_PAIR__VALUE, oldValue, newValue);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(Expression newValue)
- {
- if (newValue != value)
- {
- NotificationChain msgs = null;
- if (value != null)
- msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VALUE_NAME_PAIR__VALUE, null, msgs);
- if (newValue != null)
- msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VALUE_NAME_PAIR__VALUE, null, msgs);
- msgs = basicSetValue(newValue, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VALUE_NAME_PAIR__VALUE, newValue, newValue));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.VALUE_NAME_PAIR__VALUE:
- return basicSetValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.VALUE_NAME_PAIR__PROPERTY:
- if (resolve) return getProperty();
- return basicGetProperty();
- case VSLPackage.VALUE_NAME_PAIR__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.VALUE_NAME_PAIR__PROPERTY:
- setProperty((Property)newValue);
- return;
- case VSLPackage.VALUE_NAME_PAIR__VALUE:
- setValue((Expression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.VALUE_NAME_PAIR__PROPERTY:
- setProperty((Property)null);
- return;
- case VSLPackage.VALUE_NAME_PAIR__VALUE:
- setValue((Expression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.VALUE_NAME_PAIR__PROPERTY:
- return property != null;
- case VSLPackage.VALUE_NAME_PAIR__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //ValueNamePairImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueSpecificationImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueSpecificationImpl.java deleted file mode 100644 index f47150967dd..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/ValueSpecificationImpl.java +++ /dev/null @@ -1,89 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Value Specification</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ValueSpecificationImpl extends MinimalEObjectImpl.Container implements ValueSpecification
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ValueSpecificationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.VALUE_SPECIFICATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
-} //ValueSpecificationImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VariableDeclarationImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VariableDeclarationImpl.java deleted file mode 100644 index af51498b7ab..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/impl/VariableDeclarationImpl.java +++ /dev/null @@ -1,437 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.marte.vsl.vSL.DataTypeName;
-import org.eclipse.papyrus.marte.vsl.vSL.Expression;
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-import org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration;
-
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Variable Declaration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl#getVariableDeclaration <em>Variable Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.marte.vsl.vSL.impl.VariableDeclarationImpl#getInitValue <em>Init Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class VariableDeclarationImpl extends ValueSpecificationImpl implements VariableDeclaration
-{
- /**
- * The default value of the '{@link #getVariableDeclaration() <em>Variable Declaration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVariableDeclaration()
- * @generated
- * @ordered
- */
- protected static final String VARIABLE_DECLARATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getVariableDeclaration() <em>Variable Declaration</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getVariableDeclaration()
- * @generated
- * @ordered
- */
- protected String variableDeclaration = VARIABLE_DECLARATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getType() <em>Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getType()
- * @generated
- * @ordered
- */
- protected DataTypeName type;
-
- /**
- * The cached value of the '{@link #getInitValue() <em>Init Value</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getInitValue()
- * @generated
- * @ordered
- */
- protected Expression initValue;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected VariableDeclarationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return VSLPackage.Literals.VARIABLE_DECLARATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getVariableDeclaration()
- {
- return variableDeclaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setVariableDeclaration(String newVariableDeclaration)
- {
- String oldVariableDeclaration = variableDeclaration;
- variableDeclaration = newVariableDeclaration;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__VARIABLE_DECLARATION, oldVariableDeclaration, variableDeclaration));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName)
- {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DataTypeName getType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetType(DataTypeName newType, NotificationChain msgs)
- {
- DataTypeName oldType = type;
- type = newType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__TYPE, oldType, newType);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setType(DataTypeName newType)
- {
- if (newType != type)
- {
- NotificationChain msgs = null;
- if (type != null)
- msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VARIABLE_DECLARATION__TYPE, null, msgs);
- if (newType != null)
- msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VARIABLE_DECLARATION__TYPE, null, msgs);
- msgs = basicSetType(newType, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__TYPE, newType, newType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Expression getInitValue()
- {
- return initValue;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetInitValue(Expression newInitValue, NotificationChain msgs)
- {
- Expression oldInitValue = initValue;
- initValue = newInitValue;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__INIT_VALUE, oldInitValue, newInitValue);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setInitValue(Expression newInitValue)
- {
- if (newInitValue != initValue)
- {
- NotificationChain msgs = null;
- if (initValue != null)
- msgs = ((InternalEObject)initValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VARIABLE_DECLARATION__INIT_VALUE, null, msgs);
- if (newInitValue != null)
- msgs = ((InternalEObject)newInitValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - VSLPackage.VARIABLE_DECLARATION__INIT_VALUE, null, msgs);
- msgs = basicSetInitValue(newInitValue, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, VSLPackage.VARIABLE_DECLARATION__INIT_VALUE, newInitValue, newInitValue));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getFilteredParentRule(EClass filter)
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getFilteredParentRule(this, filter) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Type getExpectedType()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getExpectedType(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Element getContextElement()
- {
- return org.eclipse.papyrus.marte.vsl.extensions.VSLContextUtil.getContextElement(this) ;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case VSLPackage.VARIABLE_DECLARATION__TYPE:
- return basicSetType(null, msgs);
- case VSLPackage.VARIABLE_DECLARATION__INIT_VALUE:
- return basicSetInitValue(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case VSLPackage.VARIABLE_DECLARATION__VARIABLE_DECLARATION:
- return getVariableDeclaration();
- case VSLPackage.VARIABLE_DECLARATION__NAME:
- return getName();
- case VSLPackage.VARIABLE_DECLARATION__TYPE:
- return getType();
- case VSLPackage.VARIABLE_DECLARATION__INIT_VALUE:
- return getInitValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case VSLPackage.VARIABLE_DECLARATION__VARIABLE_DECLARATION:
- setVariableDeclaration((String)newValue);
- return;
- case VSLPackage.VARIABLE_DECLARATION__NAME:
- setName((String)newValue);
- return;
- case VSLPackage.VARIABLE_DECLARATION__TYPE:
- setType((DataTypeName)newValue);
- return;
- case VSLPackage.VARIABLE_DECLARATION__INIT_VALUE:
- setInitValue((Expression)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.VARIABLE_DECLARATION__VARIABLE_DECLARATION:
- setVariableDeclaration(VARIABLE_DECLARATION_EDEFAULT);
- return;
- case VSLPackage.VARIABLE_DECLARATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case VSLPackage.VARIABLE_DECLARATION__TYPE:
- setType((DataTypeName)null);
- return;
- case VSLPackage.VARIABLE_DECLARATION__INIT_VALUE:
- setInitValue((Expression)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case VSLPackage.VARIABLE_DECLARATION__VARIABLE_DECLARATION:
- return VARIABLE_DECLARATION_EDEFAULT == null ? variableDeclaration != null : !VARIABLE_DECLARATION_EDEFAULT.equals(variableDeclaration);
- case VSLPackage.VARIABLE_DECLARATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case VSLPackage.VARIABLE_DECLARATION__TYPE:
- return type != null;
- case VSLPackage.VARIABLE_DECLARATION__INIT_VALUE:
- return initValue != null;
- }
- 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(" (variableDeclaration: ");
- result.append(variableDeclaration);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //VariableDeclarationImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLAdapterFactory.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLAdapterFactory.java deleted file mode 100644 index f5864115cb4..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLAdapterFactory.java +++ /dev/null @@ -1,903 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage
- * @generated
- */
-public class VSLAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static VSLPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = VSLPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object)
- {
- if (object == modelPackage)
- {
- return true;
- }
- if (object instanceof EObject)
- {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected VSLSwitch<Adapter> modelSwitch =
- new VSLSwitch<Adapter>()
- {
- @Override
- public Adapter caseExpression(Expression object)
- {
- return createExpressionAdapter();
- }
- @Override
- public Adapter caseAndOrXorExpression(AndOrXorExpression object)
- {
- return createAndOrXorExpressionAdapter();
- }
- @Override
- public Adapter caseEqualityExpression(EqualityExpression object)
- {
- return createEqualityExpressionAdapter();
- }
- @Override
- public Adapter caseRelationalExpression(RelationalExpression object)
- {
- return createRelationalExpressionAdapter();
- }
- @Override
- public Adapter caseConditionalExpression(ConditionalExpression object)
- {
- return createConditionalExpressionAdapter();
- }
- @Override
- public Adapter caseAdditiveExpression(AdditiveExpression object)
- {
- return createAdditiveExpressionAdapter();
- }
- @Override
- public Adapter caseMultiplicativeExpression(MultiplicativeExpression object)
- {
- return createMultiplicativeExpressionAdapter();
- }
- @Override
- public Adapter caseUnaryExpression(UnaryExpression object)
- {
- return createUnaryExpressionAdapter();
- }
- @Override
- public Adapter casePrimaryExpression(PrimaryExpression object)
- {
- return createPrimaryExpressionAdapter();
- }
- @Override
- public Adapter caseValueSpecification(ValueSpecification object)
- {
- return createValueSpecificationAdapter();
- }
- @Override
- public Adapter caseSuffixExpression(SuffixExpression object)
- {
- return createSuffixExpressionAdapter();
- }
- @Override
- public Adapter casePropertyCallExpression(PropertyCallExpression object)
- {
- return createPropertyCallExpressionAdapter();
- }
- @Override
- public Adapter caseOperationCallExpression(OperationCallExpression object)
- {
- return createOperationCallExpressionAdapter();
- }
- @Override
- public Adapter caseLiteral(Literal object)
- {
- return createLiteralAdapter();
- }
- @Override
- public Adapter caseNameOrChoiceOrBehaviorCall(NameOrChoiceOrBehaviorCall object)
- {
- return createNameOrChoiceOrBehaviorCallAdapter();
- }
- @Override
- public Adapter caseQualifiedName(QualifiedName object)
- {
- return createQualifiedNameAdapter();
- }
- @Override
- public Adapter caseInterval(Interval object)
- {
- return createIntervalAdapter();
- }
- @Override
- public Adapter caseCollectionOrTuple(CollectionOrTuple object)
- {
- return createCollectionOrTupleAdapter();
- }
- @Override
- public Adapter caseTuple(Tuple object)
- {
- return createTupleAdapter();
- }
- @Override
- public Adapter caseListOfValues(ListOfValues object)
- {
- return createListOfValuesAdapter();
- }
- @Override
- public Adapter caseListOfValueNamePairs(ListOfValueNamePairs object)
- {
- return createListOfValueNamePairsAdapter();
- }
- @Override
- public Adapter caseValueNamePair(ValueNamePair object)
- {
- return createValueNamePairAdapter();
- }
- @Override
- public Adapter caseTimeExpression(TimeExpression object)
- {
- return createTimeExpressionAdapter();
- }
- @Override
- public Adapter caseInstantObsExpression(InstantObsExpression object)
- {
- return createInstantObsExpressionAdapter();
- }
- @Override
- public Adapter caseInstantObsName(InstantObsName object)
- {
- return createInstantObsNameAdapter();
- }
- @Override
- public Adapter caseDurationObsExpression(DurationObsExpression object)
- {
- return createDurationObsExpressionAdapter();
- }
- @Override
- public Adapter caseDurationObsName(DurationObsName object)
- {
- return createDurationObsNameAdapter();
- }
- @Override
- public Adapter caseJitterExp(JitterExp object)
- {
- return createJitterExpAdapter();
- }
- @Override
- public Adapter caseVariableDeclaration(VariableDeclaration object)
- {
- return createVariableDeclarationAdapter();
- }
- @Override
- public Adapter caseDataTypeName(DataTypeName object)
- {
- return createDataTypeNameAdapter();
- }
- @Override
- public Adapter caseNumberLiteralRule(NumberLiteralRule object)
- {
- return createNumberLiteralRuleAdapter();
- }
- @Override
- public Adapter caseIntegerLiteralRule(IntegerLiteralRule object)
- {
- return createIntegerLiteralRuleAdapter();
- }
- @Override
- public Adapter caseUnlimitedLiteralRule(UnlimitedLiteralRule object)
- {
- return createUnlimitedLiteralRuleAdapter();
- }
- @Override
- public Adapter caseRealLiteralRule(RealLiteralRule object)
- {
- return createRealLiteralRuleAdapter();
- }
- @Override
- public Adapter caseDateTimeLiteralRule(DateTimeLiteralRule object)
- {
- return createDateTimeLiteralRuleAdapter();
- }
- @Override
- public Adapter caseBooleanLiteralRule(BooleanLiteralRule object)
- {
- return createBooleanLiteralRuleAdapter();
- }
- @Override
- public Adapter caseNullLiteralRule(NullLiteralRule object)
- {
- return createNullLiteralRuleAdapter();
- }
- @Override
- public Adapter caseDefaultLiteralRule(DefaultLiteralRule object)
- {
- return createDefaultLiteralRuleAdapter();
- }
- @Override
- public Adapter caseStringLiteralRule(StringLiteralRule object)
- {
- return createStringLiteralRuleAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target)
- {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.Expression <em>Expression</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.papyrus.marte.vsl.vSL.Expression
- * @generated
- */
- public Adapter createExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.AndOrXorExpression <em>And Or Xor Expression</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.papyrus.marte.vsl.vSL.AndOrXorExpression
- * @generated
- */
- public Adapter createAndOrXorExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.EqualityExpression <em>Equality Expression</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.papyrus.marte.vsl.vSL.EqualityExpression
- * @generated
- */
- public Adapter createEqualityExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.RelationalExpression <em>Relational Expression</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.papyrus.marte.vsl.vSL.RelationalExpression
- * @generated
- */
- public Adapter createRelationalExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.ConditionalExpression <em>Conditional Expression</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.papyrus.marte.vsl.vSL.ConditionalExpression
- * @generated
- */
- public Adapter createConditionalExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.AdditiveExpression <em>Additive Expression</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.papyrus.marte.vsl.vSL.AdditiveExpression
- * @generated
- */
- public Adapter createAdditiveExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.MultiplicativeExpression <em>Multiplicative Expression</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.papyrus.marte.vsl.vSL.MultiplicativeExpression
- * @generated
- */
- public Adapter createMultiplicativeExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.UnaryExpression <em>Unary Expression</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.papyrus.marte.vsl.vSL.UnaryExpression
- * @generated
- */
- public Adapter createUnaryExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.PrimaryExpression <em>Primary Expression</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.papyrus.marte.vsl.vSL.PrimaryExpression
- * @generated
- */
- public Adapter createPrimaryExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueSpecification <em>Value Specification</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.papyrus.marte.vsl.vSL.ValueSpecification
- * @generated
- */
- public Adapter createValueSpecificationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.SuffixExpression <em>Suffix Expression</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.papyrus.marte.vsl.vSL.SuffixExpression
- * @generated
- */
- public Adapter createSuffixExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.PropertyCallExpression <em>Property Call Expression</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.papyrus.marte.vsl.vSL.PropertyCallExpression
- * @generated
- */
- public Adapter createPropertyCallExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.OperationCallExpression <em>Operation Call Expression</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.papyrus.marte.vsl.vSL.OperationCallExpression
- * @generated
- */
- public Adapter createOperationCallExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.Literal <em>Literal</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.papyrus.marte.vsl.vSL.Literal
- * @generated
- */
- public Adapter createLiteralAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall <em>Name Or Choice Or Behavior Call</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.papyrus.marte.vsl.vSL.NameOrChoiceOrBehaviorCall
- * @generated
- */
- public Adapter createNameOrChoiceOrBehaviorCallAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.QualifiedName <em>Qualified Name</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.papyrus.marte.vsl.vSL.QualifiedName
- * @generated
- */
- public Adapter createQualifiedNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.Interval <em>Interval</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.papyrus.marte.vsl.vSL.Interval
- * @generated
- */
- public Adapter createIntervalAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.CollectionOrTuple <em>Collection Or Tuple</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.papyrus.marte.vsl.vSL.CollectionOrTuple
- * @generated
- */
- public Adapter createCollectionOrTupleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.Tuple <em>Tuple</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.papyrus.marte.vsl.vSL.Tuple
- * @generated
- */
- public Adapter createTupleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValues <em>List Of Values</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.papyrus.marte.vsl.vSL.ListOfValues
- * @generated
- */
- public Adapter createListOfValuesAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.ListOfValueNamePairs <em>List Of Value Name Pairs</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.papyrus.marte.vsl.vSL.ListOfValueNamePairs
- * @generated
- */
- public Adapter createListOfValueNamePairsAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.ValueNamePair <em>Value Name Pair</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.papyrus.marte.vsl.vSL.ValueNamePair
- * @generated
- */
- public Adapter createValueNamePairAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.TimeExpression <em>Time Expression</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.papyrus.marte.vsl.vSL.TimeExpression
- * @generated
- */
- public Adapter createTimeExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsExpression <em>Instant Obs Expression</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.papyrus.marte.vsl.vSL.InstantObsExpression
- * @generated
- */
- public Adapter createInstantObsExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.InstantObsName <em>Instant Obs Name</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.papyrus.marte.vsl.vSL.InstantObsName
- * @generated
- */
- public Adapter createInstantObsNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsExpression <em>Duration Obs Expression</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.papyrus.marte.vsl.vSL.DurationObsExpression
- * @generated
- */
- public Adapter createDurationObsExpressionAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.DurationObsName <em>Duration Obs Name</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.papyrus.marte.vsl.vSL.DurationObsName
- * @generated
- */
- public Adapter createDurationObsNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.JitterExp <em>Jitter Exp</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.papyrus.marte.vsl.vSL.JitterExp
- * @generated
- */
- public Adapter createJitterExpAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.VariableDeclaration <em>Variable Declaration</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.papyrus.marte.vsl.vSL.VariableDeclaration
- * @generated
- */
- public Adapter createVariableDeclarationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.DataTypeName <em>Data Type Name</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.papyrus.marte.vsl.vSL.DataTypeName
- * @generated
- */
- public Adapter createDataTypeNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.NumberLiteralRule <em>Number Literal Rule</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.papyrus.marte.vsl.vSL.NumberLiteralRule
- * @generated
- */
- public Adapter createNumberLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.IntegerLiteralRule <em>Integer Literal Rule</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.papyrus.marte.vsl.vSL.IntegerLiteralRule
- * @generated
- */
- public Adapter createIntegerLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.UnlimitedLiteralRule <em>Unlimited Literal Rule</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.papyrus.marte.vsl.vSL.UnlimitedLiteralRule
- * @generated
- */
- public Adapter createUnlimitedLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.RealLiteralRule <em>Real Literal Rule</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.papyrus.marte.vsl.vSL.RealLiteralRule
- * @generated
- */
- public Adapter createRealLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.DateTimeLiteralRule <em>Date Time Literal Rule</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.papyrus.marte.vsl.vSL.DateTimeLiteralRule
- * @generated
- */
- public Adapter createDateTimeLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.BooleanLiteralRule <em>Boolean Literal Rule</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.papyrus.marte.vsl.vSL.BooleanLiteralRule
- * @generated
- */
- public Adapter createBooleanLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.NullLiteralRule <em>Null Literal Rule</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.papyrus.marte.vsl.vSL.NullLiteralRule
- * @generated
- */
- public Adapter createNullLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.DefaultLiteralRule <em>Default Literal Rule</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.papyrus.marte.vsl.vSL.DefaultLiteralRule
- * @generated
- */
- public Adapter createDefaultLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.marte.vsl.vSL.StringLiteralRule <em>String Literal Rule</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.papyrus.marte.vsl.vSL.StringLiteralRule
- * @generated
- */
- public Adapter createStringLiteralRuleAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter()
- {
- return null;
- }
-
-} //VSLAdapterFactory
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceFactoryImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceFactoryImpl.java deleted file mode 100644 index 7845b6dd8f5..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceFactoryImpl.java +++ /dev/null @@ -1,66 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.util.VSLResourceImpl
- * @generated
- */
-public class VSLResourceFactoryImpl extends ResourceFactoryImpl
-{
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLResourceFactoryImpl()
- {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri)
- {
- XMLResource result = new VSLResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //VSLResourceFactoryImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceImpl.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceImpl.java deleted file mode 100644 index 9c1e12fb7c1..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLResourceImpl.java +++ /dev/null @@ -1,41 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.util.VSLResourceFactoryImpl
- * @generated
- */
-public class VSLResourceImpl extends XMLResourceImpl
-{
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public VSLResourceImpl(URI uri)
- {
- super(uri);
- }
-
-} //VSLResourceImpl
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLSwitch.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLSwitch.java deleted file mode 100644 index 1d2b007799a..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLSwitch.java +++ /dev/null @@ -1,1060 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.marte.vsl.vSL.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.marte.vsl.vSL.VSLPackage
- * @generated
- */
-public class VSLSwitch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static VSLPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = VSLPackage.eINSTANCE;
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- public T doSwitch(EObject theEObject)
- {
- return doSwitch(theEObject.eClass(), theEObject);
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(EClass theEClass, EObject theEObject)
- {
- if (theEClass.eContainer() == modelPackage)
- {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- }
- else
- {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return
- eSuperTypes.isEmpty() ?
- defaultCase(theEObject) :
- doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case VSLPackage.EXPRESSION:
- {
- Expression expression = (Expression)theEObject;
- T result = caseExpression(expression);
- if (result == null) result = caseValueSpecification(expression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.AND_OR_XOR_EXPRESSION:
- {
- AndOrXorExpression andOrXorExpression = (AndOrXorExpression)theEObject;
- T result = caseAndOrXorExpression(andOrXorExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.EQUALITY_EXPRESSION:
- {
- EqualityExpression equalityExpression = (EqualityExpression)theEObject;
- T result = caseEqualityExpression(equalityExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.RELATIONAL_EXPRESSION:
- {
- RelationalExpression relationalExpression = (RelationalExpression)theEObject;
- T result = caseRelationalExpression(relationalExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.CONDITIONAL_EXPRESSION:
- {
- ConditionalExpression conditionalExpression = (ConditionalExpression)theEObject;
- T result = caseConditionalExpression(conditionalExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.ADDITIVE_EXPRESSION:
- {
- AdditiveExpression additiveExpression = (AdditiveExpression)theEObject;
- T result = caseAdditiveExpression(additiveExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.MULTIPLICATIVE_EXPRESSION:
- {
- MultiplicativeExpression multiplicativeExpression = (MultiplicativeExpression)theEObject;
- T result = caseMultiplicativeExpression(multiplicativeExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.UNARY_EXPRESSION:
- {
- UnaryExpression unaryExpression = (UnaryExpression)theEObject;
- T result = caseUnaryExpression(unaryExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.PRIMARY_EXPRESSION:
- {
- PrimaryExpression primaryExpression = (PrimaryExpression)theEObject;
- T result = casePrimaryExpression(primaryExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.VALUE_SPECIFICATION:
- {
- ValueSpecification valueSpecification = (ValueSpecification)theEObject;
- T result = caseValueSpecification(valueSpecification);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.SUFFIX_EXPRESSION:
- {
- SuffixExpression suffixExpression = (SuffixExpression)theEObject;
- T result = caseSuffixExpression(suffixExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.PROPERTY_CALL_EXPRESSION:
- {
- PropertyCallExpression propertyCallExpression = (PropertyCallExpression)theEObject;
- T result = casePropertyCallExpression(propertyCallExpression);
- if (result == null) result = caseSuffixExpression(propertyCallExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.OPERATION_CALL_EXPRESSION:
- {
- OperationCallExpression operationCallExpression = (OperationCallExpression)theEObject;
- T result = caseOperationCallExpression(operationCallExpression);
- if (result == null) result = caseSuffixExpression(operationCallExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.LITERAL:
- {
- Literal literal = (Literal)theEObject;
- T result = caseLiteral(literal);
- if (result == null) result = caseValueSpecification(literal);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.NAME_OR_CHOICE_OR_BEHAVIOR_CALL:
- {
- NameOrChoiceOrBehaviorCall nameOrChoiceOrBehaviorCall = (NameOrChoiceOrBehaviorCall)theEObject;
- T result = caseNameOrChoiceOrBehaviorCall(nameOrChoiceOrBehaviorCall);
- if (result == null) result = caseValueSpecification(nameOrChoiceOrBehaviorCall);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.QUALIFIED_NAME:
- {
- QualifiedName qualifiedName = (QualifiedName)theEObject;
- T result = caseQualifiedName(qualifiedName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.INTERVAL:
- {
- Interval interval = (Interval)theEObject;
- T result = caseInterval(interval);
- if (result == null) result = caseValueSpecification(interval);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.COLLECTION_OR_TUPLE:
- {
- CollectionOrTuple collectionOrTuple = (CollectionOrTuple)theEObject;
- T result = caseCollectionOrTuple(collectionOrTuple);
- if (result == null) result = caseValueSpecification(collectionOrTuple);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.TUPLE:
- {
- Tuple tuple = (Tuple)theEObject;
- T result = caseTuple(tuple);
- if (result == null) result = caseValueSpecification(tuple);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.LIST_OF_VALUES:
- {
- ListOfValues listOfValues = (ListOfValues)theEObject;
- T result = caseListOfValues(listOfValues);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.LIST_OF_VALUE_NAME_PAIRS:
- {
- ListOfValueNamePairs listOfValueNamePairs = (ListOfValueNamePairs)theEObject;
- T result = caseListOfValueNamePairs(listOfValueNamePairs);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.VALUE_NAME_PAIR:
- {
- ValueNamePair valueNamePair = (ValueNamePair)theEObject;
- T result = caseValueNamePair(valueNamePair);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.TIME_EXPRESSION:
- {
- TimeExpression timeExpression = (TimeExpression)theEObject;
- T result = caseTimeExpression(timeExpression);
- if (result == null) result = caseValueSpecification(timeExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.INSTANT_OBS_EXPRESSION:
- {
- InstantObsExpression instantObsExpression = (InstantObsExpression)theEObject;
- T result = caseInstantObsExpression(instantObsExpression);
- if (result == null) result = caseTimeExpression(instantObsExpression);
- if (result == null) result = caseValueSpecification(instantObsExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.INSTANT_OBS_NAME:
- {
- InstantObsName instantObsName = (InstantObsName)theEObject;
- T result = caseInstantObsName(instantObsName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.DURATION_OBS_EXPRESSION:
- {
- DurationObsExpression durationObsExpression = (DurationObsExpression)theEObject;
- T result = caseDurationObsExpression(durationObsExpression);
- if (result == null) result = caseTimeExpression(durationObsExpression);
- if (result == null) result = caseValueSpecification(durationObsExpression);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.DURATION_OBS_NAME:
- {
- DurationObsName durationObsName = (DurationObsName)theEObject;
- T result = caseDurationObsName(durationObsName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.JITTER_EXP:
- {
- JitterExp jitterExp = (JitterExp)theEObject;
- T result = caseJitterExp(jitterExp);
- if (result == null) result = caseTimeExpression(jitterExp);
- if (result == null) result = caseValueSpecification(jitterExp);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.VARIABLE_DECLARATION:
- {
- VariableDeclaration variableDeclaration = (VariableDeclaration)theEObject;
- T result = caseVariableDeclaration(variableDeclaration);
- if (result == null) result = caseValueSpecification(variableDeclaration);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.DATA_TYPE_NAME:
- {
- DataTypeName dataTypeName = (DataTypeName)theEObject;
- T result = caseDataTypeName(dataTypeName);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.NUMBER_LITERAL_RULE:
- {
- NumberLiteralRule numberLiteralRule = (NumberLiteralRule)theEObject;
- T result = caseNumberLiteralRule(numberLiteralRule);
- if (result == null) result = caseLiteral(numberLiteralRule);
- if (result == null) result = caseValueSpecification(numberLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.INTEGER_LITERAL_RULE:
- {
- IntegerLiteralRule integerLiteralRule = (IntegerLiteralRule)theEObject;
- T result = caseIntegerLiteralRule(integerLiteralRule);
- if (result == null) result = caseNumberLiteralRule(integerLiteralRule);
- if (result == null) result = caseLiteral(integerLiteralRule);
- if (result == null) result = caseValueSpecification(integerLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.UNLIMITED_LITERAL_RULE:
- {
- UnlimitedLiteralRule unlimitedLiteralRule = (UnlimitedLiteralRule)theEObject;
- T result = caseUnlimitedLiteralRule(unlimitedLiteralRule);
- if (result == null) result = caseNumberLiteralRule(unlimitedLiteralRule);
- if (result == null) result = caseLiteral(unlimitedLiteralRule);
- if (result == null) result = caseValueSpecification(unlimitedLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.REAL_LITERAL_RULE:
- {
- RealLiteralRule realLiteralRule = (RealLiteralRule)theEObject;
- T result = caseRealLiteralRule(realLiteralRule);
- if (result == null) result = caseNumberLiteralRule(realLiteralRule);
- if (result == null) result = caseLiteral(realLiteralRule);
- if (result == null) result = caseValueSpecification(realLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.DATE_TIME_LITERAL_RULE:
- {
- DateTimeLiteralRule dateTimeLiteralRule = (DateTimeLiteralRule)theEObject;
- T result = caseDateTimeLiteralRule(dateTimeLiteralRule);
- if (result == null) result = caseLiteral(dateTimeLiteralRule);
- if (result == null) result = caseValueSpecification(dateTimeLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.BOOLEAN_LITERAL_RULE:
- {
- BooleanLiteralRule booleanLiteralRule = (BooleanLiteralRule)theEObject;
- T result = caseBooleanLiteralRule(booleanLiteralRule);
- if (result == null) result = caseLiteral(booleanLiteralRule);
- if (result == null) result = caseValueSpecification(booleanLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.NULL_LITERAL_RULE:
- {
- NullLiteralRule nullLiteralRule = (NullLiteralRule)theEObject;
- T result = caseNullLiteralRule(nullLiteralRule);
- if (result == null) result = caseLiteral(nullLiteralRule);
- if (result == null) result = caseValueSpecification(nullLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.DEFAULT_LITERAL_RULE:
- {
- DefaultLiteralRule defaultLiteralRule = (DefaultLiteralRule)theEObject;
- T result = caseDefaultLiteralRule(defaultLiteralRule);
- if (result == null) result = caseLiteral(defaultLiteralRule);
- if (result == null) result = caseValueSpecification(defaultLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case VSLPackage.STRING_LITERAL_RULE:
- {
- StringLiteralRule stringLiteralRule = (StringLiteralRule)theEObject;
- T result = caseStringLiteralRule(stringLiteralRule);
- if (result == null) result = caseLiteral(stringLiteralRule);
- if (result == null) result = caseValueSpecification(stringLiteralRule);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Expression</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>Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseExpression(Expression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>And Or Xor Expression</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>And Or Xor Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAndOrXorExpression(AndOrXorExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Equality Expression</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>Equality Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseEqualityExpression(EqualityExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Relational Expression</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>Relational Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRelationalExpression(RelationalExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Conditional Expression</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>Conditional Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConditionalExpression(ConditionalExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Additive Expression</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>Additive Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAdditiveExpression(AdditiveExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicative Expression</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>Multiplicative Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicativeExpression(MultiplicativeExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Unary Expression</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>Unary Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUnaryExpression(UnaryExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Primary Expression</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>Primary Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePrimaryExpression(PrimaryExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Value Specification</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>Value Specification</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValueSpecification(ValueSpecification object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Suffix Expression</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>Suffix Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSuffixExpression(SuffixExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Property Call Expression</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>Property Call Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePropertyCallExpression(PropertyCallExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Operation Call Expression</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>Operation Call Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationCallExpression(OperationCallExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Literal</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>Literal</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseLiteral(Literal object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Name Or Choice Or Behavior Call</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>Name Or Choice Or Behavior Call</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNameOrChoiceOrBehaviorCall(NameOrChoiceOrBehaviorCall object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Qualified Name</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>Qualified Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseQualifiedName(QualifiedName object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Interval</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>Interval</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInterval(Interval object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Collection Or Tuple</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>Collection Or Tuple</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCollectionOrTuple(CollectionOrTuple object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Tuple</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>Tuple</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTuple(Tuple object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>List Of Values</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>List Of Values</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseListOfValues(ListOfValues object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>List Of Value Name Pairs</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>List Of Value Name Pairs</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseListOfValueNamePairs(ListOfValueNamePairs object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Value Name Pair</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>Value Name Pair</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValueNamePair(ValueNamePair object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Time Expression</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>Time Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTimeExpression(TimeExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Instant Obs Expression</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>Instant Obs Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInstantObsExpression(InstantObsExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Instant Obs Name</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>Instant Obs Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInstantObsName(InstantObsName object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Duration Obs Expression</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>Duration Obs Expression</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDurationObsExpression(DurationObsExpression object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Duration Obs Name</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>Duration Obs Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDurationObsName(DurationObsName object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Jitter Exp</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>Jitter Exp</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseJitterExp(JitterExp object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Variable Declaration</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>Variable Declaration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseVariableDeclaration(VariableDeclaration object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Data Type Name</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>Data Type Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDataTypeName(DataTypeName object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Number Literal Rule</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>Number Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNumberLiteralRule(NumberLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Integer Literal Rule</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>Integer Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseIntegerLiteralRule(IntegerLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Unlimited Literal Rule</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>Unlimited Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUnlimitedLiteralRule(UnlimitedLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Real Literal Rule</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>Real Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRealLiteralRule(RealLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Date Time Literal Rule</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>Date Time Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDateTimeLiteralRule(DateTimeLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Boolean Literal Rule</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>Boolean Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBooleanLiteralRule(BooleanLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Null Literal Rule</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>Null Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNullLiteralRule(NullLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Default Literal Rule</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>Default Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDefaultLiteralRule(DefaultLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>String Literal Rule</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>String Literal Rule</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseStringLiteralRule(StringLiteralRule object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- * @param object the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} //VSLSwitch
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLXMLProcessor.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLXMLProcessor.java deleted file mode 100644 index 71cbd48a7a3..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/vSL/util/VSLXMLProcessor.java +++ /dev/null @@ -1,65 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.marte.vsl.vSL.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.papyrus.marte.vsl.vSL.VSLPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class VSLXMLProcessor extends XMLProcessor
-{
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public VSLXMLProcessor()
- {
- super((EPackage.Registry.INSTANCE));
- VSLPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the VSLResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations()
- {
- if (registrations == null)
- {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new VSLResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new VSLResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //VSLXMLProcessor
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java deleted file mode 100644 index 28fbe5a12af..00000000000 --- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src-gen/org/eclipse/papyrus/marte/vsl/validation/AbstractVSLJavaValidator.java +++ /dev/null @@ -1,33 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * CEA LIST - Initial API and implementation - * - *****************************************************************************/ -package org.eclipse.papyrus.marte.vsl.validation; - -import java.util.ArrayList; -import java.util.List; - -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; -import org.eclipse.xtext.validation.ComposedChecks; - -@ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.xtext.validation.NamesAreUniqueValidator.class}) -public class AbstractVSLJavaValidator extends AbstractDeclarativeValidator { - -@Override - protected List<EPackage> getEPackages() { - List<EPackage> result = new ArrayList<EPackage>(); - result.add(org.eclipse.papyrus.marte.vsl.vSL.VSLPackage.eINSTANCE); - return result; - } - -} |