Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java127
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore79
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel71
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi2480
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java42
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java118
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java47
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java57
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java22
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java144
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java86
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java57
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java205
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java86
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java171
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java1486
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java274
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java57
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java57
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java86
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java22
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java274
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java359
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java180
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java218
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java48
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java419
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java302
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java195
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java590
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java302
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java378
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java862
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java217
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java217
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java303
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java48
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java410
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java451
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java24760
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationAntlrTokenFileProvider.java15
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationParser.java39
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g8240
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.tokens224
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java4981
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java22571
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java2213
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/validation/AbstractOperationJavaValidator.java19
48 files changed, 0 insertions, 74609 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java
deleted file mode 100644
index 632dcf63e43..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/AbstractOperationRuntimeModule.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.operation.editor.xtext;
-
-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.operation.editor.xtext.OperationRuntimeModule}
- */
-@SuppressWarnings("all")
-public abstract class AbstractOperationRuntimeModule extends DefaultRuntimeModule {
-
- protected Properties properties = null;
-
- @Override
- public void configure(Binder binder) {
- properties = tryBindProperties(binder, "org/eclipse/papyrus/operation/editor/xtext/Operation.properties");
- super.configure(binder);
- }
-
- public void configureLanguageName(Binder binder) {
- binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)).toInstance("org.eclipse.papyrus.operation.editor.xtext.Operation");
- }
-
- 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("operation");
- }
- }
-
- // contributed by org.eclipse.xtext.generator.grammarAccess.GrammarAccessFragment
- public Class<? extends org.eclipse.xtext.IGrammarAccess> bindIGrammarAccess() {
- return org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parseTreeConstructor.ParseTreeConstructorFragment
- public Class<? extends org.eclipse.xtext.parsetree.reconstr.IParseTreeConstructor> bindIParseTreeConstructor() {
- return org.eclipse.papyrus.operation.editor.xtext.parseTreeConstruction.OperationParsetreeConstructor.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.IParser> bindIParser() {
- return org.eclipse.papyrus.operation.editor.xtext.parser.antlr.OperationParser.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
- 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.operation.editor.xtext.parser.antlr.OperationAntlrTokenFileProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public Class<? extends org.eclipse.xtext.parser.antlr.Lexer> bindLexer() {
- return org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.class;
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- public com.google.inject.Provider<org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer> provideInternalOperationLexer() {
- return org.eclipse.xtext.parser.antlr.LexerProvider.create(org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.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.operation.editor.xtext.parser.antlr.internal.InternalOperationLexer.class);
- }
-
- // contributed by org.eclipse.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment
- @Override
- 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.operation.editor.xtext.validation.OperationJavaValidator> bindOperationJavaValidator() {
- return org.eclipse.papyrus.operation.editor.xtext.validation.OperationJavaValidator.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
- public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
- return org.eclipse.papyrus.operation.editor.xtext.scoping.OperationScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
- binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named(org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.NAMED_DELEGATE))
- .to(org.eclipse.xtext.scoping.impl.SimpleLocalScopeProvider.class);
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- @Override
- public Class<? extends org.eclipse.xtext.scoping.IGlobalScopeProvider> bindIGlobalScopeProvider() {
- return org.eclipse.xtext.scoping.impl.ImportUriGlobalScopeProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment
- public void configureIgnoreCaseLinking(com.google.inject.Binder binder) {
- binder.bindConstant().annotatedWith(org.eclipse.xtext.scoping.IgnoreCaseLinking.class).to(false);
- }
-
- // contributed by org.eclipse.xtext.generator.exporting.SimpleNamesFragment
- @Override
- public Class<? extends org.eclipse.xtext.naming.IQualifiedNameProvider> bindIQualifiedNameProvider() {
- return org.eclipse.xtext.naming.SimpleNameProvider.class;
- }
-
- // contributed by org.eclipse.xtext.generator.formatting.FormatterFragment
- @Override
- public Class<? extends org.eclipse.xtext.formatting.IFormatter> bindIFormatter() {
- return org.eclipse.papyrus.operation.editor.xtext.formatting.OperationFormatter.class;
- }
-
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore
deleted file mode 100644
index 2b04c65820d..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.ecore
+++ /dev/null
@@ -1,79 +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="operation"
- nsURI="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation" nsPrefix="operation">
- <eClassifiers xsi:type="ecore:EClass" name="OperationDefinitionOrStub">
- <eStructuralFeatures xsi:type="ecore:EReference" name="declaration" eType="#//OperationDeclaration"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="body" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.ecore#//Block"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="OperationDeclaration">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="visibilityIndicator" eType="#//VisibilityIndicator"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstract" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameters" eType="#//FormalParameters"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="returnType" eType="#//TypePart"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="redefinition" eType="#//RedefinitionClause"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="VisibilityIndicator">
- <eLiterals name="PUBLIC" literal="public"/>
- <eLiterals name="PRIVATE" value="1" literal="private"/>
- <eLiterals name="PROTECTED" value="2" literal="protected"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="FormalParameters">
- <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameterList" eType="#//FormalParameterList"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="FormalParameterList">
- <eStructuralFeatures xsi:type="ecore:EReference" name="formalParameter" upperBound="-1"
- eType="#//FormalParameter" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="FormalParameter">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//ParameterDirection"/>
- <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="#//TypePart"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TypePart">
- <eStructuralFeatures xsi:type="ecore:EReference" name="typeName" eType="#//TypeName"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="multiplicity" eType="#//Multiplicity"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Multiplicity">
- <eStructuralFeatures xsi:type="ecore:EReference" name="range" eType="#//MultiplicityRange"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="ordered" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="nonUnique" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="sequence" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="MultiplicityRange">
- <eStructuralFeatures xsi:type="ecore:EReference" name="lower" eType="#//NUMBER_LITERAL_WITHOUT_SUFFIX"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="upper" eType="#//NUMBER_LITERAL_WITHOUT_SUFFIX"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="NUMBER_LITERAL_WITHOUT_SUFFIX">
- <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="INTEGER_LITERAL_WITHOUT_SUFFIX" eSuperTypes="#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
- <eClassifiers xsi:type="ecore:EClass" name="UNLIMITED_LITERAL_WITHOUT_SUFFIX" eSuperTypes="#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
- <eClassifiers xsi:type="ecore:EClass" name="TypeName">
- <eStructuralFeatures xsi:type="ecore:EReference" name="qualifiedName" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.ecore#//QualifiedNameWithBinding"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="ParameterDirection">
- <eLiterals name="IN" literal="in"/>
- <eLiterals name="OUT" value="1" literal="out"/>
- <eLiterals name="INOUT" value="2" literal="inout"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="RedefinitionClause">
- <eStructuralFeatures xsi:type="ecore:EReference" name="redefinedOperations" eType="ecore:EClass platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.ecore#//QualifiedNameList"
- containment="true"/>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel
deleted file mode 100644
index adfd5eeab61..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.genmodel
+++ /dev/null
@@ -1,71 +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.operation.editor.xtext/src-gen"
- editDirectory="/org.eclipse.papyrus.operation.editor.xtext.edit/src" editorDirectory="/org.eclipse.papyrus.operation.editor.xtext.editor/src"
- modelPluginID="org.eclipse.papyrus.operation.editor.xtext" forceOverwrite="true"
- modelName="Operation" updateClasspath="false" rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container"
- complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.papyrus.operation.editor.xtext.edit"
- editorPluginID="org.eclipse.papyrus.operation.editor.xtext.editor" usedGenPackages="platform:/resource/org.eclipse.papyrus.alf/src-gen/org/eclipse/papyrus/alf/Alf.genmodel#//alf">
- <genPackages prefix="Operation" basePackage="org.eclipse.papyrus.operation.editor.xtext"
- disposableProviderFactory="true" ecorePackage="Operation.ecore#/">
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="Operation.ecore#//VisibilityIndicator">
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PUBLIC"/>
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PRIVATE"/>
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//VisibilityIndicator/PROTECTED"/>
- </genEnums>
- <genEnums typeSafeEnumCompatible="false" ecoreEnum="Operation.ecore#//ParameterDirection">
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/IN"/>
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/OUT"/>
- <genEnumLiterals ecoreEnumLiteral="Operation.ecore#//ParameterDirection/INOUT"/>
- </genEnums>
- <genClasses ecoreClass="Operation.ecore#//OperationDefinitionOrStub">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDefinitionOrStub/declaration"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDefinitionOrStub/body"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//OperationDeclaration">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/visibilityIndicator"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/abstract"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//OperationDeclaration/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/formalParameters"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/returnType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//OperationDeclaration/redefinition"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//FormalParameters">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameters/formalParameterList"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//FormalParameterList">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameterList/formalParameter"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//FormalParameter">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//FormalParameter/direction"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//FormalParameter/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//FormalParameter/type"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//TypePart">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypePart/typeName"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypePart/multiplicity"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//Multiplicity">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//Multiplicity/range"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/ordered"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/nonUnique"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//Multiplicity/sequence"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//MultiplicityRange">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//MultiplicityRange/lower"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//MultiplicityRange/upper"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Operation.ecore#//NUMBER_LITERAL_WITHOUT_SUFFIX/value"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//INTEGER_LITERAL_WITHOUT_SUFFIX"/>
- <genClasses ecoreClass="Operation.ecore#//UNLIMITED_LITERAL_WITHOUT_SUFFIX"/>
- <genClasses ecoreClass="Operation.ecore#//TypeName">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//TypeName/qualifiedName"/>
- </genClasses>
- <genClasses ecoreClass="Operation.ecore#//RedefinitionClause">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Operation.ecore#//RedefinitionClause/redefinedOperations"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi
deleted file mode 100644
index 27558e3bbf2..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/Operation.xmi
+++ /dev/null
@@ -1,2480 +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.operation.editor.xtext.Operation" 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="operation">
- <ePackage href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:ParserRule" name="OperationDefinitionOrStub">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//OperationDefinitionOrStub"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="declaration" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.1"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value=";"/>
- <elements xsi:type="xtext:Assignment" feature="body" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="OperationDeclaration">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//OperationDeclaration"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="visibilityIndicator" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.2"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="abstract" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="abstract"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="formalParameters" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="returnType" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="redefinition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.14"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="VisibilityIndicator">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//VisibilityIndicator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//VisibilityIndicator/PUBLIC"/>
- <literal value="public"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//VisibilityIndicator/PRIVATE"/>
- <literal value="private"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//VisibilityIndicator/PROTECTED"/>
- <literal value="protected"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="FormalParameters">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//FormalParameters"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//FormalParameters"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="formalParameterList" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.4"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="FormalParameterList">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//FormalParameterList"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="formalParameter" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="formalParameter" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.5"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="FormalParameter">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//FormalParameter"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="direction" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.13"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.6"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TypePart">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//TypePart"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="typeName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.12"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="multiplicity" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.7"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Multiplicity">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//Multiplicity"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//Multiplicity"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="["/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="range" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.8"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="ordered" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="ordered"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="nonUnique" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="nonUnique"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="nonUnique" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="nonUnique"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="ordered" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="ordered"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="sequence" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="sequence"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="MultiplicityRange">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//MultiplicityRange"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="lower" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=".."/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="upper" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/0/@rules.9"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NUMBER_LITERAL_WITHOUT_SUFFIX">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//NUMBER_LITERAL_WITHOUT_SUFFIX"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.10"/>
- <elements xsi:type="xtext:RuleCall" rule="/0/@rules.11"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="INTEGER_LITERAL_WITHOUT_SUFFIX">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//INTEGER_LITERAL_WITHOUT_SUFFIX"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.7"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UNLIMITED_LITERAL_WITHOUT_SUFFIX">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//UNLIMITED_LITERAL_WITHOUT_SUFFIX"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="*"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TypeName">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//TypeName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//TypeName"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="qualifiedName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="any"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="ParameterDirection">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//ParameterDirection"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//ParameterDirection/IN"/>
- <literal value="in"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//ParameterDirection/OUT"/>
- <literal value="out"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//ParameterDirection/INOUT"/>
- <literal value="inout"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RedefinitionClause">
- <type metamodel="/0/@metamodelDeclarations.1">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/operation/editor/xtext/Operation#//RedefinitionClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="redefines"/>
- <elements xsi:type="xtext:Assignment" feature="redefinedOperations" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.102"/>
- </elements>
- </alternatives>
- </rules>
- </xtext:Grammar>
- <xtext:Grammar name="org.eclipse.papyrus.alf.Alf" usedGrammars="/2">
- <metamodelDeclarations xsi:type="xtext:GeneratedMetamodel" name="alf">
- <ePackage href="http://www.eclipse.org/papyrus/alf/Alf#/"/>
- </metamodelDeclarations>
- <rules xsi:type="xtext:ParserRule" name="Test">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Test"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="testExpression"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="testAssignmentExpression"/>
- <elements xsi:type="xtext:Assignment" feature="assignExpression" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.108"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="testStatement"/>
- <elements xsi:type="xtext:Assignment" feature="statements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.69"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="testBlock"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.2"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.4"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.8"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="BOOLEAN_LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//BOOLEAN_LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.3"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="BooleanValue">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//BooleanValue"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//BooleanValue/TRUE"/>
- <literal value="true"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//BooleanValue/FALSE"/>
- <literal value="false"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NUMBER_LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NUMBER_LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.5"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.6"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="INTEGER_LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//INTEGER_LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.7"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UNLIMITED_LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//UNLIMITED_LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:Keyword" value="*"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="IntegerValue">
- <type metamodel="/2/@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:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:CharacterRange">
- <left value="1"/>
- <right value="9"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="9"/>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0b"/>
- <elements xsi:type="xtext:Keyword" value="0B"/>
- </elements>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="1"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="1"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="0x"/>
- <elements xsi:type="xtext:Keyword" value="0X"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <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 xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="_"/>
- <elements xsi:type="xtext:Alternatives">
- <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>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="0"/>
- <elements xsi:type="xtext:Keyword" cardinality="?" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="7"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="_"/>
- <elements xsi:type="xtext:CharacterRange">
- <left value="0"/>
- <right value="7"/>
- </elements>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="STRING_LITERAL">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//STRING_LITERAL"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="value" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.111"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NameExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NameExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="prefixOp" 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" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.10"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="path" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.10"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="invocationCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="sequenceConstructionCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.57"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="postfixOp" operator="=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Keyword" value="++"/>
- <elements xsi:type="xtext:Keyword" value="--"/>
- </terminal>
- </elements>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="QualifiedNamePath">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//QualifiedNamePath"/>
- </type>
- <alternatives xsi:type="xtext:Group" cardinality="+">
- <elements xsi:type="xtext:Assignment" feature="namespace" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.11"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="::"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnqualifiedName">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//UnqualifiedName"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="templateBinding" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.12"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TemplateBinding">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//TemplateBinding"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="&lt;"/>
- <elements xsi:type="xtext:Assignment" feature="bindings" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.13"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="bindings" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.13"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=">"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NamedTemplateBinding">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NamedTemplateBinding"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="formal" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="=>"/>
- <elements xsi:type="xtext:Assignment" feature="actual" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="QualifiedNameWithBinding">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//QualifiedNameWithBinding"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="id" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="binding" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.12"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="::"/>
- <elements xsi:type="xtext:Assignment" feature="remaining" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Tuple">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Tuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Tuple"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="tupleElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.16"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="tupleElements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.16"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="TupleElement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//TupleElement"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="argument" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Expression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Expression"/>
- </type>
- <alternatives xsi:type="xtext:RuleCall" rule="/1/@rules.18"/>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConditionalTestExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ConditionalTestExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.19"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="?"/>
- <elements xsi:type="xtext:Assignment" feature="whenTrue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.18"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="whenFalse" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.18"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConditionalOrExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ConditionalOrExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.20"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="||"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.20"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConditionalAndExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ConditionalAndExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.21"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="&amp;&amp;"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.21"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InclusiveOrExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//InclusiveOrExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.22"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="|"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.22"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ExclusiveOrExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ExclusiveOrExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.23"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="^"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.23"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AndExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AndExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.24"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="&amp;"/>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.24"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EqualityExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//EqualityExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.25"/>
- </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="/1/@rules.25"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassificationExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassificationExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.26"/>
- </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="instanceof"/>
- <elements xsi:type="xtext:Keyword" value="hastype"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="typeName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.9"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="RelationalExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//RelationalExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="left" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.27"/>
- </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="&lt;"/>
- <elements xsi:type="xtext:Keyword" value=">"/>
- <elements xsi:type="xtext:Keyword" value="&lt;="/>
- <elements xsi:type="xtext:Keyword" value=">="/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="right" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.27"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ShiftExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ShiftExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.28"/>
- </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="&lt;&lt;"/>
- <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="/1/@rules.28"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AdditiveExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AdditiveExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.29"/>
- </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="/1/@rules.29"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="MultiplicativeExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//MultiplicativeExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.30"/>
- </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="%"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.30"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="UnaryExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//UnaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" 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="$"/>
- <elements xsi:type="xtext:Keyword" value="~"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="exp" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.31"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PrimaryExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//PrimaryExpression"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="prefix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.50"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SuffixExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SuffixExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.33"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.35"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.36"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.40"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.41"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.42"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.63"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="OperationCallExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//OperationCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="operationName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="tuple" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="OperationCallExpressionWithoutDot">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//OperationCallExpressionWithoutDot"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="operationName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="tuple" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PropertyCallExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//PropertyCallExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="propertyName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </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="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LinkOperationExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="kind" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.39"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="tuple" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.37"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LinkOperationTuple">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationTuple"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="linkOperationTupleElement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.38"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="linkOperationTupleElement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.38"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LinkOperationTupleElement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationTupleElement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="objectOrRole" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="["/>
- <elements xsi:type="xtext:Assignment" feature="roleIndex" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="=>"/>
- <elements xsi:type="xtext:Assignment" feature="object" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="LinkOperationKind">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationKind"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationKind/CREATE"/>
- <literal value="createLink"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationKind/DESTROY"/>
- <literal value="destroyLink"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//LinkOperationKind/CLEAR"/>
- <literal value="clearAssoc"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceOperationExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceOperationExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Assignment" feature="operationName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="tuple" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceReductionExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceReductionExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Keyword" value="reduce"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="isOrdered" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="ordered"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="behavior" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceExpansionExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceExpansionExpression"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.43"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.45"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.47"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.49"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SelectOrRejectOperation">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SelectOrRejectOperation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.44"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expr" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="SelectOrRejectOperator">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//SelectOrRejectOperator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//SelectOrRejectOperator/SELECT"/>
- <literal value="select"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//SelectOrRejectOperator/REJECT"/>
- <literal value="reject"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="CollectOrIterateOperation">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//CollectOrIterateOperation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.46"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expr" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="CollectOrIterateOperator">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//CollectOrIterateOperator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//CollectOrIterateOperator/COLLECT"/>
- <literal value="collect"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//CollectOrIterateOperator/ITERATE"/>
- <literal value="iterate"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ForAllOrExistsOrOneOperation">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ForAllOrExistsOrOneOperation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.48"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expr" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="ForAllOrExistsOrOneOperator">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//ForAllOrExistsOrOneOperator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//ForAllOrExistsOrOneOperator/FORALL"/>
- <literal value="forAll"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//ForAllOrExistsOrOneOperator/EXISTS"/>
- <literal value="exists"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//ForAllOrExistsOrOneOperator/ONE"/>
- <literal value="one"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="IsUniqueOperation">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//IsUniqueOperation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="->"/>
- <elements xsi:type="xtext:Keyword" value="isUnique"/>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expr" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ValueSpecification">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ValueSpecification"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.9"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.1"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.54"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.55"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.56"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.52"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.53"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NonLiteralValueSpecification">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NonLiteralValueSpecification"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.9"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.52"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.56"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.54"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.55"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ParenthesizedExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ParenthesizedExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expOrTypeCast" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="casted" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.51"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NullExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NullExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NullExpression"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="null"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ThisExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ThisExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ThisExpression"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="this"/>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SuperInvocationExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SuperInvocationExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="super"/>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Assignment" feature="className" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="::"/>
- <elements xsi:type="xtext:Assignment" feature="operationCallWithoutDot" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.34"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="operationCall" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.33"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstanceCreationExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//InstanceCreationExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="new"/>
- <elements xsi:type="xtext:Assignment" feature="constructor" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="tuple" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.15"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="sequenceConstuctionCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.60"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="suffix" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.32"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceConstructionOrAccessCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceConstructionOrAccessCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="multiplicityIndicator" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="accessCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.58"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="sequenceCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.59"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.61"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AccessCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AccessCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="accessIndex" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="PartialSequenceConstructionCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//PartialSequenceConstructionCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="]"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.61"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceConstructionCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceConstructionCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="multiplicityIndicator" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.61"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceConstructionExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceConstructionExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" feature="sequenceElement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="sequenceElement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value=".."/>
- <elements xsi:type="xtext:Assignment" feature="rangeUpper" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequenceElement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequenceElement"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.61"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassExtentExpression">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassExtentExpression"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassExtentExpression"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="."/>
- <elements xsi:type="xtext:Keyword" value="allInstances"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Block">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Block"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Block"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="sequence" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.65"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="StatementSequence">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//StatementSequence"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" cardinality="+" feature="statements" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.66"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DocumentedStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//DocumentedStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="comment" operator="=">
- <terminal xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.112"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.113"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="statement" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.69"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InlineStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//InlineStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="/*@"/>
- <elements xsi:type="xtext:Keyword" value="inline"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="langageName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" feature="body" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.111"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="*/"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AnnotatedStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotatedStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="//@"/>
- <elements xsi:type="xtext:Assignment" feature="annotation" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.70"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="statement" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.69"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Statement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Statement"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.68"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.67"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.72"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.73"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.74"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.75"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.80"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.85"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.86"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.87"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.90"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.91"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.92"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.97"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.103"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.104"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.105"/>
- <elements xsi:type="xtext:RuleCall" rule="/1/@rules.106"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="Annotation">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//Annotation"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="kind" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.71"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="args" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="args" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="AnnotationKind">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotationKind"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotationKind/ISOLATED"/>
- <literal value="isolated"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotationKind/DETERMINED"/>
- <literal value="determined"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotationKind/ASSURED"/>
- <literal value="assured"/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AnnotationKind/PARALLEL"/>
- <literal value="parallel"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="BlockStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//BlockStatement"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="EmptyStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//EmptyStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//EmptyStatement"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LocalNameDeclarationStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LocalNameDeclarationStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="let"/>
- <elements xsi:type="xtext:Assignment" feature="varName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="multiplicityIndicator" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="="/>
- <elements xsi:type="xtext:Assignment" feature="init" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="IfStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//IfStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="if"/>
- <elements xsi:type="xtext:Assignment" feature="sequentialClausses" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.76"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="finalClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.79"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SequentialClauses">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SequentialClauses"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="conccurentClauses" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.77"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="else"/>
- <elements xsi:type="xtext:Keyword" value="if"/>
- <elements xsi:type="xtext:Assignment" feature="conccurentClauses" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.77"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ConcurrentClauses">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ConcurrentClauses"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="nonFinalClause" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.78"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="or"/>
- <elements xsi:type="xtext:Keyword" value="if"/>
- <elements xsi:type="xtext:Assignment" feature="nonFinalClause" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.78"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NonFinalClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NonFinalClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="FinalClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//FinalClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="else"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SwitchStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SwitchStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="switch"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Keyword" value="{"/>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="switchClause" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.81"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="defaultClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.83"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="}"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SwitchClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SwitchClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="switchCase" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.82"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="*" feature="switchCase" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.82"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="statementSequence" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.84"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SwitchCase">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SwitchCase"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="case"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SwitchDefaultClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SwitchDefaultClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="default"/>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="statementSequence" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.84"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="NonEmptyStatementSequence">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//NonEmptyStatementSequence"/>
- </type>
- <alternatives xsi:type="xtext:Assignment" cardinality="+" feature="statement" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.66"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="WhileStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//WhileStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="while"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="DoStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//DoStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="do"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="while"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="condition" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ForStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ForStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="for"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Assignment" feature="control" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.88"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ForControl">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ForControl"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="loopVariableDefinition" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.89"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="loopVariableDefinition" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.89"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="LoopVariableDefinition">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//LoopVariableDefinition"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="in"/>
- <elements xsi:type="xtext:Assignment" feature="expression1" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" value=".."/>
- <elements xsi:type="xtext:Assignment" feature="expression2" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="type" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="BreakStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//BreakStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//BreakStatement"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="break"/>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ReturnStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ReturnStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="return"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AcceptStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AcceptStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="clause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.96"/>
- </elements>
- <elements xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Assignment" feature="simpleAccept" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.93"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="compoundAccept" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.94"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SimpleAcceptStatementCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SimpleAcceptStatementCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SimpleAcceptStatementCompletion"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="CompoundAcceptStatementCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//CompoundAcceptStatementCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value="or"/>
- <elements xsi:type="xtext:Assignment" feature="acceptBlock" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.95"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AcceptBlock">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AcceptBlock"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="clause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.96"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="block" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.64"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AcceptClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AcceptClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="accept"/>
- <elements xsi:type="xtext:Keyword" value="("/>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="name" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=":"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="qualifiedNameList" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.102"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=")"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassifyStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassifyStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="classify"/>
- <elements xsi:type="xtext:Assignment" feature="expression" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.17"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="clause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.98"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassificationClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassificationClause"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="classifyFromClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.99"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="classifyToClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.100"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="reclassyAllClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.101"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="classifyToClause" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.100"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassificationFromClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassificationFromClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="from"/>
- <elements xsi:type="xtext:Assignment" feature="qualifiedNameList" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.102"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ClassificationToClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ClassificationToClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="to"/>
- <elements xsi:type="xtext:Assignment" feature="qualifiedNameList" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.102"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ReclassifyAllClause">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ReclassifyAllClause"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Action">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ReclassifyAllClause"/>
- </type>
- </elements>
- <elements xsi:type="xtext:Keyword" value="from"/>
- <elements xsi:type="xtext:Keyword" value="*"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="QualifiedNameList">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//QualifiedNameList"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="qualifiedName" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="*">
- <elements xsi:type="xtext:Keyword" value=","/>
- <elements xsi:type="xtext:Assignment" feature="qualifiedName" operator="+=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.14"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InvocationOrAssignementOrDeclarationStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//InvocationOrAssignementOrDeclarationStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="typePart_OR_assignedPart_OR_invocationPart" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.9"/>
- </elements>
- <elements xsi:type="xtext:Alternatives" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="variableDeclarationCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.107"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="assignmentCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.108"/>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="SuperInvocationStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//SuperInvocationStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="_super" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.55"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="ThisInvocationStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//ThisInvocationStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="_this" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.54"/>
- </elements>
- <elements xsi:type="xtext:Assignment" cardinality="?" feature="assignmentCompletion" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.108"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="InstanceCreationInvocationStatement">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//InstanceCreationInvocationStatement"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="_new" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.56"/>
- </elements>
- <elements xsi:type="xtext:Keyword" value=";"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="VariableDeclarationCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//VariableDeclarationCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Assignment" feature="multiplicityIndicator" operator="?=">
- <terminal xsi:type="xtext:Keyword" value="["/>
- </elements>
- <elements xsi:type="xtext:Keyword" value="]"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="variableName" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.110"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="initValue" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.108"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:ParserRule" name="AssignmentCompletion">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EClass" href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentCompletion"/>
- </type>
- <alternatives xsi:type="xtext:Group">
- <elements xsi:type="xtext:Assignment" feature="op" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.109"/>
- </elements>
- <elements xsi:type="xtext:Assignment" feature="rightHandSide" operator="=">
- <terminal xsi:type="xtext:RuleCall" rule="/1/@rules.62"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:EnumRule" name="AssignmentOperator">
- <type metamodel="/1/@metamodelDeclarations.0">
- <classifier xsi:type="ecore:EEnum" href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator"/>
- </type>
- <alternatives xsi:type="xtext:Alternatives">
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/ASSIGN"/>
- <literal value="="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/PLUSASSIGN"/>
- <literal value="+="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/MINUSASSIGN"/>
- <literal value="-="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/MULTASSIGN"/>
- <literal value="*="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/MODASSIGN"/>
- <literal value="%="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/DIVASSIGN"/>
- <literal value="/="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/ANDASSIGN"/>
- <literal value="&amp;="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/ORASSIGN"/>
- <literal value="|="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/XORASSIGN"/>
- <literal value="^="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/LSHIFTASSIGN"/>
- <literal value="&lt;&lt;="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/RSHIFTASSIGN"/>
- <literal value=">>="/>
- </elements>
- <elements xsi:type="xtext:EnumLiteralDeclaration">
- <enumLiteral href="http://www.eclipse.org/papyrus/alf/Alf#//AssignmentOperator/URSHIFTASSIGN"/>
- <literal value=">>>="/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ID">
- <type metamodel="/2/@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: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>
- </elements>
- <elements xsi:type="xtext:Group">
- <elements xsi:type="xtext:Keyword" value="'"/>
- <elements xsi:type="xtext:UntilToken">
- <terminal xsi:type="xtext:Keyword" value="'"/>
- </elements>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="STRING">
- <type metamodel="/2/@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="&quot;"/>
- <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="&quot;"/>
- <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="&quot;"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ML_COMMENT">
- <type metamodel="/2/@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">
- <terminal xsi:type="xtext:Keyword" value="@"/>
- </elements>
- <elements xsi:type="xtext:UntilToken">
- <terminal xsi:type="xtext:Keyword" value="*/"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="SL_COMMENT">
- <type metamodel="/2/@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="&#xA;"/>
- <elements xsi:type="xtext:Keyword" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="@"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- </elements>
- </alternatives>
- </rules>
- </xtext:Grammar>
- <xtext:Grammar name="org.eclipse.xtext.common.Terminals" definesHiddenTokens="true" hiddenTokens="/2/@rules.5 /1/@rules.112 /1/@rules.113">
- <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="/2/@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="/2/@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="/2/@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="&quot;"/>
- <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="u"/>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- <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="&quot;"/>
- </terminal>
- </elements>
- </elements>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- </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="u"/>
- <elements xsi:type="xtext:Keyword" value="&quot;"/>
- <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="/2/@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="/2/@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="&#xA;"/>
- <elements xsi:type="xtext:Keyword" value="&#xD;"/>
- </terminal>
- </elements>
- <elements xsi:type="xtext:Group" cardinality="?">
- <elements xsi:type="xtext:Keyword" cardinality="?" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- </elements>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="WS">
- <type metamodel="/2/@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="&#x9;"/>
- <elements xsi:type="xtext:Keyword" value="&#xD;"/>
- <elements xsi:type="xtext:Keyword" value="&#xA;"/>
- </alternatives>
- </rules>
- <rules xsi:type="xtext:TerminalRule" name="ANY_OTHER">
- <type metamodel="/2/@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/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java
deleted file mode 100644
index 26a6bf6d1ac..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/OperationStandaloneSetupGenerated.java
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.eclipse.papyrus.operation.editor.xtext;
-
-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 OperationStandaloneSetupGenerated implements ISetup {
-
- public Injector createInjectorAndDoEMFRegistration() {
- org.eclipse.papyrus.alf.AlfStandaloneSetup.doSetup();
-
- Injector injector = createInjector();
- register(injector);
- return injector;
- }
-
- public Injector createInjector() {
- return Guice.createInjector(new org.eclipse.papyrus.operation.editor.xtext.OperationRuntimeModule());
- }
-
- public void register(Injector injector) {
- if (!EPackage.Registry.INSTANCE.containsKey("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation")) {
- EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation", org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage.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("operation", resourceFactory);
- org.eclipse.xtext.resource.IResourceServiceProvider.Registry.INSTANCE.getExtensionToFactoryMap().put("operation", serviceProvider);
-
-
-
-
- }
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
deleted file mode 100644
index 8000f7f9cee..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameter.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Formal Parameter</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter()
- * @model
- * @generated
- */
-public interface FormalParameter extends EObject
-{
- /**
- * Returns the value of the '<em><b>Direction</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Direction</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #setDirection(ParameterDirection)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Direction()
- * @model
- * @generated
- */
- ParameterDirection getDirection();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Direction</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see #getDirection()
- * @generated
- */
- void setDirection(ParameterDirection 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.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#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(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameter_Type()
- * @model containment="true"
- * @generated
- */
- TypePart getType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#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(TypePart value);
-
-} // FormalParameter
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
deleted file mode 100644
index 50292392eed..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameterList.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Formal Parameter List</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList()
- * @model
- * @generated
- */
-public interface FormalParameterList extends EObject
-{
- /**
- * Returns the value of the '<em><b>Formal Parameter</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter</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>Formal Parameter</em>' containment reference list.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameterList_FormalParameter()
- * @model containment="true"
- * @generated
- */
- EList<FormalParameter> getFormalParameter();
-
-} // FormalParameterList
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
deleted file mode 100644
index 0099f72e0ca..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/FormalParameters.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Formal Parameters</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters()
- * @model
- * @generated
- */
-public interface FormalParameters extends EObject
-{
- /**
- * Returns the value of the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameter List</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>Formal Parameter List</em>' containment reference.
- * @see #setFormalParameterList(FormalParameterList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getFormalParameters_FormalParameterList()
- * @model containment="true"
- * @generated
- */
- FormalParameterList getFormalParameterList();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Formal Parameter List</em>' containment reference.
- * @see #getFormalParameterList()
- * @generated
- */
- void setFormalParameterList(FormalParameterList value);
-
-} // FormalParameters
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
deleted file mode 100644
index 91e1db8c906..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/INTEGER_LITERAL_WITHOUT_SUFFIX.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>INTEGER LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @model
- * @generated
- */
-public interface INTEGER_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
-{
-} // INTEGER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
deleted file mode 100644
index 4016686cd1a..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/Multiplicity.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Multiplicity</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity()
- * @model
- * @generated
- */
-public interface Multiplicity extends EObject
-{
- /**
- * Returns the value of the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Range</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>Range</em>' containment reference.
- * @see #setRange(MultiplicityRange)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Range()
- * @model containment="true"
- * @generated
- */
- MultiplicityRange getRange();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Range</em>' containment reference.
- * @see #getRange()
- * @generated
- */
- void setRange(MultiplicityRange value);
-
- /**
- * Returns the value of the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Ordered</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Ordered</em>' attribute.
- * @see #setOrdered(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Ordered()
- * @model
- * @generated
- */
- boolean isOrdered();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Ordered</em>' attribute.
- * @see #isOrdered()
- * @generated
- */
- void setOrdered(boolean value);
-
- /**
- * Returns the value of the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Non Unique</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Non Unique</em>' attribute.
- * @see #setNonUnique(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_NonUnique()
- * @model
- * @generated
- */
- boolean isNonUnique();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Non Unique</em>' attribute.
- * @see #isNonUnique()
- * @generated
- */
- void setNonUnique(boolean value);
-
- /**
- * Returns the value of the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Sequence</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Sequence</em>' attribute.
- * @see #setSequence(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicity_Sequence()
- * @model
- * @generated
- */
- boolean isSequence();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Sequence</em>' attribute.
- * @see #isSequence()
- * @generated
- */
- void setSequence(boolean value);
-
-} // Multiplicity
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
deleted file mode 100644
index ba5f6c0c406..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/MultiplicityRange.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Multiplicity Range</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#getUpper <em>Upper</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange()
- * @model
- * @generated
- */
-public interface MultiplicityRange extends EObject
-{
- /**
- * 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(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Lower()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getLower();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#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(NUMBER_LITERAL_WITHOUT_SUFFIX 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(NUMBER_LITERAL_WITHOUT_SUFFIX)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getMultiplicityRange_Upper()
- * @model containment="true"
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX getUpper();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#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(NUMBER_LITERAL_WITHOUT_SUFFIX value);
-
-} // MultiplicityRange
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
deleted file mode 100644
index fb8ffe1ff2b..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/NUMBER_LITERAL_WITHOUT_SUFFIX.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>NUMBER LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @model
- * @generated
- */
-public interface NUMBER_LITERAL_WITHOUT_SUFFIX extends EObject
-{
- /**
- * 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.operation.editor.xtext.operation.OperationPackage#getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
- * @model
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#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);
-
-} // NUMBER_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
deleted file mode 100644
index 1a6326a7abf..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDeclaration.java
+++ /dev/null
@@ -1,205 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Declaration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration()
- * @model
- * @generated
- */
-public interface OperationDeclaration extends EObject
-{
- /**
- * Returns the value of the '<em><b>Visibility Indicator</b></em>' attribute.
- * The literals are from the enumeration {@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Visibility Indicator</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #setVisibilityIndicator(VisibilityIndicator)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_VisibilityIndicator()
- * @model
- * @generated
- */
- VisibilityIndicator getVisibilityIndicator();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Visibility Indicator</em>' attribute.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see #getVisibilityIndicator()
- * @generated
- */
- void setVisibilityIndicator(VisibilityIndicator value);
-
- /**
- * Returns the value of the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Abstract</em>' attribute.
- * @see #setAbstract(boolean)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Abstract()
- * @model
- * @generated
- */
- boolean isAbstract();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Abstract</em>' attribute.
- * @see #isAbstract()
- * @generated
- */
- void setAbstract(boolean 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.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Name()
- * @model
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#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>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Formal Parameters</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>Formal Parameters</em>' containment reference.
- * @see #setFormalParameters(FormalParameters)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_FormalParameters()
- * @model containment="true"
- * @generated
- */
- FormalParameters getFormalParameters();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Formal Parameters</em>' containment reference.
- * @see #getFormalParameters()
- * @generated
- */
- void setFormalParameters(FormalParameters value);
-
- /**
- * Returns the value of the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Return 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>Return Type</em>' containment reference.
- * @see #setReturnType(TypePart)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_ReturnType()
- * @model containment="true"
- * @generated
- */
- TypePart getReturnType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Return Type</em>' containment reference.
- * @see #getReturnType()
- * @generated
- */
- void setReturnType(TypePart value);
-
- /**
- * Returns the value of the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefinition</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>Redefinition</em>' containment reference.
- * @see #setRedefinition(RedefinitionClause)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDeclaration_Redefinition()
- * @model containment="true"
- * @generated
- */
- RedefinitionClause getRedefinition();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Redefinition</em>' containment reference.
- * @see #getRedefinition()
- * @generated
- */
- void setRedefinition(RedefinitionClause value);
-
-} // OperationDeclaration
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
deleted file mode 100644
index 4151a169e83..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationDefinitionOrStub.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Definition Or Stub</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub()
- * @model
- * @generated
- */
-public interface OperationDefinitionOrStub extends EObject
-{
- /**
- * Returns the value of the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Declaration</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>Declaration</em>' containment reference.
- * @see #setDeclaration(OperationDeclaration)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Declaration()
- * @model containment="true"
- * @generated
- */
- OperationDeclaration getDeclaration();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Declaration</em>' containment reference.
- * @see #getDeclaration()
- * @generated
- */
- void setDeclaration(OperationDeclaration value);
-
- /**
- * Returns the value of the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Body</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>Body</em>' containment reference.
- * @see #setBody(Block)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getOperationDefinitionOrStub_Body()
- * @model containment="true"
- * @generated
- */
- Block getBody();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Body</em>' containment reference.
- * @see #getBody()
- * @generated
- */
- void setBody(Block value);
-
-} // OperationDefinitionOrStub
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
deleted file mode 100644
index c4e3bd78fbb..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationFactory.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-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.operation.editor.xtext.operation.OperationPackage
- * @generated
- */
-public interface OperationFactory extends EFactory
-{
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- OperationFactory eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Definition Or Stub</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Definition Or Stub</em>'.
- * @generated
- */
- OperationDefinitionOrStub createOperationDefinitionOrStub();
-
- /**
- * Returns a new object of class '<em>Declaration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Declaration</em>'.
- * @generated
- */
- OperationDeclaration createOperationDeclaration();
-
- /**
- * Returns a new object of class '<em>Formal Parameters</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Formal Parameters</em>'.
- * @generated
- */
- FormalParameters createFormalParameters();
-
- /**
- * Returns a new object of class '<em>Formal Parameter List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Formal Parameter List</em>'.
- * @generated
- */
- FormalParameterList createFormalParameterList();
-
- /**
- * Returns a new object of class '<em>Formal Parameter</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Formal Parameter</em>'.
- * @generated
- */
- FormalParameter createFormalParameter();
-
- /**
- * Returns a new object of class '<em>Type Part</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Type Part</em>'.
- * @generated
- */
- TypePart createTypePart();
-
- /**
- * Returns a new object of class '<em>Multiplicity</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Multiplicity</em>'.
- * @generated
- */
- Multiplicity createMultiplicity();
-
- /**
- * Returns a new object of class '<em>Multiplicity Range</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Multiplicity Range</em>'.
- * @generated
- */
- MultiplicityRange createMultiplicityRange();
-
- /**
- * Returns a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @generated
- */
- UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns a new object of class '<em>Type Name</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Type Name</em>'.
- * @generated
- */
- TypeName createTypeName();
-
- /**
- * Returns a new object of class '<em>Redefinition Clause</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Redefinition Clause</em>'.
- * @generated
- */
- RedefinitionClause createRedefinitionClause();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- OperationPackage getOperationPackage();
-
-} // OperationFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
deleted file mode 100644
index 85ed25fb540..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/OperationPackage.java
+++ /dev/null
@@ -1,1486 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-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.operation.editor.xtext.operation.OperationFactory
- * @model kind="package"
- * @generated
- */
-public interface OperationPackage extends EPackage
-{
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "operation";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/operation/editor/xtext/Operation";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "operation";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- OperationPackage eINSTANCE = org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- int OPERATION_DEFINITION_OR_STUB = 0;
-
- /**
- * The feature id for the '<em><b>Declaration</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__DECLARATION = 0;
-
- /**
- * The feature id for the '<em><b>Body</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB__BODY = 1;
-
- /**
- * The number of structural features of the '<em>Definition Or Stub</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DEFINITION_OR_STUB_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- int OPERATION_DECLARATION = 1;
-
- /**
- * The feature id for the '<em><b>Visibility Indicator</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__VISIBILITY_INDICATOR = 0;
-
- /**
- * The feature id for the '<em><b>Abstract</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__ABSTRACT = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__NAME = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameters</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__FORMAL_PARAMETERS = 3;
-
- /**
- * The feature id for the '<em><b>Return Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__RETURN_TYPE = 4;
-
- /**
- * The feature id for the '<em><b>Redefinition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION__REDEFINITION = 5;
-
- /**
- * The number of structural features of the '<em>Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int OPERATION_DECLARATION_FEATURE_COUNT = 6;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- int FORMAL_PARAMETERS = 2;
-
- /**
- * The feature id for the '<em><b>Formal Parameter List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameters</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETERS_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- int FORMAL_PARAMETER_LIST = 3;
-
- /**
- * The feature id for the '<em><b>Formal Parameter</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = 0;
-
- /**
- * The number of structural features of the '<em>Formal Parameter List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_LIST_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- int FORMAL_PARAMETER = 4;
-
- /**
- * The feature id for the '<em><b>Direction</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__DIRECTION = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__NAME = 1;
-
- /**
- * The feature id for the '<em><b>Type</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER__TYPE = 2;
-
- /**
- * The number of structural features of the '<em>Formal Parameter</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FORMAL_PARAMETER_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- int TYPE_PART = 5;
-
- /**
- * The feature id for the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TYPE_PART__TYPE_NAME = 0;
-
- /**
- * The feature id for the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TYPE_PART__MULTIPLICITY = 1;
-
- /**
- * The number of structural features of the '<em>Type Part</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TYPE_PART_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- int MULTIPLICITY = 6;
-
- /**
- * The feature id for the '<em><b>Range</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY__RANGE = 0;
-
- /**
- * The feature id for the '<em><b>Ordered</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY__ORDERED = 1;
-
- /**
- * The feature id for the '<em><b>Non Unique</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY__NON_UNIQUE = 2;
-
- /**
- * The feature id for the '<em><b>Sequence</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY__SEQUENCE = 3;
-
- /**
- * The number of structural features of the '<em>Multiplicity</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- int MULTIPLICITY_RANGE = 7;
-
- /**
- * The feature id for the '<em><b>Lower</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__LOWER = 0;
-
- /**
- * The feature id for the '<em><b>Upper</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE__UPPER = 1;
-
- /**
- * The number of structural features of the '<em>Multiplicity Range</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int MULTIPLICITY_RANGE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX = 8;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = 0;
-
- /**
- * The number of structural features of the '<em>NUMBER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX = 9;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>INTEGER LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int INTEGER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX = 10;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX__VALUE = NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE;
-
- /**
- * The number of structural features of the '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int UNLIMITED_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT = NUMBER_LITERAL_WITHOUT_SUFFIX_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- int TYPE_NAME = 11;
-
- /**
- * The feature id for the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TYPE_NAME__QUALIFIED_NAME = 0;
-
- /**
- * The number of structural features of the '<em>Type Name</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TYPE_NAME_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- int REDEFINITION_CLAUSE = 12;
-
- /**
- * The feature id for the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = 0;
-
- /**
- * The number of structural features of the '<em>Redefinition Clause</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int REDEFINITION_CLAUSE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- int VISIBILITY_INDICATOR = 13;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- int PARAMETER_DIRECTION = 14;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Definition Or Stub</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- EClass getOperationDefinitionOrStub();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getDeclaration()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Declaration();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody <em>Body</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Body</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub#getBody()
- * @see #getOperationDefinitionOrStub()
- * @generated
- */
- EReference getOperationDefinitionOrStub_Body();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Declaration</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- EClass getOperationDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getVisibilityIndicator()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_VisibilityIndicator();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract <em>Abstract</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Abstract</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#isAbstract()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Abstract();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getName()
- * @see #getOperationDeclaration()
- * @generated
- */
- EAttribute getOperationDeclaration_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getFormalParameters()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_FormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType <em>Return Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Return Type</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getReturnType()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_ReturnType();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition <em>Redefinition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Redefinition</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration#getRedefinition()
- * @see #getOperationDeclaration()
- * @generated
- */
- EReference getOperationDeclaration_Redefinition();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Formal Parameters</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- EClass getFormalParameters();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters#getFormalParameterList()
- * @see #getFormalParameters()
- * @generated
- */
- EReference getFormalParameters_FormalParameterList();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Formal Parameter List</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- EClass getFormalParameterList();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList#getFormalParameter()
- * @see #getFormalParameterList()
- * @generated
- */
- EReference getFormalParameterList_FormalParameter();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Formal Parameter</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- EClass getFormalParameter();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection <em>Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getDirection()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Direction();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#getName()
- * @see #getFormalParameter()
- * @generated
- */
- EAttribute getFormalParameter_Name();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter#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.operation.editor.xtext.operation.FormalParameter#getType()
- * @see #getFormalParameter()
- * @generated
- */
- EReference getFormalParameter_Type();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Type Part</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart
- * @generated
- */
- EClass getTypePart();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_TypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity()
- * @see #getTypePart()
- * @generated
- */
- EReference getTypePart_Multiplicity();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Multiplicity</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- EClass getMultiplicity();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange <em>Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#getRange()
- * @see #getMultiplicity()
- * @generated
- */
- EReference getMultiplicity_Range();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered <em>Ordered</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Ordered</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isOrdered()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Ordered();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique <em>Non Unique</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Non Unique</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isNonUnique()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_NonUnique();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence <em>Sequence</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Sequence</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity#isSequence()
- * @see #getMultiplicity()
- * @generated
- */
- EAttribute getMultiplicity_Sequence();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Multiplicity Range</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- EClass getMultiplicityRange();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#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.operation.editor.xtext.operation.MultiplicityRange#getLower()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Lower();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange#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.operation.editor.xtext.operation.MultiplicityRange#getUpper()
- * @see #getMultiplicityRange()
- * @generated
- */
- EReference getMultiplicityRange_Upper();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>NUMBER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX#getValue()
- * @see #getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>INTEGER LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>UNLIMITED LITERAL WITHOUT SUFFIX</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName
- * @generated
- */
- EClass getTypeName();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Qualified Name</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName()
- * @see #getTypeName()
- * @generated
- */
- EReference getTypeName_QualifiedName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Redefinition Clause</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- EClass getRedefinitionClause();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Redefined Operations</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations()
- * @see #getRedefinitionClause()
- * @generated
- */
- EReference getRedefinitionClause_RedefinedOperations();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Visibility Indicator</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @generated
- */
- EEnum getVisibilityIndicator();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for enum '<em>Parameter Direction</em>'.
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @generated
- */
- EEnum getParameterDirection();
-
- /**
- * 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
- */
- OperationFactory getOperationFactory();
-
- /**
- * <!-- 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.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl <em>Definition Or Stub</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDefinitionOrStub()
- * @generated
- */
- EClass OPERATION_DEFINITION_OR_STUB = eINSTANCE.getOperationDefinitionOrStub();
-
- /**
- * The meta object literal for the '<em><b>Declaration</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__DECLARATION = eINSTANCE.getOperationDefinitionOrStub_Declaration();
-
- /**
- * The meta object literal for the '<em><b>Body</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference OPERATION_DEFINITION_OR_STUB__BODY = eINSTANCE.getOperationDefinitionOrStub_Body();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl <em>Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getOperationDeclaration()
- * @generated
- */
- EClass OPERATION_DECLARATION = eINSTANCE.getOperationDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Visibility Indicator</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute OPERATION_DECLARATION__VISIBILITY_INDICATOR = eINSTANCE.getOperationDeclaration_VisibilityIndicator();
-
- /**
- * The meta object literal for the '<em><b>Abstract</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute OPERATION_DECLARATION__ABSTRACT = eINSTANCE.getOperationDeclaration_Abstract();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute OPERATION_DECLARATION__NAME = eINSTANCE.getOperationDeclaration_Name();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameters</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference OPERATION_DECLARATION__FORMAL_PARAMETERS = eINSTANCE.getOperationDeclaration_FormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Return Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference OPERATION_DECLARATION__RETURN_TYPE = eINSTANCE.getOperationDeclaration_ReturnType();
-
- /**
- * The meta object literal for the '<em><b>Redefinition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference OPERATION_DECLARATION__REDEFINITION = eINSTANCE.getOperationDeclaration_Redefinition();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl <em>Formal Parameters</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameters()
- * @generated
- */
- EClass FORMAL_PARAMETERS = eINSTANCE.getFormalParameters();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameters_FormalParameterList();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl <em>Formal Parameter List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameterList()
- * @generated
- */
- EClass FORMAL_PARAMETER_LIST = eINSTANCE.getFormalParameterList();
-
- /**
- * The meta object literal for the '<em><b>Formal Parameter</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference FORMAL_PARAMETER_LIST__FORMAL_PARAMETER = eINSTANCE.getFormalParameterList_FormalParameter();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl <em>Formal Parameter</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getFormalParameter()
- * @generated
- */
- EClass FORMAL_PARAMETER = eINSTANCE.getFormalParameter();
-
- /**
- * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute FORMAL_PARAMETER__DIRECTION = eINSTANCE.getFormalParameter_Direction();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute FORMAL_PARAMETER__NAME = eINSTANCE.getFormalParameter_Name();
-
- /**
- * The meta object literal for the '<em><b>Type</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference FORMAL_PARAMETER__TYPE = eINSTANCE.getFormalParameter_Type();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl <em>Type Part</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypePart()
- * @generated
- */
- EClass TYPE_PART = eINSTANCE.getTypePart();
-
- /**
- * The meta object literal for the '<em><b>Type Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference TYPE_PART__TYPE_NAME = eINSTANCE.getTypePart_TypeName();
-
- /**
- * The meta object literal for the '<em><b>Multiplicity</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference TYPE_PART__MULTIPLICITY = eINSTANCE.getTypePart_Multiplicity();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl <em>Multiplicity</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicity()
- * @generated
- */
- EClass MULTIPLICITY = eINSTANCE.getMultiplicity();
-
- /**
- * The meta object literal for the '<em><b>Range</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference MULTIPLICITY__RANGE = eINSTANCE.getMultiplicity_Range();
-
- /**
- * The meta object literal for the '<em><b>Ordered</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute MULTIPLICITY__ORDERED = eINSTANCE.getMultiplicity_Ordered();
-
- /**
- * The meta object literal for the '<em><b>Non Unique</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute MULTIPLICITY__NON_UNIQUE = eINSTANCE.getMultiplicity_NonUnique();
-
- /**
- * The meta object literal for the '<em><b>Sequence</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute MULTIPLICITY__SEQUENCE = eINSTANCE.getMultiplicity_Sequence();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl <em>Multiplicity Range</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getMultiplicityRange()
- * @generated
- */
- EClass MULTIPLICITY_RANGE = eINSTANCE.getMultiplicityRange();
-
- /**
- * The meta object literal for the '<em><b>Lower</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference MULTIPLICITY_RANGE__LOWER = eINSTANCE.getMultiplicityRange_Lower();
-
- /**
- * The meta object literal for the '<em><b>Upper</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference MULTIPLICITY_RANGE__UPPER = eINSTANCE.getMultiplicityRange_Upper();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl <em>NUMBER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getNUMBER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass NUMBER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE = eINSTANCE.getNUMBER_LITERAL_WITHOUT_SUFFIX_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl <em>INTEGER LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.INTEGER_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getINTEGER_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass INTEGER_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl <em>UNLIMITED LITERAL WITHOUT SUFFIX</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @generated
- */
- EClass UNLIMITED_LITERAL_WITHOUT_SUFFIX = eINSTANCE.getUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl <em>Type Name</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getTypeName()
- * @generated
- */
- EClass TYPE_NAME = eINSTANCE.getTypeName();
-
- /**
- * The meta object literal for the '<em><b>Qualified Name</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference TYPE_NAME__QUALIFIED_NAME = eINSTANCE.getTypeName_QualifiedName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl <em>Redefinition Clause</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getRedefinitionClause()
- * @generated
- */
- EClass REDEFINITION_CLAUSE = eINSTANCE.getRedefinitionClause();
-
- /**
- * The meta object literal for the '<em><b>Redefined Operations</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference REDEFINITION_CLAUSE__REDEFINED_OPERATIONS = eINSTANCE.getRedefinitionClause_RedefinedOperations();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator <em>Visibility Indicator</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getVisibilityIndicator()
- * @generated
- */
- EEnum VISIBILITY_INDICATOR = eINSTANCE.getVisibilityIndicator();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection <em>Parameter Direction</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationPackageImpl#getParameterDirection()
- * @generated
- */
- EEnum PARAMETER_DIRECTION = eINSTANCE.getParameterDirection();
-
- }
-
-} // OperationPackage
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
deleted file mode 100644
index 4fe3ee57429..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/ParameterDirection.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Parameter Direction</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getParameterDirection()
- * @model
- * @generated
- */
-public enum ParameterDirection implements Enumerator
-{
- /**
- * The '<em><b>IN</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #IN_VALUE
- * @generated
- * @ordered
- */
- IN(0, "IN", "in"),
-
- /**
- * The '<em><b>OUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #OUT_VALUE
- * @generated
- * @ordered
- */
- OUT(1, "OUT", "out"),
-
- /**
- * The '<em><b>INOUT</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #INOUT_VALUE
- * @generated
- * @ordered
- */
- INOUT(2, "INOUT", "inout");
-
- /**
- * The '<em><b>IN</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>IN</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #IN
- * @model literal="in"
- * @generated
- * @ordered
- */
- public static final int IN_VALUE = 0;
-
- /**
- * The '<em><b>OUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>OUT</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #OUT
- * @model literal="out"
- * @generated
- * @ordered
- */
- public static final int OUT_VALUE = 1;
-
- /**
- * The '<em><b>INOUT</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>INOUT</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #INOUT
- * @model literal="inout"
- * @generated
- * @ordered
- */
- public static final int INOUT_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final ParameterDirection[] VALUES_ARRAY =
- new ParameterDirection[]
- {
- IN,
- OUT,
- INOUT,
- };
-
- /**
- * A public read-only list of all the '<em><b>Parameter Direction</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<ParameterDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static ParameterDirection get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static ParameterDirection getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- ParameterDirection result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Parameter Direction</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static ParameterDirection get(int value)
- {
- switch (value)
- {
- case IN_VALUE:
- return IN;
- case OUT_VALUE:
- return OUT;
- case INOUT_VALUE:
- return INOUT;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private ParameterDirection(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} // ParameterDirection
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
deleted file mode 100644
index 1671b4c9fe4..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/RedefinitionClause.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Redefinition Clause</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause()
- * @model
- * @generated
- */
-public interface RedefinitionClause extends EObject
-{
- /**
- * Returns the value of the '<em><b>Redefined Operations</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Redefined Operations</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>Redefined Operations</em>' containment reference.
- * @see #setRedefinedOperations(QualifiedNameList)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getRedefinitionClause_RedefinedOperations()
- * @model containment="true"
- * @generated
- */
- QualifiedNameList getRedefinedOperations();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause#getRedefinedOperations <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Redefined Operations</em>' containment reference.
- * @see #getRedefinedOperations()
- * @generated
- */
- void setRedefinedOperations(QualifiedNameList value);
-
-} // RedefinitionClause
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
deleted file mode 100644
index f3a50e762d8..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypeName.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Type Name</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName()
- * @model
- * @generated
- */
-public interface TypeName extends EObject
-{
- /**
- * Returns the value of the '<em><b>Qualified Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Qualified Name</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>Qualified Name</em>' containment reference.
- * @see #setQualifiedName(QualifiedNameWithBinding)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypeName_QualifiedName()
- * @model containment="true"
- * @generated
- */
- QualifiedNameWithBinding getQualifiedName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName#getQualifiedName <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Qualified Name</em>' containment reference.
- * @see #getQualifiedName()
- * @generated
- */
- void setQualifiedName(QualifiedNameWithBinding value);
-
-} // TypeName
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
deleted file mode 100644
index f15f3b8d558..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/TypePart.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Type Part</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart()
- * @model
- * @generated
- */
-public interface TypePart extends EObject
-{
- /**
- * Returns the value of the '<em><b>Type Name</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Type Name</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 Name</em>' containment reference.
- * @see #setTypeName(TypeName)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_TypeName()
- * @model containment="true"
- * @generated
- */
- TypeName getTypeName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getTypeName <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Type Name</em>' containment reference.
- * @see #getTypeName()
- * @generated
- */
- void setTypeName(TypeName value);
-
- /**
- * Returns the value of the '<em><b>Multiplicity</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Multiplicity</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>Multiplicity</em>' containment reference.
- * @see #setMultiplicity(Multiplicity)
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getTypePart_Multiplicity()
- * @model containment="true"
- * @generated
- */
- Multiplicity getMultiplicity();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart#getMultiplicity <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Multiplicity</em>' containment reference.
- * @see #getMultiplicity()
- * @generated
- */
- void setMultiplicity(Multiplicity value);
-
-} // TypePart
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
deleted file mode 100644
index 25f053ebf83..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/UNLIMITED_LITERAL_WITHOUT_SUFFIX.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>UNLIMITED LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- * @model
- * @generated
- */
-public interface UNLIMITED_LITERAL_WITHOUT_SUFFIX extends NUMBER_LITERAL_WITHOUT_SUFFIX
-{
-} // UNLIMITED_LITERAL_WITHOUT_SUFFIX
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
deleted file mode 100644
index 1315cc8f8b4..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/VisibilityIndicator.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>Visibility Indicator</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage#getVisibilityIndicator()
- * @model
- * @generated
- */
-public enum VisibilityIndicator implements Enumerator
-{
- /**
- * The '<em><b>PUBLIC</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #PUBLIC_VALUE
- * @generated
- * @ordered
- */
- PUBLIC(0, "PUBLIC", "public"),
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #PRIVATE_VALUE
- * @generated
- * @ordered
- */
- PRIVATE(1, "PRIVATE", "private"),
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #PROTECTED_VALUE
- * @generated
- * @ordered
- */
- PROTECTED(2, "PROTECTED", "protected");
-
- /**
- * The '<em><b>PUBLIC</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PUBLIC</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #PUBLIC
- * @model literal="public"
- * @generated
- * @ordered
- */
- public static final int PUBLIC_VALUE = 0;
-
- /**
- * The '<em><b>PRIVATE</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PRIVATE</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #PRIVATE
- * @model literal="private"
- * @generated
- * @ordered
- */
- public static final int PRIVATE_VALUE = 1;
-
- /**
- * The '<em><b>PROTECTED</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>PROTECTED</b></em>' literal object isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @see #PROTECTED
- * @model literal="protected"
- * @generated
- * @ordered
- */
- public static final int PROTECTED_VALUE = 2;
-
- /**
- * An array of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static final VisibilityIndicator[] VALUES_ARRAY =
- new VisibilityIndicator[]
- {
- PUBLIC,
- PRIVATE,
- PROTECTED,
- };
-
- /**
- * A public read-only list of all the '<em><b>Visibility Indicator</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static final List<VisibilityIndicator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static VisibilityIndicator get(String literal)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.toString().equals(literal))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static VisibilityIndicator getByName(String name)
- {
- for (int i = 0; i < VALUES_ARRAY.length; ++i)
- {
- VisibilityIndicator result = VALUES_ARRAY[i];
- if (result.getName().equals(name))
- {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>Visibility Indicator</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static VisibilityIndicator get(int value)
- {
- switch (value)
- {
- case PUBLIC_VALUE:
- return PUBLIC;
- case PRIVATE_VALUE:
- return PRIVATE;
- case PROTECTED_VALUE:
- return PROTECTED;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private VisibilityIndicator(int value, String name, String literal)
- {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public int getValue()
- {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName()
- {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getLiteral()
- {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- return literal;
- }
-
-} // VisibilityIndicator
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
deleted file mode 100644
index e6f9e9e4b75..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterImpl.java
+++ /dev/null
@@ -1,359 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Formal Parameter</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getDirection <em>Direction</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterImpl#getType <em>Type</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class FormalParameterImpl extends MinimalEObjectImpl.Container implements FormalParameter
-{
- /**
- * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected static final ParameterDirection DIRECTION_EDEFAULT = ParameterDirection.IN;
-
- /**
- * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDirection()
- * @generated
- * @ordered
- */
- protected ParameterDirection direction = DIRECTION_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 TypePart type;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FormalParameterImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ParameterDirection getDirection()
- {
- return direction;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDirection(ParameterDirection newDirection)
- {
- ParameterDirection oldDirection = direction;
- direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__DIRECTION, oldDirection, direction));
- }
- }
-
- /**
- * <!-- 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, OperationPackage.FORMAL_PARAMETER__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TypePart getType()
- {
- return type;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetType(TypePart newType, NotificationChain msgs)
- {
- TypePart oldType = type;
- type = newType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, oldType, newType);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setType(TypePart newType)
- {
- if (newType != type)
- {
- NotificationChain msgs = null;
- if (type != null) {
- msgs = ((InternalEObject) type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- }
- if (newType != null) {
- msgs = ((InternalEObject) newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETER__TYPE, null, msgs);
- }
- msgs = basicSetType(newType, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETER__TYPE, newType, newType));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return basicSetType(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 OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return getDirection();
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return getName();
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return getType();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection((ParameterDirection) newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName((String) newValue);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- setDirection(DIRECTION_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- setType((TypePart) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER__DIRECTION:
- return direction != DIRECTION_EDEFAULT;
- case OperationPackage.FORMAL_PARAMETER__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.FORMAL_PARAMETER__TYPE:
- return type != 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(" (direction: ");
- result.append(direction);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} // FormalParameterImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
deleted file mode 100644
index 7cbfd8c4dc9..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParameterListImpl.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.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.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.operation.editor.xtext.operation.FormalParameter;
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Formal Parameter List</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParameterListImpl#getFormalParameter <em>Formal Parameter</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class FormalParameterListImpl extends MinimalEObjectImpl.Container implements FormalParameterList
-{
- /**
- * The cached value of the '{@link #getFormalParameter() <em>Formal Parameter</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFormalParameter()
- * @generated
- * @ordered
- */
- protected EList<FormalParameter> formalParameter;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FormalParameterListImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETER_LIST;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<FormalParameter> getFormalParameter()
- {
- if (formalParameter == null)
- {
- formalParameter = new EObjectContainmentEList<FormalParameter>(FormalParameter.class, this, OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
- }
- return formalParameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return ((InternalEList<?>) getFormalParameter()).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 OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return getFormalParameter();
- }
- 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 OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- getFormalParameter().addAll((Collection<? extends FormalParameter>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- getFormalParameter().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETER_LIST__FORMAL_PARAMETER:
- return formalParameter != null && !formalParameter.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // FormalParameterListImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
deleted file mode 100644
index e4fffa487a0..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/FormalParametersImpl.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList;
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Formal Parameters</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.FormalParametersImpl#getFormalParameterList <em>Formal Parameter List</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class FormalParametersImpl extends MinimalEObjectImpl.Container implements FormalParameters
-{
- /**
- * The cached value of the '{@link #getFormalParameterList() <em>Formal Parameter List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFormalParameterList()
- * @generated
- * @ordered
- */
- protected FormalParameterList formalParameterList;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FormalParametersImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.FORMAL_PARAMETERS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FormalParameterList getFormalParameterList()
- {
- return formalParameterList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetFormalParameterList(FormalParameterList newFormalParameterList, NotificationChain msgs)
- {
- FormalParameterList oldFormalParameterList = formalParameterList;
- formalParameterList = newFormalParameterList;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, oldFormalParameterList, newFormalParameterList);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFormalParameterList(FormalParameterList newFormalParameterList)
- {
- if (newFormalParameterList != formalParameterList)
- {
- NotificationChain msgs = null;
- if (formalParameterList != null) {
- msgs = ((InternalEObject) formalParameterList).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- }
- if (newFormalParameterList != null) {
- msgs = ((InternalEObject) newFormalParameterList).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, null, msgs);
- }
- msgs = basicSetFormalParameterList(newFormalParameterList, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST, newFormalParameterList, newFormalParameterList));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return basicSetFormalParameterList(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 OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return getFormalParameterList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- setFormalParameterList((FormalParameterList) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST:
- return formalParameterList != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // FormalParametersImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
deleted file mode 100644
index 7ec832283a8..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/INTEGER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>INTEGER LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class INTEGER_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements INTEGER_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected INTEGER_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.INTEGER_LITERAL_WITHOUT_SUFFIX;
- }
-
-} // INTEGER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
deleted file mode 100644
index b379f18ca9d..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityImpl.java
+++ /dev/null
@@ -1,419 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity;
-import org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Multiplicity</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#getRange <em>Range</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isOrdered <em>Ordered</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isNonUnique <em>Non Unique</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityImpl#isSequence <em>Sequence</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MultiplicityImpl extends MinimalEObjectImpl.Container implements Multiplicity
-{
- /**
- * The cached value of the '{@link #getRange() <em>Range</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRange()
- * @generated
- * @ordered
- */
- protected MultiplicityRange range;
-
- /**
- * The default value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected static final boolean ORDERED_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isOrdered() <em>Ordered</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isOrdered()
- * @generated
- * @ordered
- */
- protected boolean ordered = ORDERED_EDEFAULT;
-
- /**
- * The default value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected static final boolean NON_UNIQUE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isNonUnique() <em>Non Unique</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isNonUnique()
- * @generated
- * @ordered
- */
- protected boolean nonUnique = NON_UNIQUE_EDEFAULT;
-
- /**
- * The default value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected static final boolean SEQUENCE_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isSequence() <em>Sequence</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isSequence()
- * @generated
- * @ordered
- */
- protected boolean sequence = SEQUENCE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected MultiplicityImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.MULTIPLICITY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public MultiplicityRange getRange()
- {
- return range;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetRange(MultiplicityRange newRange, NotificationChain msgs)
- {
- MultiplicityRange oldRange = range;
- range = newRange;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, oldRange, newRange);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRange(MultiplicityRange newRange)
- {
- if (newRange != range)
- {
- NotificationChain msgs = null;
- if (range != null) {
- msgs = ((InternalEObject) range).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- }
- if (newRange != null) {
- msgs = ((InternalEObject) newRange).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY__RANGE, null, msgs);
- }
- msgs = basicSetRange(newRange, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__RANGE, newRange, newRange));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isOrdered()
- {
- return ordered;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setOrdered(boolean newOrdered)
- {
- boolean oldOrdered = ordered;
- ordered = newOrdered;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__ORDERED, oldOrdered, ordered));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isNonUnique()
- {
- return nonUnique;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setNonUnique(boolean newNonUnique)
- {
- boolean oldNonUnique = nonUnique;
- nonUnique = newNonUnique;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__NON_UNIQUE, oldNonUnique, nonUnique));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isSequence()
- {
- return sequence;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setSequence(boolean newSequence)
- {
- boolean oldSequence = sequence;
- sequence = newSequence;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY__SEQUENCE, oldSequence, sequence));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- return basicSetRange(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 OperationPackage.MULTIPLICITY__RANGE:
- return getRange();
- case OperationPackage.MULTIPLICITY__ORDERED:
- return isOrdered();
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return isNonUnique();
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return isSequence();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange) newValue);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered((Boolean) newValue);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique((Boolean) newValue);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence((Boolean) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- setRange((MultiplicityRange) null);
- return;
- case OperationPackage.MULTIPLICITY__ORDERED:
- setOrdered(ORDERED_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- setNonUnique(NON_UNIQUE_EDEFAULT);
- return;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- setSequence(SEQUENCE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY__RANGE:
- return range != null;
- case OperationPackage.MULTIPLICITY__ORDERED:
- return ordered != ORDERED_EDEFAULT;
- case OperationPackage.MULTIPLICITY__NON_UNIQUE:
- return nonUnique != NON_UNIQUE_EDEFAULT;
- case OperationPackage.MULTIPLICITY__SEQUENCE:
- return sequence != SEQUENCE_EDEFAULT;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString()
- {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (ordered: ");
- result.append(ordered);
- result.append(", nonUnique: ");
- result.append(nonUnique);
- result.append(", sequence: ");
- result.append(sequence);
- result.append(')');
- return result.toString();
- }
-
-} // MultiplicityImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
deleted file mode 100644
index ac5fcaaab18..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/MultiplicityRangeImpl.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange;
-import org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Multiplicity Range</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getLower <em>Lower</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.MultiplicityRangeImpl#getUpper <em>Upper</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class MultiplicityRangeImpl extends MinimalEObjectImpl.Container implements MultiplicityRange
-{
- /**
- * The cached value of the '{@link #getLower() <em>Lower</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getLower()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX lower;
-
- /**
- * The cached value of the '{@link #getUpper() <em>Upper</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getUpper()
- * @generated
- * @ordered
- */
- protected NUMBER_LITERAL_WITHOUT_SUFFIX upper;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected MultiplicityRangeImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.MULTIPLICITY_RANGE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getLower()
- {
- return lower;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower, NotificationChain msgs)
- {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldLower = lower;
- lower = newLower;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, oldLower, newLower);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setLower(NUMBER_LITERAL_WITHOUT_SUFFIX newLower)
- {
- if (newLower != lower)
- {
- NotificationChain msgs = null;
- if (lower != null) {
- msgs = ((InternalEObject) lower).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- }
- if (newLower != null) {
- msgs = ((InternalEObject) newLower).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__LOWER, null, msgs);
- }
- msgs = basicSetLower(newLower, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__LOWER, newLower, newLower));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX getUpper()
- {
- return upper;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper, NotificationChain msgs)
- {
- NUMBER_LITERAL_WITHOUT_SUFFIX oldUpper = upper;
- upper = newUpper;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, oldUpper, newUpper);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setUpper(NUMBER_LITERAL_WITHOUT_SUFFIX newUpper)
- {
- if (newUpper != upper)
- {
- NotificationChain msgs = null;
- if (upper != null) {
- msgs = ((InternalEObject) upper).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- }
- if (newUpper != null) {
- msgs = ((InternalEObject) newUpper).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.MULTIPLICITY_RANGE__UPPER, null, msgs);
- }
- msgs = basicSetUpper(newUpper, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.MULTIPLICITY_RANGE__UPPER, newUpper, newUpper));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return basicSetLower(null, msgs);
- case OperationPackage.MULTIPLICITY_RANGE__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 OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return getLower();
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return getUpper();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX) newValue);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- setLower((NUMBER_LITERAL_WITHOUT_SUFFIX) null);
- return;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- setUpper((NUMBER_LITERAL_WITHOUT_SUFFIX) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.MULTIPLICITY_RANGE__LOWER:
- return lower != null;
- case OperationPackage.MULTIPLICITY_RANGE__UPPER:
- return upper != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // MultiplicityRangeImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
deleted file mode 100644
index 1b28c06c09c..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/NUMBER_LITERAL_WITHOUT_SUFFIXImpl.java
+++ /dev/null
@@ -1,195 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>NUMBER LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.NUMBER_LITERAL_WITHOUT_SUFFIXImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class NUMBER_LITERAL_WITHOUT_SUFFIXImpl extends MinimalEObjectImpl.Container implements NUMBER_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * 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 NUMBER_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.NUMBER_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- 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, OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE, oldValue, value));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__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 OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__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 OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX__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();
- }
-
-} // NUMBER_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
deleted file mode 100644
index 8aa6f7acf90..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDeclarationImpl.java
+++ /dev/null
@@ -1,590 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
-import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Declaration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getVisibilityIndicator <em>Visibility Indicator</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#isAbstract <em>Abstract</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getFormalParameters <em>Formal Parameters</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getReturnType <em>Return Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDeclarationImpl#getRedefinition <em>Redefinition</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OperationDeclarationImpl extends MinimalEObjectImpl.Container implements OperationDeclaration
-{
- /**
- * The default value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected static final VisibilityIndicator VISIBILITY_INDICATOR_EDEFAULT = VisibilityIndicator.PUBLIC;
-
- /**
- * The cached value of the '{@link #getVisibilityIndicator() <em>Visibility Indicator</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getVisibilityIndicator()
- * @generated
- * @ordered
- */
- protected VisibilityIndicator visibilityIndicator = VISIBILITY_INDICATOR_EDEFAULT;
-
- /**
- * The default value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected static final boolean ABSTRACT_EDEFAULT = false;
-
- /**
- * The cached value of the '{@link #isAbstract() <em>Abstract</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #isAbstract()
- * @generated
- * @ordered
- */
- protected boolean abstract_ = ABSTRACT_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 #getFormalParameters() <em>Formal Parameters</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFormalParameters()
- * @generated
- * @ordered
- */
- protected FormalParameters formalParameters;
-
- /**
- * The cached value of the '{@link #getReturnType() <em>Return Type</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getReturnType()
- * @generated
- * @ordered
- */
- protected TypePart returnType;
-
- /**
- * The cached value of the '{@link #getRedefinition() <em>Redefinition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRedefinition()
- * @generated
- * @ordered
- */
- protected RedefinitionClause redefinition;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected OperationDeclarationImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.OPERATION_DECLARATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public VisibilityIndicator getVisibilityIndicator()
- {
- return visibilityIndicator;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setVisibilityIndicator(VisibilityIndicator newVisibilityIndicator)
- {
- VisibilityIndicator oldVisibilityIndicator = visibilityIndicator;
- visibilityIndicator = newVisibilityIndicator == null ? VISIBILITY_INDICATOR_EDEFAULT : newVisibilityIndicator;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR, oldVisibilityIndicator, visibilityIndicator));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public boolean isAbstract()
- {
- return abstract_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setAbstract(boolean newAbstract)
- {
- boolean oldAbstract = abstract_;
- abstract_ = newAbstract;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__ABSTRACT, oldAbstract, abstract_));
- }
- }
-
- /**
- * <!-- 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, OperationPackage.OPERATION_DECLARATION__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FormalParameters getFormalParameters()
- {
- return formalParameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetFormalParameters(FormalParameters newFormalParameters, NotificationChain msgs)
- {
- FormalParameters oldFormalParameters = formalParameters;
- formalParameters = newFormalParameters;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, oldFormalParameters, newFormalParameters);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setFormalParameters(FormalParameters newFormalParameters)
- {
- if (newFormalParameters != formalParameters)
- {
- NotificationChain msgs = null;
- if (formalParameters != null) {
- msgs = ((InternalEObject) formalParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- }
- if (newFormalParameters != null) {
- msgs = ((InternalEObject) newFormalParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, null, msgs);
- }
- msgs = basicSetFormalParameters(newFormalParameters, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS, newFormalParameters, newFormalParameters));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TypePart getReturnType()
- {
- return returnType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetReturnType(TypePart newReturnType, NotificationChain msgs)
- {
- TypePart oldReturnType = returnType;
- returnType = newReturnType;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, oldReturnType, newReturnType);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setReturnType(TypePart newReturnType)
- {
- if (newReturnType != returnType)
- {
- NotificationChain msgs = null;
- if (returnType != null) {
- msgs = ((InternalEObject) returnType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- }
- if (newReturnType != null) {
- msgs = ((InternalEObject) newReturnType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, null, msgs);
- }
- msgs = basicSetReturnType(newReturnType, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__RETURN_TYPE, newReturnType, newReturnType));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RedefinitionClause getRedefinition()
- {
- return redefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetRedefinition(RedefinitionClause newRedefinition, NotificationChain msgs)
- {
- RedefinitionClause oldRedefinition = redefinition;
- redefinition = newRedefinition;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, oldRedefinition, newRedefinition);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRedefinition(RedefinitionClause newRedefinition)
- {
- if (newRedefinition != redefinition)
- {
- NotificationChain msgs = null;
- if (redefinition != null) {
- msgs = ((InternalEObject) redefinition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- }
- if (newRedefinition != null) {
- msgs = ((InternalEObject) newRedefinition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DECLARATION__REDEFINITION, null, msgs);
- }
- msgs = basicSetRedefinition(newRedefinition, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DECLARATION__REDEFINITION, newRedefinition, newRedefinition));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return basicSetFormalParameters(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return basicSetReturnType(null, msgs);
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return basicSetRedefinition(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 OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return getVisibilityIndicator();
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return isAbstract();
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return getName();
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return getFormalParameters();
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return getReturnType();
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return getRedefinition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator((VisibilityIndicator) newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract((Boolean) newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName((String) newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters) newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart) newValue);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- setVisibilityIndicator(VISIBILITY_INDICATOR_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- setAbstract(ABSTRACT_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- setFormalParameters((FormalParameters) null);
- return;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- setReturnType((TypePart) null);
- return;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- setRedefinition((RedefinitionClause) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DECLARATION__VISIBILITY_INDICATOR:
- return visibilityIndicator != VISIBILITY_INDICATOR_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__ABSTRACT:
- return abstract_ != ABSTRACT_EDEFAULT;
- case OperationPackage.OPERATION_DECLARATION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case OperationPackage.OPERATION_DECLARATION__FORMAL_PARAMETERS:
- return formalParameters != null;
- case OperationPackage.OPERATION_DECLARATION__RETURN_TYPE:
- return returnType != null;
- case OperationPackage.OPERATION_DECLARATION__REDEFINITION:
- return redefinition != 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(" (visibilityIndicator: ");
- result.append(visibilityIndicator);
- result.append(", abstract: ");
- result.append(abstract_);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} // OperationDeclarationImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
deleted file mode 100644
index 2bdb5215c2b..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationDefinitionOrStubImpl.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Definition Or Stub</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getDeclaration <em>Declaration</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.OperationDefinitionOrStubImpl#getBody <em>Body</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class OperationDefinitionOrStubImpl extends MinimalEObjectImpl.Container implements OperationDefinitionOrStub
-{
- /**
- * The cached value of the '{@link #getDeclaration() <em>Declaration</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getDeclaration()
- * @generated
- * @ordered
- */
- protected OperationDeclaration declaration;
-
- /**
- * The cached value of the '{@link #getBody() <em>Body</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getBody()
- * @generated
- * @ordered
- */
- protected Block body;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected OperationDefinitionOrStubImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.OPERATION_DEFINITION_OR_STUB;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationDeclaration getDeclaration()
- {
- return declaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetDeclaration(OperationDeclaration newDeclaration, NotificationChain msgs)
- {
- OperationDeclaration oldDeclaration = declaration;
- declaration = newDeclaration;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, oldDeclaration, newDeclaration);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setDeclaration(OperationDeclaration newDeclaration)
- {
- if (newDeclaration != declaration)
- {
- NotificationChain msgs = null;
- if (declaration != null) {
- msgs = ((InternalEObject) declaration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- }
- if (newDeclaration != null) {
- msgs = ((InternalEObject) newDeclaration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, null, msgs);
- }
- msgs = basicSetDeclaration(newDeclaration, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION, newDeclaration, newDeclaration));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Block getBody()
- {
- return body;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetBody(Block newBody, NotificationChain msgs)
- {
- Block oldBody = body;
- body = newBody;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, oldBody, newBody);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setBody(Block newBody)
- {
- if (newBody != body)
- {
- NotificationChain msgs = null;
- if (body != null) {
- msgs = ((InternalEObject) body).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- }
- if (newBody != null) {
- msgs = ((InternalEObject) newBody).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, null, msgs);
- }
- msgs = basicSetBody(newBody, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY, newBody, newBody));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return basicSetDeclaration(null, msgs);
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return basicSetBody(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 OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return getDeclaration();
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return getBody();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration) newValue);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- setDeclaration((OperationDeclaration) null);
- return;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- setBody((Block) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__DECLARATION:
- return declaration != null;
- case OperationPackage.OPERATION_DEFINITION_OR_STUB__BODY:
- return body != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // OperationDefinitionOrStubImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
deleted file mode 100644
index 013c3acfa95..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationFactoryImpl.java
+++ /dev/null
@@ -1,378 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-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.operation.editor.xtext.operation.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class OperationFactoryImpl extends EFactoryImpl implements OperationFactory
-{
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static OperationFactory init()
- {
- try
- {
- OperationFactory theOperationFactory = (OperationFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/operation/editor/xtext/Operation");
- if (theOperationFactory != null)
- {
- return theOperationFactory;
- }
- } catch (Exception exception)
- {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new OperationFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationFactoryImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass)
- {
- switch (eClass.getClassifierID())
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB:
- return createOperationDefinitionOrStub();
- case OperationPackage.OPERATION_DECLARATION:
- return createOperationDeclaration();
- case OperationPackage.FORMAL_PARAMETERS:
- return createFormalParameters();
- case OperationPackage.FORMAL_PARAMETER_LIST:
- return createFormalParameterList();
- case OperationPackage.FORMAL_PARAMETER:
- return createFormalParameter();
- case OperationPackage.TYPE_PART:
- return createTypePart();
- case OperationPackage.MULTIPLICITY:
- return createMultiplicity();
- case OperationPackage.MULTIPLICITY_RANGE:
- return createMultiplicityRange();
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX:
- return createNUMBER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX:
- return createINTEGER_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX:
- return createUNLIMITED_LITERAL_WITHOUT_SUFFIX();
- case OperationPackage.TYPE_NAME:
- return createTypeName();
- case OperationPackage.REDEFINITION_CLAUSE:
- return createRedefinitionClause();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OperationPackage.VISIBILITY_INDICATOR:
- return createVisibilityIndicatorFromString(eDataType, initialValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return createParameterDirectionFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue)
- {
- switch (eDataType.getClassifierID())
- {
- case OperationPackage.VISIBILITY_INDICATOR:
- return convertVisibilityIndicatorToString(eDataType, instanceValue);
- case OperationPackage.PARAMETER_DIRECTION:
- return convertParameterDirectionToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationDefinitionOrStub createOperationDefinitionOrStub()
- {
- OperationDefinitionOrStubImpl operationDefinitionOrStub = new OperationDefinitionOrStubImpl();
- return operationDefinitionOrStub;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationDeclaration createOperationDeclaration()
- {
- OperationDeclarationImpl operationDeclaration = new OperationDeclarationImpl();
- return operationDeclaration;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FormalParameters createFormalParameters()
- {
- FormalParametersImpl formalParameters = new FormalParametersImpl();
- return formalParameters;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FormalParameterList createFormalParameterList()
- {
- FormalParameterListImpl formalParameterList = new FormalParameterListImpl();
- return formalParameterList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FormalParameter createFormalParameter()
- {
- FormalParameterImpl formalParameter = new FormalParameterImpl();
- return formalParameter;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TypePart createTypePart()
- {
- TypePartImpl typePart = new TypePartImpl();
- return typePart;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Multiplicity createMultiplicity()
- {
- MultiplicityImpl multiplicity = new MultiplicityImpl();
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public MultiplicityRange createMultiplicityRange()
- {
- MultiplicityRangeImpl multiplicityRange = new MultiplicityRangeImpl();
- return multiplicityRange;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NUMBER_LITERAL_WITHOUT_SUFFIX createNUMBER_LITERAL_WITHOUT_SUFFIX()
- {
- NUMBER_LITERAL_WITHOUT_SUFFIXImpl numbeR_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXImpl();
- return numbeR_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public INTEGER_LITERAL_WITHOUT_SUFFIX createINTEGER_LITERAL_WITHOUT_SUFFIX()
- {
- INTEGER_LITERAL_WITHOUT_SUFFIXImpl integeR_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXImpl();
- return integeR_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public UNLIMITED_LITERAL_WITHOUT_SUFFIX createUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- {
- UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl unlimiteD_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl();
- return unlimiteD_LITERAL_WITHOUT_SUFFIX;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TypeName createTypeName()
- {
- TypeNameImpl typeName = new TypeNameImpl();
- return typeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public RedefinitionClause createRedefinitionClause()
- {
- RedefinitionClauseImpl redefinitionClause = new RedefinitionClauseImpl();
- return redefinitionClause;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public VisibilityIndicator createVisibilityIndicatorFromString(EDataType eDataType, String initialValue)
- {
- VisibilityIndicator result = VisibilityIndicator.get(initialValue);
- if (result == null) {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertVisibilityIndicatorToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ParameterDirection createParameterDirectionFromString(EDataType eDataType, String initialValue)
- {
- ParameterDirection result = ParameterDirection.get(initialValue);
- if (result == null) {
- throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- }
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertParameterDirectionToString(EDataType eDataType, Object instanceValue)
- {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationPackage getOperationPackage()
- {
- return (OperationPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static OperationPackage getPackage()
- {
- return OperationPackage.eINSTANCE;
- }
-
-} // OperationFactoryImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
deleted file mode 100644
index 5372dba1922..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/OperationPackageImpl.java
+++ /dev/null
@@ -1,862 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter;
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList;
-import org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters;
-import org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity;
-import org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationDefinitionOrStub;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationFactory;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.ParameterDirection;
-import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
-import org.eclipse.papyrus.operation.editor.xtext.operation.VisibilityIndicator;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class OperationPackageImpl extends EPackageImpl implements OperationPackage
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass operationDefinitionOrStubEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass operationDeclarationEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass formalParametersEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass formalParameterListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass formalParameterEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass typePartEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass multiplicityEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass multiplicityRangeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass numbeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass integeR_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass typeNameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass redefinitionClauseEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum visibilityIndicatorEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EEnum parameterDirectionEEnum = 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.operation.editor.xtext.operation.OperationPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private OperationPackageImpl()
- {
- super(eNS_URI, OperationFactory.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 OperationPackage#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 OperationPackage init()
- {
- if (isInited) {
- return (OperationPackage) EPackage.Registry.INSTANCE.getEPackage(OperationPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- OperationPackageImpl theOperationPackage = (OperationPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof OperationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new OperationPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- AlfPackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theOperationPackage.createPackageContents();
-
- // Initialize created meta-data
- theOperationPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theOperationPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(OperationPackage.eNS_URI, theOperationPackage);
- return theOperationPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getOperationDefinitionOrStub()
- {
- return operationDefinitionOrStubEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Declaration()
- {
- return (EReference) operationDefinitionOrStubEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getOperationDefinitionOrStub_Body()
- {
- return (EReference) operationDefinitionOrStubEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getOperationDeclaration()
- {
- return operationDeclarationEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getOperationDeclaration_VisibilityIndicator()
- {
- return (EAttribute) operationDeclarationEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getOperationDeclaration_Abstract()
- {
- return (EAttribute) operationDeclarationEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getOperationDeclaration_Name()
- {
- return (EAttribute) operationDeclarationEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getOperationDeclaration_FormalParameters()
- {
- return (EReference) operationDeclarationEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getOperationDeclaration_ReturnType()
- {
- return (EReference) operationDeclarationEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getOperationDeclaration_Redefinition()
- {
- return (EReference) operationDeclarationEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getFormalParameters()
- {
- return formalParametersEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getFormalParameters_FormalParameterList()
- {
- return (EReference) formalParametersEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getFormalParameterList()
- {
- return formalParameterListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getFormalParameterList_FormalParameter()
- {
- return (EReference) formalParameterListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getFormalParameter()
- {
- return formalParameterEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getFormalParameter_Direction()
- {
- return (EAttribute) formalParameterEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getFormalParameter_Name()
- {
- return (EAttribute) formalParameterEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getFormalParameter_Type()
- {
- return (EReference) formalParameterEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTypePart()
- {
- return typePartEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTypePart_TypeName()
- {
- return (EReference) typePartEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTypePart_Multiplicity()
- {
- return (EReference) typePartEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getMultiplicity()
- {
- return multiplicityEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMultiplicity_Range()
- {
- return (EReference) multiplicityEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getMultiplicity_Ordered()
- {
- return (EAttribute) multiplicityEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getMultiplicity_NonUnique()
- {
- return (EAttribute) multiplicityEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getMultiplicity_Sequence()
- {
- return (EAttribute) multiplicityEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getMultiplicityRange()
- {
- return multiplicityRangeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMultiplicityRange_Lower()
- {
- return (EReference) multiplicityRangeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getMultiplicityRange_Upper()
- {
- return (EReference) multiplicityRangeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getNUMBER_LITERAL_WITHOUT_SUFFIX()
- {
- return numbeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getNUMBER_LITERAL_WITHOUT_SUFFIX_Value()
- {
- return (EAttribute) numbeR_LITERAL_WITHOUT_SUFFIXEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getINTEGER_LITERAL_WITHOUT_SUFFIX()
- {
- return integeR_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getUNLIMITED_LITERAL_WITHOUT_SUFFIX()
- {
- return unlimiteD_LITERAL_WITHOUT_SUFFIXEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getTypeName()
- {
- return typeNameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getTypeName_QualifiedName()
- {
- return (EReference) typeNameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getRedefinitionClause()
- {
- return redefinitionClauseEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getRedefinitionClause_RedefinedOperations()
- {
- return (EReference) redefinitionClauseEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EEnum getVisibilityIndicator()
- {
- return visibilityIndicatorEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EEnum getParameterDirection()
- {
- return parameterDirectionEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationFactory getOperationFactory()
- {
- return (OperationFactory) 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
- operationDefinitionOrStubEClass = createEClass(OPERATION_DEFINITION_OR_STUB);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__DECLARATION);
- createEReference(operationDefinitionOrStubEClass, OPERATION_DEFINITION_OR_STUB__BODY);
-
- operationDeclarationEClass = createEClass(OPERATION_DECLARATION);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__VISIBILITY_INDICATOR);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__ABSTRACT);
- createEAttribute(operationDeclarationEClass, OPERATION_DECLARATION__NAME);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__FORMAL_PARAMETERS);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__RETURN_TYPE);
- createEReference(operationDeclarationEClass, OPERATION_DECLARATION__REDEFINITION);
-
- formalParametersEClass = createEClass(FORMAL_PARAMETERS);
- createEReference(formalParametersEClass, FORMAL_PARAMETERS__FORMAL_PARAMETER_LIST);
-
- formalParameterListEClass = createEClass(FORMAL_PARAMETER_LIST);
- createEReference(formalParameterListEClass, FORMAL_PARAMETER_LIST__FORMAL_PARAMETER);
-
- formalParameterEClass = createEClass(FORMAL_PARAMETER);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__DIRECTION);
- createEAttribute(formalParameterEClass, FORMAL_PARAMETER__NAME);
- createEReference(formalParameterEClass, FORMAL_PARAMETER__TYPE);
-
- typePartEClass = createEClass(TYPE_PART);
- createEReference(typePartEClass, TYPE_PART__TYPE_NAME);
- createEReference(typePartEClass, TYPE_PART__MULTIPLICITY);
-
- multiplicityEClass = createEClass(MULTIPLICITY);
- createEReference(multiplicityEClass, MULTIPLICITY__RANGE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__ORDERED);
- createEAttribute(multiplicityEClass, MULTIPLICITY__NON_UNIQUE);
- createEAttribute(multiplicityEClass, MULTIPLICITY__SEQUENCE);
-
- multiplicityRangeEClass = createEClass(MULTIPLICITY_RANGE);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__LOWER);
- createEReference(multiplicityRangeEClass, MULTIPLICITY_RANGE__UPPER);
-
- numbeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(NUMBER_LITERAL_WITHOUT_SUFFIX);
- createEAttribute(numbeR_LITERAL_WITHOUT_SUFFIXEClass, NUMBER_LITERAL_WITHOUT_SUFFIX__VALUE);
-
- integeR_LITERAL_WITHOUT_SUFFIXEClass = createEClass(INTEGER_LITERAL_WITHOUT_SUFFIX);
-
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass = createEClass(UNLIMITED_LITERAL_WITHOUT_SUFFIX);
-
- typeNameEClass = createEClass(TYPE_NAME);
- createEReference(typeNameEClass, TYPE_NAME__QUALIFIED_NAME);
-
- redefinitionClauseEClass = createEClass(REDEFINITION_CLAUSE);
- createEReference(redefinitionClauseEClass, REDEFINITION_CLAUSE__REDEFINED_OPERATIONS);
-
- // Create enums
- visibilityIndicatorEEnum = createEEnum(VISIBILITY_INDICATOR);
- parameterDirectionEEnum = createEEnum(PARAMETER_DIRECTION);
- }
-
- /**
- * <!-- 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
- AlfPackage theAlfPackage = (AlfPackage) EPackage.Registry.INSTANCE.getEPackage(AlfPackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- integeR_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
- unlimiteD_LITERAL_WITHOUT_SUFFIXEClass.getESuperTypes().add(this.getNUMBER_LITERAL_WITHOUT_SUFFIX());
-
- // Initialize classes and features; add operations and parameters
- initEClass(operationDefinitionOrStubEClass, OperationDefinitionOrStub.class, "OperationDefinitionOrStub", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getOperationDefinitionOrStub_Declaration(), this.getOperationDeclaration(), null, "declaration", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDefinitionOrStub_Body(), theAlfPackage.getBlock(), null, "body", null, 0, 1, OperationDefinitionOrStub.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(operationDeclarationEClass, OperationDeclaration.class, "OperationDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getOperationDeclaration_VisibilityIndicator(), this.getVisibilityIndicator(), "visibilityIndicator", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getOperationDeclaration_Abstract(), ecorePackage.getEBoolean(), "abstract", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getOperationDeclaration_Name(), ecorePackage.getEString(), "name", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_FormalParameters(), this.getFormalParameters(), null, "formalParameters", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getOperationDeclaration_ReturnType(), this.getTypePart(), null, "returnType", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getOperationDeclaration_Redefinition(), this.getRedefinitionClause(), null, "redefinition", null, 0, 1, OperationDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParametersEClass, FormalParameters.class, "FormalParameters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameters_FormalParameterList(), this.getFormalParameterList(), null, "formalParameterList", null, 0, 1, FormalParameters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterListEClass, FormalParameterList.class, "FormalParameterList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFormalParameterList_FormalParameter(), this.getFormalParameter(), null, "formalParameter", null, 0, -1, FormalParameterList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
- IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(formalParameterEClass, FormalParameter.class, "FormalParameter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getFormalParameter_Direction(), this.getParameterDirection(), "direction", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getFormalParameter_Name(), ecorePackage.getEString(), "name", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getFormalParameter_Type(), this.getTypePart(), null, "type", null, 0, 1, FormalParameter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(typePartEClass, TypePart.class, "TypePart", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypePart_TypeName(), this.getTypeName(), null, "typeName", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getTypePart_Multiplicity(), this.getMultiplicity(), null, "multiplicity", null, 0, 1, TypePart.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityEClass, Multiplicity.class, "Multiplicity", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicity_Range(), this.getMultiplicityRange(), null, "range", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Ordered(), ecorePackage.getEBoolean(), "ordered", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_NonUnique(), ecorePackage.getEBoolean(), "nonUnique", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getMultiplicity_Sequence(), ecorePackage.getEBoolean(), "sequence", null, 0, 1, Multiplicity.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(multiplicityRangeEClass, MultiplicityRange.class, "MultiplicityRange", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getMultiplicityRange_Lower(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "lower", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
- initEReference(getMultiplicityRange_Upper(), this.getNUMBER_LITERAL_WITHOUT_SUFFIX(), null, "upper", null, 0, 1, MultiplicityRange.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(numbeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, "NUMBER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getNUMBER_LITERAL_WITHOUT_SUFFIX_Value(), ecorePackage.getEString(), "value", null, 0, 1, org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE,
- !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(integeR_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX.class, "INTEGER_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(unlimiteD_LITERAL_WITHOUT_SUFFIXEClass, org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX.class, "UNLIMITED_LITERAL_WITHOUT_SUFFIX", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(typeNameEClass, TypeName.class, "TypeName", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getTypeName_QualifiedName(), theAlfPackage.getQualifiedNameWithBinding(), null, "qualifiedName", null, 0, 1, TypeName.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(redefinitionClauseEClass, RedefinitionClause.class, "RedefinitionClause", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRedefinitionClause_RedefinedOperations(), theAlfPackage.getQualifiedNameList(), null, "redefinedOperations", null, 0, 1, RedefinitionClause.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES,
- !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize enums and add enum literals
- initEEnum(visibilityIndicatorEEnum, VisibilityIndicator.class, "VisibilityIndicator");
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PUBLIC);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PRIVATE);
- addEEnumLiteral(visibilityIndicatorEEnum, VisibilityIndicator.PROTECTED);
-
- initEEnum(parameterDirectionEEnum, ParameterDirection.class, "ParameterDirection");
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.IN);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.OUT);
- addEEnumLiteral(parameterDirectionEEnum, ParameterDirection.INOUT);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // OperationPackageImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
deleted file mode 100644
index 785ee090e13..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/RedefinitionClauseImpl.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Redefinition Clause</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.RedefinitionClauseImpl#getRedefinedOperations <em>Redefined Operations</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RedefinitionClauseImpl extends MinimalEObjectImpl.Container implements RedefinitionClause
-{
- /**
- * The cached value of the '{@link #getRedefinedOperations() <em>Redefined Operations</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getRedefinedOperations()
- * @generated
- * @ordered
- */
- protected QualifiedNameList redefinedOperations;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected RedefinitionClauseImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.REDEFINITION_CLAUSE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public QualifiedNameList getRedefinedOperations()
- {
- return redefinedOperations;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetRedefinedOperations(QualifiedNameList newRedefinedOperations, NotificationChain msgs)
- {
- QualifiedNameList oldRedefinedOperations = redefinedOperations;
- redefinedOperations = newRedefinedOperations;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, oldRedefinedOperations, newRedefinedOperations);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setRedefinedOperations(QualifiedNameList newRedefinedOperations)
- {
- if (newRedefinedOperations != redefinedOperations)
- {
- NotificationChain msgs = null;
- if (redefinedOperations != null) {
- msgs = ((InternalEObject) redefinedOperations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- }
- if (newRedefinedOperations != null) {
- msgs = ((InternalEObject) newRedefinedOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, null, msgs);
- }
- msgs = basicSetRedefinedOperations(newRedefinedOperations, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS, newRedefinedOperations, newRedefinedOperations));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return basicSetRedefinedOperations(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 OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return getRedefinedOperations();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- setRedefinedOperations((QualifiedNameList) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.REDEFINITION_CLAUSE__REDEFINED_OPERATIONS:
- return redefinedOperations != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // RedefinitionClauseImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
deleted file mode 100644
index 86bcfe639fe..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypeNameImpl.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Type Name</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypeNameImpl#getQualifiedName <em>Qualified Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TypeNameImpl extends MinimalEObjectImpl.Container implements TypeName
-{
- /**
- * The cached value of the '{@link #getQualifiedName() <em>Qualified Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getQualifiedName()
- * @generated
- * @ordered
- */
- protected QualifiedNameWithBinding qualifiedName;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected TypeNameImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.TYPE_NAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public QualifiedNameWithBinding getQualifiedName()
- {
- return qualifiedName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetQualifiedName(QualifiedNameWithBinding newQualifiedName, NotificationChain msgs)
- {
- QualifiedNameWithBinding oldQualifiedName = qualifiedName;
- qualifiedName = newQualifiedName;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, oldQualifiedName, newQualifiedName);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setQualifiedName(QualifiedNameWithBinding newQualifiedName)
- {
- if (newQualifiedName != qualifiedName)
- {
- NotificationChain msgs = null;
- if (qualifiedName != null) {
- msgs = ((InternalEObject) qualifiedName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- }
- if (newQualifiedName != null) {
- msgs = ((InternalEObject) newQualifiedName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_NAME__QUALIFIED_NAME, null, msgs);
- }
- msgs = basicSetQualifiedName(newQualifiedName, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_NAME__QUALIFIED_NAME, newQualifiedName, newQualifiedName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return basicSetQualifiedName(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 OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return getQualifiedName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- setQualifiedName((QualifiedNameWithBinding) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_NAME__QUALIFIED_NAME:
- return qualifiedName != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // TypeNameImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
deleted file mode 100644
index 36a8c95f2b9..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/TypePartImpl.java
+++ /dev/null
@@ -1,303 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity;
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypeName;
-import org.eclipse.papyrus.operation.editor.xtext.operation.TypePart;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Type Part</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getTypeName <em>Type Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.operation.editor.xtext.operation.impl.TypePartImpl#getMultiplicity <em>Multiplicity</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class TypePartImpl extends MinimalEObjectImpl.Container implements TypePart
-{
- /**
- * The cached value of the '{@link #getTypeName() <em>Type Name</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getTypeName()
- * @generated
- * @ordered
- */
- protected TypeName typeName;
-
- /**
- * The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getMultiplicity()
- * @generated
- * @ordered
- */
- protected Multiplicity multiplicity;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected TypePartImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.TYPE_PART;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public TypeName getTypeName()
- {
- return typeName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetTypeName(TypeName newTypeName, NotificationChain msgs)
- {
- TypeName oldTypeName = typeName;
- typeName = newTypeName;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, oldTypeName, newTypeName);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setTypeName(TypeName newTypeName)
- {
- if (newTypeName != typeName)
- {
- NotificationChain msgs = null;
- if (typeName != null) {
- msgs = ((InternalEObject) typeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- }
- if (newTypeName != null) {
- msgs = ((InternalEObject) newTypeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__TYPE_NAME, null, msgs);
- }
- msgs = basicSetTypeName(newTypeName, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__TYPE_NAME, newTypeName, newTypeName));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public Multiplicity getMultiplicity()
- {
- return multiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public NotificationChain basicSetMultiplicity(Multiplicity newMultiplicity, NotificationChain msgs)
- {
- Multiplicity oldMultiplicity = multiplicity;
- multiplicity = newMultiplicity;
- if (eNotificationRequired())
- {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, oldMultiplicity, newMultiplicity);
- if (msgs == null) {
- msgs = notification;
- } else {
- msgs.add(notification);
- }
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setMultiplicity(Multiplicity newMultiplicity)
- {
- if (newMultiplicity != multiplicity)
- {
- NotificationChain msgs = null;
- if (multiplicity != null) {
- msgs = ((InternalEObject) multiplicity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- }
- if (newMultiplicity != null) {
- msgs = ((InternalEObject) newMultiplicity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OperationPackage.TYPE_PART__MULTIPLICITY, null, msgs);
- }
- msgs = basicSetMultiplicity(newMultiplicity, msgs);
- if (msgs != null) {
- msgs.dispatch();
- }
- }
- else if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, OperationPackage.TYPE_PART__MULTIPLICITY, newMultiplicity, newMultiplicity));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return basicSetTypeName(null, msgs);
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return basicSetMultiplicity(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 OperationPackage.TYPE_PART__TYPE_NAME:
- return getTypeName();
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return getMultiplicity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName) newValue);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- setTypeName((TypeName) null);
- return;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- setMultiplicity((Multiplicity) null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID)
- {
- switch (featureID)
- {
- case OperationPackage.TYPE_PART__TYPE_NAME:
- return typeName != null;
- case OperationPackage.TYPE_PART__MULTIPLICITY:
- return multiplicity != null;
- }
- return super.eIsSet(featureID);
- }
-
-} // TypePartImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
deleted file mode 100644
index 6161c7f8bc6..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/impl/UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage;
-import org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>UNLIMITED LITERAL WITHOUT SUFFIX</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl extends NUMBER_LITERAL_WITHOUT_SUFFIXImpl implements UNLIMITED_LITERAL_WITHOUT_SUFFIX
-{
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl()
- {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass()
- {
- return OperationPackage.Literals.UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- }
-
-} // UNLIMITED_LITERAL_WITHOUT_SUFFIXImpl
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
deleted file mode 100644
index cc4558f3512..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationAdapterFactory.java
+++ /dev/null
@@ -1,410 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.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.operation.editor.xtext.operation.*;
-
-/**
- * <!-- 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.operation.editor.xtext.operation.OperationPackage
- * @generated
- */
-public class OperationAdapterFactory extends AdapterFactoryImpl
-{
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static OperationPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationAdapterFactory()
- {
- if (modelPackage == null)
- {
- modelPackage = OperationPackage.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 OperationSwitch<Adapter> modelSwitch =
- new OperationSwitch<Adapter>()
- {
- @Override
- public Adapter caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
- {
- return createOperationDefinitionOrStubAdapter();
- }
-
- @Override
- public Adapter caseOperationDeclaration(OperationDeclaration object)
- {
- return createOperationDeclarationAdapter();
- }
-
- @Override
- public Adapter caseFormalParameters(FormalParameters object)
- {
- return createFormalParametersAdapter();
- }
-
- @Override
- public Adapter caseFormalParameterList(FormalParameterList object)
- {
- return createFormalParameterListAdapter();
- }
-
- @Override
- public Adapter caseFormalParameter(FormalParameter object)
- {
- return createFormalParameterAdapter();
- }
-
- @Override
- public Adapter caseTypePart(TypePart object)
- {
- return createTypePartAdapter();
- }
-
- @Override
- public Adapter caseMultiplicity(Multiplicity object)
- {
- return createMultiplicityAdapter();
- }
-
- @Override
- public Adapter caseMultiplicityRange(MultiplicityRange object)
- {
- return createMultiplicityRangeAdapter();
- }
-
- @Override
- public Adapter caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
- {
- return createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
-
- @Override
- public Adapter caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
- {
- return createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter();
- }
-
- @Override
- public Adapter caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
- {
- return createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter();
- }
-
- @Override
- public Adapter caseTypeName(TypeName object)
- {
- return createTypeNameAdapter();
- }
-
- @Override
- public Adapter caseRedefinitionClause(RedefinitionClause object)
- {
- return createRedefinitionClauseAdapter();
- }
-
- @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.operation.editor.xtext.operation.OperationDefinitionOrStub <em>Definition Or Stub</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.operation.editor.xtext.operation.OperationDefinitionOrStub
- * @generated
- */
- public Adapter createOperationDefinitionOrStubAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.OperationDeclaration <em>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.operation.editor.xtext.operation.OperationDeclaration
- * @generated
- */
- public Adapter createOperationDeclarationAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameters <em>Formal Parameters</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.operation.editor.xtext.operation.FormalParameters
- * @generated
- */
- public Adapter createFormalParametersAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameterList <em>Formal Parameter List</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.operation.editor.xtext.operation.FormalParameterList
- * @generated
- */
- public Adapter createFormalParameterListAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.FormalParameter <em>Formal Parameter</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.operation.editor.xtext.operation.FormalParameter
- * @generated
- */
- public Adapter createFormalParameterAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypePart <em>Type Part</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.operation.editor.xtext.operation.TypePart
- * @generated
- */
- public Adapter createTypePartAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.Multiplicity <em>Multiplicity</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.operation.editor.xtext.operation.Multiplicity
- * @generated
- */
- public Adapter createMultiplicityAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.MultiplicityRange <em>Multiplicity Range</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.operation.editor.xtext.operation.MultiplicityRange
- * @generated
- */
- public Adapter createMultiplicityRangeAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX <em>NUMBER LITERAL WITHOUT SUFFIX</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.operation.editor.xtext.operation.NUMBER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createNUMBER_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX <em>INTEGER LITERAL WITHOUT SUFFIX</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.operation.editor.xtext.operation.INTEGER_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createINTEGER_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX <em>UNLIMITED LITERAL WITHOUT SUFFIX</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.operation.editor.xtext.operation.UNLIMITED_LITERAL_WITHOUT_SUFFIX
- * @generated
- */
- public Adapter createUNLIMITED_LITERAL_WITHOUT_SUFFIXAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.TypeName <em>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.operation.editor.xtext.operation.TypeName
- * @generated
- */
- public Adapter createTypeNameAdapter()
- {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.operation.editor.xtext.operation.RedefinitionClause <em>Redefinition Clause</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.operation.editor.xtext.operation.RedefinitionClause
- * @generated
- */
- public Adapter createRedefinitionClauseAdapter()
- {
- 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;
- }
-
-} // OperationAdapterFactory
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
deleted file mode 100644
index 10d63b68ac2..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/operation/util/OperationSwitch.java
+++ /dev/null
@@ -1,451 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
-
- */
-package org.eclipse.papyrus.operation.editor.xtext.operation.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.util.Switch;
-
-import org.eclipse.papyrus.operation.editor.xtext.operation.*;
-
-/**
- * <!-- 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.operation.editor.xtext.operation.OperationPackage
- * @generated
- */
-public class OperationSwitch<T> extends Switch<T>
-{
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static OperationPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public OperationSwitch()
- {
- if (modelPackage == null)
- {
- modelPackage = OperationPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage)
- {
- return ePackage == modelPackage;
- }
-
- /**
- * 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
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject)
- {
- switch (classifierID)
- {
- case OperationPackage.OPERATION_DEFINITION_OR_STUB: {
- OperationDefinitionOrStub operationDefinitionOrStub = (OperationDefinitionOrStub) theEObject;
- T result = caseOperationDefinitionOrStub(operationDefinitionOrStub);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.OPERATION_DECLARATION: {
- OperationDeclaration operationDeclaration = (OperationDeclaration) theEObject;
- T result = caseOperationDeclaration(operationDeclaration);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.FORMAL_PARAMETERS: {
- FormalParameters formalParameters = (FormalParameters) theEObject;
- T result = caseFormalParameters(formalParameters);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER_LIST: {
- FormalParameterList formalParameterList = (FormalParameterList) theEObject;
- T result = caseFormalParameterList(formalParameterList);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.FORMAL_PARAMETER: {
- FormalParameter formalParameter = (FormalParameter) theEObject;
- T result = caseFormalParameter(formalParameter);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.TYPE_PART: {
- TypePart typePart = (TypePart) theEObject;
- T result = caseTypePart(typePart);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.MULTIPLICITY: {
- Multiplicity multiplicity = (Multiplicity) theEObject;
- T result = caseMultiplicity(multiplicity);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.MULTIPLICITY_RANGE: {
- MultiplicityRange multiplicityRange = (MultiplicityRange) theEObject;
- T result = caseMultiplicityRange(multiplicityRange);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.NUMBER_LITERAL_WITHOUT_SUFFIX: {
- NUMBER_LITERAL_WITHOUT_SUFFIX numbeR_LITERAL_WITHOUT_SUFFIX = (NUMBER_LITERAL_WITHOUT_SUFFIX) theEObject;
- T result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(numbeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.INTEGER_LITERAL_WITHOUT_SUFFIX: {
- INTEGER_LITERAL_WITHOUT_SUFFIX integeR_LITERAL_WITHOUT_SUFFIX = (INTEGER_LITERAL_WITHOUT_SUFFIX) theEObject;
- T result = caseINTEGER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- if (result == null) {
- result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(integeR_LITERAL_WITHOUT_SUFFIX);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.UNLIMITED_LITERAL_WITHOUT_SUFFIX: {
- UNLIMITED_LITERAL_WITHOUT_SUFFIX unlimiteD_LITERAL_WITHOUT_SUFFIX = (UNLIMITED_LITERAL_WITHOUT_SUFFIX) theEObject;
- T result = caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- if (result == null) {
- result = caseNUMBER_LITERAL_WITHOUT_SUFFIX(unlimiteD_LITERAL_WITHOUT_SUFFIX);
- }
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.TYPE_NAME: {
- TypeName typeName = (TypeName) theEObject;
- T result = caseTypeName(typeName);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case OperationPackage.REDEFINITION_CLAUSE: {
- RedefinitionClause redefinitionClause = (RedefinitionClause) theEObject;
- T result = caseRedefinitionClause(redefinitionClause);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Definition Or Stub</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>Definition Or Stub</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDefinitionOrStub(OperationDefinitionOrStub object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>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>Declaration</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseOperationDeclaration(OperationDeclaration object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameters</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>Formal Parameters</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameters(FormalParameters object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter List</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>Formal Parameter List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameterList(FormalParameterList object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Formal Parameter</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>Formal Parameter</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFormalParameter(FormalParameter object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type Part</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>Type Part</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypePart(TypePart object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity</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>Multiplicity</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicity(Multiplicity object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Multiplicity Range</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>Multiplicity Range</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseMultiplicityRange(MultiplicityRange object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>NUMBER LITERAL WITHOUT SUFFIX</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 WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseNUMBER_LITERAL_WITHOUT_SUFFIX(NUMBER_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>INTEGER LITERAL WITHOUT SUFFIX</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 WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseINTEGER_LITERAL_WITHOUT_SUFFIX(INTEGER_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>UNLIMITED LITERAL WITHOUT SUFFIX</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 WITHOUT SUFFIX</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUNLIMITED_LITERAL_WITHOUT_SUFFIX(UNLIMITED_LITERAL_WITHOUT_SUFFIX object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>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>Type Name</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTypeName(TypeName object)
- {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Redefinition Clause</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>Redefinition Clause</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRedefinitionClause(RedefinitionClause 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
- */
- @Override
- public T defaultCase(EObject object)
- {
- return null;
- }
-
-} // OperationSwitch
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java
deleted file mode 100644
index 577f322af43..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parseTreeConstruction/OperationParsetreeConstructor.java
+++ /dev/null
@@ -1,24760 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.operation.editor.xtext.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.operation.editor.xtext.services.OperationGrammarAccess;
-
-import com.google.inject.Inject;
-
-@SuppressWarnings("all")
-public class OperationParsetreeConstructor extends AbstractParseTreeConstructor {
-
- @Inject
- private OperationGrammarAccess 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 OperationDefinitionOrStub_Group(this, this, 0, inst);
- case 1:
- return new OperationDeclaration_Group(this, this, 1, inst);
- case 2:
- return new FormalParameters_Group(this, this, 2, inst);
- case 3:
- return new FormalParameterList_Group(this, this, 3, inst);
- case 4:
- return new FormalParameter_Group(this, this, 4, inst);
- case 5:
- return new TypePart_Group(this, this, 5, inst);
- case 6:
- return new Multiplicity_Group(this, this, 6, inst);
- case 7:
- return new MultiplicityRange_Group(this, this, 7, inst);
- case 8:
- return new NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(this, this, 8, inst);
- case 9:
- return new INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 9, inst);
- case 10:
- return new UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 10, inst);
- case 11:
- return new TypeName_Group(this, this, 11, inst);
- case 12:
- return new RedefinitionClause_Group(this, this, 12, inst);
- case 13:
- return new Test_Group(this, this, 13, inst);
- case 14:
- return new LITERAL_Alternatives(this, this, 14, inst);
- case 15:
- return new BOOLEAN_LITERAL_Group(this, this, 15, inst);
- case 16:
- return new NUMBER_LITERAL_Alternatives(this, this, 16, inst);
- case 17:
- return new INTEGER_LITERAL_Group(this, this, 17, inst);
- case 18:
- return new UNLIMITED_LITERAL_Group(this, this, 18, inst);
- case 19:
- return new STRING_LITERAL_Group(this, this, 19, inst);
- case 20:
- return new NameExpression_Group(this, this, 20, inst);
- case 21:
- return new QualifiedNamePath_Group(this, this, 21, inst);
- case 22:
- return new UnqualifiedName_Group(this, this, 22, inst);
- case 23:
- return new TemplateBinding_Group(this, this, 23, inst);
- case 24:
- return new NamedTemplateBinding_Group(this, this, 24, inst);
- case 25:
- return new QualifiedNameWithBinding_Group(this, this, 25, inst);
- case 26:
- return new Tuple_Group(this, this, 26, inst);
- case 27:
- return new TupleElement_ArgumentAssignment(this, this, 27, inst);
- case 28:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 28, inst);
- case 29:
- return new ConditionalTestExpression_Group(this, this, 29, inst);
- case 30:
- return new ConditionalOrExpression_Group(this, this, 30, inst);
- case 31:
- return new ConditionalAndExpression_Group(this, this, 31, inst);
- case 32:
- return new InclusiveOrExpression_Group(this, this, 32, inst);
- case 33:
- return new ExclusiveOrExpression_Group(this, this, 33, inst);
- case 34:
- return new AndExpression_Group(this, this, 34, inst);
- case 35:
- return new EqualityExpression_Group(this, this, 35, inst);
- case 36:
- return new ClassificationExpression_Group(this, this, 36, inst);
- case 37:
- return new RelationalExpression_Group(this, this, 37, inst);
- case 38:
- return new ShiftExpression_Group(this, this, 38, inst);
- case 39:
- return new AdditiveExpression_Group(this, this, 39, inst);
- case 40:
- return new MultiplicativeExpression_Group(this, this, 40, inst);
- case 41:
- return new UnaryExpression_Group(this, this, 41, inst);
- case 42:
- return new PrimaryExpression_PrefixAssignment(this, this, 42, inst);
- case 43:
- return new SuffixExpression_Alternatives(this, this, 43, inst);
- case 44:
- return new OperationCallExpression_Group(this, this, 44, inst);
- case 45:
- return new OperationCallExpressionWithoutDot_Group(this, this, 45, inst);
- case 46:
- return new PropertyCallExpression_Group(this, this, 46, inst);
- case 47:
- return new LinkOperationExpression_Group(this, this, 47, inst);
- case 48:
- return new LinkOperationTuple_Group(this, this, 48, inst);
- case 49:
- return new LinkOperationTupleElement_Group(this, this, 49, inst);
- case 50:
- return new SequenceOperationExpression_Group(this, this, 50, inst);
- case 51:
- return new SequenceReductionExpression_Group(this, this, 51, inst);
- case 52:
- return new SequenceExpansionExpression_Alternatives(this, this, 52, inst);
- case 53:
- return new SelectOrRejectOperation_Group(this, this, 53, inst);
- case 54:
- return new CollectOrIterateOperation_Group(this, this, 54, inst);
- case 55:
- return new ForAllOrExistsOrOneOperation_Group(this, this, 55, inst);
- case 56:
- return new IsUniqueOperation_Group(this, this, 56, inst);
- case 57:
- return new ValueSpecification_Alternatives(this, this, 57, inst);
- case 58:
- return new NonLiteralValueSpecification_Alternatives(this, this, 58, inst);
- case 59:
- return new ParenthesizedExpression_Group(this, this, 59, inst);
- case 60:
- return new NullExpression_Group(this, this, 60, inst);
- case 61:
- return new ThisExpression_Group(this, this, 61, inst);
- case 62:
- return new SuperInvocationExpression_Group(this, this, 62, inst);
- case 63:
- return new InstanceCreationExpression_Group(this, this, 63, inst);
- case 64:
- return new SequenceConstructionOrAccessCompletion_Alternatives(this, this, 64, inst);
- case 65:
- return new AccessCompletion_Group(this, this, 65, inst);
- case 66:
- return new PartialSequenceConstructionCompletion_Group(this, this, 66, inst);
- case 67:
- return new SequenceConstructionCompletion_Group(this, this, 67, inst);
- case 68:
- return new SequenceConstructionExpression_Group(this, this, 68, inst);
- case 69:
- return new SequenceElement_Alternatives(this, this, 69, inst);
- case 70:
- return new ClassExtentExpression_Group(this, this, 70, inst);
- case 71:
- return new Block_Group(this, this, 71, inst);
- case 72:
- return new StatementSequence_StatementsAssignment(this, this, 72, inst);
- case 73:
- return new DocumentedStatement_Group(this, this, 73, inst);
- case 74:
- return new InlineStatement_Group(this, this, 74, inst);
- case 75:
- return new AnnotatedStatement_Group(this, this, 75, inst);
- case 76:
- return new Statement_Alternatives(this, this, 76, inst);
- case 77:
- return new Annotation_Group(this, this, 77, inst);
- case 78:
- return new BlockStatement_BlockAssignment(this, this, 78, inst);
- case 79:
- return new EmptyStatement_Group(this, this, 79, inst);
- case 80:
- return new LocalNameDeclarationStatement_Group(this, this, 80, inst);
- case 81:
- return new IfStatement_Group(this, this, 81, inst);
- case 82:
- return new SequentialClauses_Group(this, this, 82, inst);
- case 83:
- return new ConcurrentClauses_Group(this, this, 83, inst);
- case 84:
- return new NonFinalClause_Group(this, this, 84, inst);
- case 85:
- return new FinalClause_Group(this, this, 85, inst);
- case 86:
- return new SwitchStatement_Group(this, this, 86, inst);
- case 87:
- return new SwitchClause_Group(this, this, 87, inst);
- case 88:
- return new SwitchCase_Group(this, this, 88, inst);
- case 89:
- return new SwitchDefaultClause_Group(this, this, 89, inst);
- case 90:
- return new NonEmptyStatementSequence_StatementAssignment(this, this, 90, inst);
- case 91:
- return new WhileStatement_Group(this, this, 91, inst);
- case 92:
- return new DoStatement_Group(this, this, 92, inst);
- case 93:
- return new ForStatement_Group(this, this, 93, inst);
- case 94:
- return new ForControl_Group(this, this, 94, inst);
- case 95:
- return new LoopVariableDefinition_Alternatives(this, this, 95, inst);
- case 96:
- return new BreakStatement_Group(this, this, 96, inst);
- case 97:
- return new ReturnStatement_Group(this, this, 97, inst);
- case 98:
- return new AcceptStatement_Group(this, this, 98, inst);
- case 99:
- return new SimpleAcceptStatementCompletion_Group(this, this, 99, inst);
- case 100:
- return new CompoundAcceptStatementCompletion_Group(this, this, 100, inst);
- case 101:
- return new AcceptBlock_Group(this, this, 101, inst);
- case 102:
- return new AcceptClause_Group(this, this, 102, inst);
- case 103:
- return new ClassifyStatement_Group(this, this, 103, inst);
- case 104:
- return new ClassificationClause_Alternatives(this, this, 104, inst);
- case 105:
- return new ClassificationFromClause_Group(this, this, 105, inst);
- case 106:
- return new ClassificationToClause_Group(this, this, 106, inst);
- case 107:
- return new ReclassifyAllClause_Group(this, this, 107, inst);
- case 108:
- return new QualifiedNameList_Group(this, this, 108, inst);
- case 109:
- return new InvocationOrAssignementOrDeclarationStatement_Group(this, this, 109, inst);
- case 110:
- return new SuperInvocationStatement_Group(this, this, 110, inst);
- case 111:
- return new ThisInvocationStatement_Group(this, this, 111, inst);
- case 112:
- return new InstanceCreationInvocationStatement_Group(this, this, 112, inst);
- case 113:
- return new VariableDeclarationCompletion_Group(this, this, 113, inst);
- case 114:
- return new AssignmentCompletion_Group(this, this, 114, inst);
- default:
- return null;
- }
- }
- }
-
-
- /************
- * begin Rule OperationDefinitionOrStub ****************
- *
- * OperationDefinitionOrStub:
- * declaration=OperationDeclaration (";" | body=Block);
- *
- **/
-
- // declaration=OperationDeclaration (";" | body=Block)
- protected class OperationDefinitionOrStub_Group extends GroupToken {
-
- public OperationDefinitionOrStub_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDefinitionOrStub_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationDefinitionOrStubRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // declaration=OperationDeclaration
- protected class OperationDefinitionOrStub_DeclarationAssignment_0 extends AssignmentToken {
-
- public OperationDefinitionOrStub_DeclarationAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("declaration", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("declaration");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getOperationDeclarationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_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);
- }
- }
- }
-
- // ";" | body=Block
- protected class OperationDefinitionOrStub_Alternatives_1 extends AlternativesToken {
-
- public OperationDefinitionOrStub_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getAlternatives_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDefinitionOrStub_SemicolonKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationDefinitionOrStub_BodyAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ";"
- protected class OperationDefinitionOrStub_SemicolonKeyword_1_0 extends KeywordToken {
-
- public OperationDefinitionOrStub_SemicolonKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // body=Block
- protected class OperationDefinitionOrStub_BodyAssignment_1_1 extends AssignmentToken {
-
- public OperationDefinitionOrStub_BodyAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDefinitionOrStubAccess().getBodyAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("body", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_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 OperationDefinitionOrStub_DeclarationAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule OperationDefinitionOrStub ****************/
-
-
- /************
- * begin Rule OperationDeclaration ****************
- *
- * OperationDeclaration:
- * visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- * returnType=TypePart)? redefinition=RedefinitionClause?;
- *
- **/
-
- // visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- // returnType=TypePart)? redefinition=RedefinitionClause?
- protected class OperationDeclaration_Group extends GroupToken {
-
- public OperationDeclaration_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_RedefinitionAssignment_5(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationDeclaration_Group_4(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationDeclarationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // visibilityIndicator=VisibilityIndicator?
- protected class OperationDeclaration_VisibilityIndicatorAssignment_0 extends AssignmentToken {
-
- public OperationDeclaration_VisibilityIndicatorAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorAssignment_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("visibilityIndicator", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("visibilityIndicator");
- if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // abstract?="abstract"?
- protected class OperationDeclaration_AbstractAssignment_1 extends AssignmentToken {
-
- public OperationDeclaration_AbstractAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getAbstractAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("abstract", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("abstract");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // name=ID
- protected class OperationDeclaration_NameAssignment_2 extends AssignmentToken {
-
- public OperationDeclaration_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_AbstractAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationDeclaration_VisibilityIndicatorAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 2, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("name", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // formalParameters=FormalParameters
- protected class OperationDeclaration_FormalParametersAssignment_3 extends AssignmentToken {
-
- public OperationDeclaration_FormalParametersAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getFormalParametersAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameters_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("formalParameters", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameters");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getFormalParametersRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_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 OperationDeclaration_NameAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // (":" returnType=TypePart)?
- protected class OperationDeclaration_Group_4 extends GroupToken {
-
- public OperationDeclaration_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getGroup_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_ReturnTypeAssignment_4_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ":"
- protected class OperationDeclaration_ColonKeyword_4_0 extends KeywordToken {
-
- public OperationDeclaration_ColonKeyword_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // returnType=TypePart
- protected class OperationDeclaration_ReturnTypeAssignment_4_1 extends AssignmentToken {
-
- public OperationDeclaration_ReturnTypeAssignment_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getReturnTypeAssignment_4_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypePart_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("returnType", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("returnType");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTypePartRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getReturnTypeTypePartParserRuleCall_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 OperationDeclaration_ColonKeyword_4_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // redefinition=RedefinitionClause?
- protected class OperationDeclaration_RedefinitionAssignment_5 extends AssignmentToken {
-
- public OperationDeclaration_RedefinitionAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationDeclarationAccess().getRedefinitionAssignment_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RedefinitionClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("redefinition", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("redefinition");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getRedefinitionClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationDeclarationAccess().getRedefinitionRedefinitionClauseParserRuleCall_5_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 OperationDeclaration_Group_4(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new OperationDeclaration_FormalParametersAssignment_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule OperationDeclaration ****************/
-
-
- /************
- * begin Rule FormalParameters ****************
- *
- * FormalParameters:
- * {FormalParameters} "(" formalParameterList=FormalParameterList? ")";
- *
- **/
-
- // {FormalParameters} "(" formalParameterList=FormalParameterList? ")"
- protected class FormalParameters_Group extends GroupToken {
-
- public FormalParameters_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getFormalParametersAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameters_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getFormalParametersAccess().getFormalParametersAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {FormalParameters}
- protected class FormalParameters_FormalParametersAction_0 extends ActionToken {
-
- public FormalParameters_FormalParametersAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getFormalParametersAccess().getFormalParametersAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "("
- protected class FormalParameters_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public FormalParameters_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameters_FormalParametersAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // formalParameterList=FormalParameterList?
- protected class FormalParameters_FormalParameterListAssignment_2 extends AssignmentToken {
-
- public FormalParameters_FormalParameterListAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParametersAccess().getFormalParameterListAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameterList_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("formalParameterList", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameterList");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getFormalParameterListRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getFormalParametersAccess().getFormalParameterListFormalParameterListParserRuleCall_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 FormalParameters_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class FormalParameters_RightParenthesisKeyword_3 extends KeywordToken {
-
- public FormalParameters_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameters_FormalParameterListAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new FormalParameters_LeftParenthesisKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule FormalParameters ****************/
-
-
- /************
- * begin Rule FormalParameterList ****************
- *
- * FormalParameterList:
- * formalParameter+=FormalParameter ("," formalParameter+=FormalParameter)*;
- *
- **/
-
- // formalParameter+=FormalParameter ("," formalParameter+=FormalParameter)*
- protected class FormalParameterList_Group extends GroupToken {
-
- public FormalParameterList_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getFormalParameterListAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameterList_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new FormalParameterList_FormalParameterAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getFormalParameterListRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // formalParameter+=FormalParameter
- protected class FormalParameterList_FormalParameterAssignment_0 extends AssignmentToken {
-
- public FormalParameterList_FormalParameterAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameter_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("formalParameter", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameter");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getFormalParameterRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_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);
- }
- }
- }
-
- // ("," formalParameter+=FormalParameter)*
- protected class FormalParameterList_Group_1 extends GroupToken {
-
- public FormalParameterList_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getFormalParameterListAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameterList_FormalParameterAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class FormalParameterList_CommaKeyword_1_0 extends KeywordToken {
-
- public FormalParameterList_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameterList_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new FormalParameterList_FormalParameterAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // formalParameter+=FormalParameter
- protected class FormalParameterList_FormalParameterAssignment_1_1 extends AssignmentToken {
-
- public FormalParameterList_FormalParameterAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParameterListAccess().getFormalParameterAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameter_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("formalParameter", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formalParameter");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getFormalParameterRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_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 FormalParameterList_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule FormalParameterList ****************/
-
-
- /************
- * begin Rule FormalParameter ****************
- *
- * FormalParameter: // To be added ( <DOCUMENTATION_COMMENT> )?
- * //stereotypeAnnotations = StereotypeAnnotations
- * direction=ParameterDirection name=ID ":" type=TypePart;
- *
- **/
-
- // // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection name=ID ":" type=TypePart
- protected class FormalParameter_Group extends GroupToken {
-
- public FormalParameter_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getFormalParameterAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameter_TypeAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getFormalParameterRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection
- protected class FormalParameter_DirectionAssignment_0 extends AssignmentToken {
-
- public FormalParameter_DirectionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParameterAccess().getDirectionAssignment_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("direction", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("direction");
- if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getFormalParameterAccess().getDirectionParameterDirectionEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getFormalParameterAccess().getDirectionParameterDirectionEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // name=ID
- protected class FormalParameter_NameAssignment_1 extends AssignmentToken {
-
- public FormalParameter_NameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParameterAccess().getNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameter_DirectionAssignment_0(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.getFormalParameterAccess().getNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getFormalParameterAccess().getNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ":"
- protected class FormalParameter_ColonKeyword_2 extends KeywordToken {
-
- public FormalParameter_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getFormalParameterAccess().getColonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FormalParameter_NameAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // type=TypePart
- protected class FormalParameter_TypeAssignment_3 extends AssignmentToken {
-
- public FormalParameter_TypeAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFormalParameterAccess().getTypeAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypePart_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.getTypePartRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getFormalParameterAccess().getTypeTypePartParserRuleCall_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 FormalParameter_ColonKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule FormalParameter ****************/
-
-
- /************
- * begin Rule TypePart ****************
- *
- * TypePart:
- * typeName=TypeName multiplicity=Multiplicity?;
- *
- **/
-
- // typeName=TypeName multiplicity=Multiplicity?
- protected class TypePart_Group extends GroupToken {
-
- public TypePart_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTypePartAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypePart_MultiplicityAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new TypePart_TypeNameAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTypePartRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // typeName=TypeName
- protected class TypePart_TypeNameAssignment_0 extends AssignmentToken {
-
- public TypePart_TypeNameAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTypePartAccess().getTypeNameAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypeName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("typeName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeName");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTypeNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTypePartAccess().getTypeNameTypeNameParserRuleCall_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);
- }
- }
- }
-
- // multiplicity=Multiplicity?
- protected class TypePart_MultiplicityAssignment_1 extends AssignmentToken {
-
- public TypePart_MultiplicityAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTypePartAccess().getMultiplicityAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("multiplicity", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicity");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getMultiplicityRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTypePartAccess().getMultiplicityMultiplicityParserRuleCall_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 TypePart_TypeNameAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule TypePart ****************/
-
-
- /************
- * begin Rule Multiplicity ****************
- *
- * Multiplicity:
- * {Multiplicity} "[" range=MultiplicityRange? "]" (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique"
- * ordered?="ordered"? | sequence?="sequence")?;
- *
- **/
-
- // {Multiplicity} "[" range=MultiplicityRange? "]" (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique"
- // ordered?="ordered"? | sequence?="sequence")?
- protected class Multiplicity_Group extends GroupToken {
-
- public Multiplicity_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_Alternatives_4(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Multiplicity_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getMultiplicityAccess().getMultiplicityAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {Multiplicity}
- protected class Multiplicity_MultiplicityAction_0 extends ActionToken {
-
- public Multiplicity_MultiplicityAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getMultiplicityAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "["
- protected class Multiplicity_LeftSquareBracketKeyword_1 extends KeywordToken {
-
- public Multiplicity_LeftSquareBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_MultiplicityAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // range=MultiplicityRange?
- protected class Multiplicity_RangeAssignment_2 extends AssignmentToken {
-
- public Multiplicity_RangeAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getRangeAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicityRange_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("range", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("range");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getMultiplicityRangeRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getMultiplicityAccess().getRangeMultiplicityRangeParserRuleCall_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 Multiplicity_LeftSquareBracketKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "]"
- protected class Multiplicity_RightSquareBracketKeyword_3 extends KeywordToken {
-
- public Multiplicity_RightSquareBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_RangeAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Multiplicity_LeftSquareBracketKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique" ordered?="ordered"? | sequence?="sequence")?
- protected class Multiplicity_Alternatives_4 extends AlternativesToken {
-
- public Multiplicity_Alternatives_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getAlternatives_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_Group_4_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Multiplicity_Group_4_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new Multiplicity_SequenceAssignment_4_2(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ordered?="ordered" nonUnique?="nonUnique"?
- protected class Multiplicity_Group_4_0 extends GroupToken {
-
- public Multiplicity_Group_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getGroup_4_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_NonUniqueAssignment_4_0_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Multiplicity_OrderedAssignment_4_0_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ordered?="ordered"
- protected class Multiplicity_OrderedAssignment_4_0_0 extends AssignmentToken {
-
- public Multiplicity_OrderedAssignment_4_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("ordered", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordered");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_0_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // nonUnique?="nonUnique"?
- protected class Multiplicity_NonUniqueAssignment_4_0_1 extends AssignmentToken {
-
- public Multiplicity_NonUniqueAssignment_4_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_OrderedAssignment_4_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("nonUnique", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("nonUnique");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_0_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
- // nonUnique?="nonUnique" ordered?="ordered"?
- protected class Multiplicity_Group_4_1 extends GroupToken {
-
- public Multiplicity_Group_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getGroup_4_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_OrderedAssignment_4_1_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Multiplicity_NonUniqueAssignment_4_1_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // nonUnique?="nonUnique"
- protected class Multiplicity_NonUniqueAssignment_4_1_0 extends AssignmentToken {
-
- public Multiplicity_NonUniqueAssignment_4_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getNonUniqueAssignment_4_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("nonUnique", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("nonUnique");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_1_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ordered?="ordered"?
- protected class Multiplicity_OrderedAssignment_4_1_1 extends AssignmentToken {
-
- public Multiplicity_OrderedAssignment_4_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getOrderedAssignment_4_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_NonUniqueAssignment_4_1_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("ordered", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("ordered");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_1_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
- // sequence?="sequence"
- protected class Multiplicity_SequenceAssignment_4_2 extends AssignmentToken {
-
- public Multiplicity_SequenceAssignment_4_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityAccess().getSequenceAssignment_4_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Multiplicity_RightSquareBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequence", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequence");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicityAccess().getSequenceSequenceKeyword_4_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
-
- /************ end Rule Multiplicity ****************/
-
-
- /************
- * begin Rule MultiplicityRange ****************
- *
- * MultiplicityRange:
- * (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")? upper=NUMBER_LITERAL_WITHOUT_SUFFIX;
- *
- **/
-
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")? upper=NUMBER_LITERAL_WITHOUT_SUFFIX
- protected class MultiplicityRange_Group extends GroupToken {
-
- public MultiplicityRange_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicityRangeAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicityRange_UpperAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getMultiplicityRangeRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")?
- protected class MultiplicityRange_Group_0 extends GroupToken {
-
- public MultiplicityRange_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getMultiplicityRangeAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicityRange_FullStopFullStopKeyword_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // lower=NUMBER_LITERAL_WITHOUT_SUFFIX
- protected class MultiplicityRange_LowerAssignment_0_0 extends AssignmentToken {
-
- public MultiplicityRange_LowerAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityRangeAccess().getLowerAssignment_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("lower", false)) == 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.getNUMBER_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getMultiplicityRangeAccess().getLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_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);
- }
- }
- }
-
- // ".."
- protected class MultiplicityRange_FullStopFullStopKeyword_0_1 extends KeywordToken {
-
- public MultiplicityRange_FullStopFullStopKeyword_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new MultiplicityRange_LowerAssignment_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // upper=NUMBER_LITERAL_WITHOUT_SUFFIX
- protected class MultiplicityRange_UpperAssignment_1 extends AssignmentToken {
-
- public MultiplicityRange_UpperAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getMultiplicityRangeAccess().getUpperAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(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.getNUMBER_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getMultiplicityRangeAccess().getUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_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 MultiplicityRange_Group_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
-
- /************ end Rule MultiplicityRange ****************/
-
-
- /************
- * begin Rule NUMBER_LITERAL_WITHOUT_SUFFIX ****************
- *
- * NUMBER_LITERAL_WITHOUT_SUFFIX:
- * INTEGER_LITERAL_WITHOUT_SUFFIX | UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- *
- **/
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX | UNLIMITED_LITERAL_WITHOUT_SUFFIX
- protected class NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives extends AlternativesToken {
-
- public NUMBER_LITERAL_WITHOUT_SUFFIX_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NUMBER_LITERAL_WITHOUT_SUFFIX_INTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NUMBER_LITERAL_WITHOUT_SUFFIX_UNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX
- protected class NUMBER_LITERAL_WITHOUT_SUFFIX_INTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0 extends RuleCallToken {
-
- public NUMBER_LITERAL_WITHOUT_SUFFIX_INTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(INTEGER_LITERAL_WITHOUT_SUFFIX_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);
- }
- }
- }
-
- // UNLIMITED_LITERAL_WITHOUT_SUFFIX
- protected class NUMBER_LITERAL_WITHOUT_SUFFIX_UNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1 extends RuleCallToken {
-
- public NUMBER_LITERAL_WITHOUT_SUFFIX_UNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(UNLIMITED_LITERAL_WITHOUT_SUFFIX_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 NUMBER_LITERAL_WITHOUT_SUFFIX ****************/
-
-
- /************
- * begin Rule INTEGER_LITERAL_WITHOUT_SUFFIX ****************
- *
- * INTEGER_LITERAL_WITHOUT_SUFFIX:
- * value=IntegerValue;
- *
- **/
-
- // value=IntegerValue
- protected class INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment extends AssignmentToken {
-
- public INTEGER_LITERAL_WITHOUT_SUFFIX_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().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.getINTEGER_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueIntegerValueTerminalRuleCall_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueIntegerValueTerminalRuleCall_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule INTEGER_LITERAL_WITHOUT_SUFFIX ****************/
-
-
- /************
- * begin Rule UNLIMITED_LITERAL_WITHOUT_SUFFIX ****************
- *
- * UNLIMITED_LITERAL_WITHOUT_SUFFIX:
- * value="*";
- *
- **/
-
- // value="*"
- protected class UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment extends AssignmentToken {
-
- public UNLIMITED_LITERAL_WITHOUT_SUFFIX_ValueAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().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.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAsteriskKeyword_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAsteriskKeyword_0();
- return obj;
- }
- return null;
- }
-
- }
-
- /************ end Rule UNLIMITED_LITERAL_WITHOUT_SUFFIX ****************/
-
-
- /************
- * begin Rule TypeName ****************
- *
- * TypeName:
- * {TypeName} (qualifiedName=QualifiedNameWithBinding | "any");
- *
- **/
-
- // {TypeName} (qualifiedName=QualifiedNameWithBinding | "any")
- protected class TypeName_Group extends GroupToken {
-
- public TypeName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTypeNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypeName_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTypeNameAccess().getTypeNameAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {TypeName}
- protected class TypeName_TypeNameAction_0 extends ActionToken {
-
- public TypeName_TypeNameAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getTypeNameAccess().getTypeNameAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // qualifiedName=QualifiedNameWithBinding | "any"
- protected class TypeName_Alternatives_1 extends AlternativesToken {
-
- public TypeName_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getTypeNameAccess().getAlternatives_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypeName_QualifiedNameAssignment_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new TypeName_AnyKeyword_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // qualifiedName=QualifiedNameWithBinding
- protected class TypeName_QualifiedNameAssignment_1_0 extends AssignmentToken {
-
- public TypeName_QualifiedNameAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTypeNameAccess().getQualifiedNameAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedName");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTypeNameAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_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) {
- case 0:
- return new TypeName_TypeNameAction_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "any"
- protected class TypeName_AnyKeyword_1_1 extends KeywordToken {
-
- public TypeName_AnyKeyword_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTypeNameAccess().getAnyKeyword_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TypeName_TypeNameAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule TypeName ****************/
-
-
- /************
- * begin Rule RedefinitionClause ****************
- *
- * RedefinitionClause:
- * "redefines" redefinedOperations=QualifiedNameList;
- *
- **/
-
- // "redefines" redefinedOperations=QualifiedNameList
- protected class RedefinitionClause_Group extends GroupToken {
-
- public RedefinitionClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getRedefinitionClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new RedefinitionClause_RedefinedOperationsAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getRedefinitionClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "redefines"
- protected class RedefinitionClause_RedefinesKeyword_0 extends KeywordToken {
-
- public RedefinitionClause_RedefinesKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // redefinedOperations=QualifiedNameList
- protected class RedefinitionClause_RedefinedOperationsAssignment_1 extends AssignmentToken {
-
- public RedefinitionClause_RedefinedOperationsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("redefinedOperations", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("redefinedOperations");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameListRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsQualifiedNameListParserRuleCall_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 RedefinitionClause_RedefinesKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule RedefinitionClause ****************/
-
-
- /************
- * begin Rule Test ****************
- *
- * / *
- * Test rule
- * * / Test:
- * ("testExpression" expression+=Expression)* ("testAssignmentExpression" assignExpression+=AssignmentCompletion)*
- * ("testStatement" statements+=Statement)* ("testBlock" block=Block);
- *
- **/
-
- // ("testExpression" expression+=Expression)* ("testAssignmentExpression" assignExpression+=AssignmentCompletion)*
- // ("testStatement" statements+=Statement)* ("testBlock" block=Block)
- protected class Test_Group extends GroupToken {
-
- public Test_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTestAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_Group_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTestRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // ("testExpression" expression+=Expression)*
- protected class Test_Group_0 extends GroupToken {
-
- public Test_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTestAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_ExpressionAssignment_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "testExpression"
- protected class Test_TestExpressionKeyword_0_0 extends KeywordToken {
-
- public Test_TestExpressionKeyword_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTestAccess().getTestExpressionKeyword_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_Group_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- }
-
- // expression+=Expression
- protected class Test_ExpressionAssignment_0_1 extends AssignmentToken {
-
- public Test_ExpressionAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTestAccess().getExpressionAssignment_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getTestAccess().getExpressionExpressionParserRuleCall_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 Test_TestExpressionKeyword_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ("testAssignmentExpression" assignExpression+=AssignmentCompletion)*
- protected class Test_Group_1 extends GroupToken {
-
- public Test_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTestAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_AssignExpressionAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "testAssignmentExpression"
- protected class Test_TestAssignmentExpressionKeyword_1_0 extends KeywordToken {
-
- public Test_TestAssignmentExpressionKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTestAccess().getTestAssignmentExpressionKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Test_Group_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 2, inst);
- }
- }
-
- }
-
- // assignExpression+=AssignmentCompletion
- protected class Test_AssignExpressionAssignment_1_1 extends AssignmentToken {
-
- public Test_AssignExpressionAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTestAccess().getAssignExpressionAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AssignmentCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("assignExpression", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("assignExpression");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAssignmentCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTestAccess().getAssignExpressionAssignmentCompletionParserRuleCall_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 Test_TestAssignmentExpressionKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ("testStatement" statements+=Statement)*
- protected class Test_Group_2 extends GroupToken {
-
- public Test_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTestAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_StatementsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "testStatement"
- protected class Test_TestStatementKeyword_2_0 extends KeywordToken {
-
- public Test_TestStatementKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTestAccess().getTestStatementKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Test_Group_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new Test_Group_0(lastRuleCallOrigin, this, 2, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 3, inst);
- }
- }
-
- }
-
- // statements+=Statement
- protected class Test_StatementsAssignment_2_1 extends AssignmentToken {
-
- public Test_StatementsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTestAccess().getStatementsAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Statement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statements", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statements");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getStatementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTestAccess().getStatementsStatementParserRuleCall_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 Test_TestStatementKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // "testBlock" block=Block
- protected class Test_Group_3 extends GroupToken {
-
- public Test_Group_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTestAccess().getGroup_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_BlockAssignment_3_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "testBlock"
- protected class Test_TestBlockKeyword_3_0 extends KeywordToken {
-
- public Test_TestBlockKeyword_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTestAccess().getTestBlockKeyword_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Test_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Test_Group_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new Test_Group_0(lastRuleCallOrigin, this, 2, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 3, inst);
- }
- }
-
- }
-
- // block=Block
- protected class Test_BlockAssignment_3_1 extends AssignmentToken {
-
- public Test_BlockAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTestAccess().getBlockAssignment_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTestAccess().getBlockBlockParserRuleCall_3_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 Test_TestBlockKeyword_3_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule Test ****************/
-
-
- /************
- * begin Rule LITERAL ****************
- *
- * //('testStatementSequence' statement += StatementSequence)* ;
- * / *********************************
- * * PrimitiveLiterals
- * ********************************** / LITERAL:
- * BOOLEAN_LITERAL | NUMBER_LITERAL | STRING_LITERAL;
- *
- **/
-
- // BOOLEAN_LITERAL | NUMBER_LITERAL | STRING_LITERAL
- 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_BOOLEAN_LITERALParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LITERAL_NUMBER_LITERALParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new LITERAL_STRING_LITERALParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBOOLEAN_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSTRING_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // BOOLEAN_LITERAL
- protected class LITERAL_BOOLEAN_LITERALParserRuleCall_0 extends RuleCallToken {
-
- public LITERAL_BOOLEAN_LITERALParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BOOLEAN_LITERAL_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBOOLEAN_LITERALRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(BOOLEAN_LITERAL_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);
- }
- }
- }
-
- // NUMBER_LITERAL
- protected class LITERAL_NUMBER_LITERALParserRuleCall_1 extends RuleCallToken {
-
- public LITERAL_NUMBER_LITERALParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NUMBER_LITERAL_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NUMBER_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);
- }
- }
- }
-
- // STRING_LITERAL
- protected class LITERAL_STRING_LITERALParserRuleCall_2 extends RuleCallToken {
-
- public LITERAL_STRING_LITERALParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new STRING_LITERAL_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSTRING_LITERALRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(STRING_LITERAL_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 LITERAL ****************/
-
-
- /************
- * begin Rule BOOLEAN_LITERAL ****************
- *
- * BOOLEAN_LITERAL:
- * value=BooleanValue suffix=SuffixExpression?;
- *
- **/
-
- // value=BooleanValue suffix=SuffixExpression?
- protected class BOOLEAN_LITERAL_Group extends GroupToken {
-
- public BOOLEAN_LITERAL_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getBOOLEAN_LITERALAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BOOLEAN_LITERAL_SuffixAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new BOOLEAN_LITERAL_ValueAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBOOLEAN_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // value=BooleanValue
- protected class BOOLEAN_LITERAL_ValueAssignment_0 extends AssignmentToken {
-
- public BOOLEAN_LITERAL_ValueAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getBOOLEAN_LITERALAccess().getValueAssignment_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("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getBOOLEAN_LITERALAccess().getValueBooleanValueEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getBOOLEAN_LITERALAccess().getValueBooleanValueEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class BOOLEAN_LITERAL_SuffixAssignment_1 extends AssignmentToken {
-
- public BOOLEAN_LITERAL_SuffixAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getBOOLEAN_LITERALAccess().getSuffixAssignment_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.getBOOLEAN_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_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 BOOLEAN_LITERAL_ValueAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule BOOLEAN_LITERAL ****************/
-
-
- /************
- * begin Rule NUMBER_LITERAL ****************
- *
- * NUMBER_LITERAL:
- * INTEGER_LITERAL | UNLIMITED_LITERAL;
- *
- **/
-
- // INTEGER_LITERAL | UNLIMITED_LITERAL
- protected class NUMBER_LITERAL_Alternatives extends AlternativesToken {
-
- public NUMBER_LITERAL_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNUMBER_LITERALAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NUMBER_LITERAL_INTEGER_LITERALParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NUMBER_LITERAL_UNLIMITED_LITERALParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // INTEGER_LITERAL
- protected class NUMBER_LITERAL_INTEGER_LITERALParserRuleCall_0 extends RuleCallToken {
-
- public NUMBER_LITERAL_INTEGER_LITERALParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new INTEGER_LITERAL_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(INTEGER_LITERAL_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);
- }
- }
- }
-
- // UNLIMITED_LITERAL
- protected class NUMBER_LITERAL_UNLIMITED_LITERALParserRuleCall_1 extends RuleCallToken {
-
- public NUMBER_LITERAL_UNLIMITED_LITERALParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UNLIMITED_LITERAL_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(UNLIMITED_LITERAL_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 NUMBER_LITERAL ****************/
-
-
- /************
- * begin Rule INTEGER_LITERAL ****************
- *
- * INTEGER_LITERAL:
- * value=IntegerValue suffix=SuffixExpression?;
- *
- **/
-
- // value=IntegerValue suffix=SuffixExpression?
- protected class INTEGER_LITERAL_Group extends GroupToken {
-
- public INTEGER_LITERAL_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getINTEGER_LITERALAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new INTEGER_LITERAL_SuffixAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new INTEGER_LITERAL_ValueAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // value=IntegerValue
- protected class INTEGER_LITERAL_ValueAssignment_0 extends AssignmentToken {
-
- public INTEGER_LITERAL_ValueAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getINTEGER_LITERALAccess().getValueAssignment_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("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getINTEGER_LITERALAccess().getValueIntegerValueTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getINTEGER_LITERALAccess().getValueIntegerValueTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class INTEGER_LITERAL_SuffixAssignment_1 extends AssignmentToken {
-
- public INTEGER_LITERAL_SuffixAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getINTEGER_LITERALAccess().getSuffixAssignment_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.getINTEGER_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_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 INTEGER_LITERAL_ValueAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule INTEGER_LITERAL ****************/
-
-
- /************
- * begin Rule UNLIMITED_LITERAL ****************
- *
- * UNLIMITED_LITERAL:
- * value="*" suffix=SuffixExpression?;
- *
- **/
-
- // value="*" suffix=SuffixExpression?
- protected class UNLIMITED_LITERAL_Group extends GroupToken {
-
- public UNLIMITED_LITERAL_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getUNLIMITED_LITERALAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UNLIMITED_LITERAL_SuffixAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new UNLIMITED_LITERAL_ValueAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // value="*"
- protected class UNLIMITED_LITERAL_ValueAssignment_0 extends AssignmentToken {
-
- public UNLIMITED_LITERAL_ValueAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUNLIMITED_LITERALAccess().getValueAssignment_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("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUNLIMITED_LITERALAccess().getValueAsteriskKeyword_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUNLIMITED_LITERALAccess().getValueAsteriskKeyword_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class UNLIMITED_LITERAL_SuffixAssignment_1 extends AssignmentToken {
-
- public UNLIMITED_LITERAL_SuffixAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUNLIMITED_LITERALAccess().getSuffixAssignment_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.getUNLIMITED_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_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 UNLIMITED_LITERAL_ValueAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule UNLIMITED_LITERAL ****************/
-
-
- /************
- * begin Rule STRING_LITERAL ****************
- *
- * STRING_LITERAL:
- * value=STRING suffix=SuffixExpression?;
- *
- **/
-
- // value=STRING suffix=SuffixExpression?
- protected class STRING_LITERAL_Group extends GroupToken {
-
- public STRING_LITERAL_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSTRING_LITERALAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new STRING_LITERAL_SuffixAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new STRING_LITERAL_ValueAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSTRING_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // value=STRING
- protected class STRING_LITERAL_ValueAssignment_0 extends AssignmentToken {
-
- public STRING_LITERAL_ValueAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSTRING_LITERALAccess().getValueAssignment_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("value", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("value");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getSTRING_LITERALAccess().getValueSTRINGTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSTRING_LITERALAccess().getValueSTRINGTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class STRING_LITERAL_SuffixAssignment_1 extends AssignmentToken {
-
- public STRING_LITERAL_SuffixAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSTRING_LITERALAccess().getSuffixAssignment_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.getSTRING_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_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 STRING_LITERAL_ValueAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule STRING_LITERAL ****************/
-
-
- /************
- * begin Rule NameExpression ****************
- *
- * NameExpression:
- * (prefixOp=("++" | "--") path=QualifiedNamePath? id=ID | path=QualifiedNamePath? id=ID (invocationCompletion=Tuple |
- * sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" | "--"))?)
- * suffix=SuffixExpression?;
- *
- **/
-
- // (prefixOp=("++" | "--") path=QualifiedNamePath? id=ID | path=QualifiedNamePath? id=ID (invocationCompletion=Tuple |
- // sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" | "--"))?)
- // suffix=SuffixExpression?
- protected class NameExpression_Group extends GroupToken {
-
- public NameExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_SuffixAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameExpression_Alternatives_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNameExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // prefixOp=("++" | "--") path=QualifiedNamePath? id=ID | path=QualifiedNamePath? id=ID (invocationCompletion=Tuple |
- // sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" | "--"))?
- protected class NameExpression_Alternatives_0 extends AlternativesToken {
-
- public NameExpression_Alternatives_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getAlternatives_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Group_0_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameExpression_Group_0_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // prefixOp=("++" | "--") path=QualifiedNamePath? id=ID
- protected class NameExpression_Group_0_0 extends GroupToken {
-
- public NameExpression_Group_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getGroup_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_IdAssignment_0_0_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // prefixOp=("++" | "--")
- protected class NameExpression_PrefixOpAssignment_0_0_0 extends AssignmentToken {
-
- public NameExpression_PrefixOpAssignment_0_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getPrefixOpAssignment_0_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("prefixOp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("prefixOp");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // path=QualifiedNamePath?
- protected class NameExpression_PathAssignment_0_0_1 extends AssignmentToken {
-
- public NameExpression_PathAssignment_0_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getPathAssignment_0_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNamePath_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.getQualifiedNamePathRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_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 NameExpression_PrefixOpAssignment_0_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // id=ID
- protected class NameExpression_IdAssignment_0_0_2 extends AssignmentToken {
-
- public NameExpression_IdAssignment_0_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getIdAssignment_0_0_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_PathAssignment_0_0_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameExpression_PrefixOpAssignment_0_0_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("id", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_0_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_0_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
- // path=QualifiedNamePath? id=ID (invocationCompletion=Tuple |
- // sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" | "--"))?
- protected class NameExpression_Group_0_1 extends GroupToken {
-
- public NameExpression_Group_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getGroup_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Alternatives_0_1_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameExpression_IdAssignment_0_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // path=QualifiedNamePath?
- protected class NameExpression_PathAssignment_0_1_0 extends AssignmentToken {
-
- public NameExpression_PathAssignment_0_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getPathAssignment_0_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNamePath_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.getQualifiedNamePathRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_1_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=ID
- protected class NameExpression_IdAssignment_0_1_1 extends AssignmentToken {
-
- public NameExpression_IdAssignment_0_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getIdAssignment_0_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_PathAssignment_0_1_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 (valueSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_1_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_1_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // (invocationCompletion=Tuple | sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" |
- // "--"))?
- protected class NameExpression_Alternatives_0_1_2 extends AlternativesToken {
-
- public NameExpression_Alternatives_0_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getAlternatives_0_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_InvocationCompletionAssignment_0_1_2_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NameExpression_SequenceConstructionCompletionAssignment_0_1_2_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new NameExpression_PostfixOpAssignment_0_1_2_2(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- }
-
- // invocationCompletion=Tuple
- protected class NameExpression_InvocationCompletionAssignment_0_1_2_0 extends AssignmentToken {
-
- public NameExpression_InvocationCompletionAssignment_0_1_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getInvocationCompletionAssignment_0_1_2_0();
- }
-
- @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 ((value = eObjectConsumer.getConsumable("invocationCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("invocationCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getInvocationCompletionTupleParserRuleCall_0_1_2_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) {
- case 0:
- return new NameExpression_IdAssignment_0_1_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion
- protected class NameExpression_SequenceConstructionCompletionAssignment_0_1_2_1 extends AssignmentToken {
-
- public NameExpression_SequenceConstructionCompletionAssignment_0_1_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionAssignment_0_1_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionOrAccessCompletion_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequenceConstructionCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequenceConstructionCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceConstructionOrAccessCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionSequenceConstructionOrAccessCompletionParserRuleCall_0_1_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 NameExpression_IdAssignment_0_1_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // postfixOp=("++" | "--")
- protected class NameExpression_PostfixOpAssignment_0_1_2_2 extends AssignmentToken {
-
- public NameExpression_PostfixOpAssignment_0_1_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getPostfixOpAssignment_0_1_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_IdAssignment_0_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("postfixOp", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("postfixOp");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
-
-
-
- // suffix=SuffixExpression?
- protected class NameExpression_SuffixAssignment_1 extends AssignmentToken {
-
- public NameExpression_SuffixAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNameExpressionAccess().getSuffixAssignment_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.getNameExpressionAccess().getSuffixSuffixExpressionParserRuleCall_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 NameExpression_Alternatives_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule NameExpression ****************/
-
-
- /************
- * begin Rule QualifiedNamePath ****************
- *
- * QualifiedNamePath:
- * (namespace+=UnqualifiedName "::")+;
- *
- **/
-
- // (namespace+=UnqualifiedName "::")+
- protected class QualifiedNamePath_Group extends GroupToken {
-
- public QualifiedNamePath_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNamePathAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNamePath_ColonColonKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // namespace+=UnqualifiedName
- protected class QualifiedNamePath_NamespaceAssignment_0 extends AssignmentToken {
-
- public QualifiedNamePath_NamespaceAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNamePathAccess().getNamespaceAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnqualifiedName_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("namespace", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("namespace");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getUnqualifiedNameRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNamePathAccess().getNamespaceUnqualifiedNameParserRuleCall_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) {
- case 0:
- return new QualifiedNamePath_Group(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
- // "::"
- protected class QualifiedNamePath_ColonColonKeyword_1 extends KeywordToken {
-
- public QualifiedNamePath_ColonColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNamePath_NamespaceAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule QualifiedNamePath ****************/
-
-
- /************
- * begin Rule UnqualifiedName ****************
- *
- * UnqualifiedName:
- * name=ID templateBinding=TemplateBinding?;
- *
- **/
-
- // name=ID templateBinding=TemplateBinding?
- protected class UnqualifiedName_Group extends GroupToken {
-
- public UnqualifiedName_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getUnqualifiedNameAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnqualifiedName_TemplateBindingAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new UnqualifiedName_NameAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUnqualifiedNameRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // name=ID
- protected class UnqualifiedName_NameAssignment_0 extends AssignmentToken {
-
- public UnqualifiedName_NameAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnqualifiedNameAccess().getNameAssignment_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("name", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getUnqualifiedNameAccess().getNameIDTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getUnqualifiedNameAccess().getNameIDTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // templateBinding=TemplateBinding?
- protected class UnqualifiedName_TemplateBindingAssignment_1 extends AssignmentToken {
-
- public UnqualifiedName_TemplateBindingAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnqualifiedNameAccess().getTemplateBindingAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("templateBinding", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("templateBinding");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTemplateBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getUnqualifiedNameAccess().getTemplateBindingTemplateBindingParserRuleCall_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 UnqualifiedName_NameAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule UnqualifiedName ****************/
-
-
- /************
- * begin Rule TemplateBinding ****************
- *
- * TemplateBinding:
- * "<" bindings+=NamedTemplateBinding ("," bindings+=NamedTemplateBinding)* ">";
- *
- **/
-
- // "<" bindings+=NamedTemplateBinding ("," bindings+=NamedTemplateBinding)* ">"
- protected class TemplateBinding_Group extends GroupToken {
-
- public TemplateBinding_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_GreaterThanSignKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTemplateBindingRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "<"
- protected class TemplateBinding_LessThanSignKeyword_0 extends KeywordToken {
-
- public TemplateBinding_LessThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // bindings+=NamedTemplateBinding
- protected class TemplateBinding_BindingsAssignment_1 extends AssignmentToken {
-
- public TemplateBinding_BindingsAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getBindingsAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NamedTemplateBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("bindings", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bindings");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNamedTemplateBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_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 TemplateBinding_LessThanSignKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("," bindings+=NamedTemplateBinding)*
- protected class TemplateBinding_Group_2 extends GroupToken {
-
- public TemplateBinding_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_BindingsAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class TemplateBinding_CommaKeyword_2_0 extends KeywordToken {
-
- public TemplateBinding_CommaKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new TemplateBinding_BindingsAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // bindings+=NamedTemplateBinding
- protected class TemplateBinding_BindingsAssignment_2_1 extends AssignmentToken {
-
- public TemplateBinding_BindingsAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getBindingsAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NamedTemplateBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("bindings", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("bindings");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNamedTemplateBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_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 TemplateBinding_CommaKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ">"
- protected class TemplateBinding_GreaterThanSignKeyword_3 extends KeywordToken {
-
- public TemplateBinding_GreaterThanSignKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new TemplateBinding_BindingsAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule TemplateBinding ****************/
-
-
- /************
- * begin Rule NamedTemplateBinding ****************
- *
- * NamedTemplateBinding:
- * formal=ID "=>" actual=QualifiedNameWithBinding;
- *
- **/
-
- // formal=ID "=>" actual=QualifiedNameWithBinding
- protected class NamedTemplateBinding_Group extends GroupToken {
-
- public NamedTemplateBinding_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNamedTemplateBindingAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NamedTemplateBinding_ActualAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNamedTemplateBindingRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // formal=ID
- protected class NamedTemplateBinding_FormalAssignment_0 extends AssignmentToken {
-
- public NamedTemplateBinding_FormalAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNamedTemplateBindingAccess().getFormalAssignment_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("formal", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("formal");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getNamedTemplateBindingAccess().getFormalIDTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getNamedTemplateBindingAccess().getFormalIDTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "=>"
- protected class NamedTemplateBinding_EqualsSignGreaterThanSignKeyword_1 extends KeywordToken {
-
- public NamedTemplateBinding_EqualsSignGreaterThanSignKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NamedTemplateBinding_FormalAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // actual=QualifiedNameWithBinding
- protected class NamedTemplateBinding_ActualAssignment_2 extends AssignmentToken {
-
- public NamedTemplateBinding_ActualAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNamedTemplateBindingAccess().getActualAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("actual", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("actual");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNamedTemplateBindingAccess().getActualQualifiedNameWithBindingParserRuleCall_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 NamedTemplateBinding_EqualsSignGreaterThanSignKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule NamedTemplateBinding ****************/
-
-
- /************
- * begin Rule QualifiedNameWithBinding ****************
- *
- * QualifiedNameWithBinding:
- * id=ID binding=TemplateBinding? ("::" remaining=QualifiedNameWithBinding)?;
- *
- **/
-
- // id=ID binding=TemplateBinding? ("::" remaining=QualifiedNameWithBinding)?
- protected class QualifiedNameWithBinding_Group extends GroupToken {
-
- public QualifiedNameWithBinding_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new QualifiedNameWithBinding_BindingAssignment_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new QualifiedNameWithBinding_IdAssignment_0(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // id=ID
- protected class QualifiedNameWithBinding_IdAssignment_0 extends AssignmentToken {
-
- public QualifiedNameWithBinding_IdAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getIdAssignment_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("id", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("id");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getQualifiedNameWithBindingAccess().getIdIDTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getQualifiedNameWithBindingAccess().getIdIDTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // binding=TemplateBinding?
- protected class QualifiedNameWithBinding_BindingAssignment_1 extends AssignmentToken {
-
- public QualifiedNameWithBinding_BindingAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getBindingAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TemplateBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("binding", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("binding");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTemplateBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNameWithBindingAccess().getBindingTemplateBindingParserRuleCall_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 QualifiedNameWithBinding_IdAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("::" remaining=QualifiedNameWithBinding)?
- protected class QualifiedNameWithBinding_Group_2 extends GroupToken {
-
- public QualifiedNameWithBinding_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_RemainingAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "::"
- protected class QualifiedNameWithBinding_ColonColonKeyword_2_0 extends KeywordToken {
-
- public QualifiedNameWithBinding_ColonColonKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_BindingAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new QualifiedNameWithBinding_IdAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // remaining=QualifiedNameWithBinding
- protected class QualifiedNameWithBinding_RemainingAssignment_2_1 extends AssignmentToken {
-
- public QualifiedNameWithBinding_RemainingAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameWithBindingAccess().getRemainingAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_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.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNameWithBindingAccess().getRemainingQualifiedNameWithBindingParserRuleCall_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 QualifiedNameWithBinding_ColonColonKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule QualifiedNameWithBinding ****************/
-
-
- /************
- * begin Rule Tuple ****************
- *
- * Tuple:
- * {Tuple} "(" (tupleElements+=TupleElement ("," tupleElements+=TupleElement)*)? ")";
- *
- **/
-
- // {Tuple} "(" (tupleElements+=TupleElement ("," tupleElements+=TupleElement)*)? ")"
- 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_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTupleAccess().getTupleAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {Tuple}
- protected class Tuple_TupleAction_0 extends ActionToken {
-
- public Tuple_TupleAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getTupleAccess().getTupleAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "("
- protected class Tuple_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public Tuple_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_TupleAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // (tupleElements+=TupleElement ("," tupleElements+=TupleElement)*)?
- protected class Tuple_Group_2 extends GroupToken {
-
- public Tuple_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTupleAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_Group_2_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Tuple_TupleElementsAssignment_2_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // tupleElements+=TupleElement
- protected class Tuple_TupleElementsAssignment_2_0 extends AssignmentToken {
-
- public Tuple_TupleElementsAssignment_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTupleAccess().getTupleElementsAssignment_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TupleElement_ArgumentAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("tupleElements", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tupleElements");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_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) {
- case 0:
- return new Tuple_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("," tupleElements+=TupleElement)*
- protected class Tuple_Group_2_1 extends GroupToken {
-
- public Tuple_Group_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getTupleAccess().getGroup_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_TupleElementsAssignment_2_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class Tuple_CommaKeyword_2_1_0 extends KeywordToken {
-
- public Tuple_CommaKeyword_2_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTupleAccess().getCommaKeyword_2_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_Group_2_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Tuple_TupleElementsAssignment_2_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // tupleElements+=TupleElement
- protected class Tuple_TupleElementsAssignment_2_1_1 extends AssignmentToken {
-
- public Tuple_TupleElementsAssignment_2_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTupleAccess().getTupleElementsAssignment_2_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new TupleElement_ArgumentAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("tupleElements", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tupleElements");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_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 Tuple_CommaKeyword_2_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- // ")"
- protected class Tuple_RightParenthesisKeyword_3 extends KeywordToken {
-
- public Tuple_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getTupleAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Tuple_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Tuple_LeftParenthesisKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule Tuple ****************/
-
-
- /************
- * begin Rule TupleElement ****************
- *
- * TupleElement:
- * argument=Expression;
- *
- **/
-
- // argument=Expression
- protected class TupleElement_ArgumentAssignment extends AssignmentToken {
-
- public TupleElement_ArgumentAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getTupleElementAccess().getArgumentAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getTupleElementRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("argument", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("argument");
- 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.getTupleElementAccess().getArgumentExpressionParserRuleCall_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 TupleElement ****************/
-
-
- /************
- * begin Rule Expression ****************
- *
- * / **************
- * * Expressions
- * ************** / Expression:
- * ConditionalTestExpression;
- *
- **/
-
- // ConditionalTestExpression
- protected class Expression_ConditionalTestExpressionParserRuleCall extends RuleCallToken {
-
- public Expression_ConditionalTestExpressionParserRuleCall(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalTestExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ConditionalTestExpression_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 Expression ****************/
-
-
- /************
- * begin Rule ConditionalTestExpression ****************
- *
- * ConditionalTestExpression:
- * exp=ConditionalOrExpression ("?" whenTrue=ConditionalTestExpression ":" whenFalse=ConditionalTestExpression)?;
- *
- **/
-
- // exp=ConditionalOrExpression ("?" whenTrue=ConditionalTestExpression ":" whenFalse=ConditionalTestExpression)?
- protected class ConditionalTestExpression_Group extends GroupToken {
-
- public ConditionalTestExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalTestExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalTestExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp=ConditionalOrExpression
- protected class ConditionalTestExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ConditionalTestExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalOrExpression_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.getConditionalOrExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalTestExpressionAccess().getExpConditionalOrExpressionParserRuleCall_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);
- }
- }
- }
-
- // ("?" whenTrue=ConditionalTestExpression ":" whenFalse=ConditionalTestExpression)?
- protected class ConditionalTestExpression_Group_1 extends GroupToken {
-
- public ConditionalTestExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_WhenFalseAssignment_1_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "?"
- protected class ConditionalTestExpression_QuestionMarkKeyword_1_0 extends KeywordToken {
-
- public ConditionalTestExpression_QuestionMarkKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_ExpAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // whenTrue=ConditionalTestExpression
- protected class ConditionalTestExpression_WhenTrueAssignment_1_1 extends AssignmentToken {
-
- public ConditionalTestExpression_WhenTrueAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getWhenTrueAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("whenTrue", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("whenTrue");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConditionalTestExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalTestExpressionAccess().getWhenTrueConditionalTestExpressionParserRuleCall_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 ConditionalTestExpression_QuestionMarkKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ":"
- protected class ConditionalTestExpression_ColonKeyword_1_2 extends KeywordToken {
-
- public ConditionalTestExpression_ColonKeyword_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_WhenTrueAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // whenFalse=ConditionalTestExpression
- protected class ConditionalTestExpression_WhenFalseAssignment_1_3 extends AssignmentToken {
-
- public ConditionalTestExpression_WhenFalseAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalTestExpressionAccess().getWhenFalseAssignment_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalTestExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("whenFalse", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("whenFalse");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConditionalTestExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalTestExpressionAccess().getWhenFalseConditionalTestExpressionParserRuleCall_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 ConditionalTestExpression_ColonKeyword_1_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ConditionalTestExpression ****************/
-
-
- /************
- * begin Rule ConditionalOrExpression ****************
- *
- * ConditionalOrExpression:
- * exp+=ConditionalAndExpression ("||" exp+=ConditionalAndExpression)*;
- *
- **/
-
- // exp+=ConditionalAndExpression ("||" exp+=ConditionalAndExpression)*
- protected class ConditionalOrExpression_Group extends GroupToken {
-
- public ConditionalOrExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalOrExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalOrExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=ConditionalAndExpression
- protected class ConditionalOrExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ConditionalOrExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalAndExpression_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.getConditionalAndExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_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);
- }
- }
- }
-
- // ("||" exp+=ConditionalAndExpression)*
- protected class ConditionalOrExpression_Group_1 extends GroupToken {
-
- public ConditionalOrExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalOrExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalOrExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "||"
- protected class ConditionalOrExpression_VerticalLineVerticalLineKeyword_1_0 extends KeywordToken {
-
- public ConditionalOrExpression_VerticalLineVerticalLineKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=ConditionalAndExpression
- protected class ConditionalOrExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public ConditionalOrExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalOrExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalAndExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", false)) == 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.getConditionalAndExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_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 ConditionalOrExpression_VerticalLineVerticalLineKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ConditionalOrExpression ****************/
-
-
- /************
- * begin Rule ConditionalAndExpression ****************
- *
- * ConditionalAndExpression:
- * exp+=InclusiveOrExpression ("&&" exp+=InclusiveOrExpression)*;
- *
- **/
-
- // exp+=InclusiveOrExpression ("&&" exp+=InclusiveOrExpression)*
- protected class ConditionalAndExpression_Group extends GroupToken {
-
- public ConditionalAndExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalAndExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalAndExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalAndExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalAndExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=InclusiveOrExpression
- protected class ConditionalAndExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ConditionalAndExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InclusiveOrExpression_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.getInclusiveOrExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_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);
- }
- }
- }
-
- // ("&&" exp+=InclusiveOrExpression)*
- protected class ConditionalAndExpression_Group_1 extends GroupToken {
-
- public ConditionalAndExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConditionalAndExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalAndExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "&&"
- protected class ConditionalAndExpression_AmpersandAmpersandKeyword_1_0 extends KeywordToken {
-
- public ConditionalAndExpression_AmpersandAmpersandKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConditionalAndExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConditionalAndExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=InclusiveOrExpression
- protected class ConditionalAndExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public ConditionalAndExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConditionalAndExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InclusiveOrExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", false)) == 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.getInclusiveOrExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_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 ConditionalAndExpression_AmpersandAmpersandKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ConditionalAndExpression ****************/
-
-
- /************
- * begin Rule InclusiveOrExpression ****************
- *
- * InclusiveOrExpression:
- * exp+=ExclusiveOrExpression ("|" exp+=ExclusiveOrExpression)*;
- *
- **/
-
- // exp+=ExclusiveOrExpression ("|" exp+=ExclusiveOrExpression)*
- protected class InclusiveOrExpression_Group extends GroupToken {
-
- public InclusiveOrExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInclusiveOrExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InclusiveOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InclusiveOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInclusiveOrExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=ExclusiveOrExpression
- protected class InclusiveOrExpression_ExpAssignment_0 extends AssignmentToken {
-
- public InclusiveOrExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ExclusiveOrExpression_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.getExclusiveOrExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_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);
- }
- }
- }
-
- // ("|" exp+=ExclusiveOrExpression)*
- protected class InclusiveOrExpression_Group_1 extends GroupToken {
-
- public InclusiveOrExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInclusiveOrExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InclusiveOrExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "|"
- protected class InclusiveOrExpression_VerticalLineKeyword_1_0 extends KeywordToken {
-
- public InclusiveOrExpression_VerticalLineKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InclusiveOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InclusiveOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=ExclusiveOrExpression
- protected class InclusiveOrExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public InclusiveOrExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInclusiveOrExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ExclusiveOrExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", false)) == 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.getExclusiveOrExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_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 InclusiveOrExpression_VerticalLineKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule InclusiveOrExpression ****************/
-
-
- /************
- * begin Rule ExclusiveOrExpression ****************
- *
- * ExclusiveOrExpression:
- * exp+=AndExpression ("^" exp+=AndExpression)*;
- *
- **/
-
- // exp+=AndExpression ("^" exp+=AndExpression)*
- protected class ExclusiveOrExpression_Group extends GroupToken {
-
- public ExclusiveOrExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getExclusiveOrExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ExclusiveOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ExclusiveOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getExclusiveOrExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=AndExpression
- protected class ExclusiveOrExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ExclusiveOrExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getExclusiveOrExpressionAccess().getExpAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndExpression_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.getAndExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_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);
- }
- }
- }
-
- // ("^" exp+=AndExpression)*
- protected class ExclusiveOrExpression_Group_1 extends GroupToken {
-
- public ExclusiveOrExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getExclusiveOrExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ExclusiveOrExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "^"
- protected class ExclusiveOrExpression_CircumflexAccentKeyword_1_0 extends KeywordToken {
-
- public ExclusiveOrExpression_CircumflexAccentKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getExclusiveOrExpressionAccess().getCircumflexAccentKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ExclusiveOrExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ExclusiveOrExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=AndExpression
- protected class ExclusiveOrExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public ExclusiveOrExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getExclusiveOrExpressionAccess().getExpAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("exp", false)) == 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.getAndExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_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 ExclusiveOrExpression_CircumflexAccentKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ExclusiveOrExpression ****************/
-
-
- /************
- * begin Rule AndExpression ****************
- *
- * AndExpression:
- * exp+=EqualityExpression ("&" exp+=EqualityExpression)*;
- *
- **/
-
- // exp+=EqualityExpression ("&" exp+=EqualityExpression)*
- protected class AndExpression_Group extends GroupToken {
-
- public AndExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAndExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AndExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAndExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=EqualityExpression
- protected class AndExpression_ExpAssignment_0 extends AssignmentToken {
-
- public AndExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAndExpressionAccess().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.getAndExpressionAccess().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);
- }
- }
- }
-
- // ("&" exp+=EqualityExpression)*
- protected class AndExpression_Group_1 extends GroupToken {
-
- public AndExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAndExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "&"
- protected class AndExpression_AmpersandKeyword_1_0 extends KeywordToken {
-
- public AndExpression_AmpersandKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAndExpressionAccess().getAmpersandKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AndExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AndExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // exp+=EqualityExpression
- protected class AndExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public AndExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAndExpressionAccess().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", false)) == 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.getAndExpressionAccess().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 AndExpression_AmpersandKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule AndExpression ****************/
-
-
- /************
- * begin Rule EqualityExpression ****************
- *
- * EqualityExpression:
- * exp+=ClassificationExpression (op+=("==" | "!=") exp+=ClassificationExpression)*;
- *
- **/
-
- // exp+=ClassificationExpression (op+=("==" | "!=") exp+=ClassificationExpression)*
- 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+=ClassificationExpression
- 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 ClassificationExpression_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.getClassificationExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_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+=ClassificationExpression)*
- 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().getOpExclamationMarkEqualsSignKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=ClassificationExpression
- 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 ClassificationExpression_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.getClassificationExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_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 ClassificationExpression ****************
- *
- * //enum EqualityOperator :
- * // EQUALS = '==' |
- * // NOT_EQUALS = '!='
- * //;
- * ClassificationExpression:
- * exp=RelationalExpression (op=("instanceof" | "hastype") typeName=NameExpression)?;
- *
- **/
-
- // exp=RelationalExpression (op=("instanceof" | "hastype") typeName=NameExpression)?
- protected class ClassificationExpression_Group extends GroupToken {
-
- public ClassificationExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ClassificationExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassificationExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp=RelationalExpression
- protected class ClassificationExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ClassificationExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationExpressionAccess().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.getClassificationExpressionAccess().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=("instanceof" | "hastype") typeName=NameExpression)?
- protected class ClassificationExpression_Group_1 extends GroupToken {
-
- public ClassificationExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationExpression_TypeNameAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op=("instanceof" | "hastype")
- protected class ClassificationExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public ClassificationExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationExpression_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.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // typeName=NameExpression
- protected class ClassificationExpression_TypeNameAssignment_1_1 extends AssignmentToken {
-
- public ClassificationExpression_TypeNameAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationExpressionAccess().getTypeNameAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("typeName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typeName");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNameExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationExpressionAccess().getTypeNameNameExpressionParserRuleCall_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 ClassificationExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ClassificationExpression ****************/
-
-
- /************
- * begin Rule RelationalExpression ****************
- *
- * //enum ClassificationOperator :
- * // INSTANCEOF = 'instanceof' |
- * // HASTYPE = 'hastype'
- * //;
- * RelationalExpression:
- * left=ShiftExpression (op=("<" | ">" | "<=" | ">=") right=ShiftExpression)?;
- *
- **/
-
- // left=ShiftExpression (op=("<" | ">" | "<=" | ">=") right=ShiftExpression)?
- 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_LeftAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getRelationalExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // left=ShiftExpression
- protected class RelationalExpression_LeftAssignment_0 extends AssignmentToken {
-
- public RelationalExpression_LeftAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getLeftAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ShiftExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("left", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("left");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getShiftExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getRelationalExpressionAccess().getLeftShiftExpressionParserRuleCall_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=("<" | ">" | "<=" | ">=") right=ShiftExpression)?
- 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_RightAssignment_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_LeftAssignment_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.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;
- }
-
- }
-
- // right=ShiftExpression
- protected class RelationalExpression_RightAssignment_1_1 extends AssignmentToken {
-
- public RelationalExpression_RightAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getRelationalExpressionAccess().getRightAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ShiftExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("right", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("right");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getShiftExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getRelationalExpressionAccess().getRightShiftExpressionParserRuleCall_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 ShiftExpression ****************
- *
- * //RelationalOperator :
- * // LOWER = '<' |
- * // UPPER = '>' |
- * // LOWER_EQUALS = '<=' |
- * // UPPER_EQUALS = '>='
- * //;
- * ShiftExpression:
- * exp+=AdditiveExpression (op=("<<" | ">>" | ">>>") exp+=AdditiveExpression)?;
- *
- **/
-
- // exp+=AdditiveExpression (op=("<<" | ">>" | ">>>") exp+=AdditiveExpression)?
- protected class ShiftExpression_Group extends GroupToken {
-
- public ShiftExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getShiftExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ShiftExpression_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ShiftExpression_ExpAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getShiftExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // exp+=AdditiveExpression
- protected class ShiftExpression_ExpAssignment_0 extends AssignmentToken {
-
- public ShiftExpression_ExpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getShiftExpressionAccess().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.getShiftExpressionAccess().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)?
- protected class ShiftExpression_Group_1 extends GroupToken {
-
- public ShiftExpression_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getShiftExpressionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ShiftExpression_ExpAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // op=("<<" | ">>" | ">>>")
- protected class ShiftExpression_OpAssignment_1_0 extends AssignmentToken {
-
- public ShiftExpression_OpAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getShiftExpressionAccess().getOpAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ShiftExpression_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.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2();
- return obj;
- }
- return null;
- }
-
- }
-
- // exp+=AdditiveExpression
- protected class ShiftExpression_ExpAssignment_1_1 extends AssignmentToken {
-
- public ShiftExpression_ExpAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getShiftExpressionAccess().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.getShiftExpressionAccess().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 ShiftExpression_OpAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ShiftExpression ****************/
-
-
-/************ begin Rule AdditiveExpression ****************
- *
- * //enum ShiftOperator :
- * // LSHIFT = '<<' |
- * // RSHIFT = '>>' |
- * // URSHIFT = '>>>'
- * //;
- * 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 ****************
- *
- * //enum AdditiveOp :
- * // PLUS = '+' |
- * // MINUS = '-'
- * //;
- * MultiplicativeExpression:
- * exp+=UnaryExpression (op+=("*" | "/" | "%") exp+=UnaryExpression)*;
- *
- **/
-
- // exp+=UnaryExpression (op+=("*" | "/" | "%") 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_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.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+=("*" | "/" | "%") 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+=("*" | "/" | "%")
- 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().getOpPercentSignKeyword_1_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_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_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.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 ****************
- *
- * //enum MultiplicativeOp :
- * // MULT = '*' |
- * // DIV = '/' |
- * // MOD = '%'
- * //;
- * UnaryExpression:
- * op=("!" | "-" | "+" | "$" | "~")? exp=PrimaryExpression;
- *
- **/
-
- // op=("!" | "-" | "+" | "$" | "~")? exp=PrimaryExpression
- protected class UnaryExpression_Group extends GroupToken {
-
- public UnaryExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new UnaryExpression_ExpAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getUnaryExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // op=("!" | "-" | "+" | "$" | "~")?
- protected class UnaryExpression_OpAssignment_0 extends AssignmentToken {
-
- public UnaryExpression_OpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getUnaryExpressionAccess().getOpAssignment_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", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("op");
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3();
- return obj;
- }
- if (keywordSerializer.isValid(obj.getEObject(), grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4(), value, null)) {
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4();
- return obj;
- }
- 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_PrefixAssignment(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) {
- case 0:
- return new UnaryExpression_OpAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
-
- /************ end Rule UnaryExpression ****************/
-
-
- /************
- * begin Rule PrimaryExpression ****************
- *
- * //PrimaryExpression :
- * // prefix = ValueSpecification (suffix = SuffixExpression)?
- * //;
- * PrimaryExpression:
- * prefix=ValueSpecification;
- *
- **/
-
- // prefix=ValueSpecification
- protected class PrimaryExpression_PrefixAssignment extends AssignmentToken {
-
- public PrimaryExpression_PrefixAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPrimaryExpressionAccess().getPrefixAssignment();
- }
-
- @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 (getEObject().eClass() != grammarAccess.getPrimaryExpressionRule().getType().getClassifier()) {
- return null;
- }
- 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();
- 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 PrimaryExpression ****************/
-
-
- /************
- * begin Rule SuffixExpression ****************
- *
- * SuffixExpression:
- * OperationCallExpression | PropertyCallExpression | LinkOperationExpression | SequenceOperationExpression |
- * SequenceReductionExpression | SequenceExpansionExpression | ClassExtentExpression;
- *
- **/
-
- // OperationCallExpression | PropertyCallExpression | LinkOperationExpression | SequenceOperationExpression |
- // SequenceReductionExpression | SequenceExpansionExpression | ClassExtentExpression
- 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_OperationCallExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SuffixExpression_PropertyCallExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new SuffixExpression_LinkOperationExpressionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new SuffixExpression_SequenceOperationExpressionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new SuffixExpression_SequenceReductionExpressionParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5:
- return new SuffixExpression_SequenceExpansionExpressionParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- case 6:
- return new SuffixExpression_ClassExtentExpressionParserRuleCall_6(lastRuleCallOrigin, this, 6, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getCollectOrIterateOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getForAllOrExistsOrOneOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIsUniqueOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getLinkOperationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSelectOrRejectOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSequenceOperationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSequenceReductionExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // OperationCallExpression
- protected class SuffixExpression_OperationCallExpressionParserRuleCall_0 extends RuleCallToken {
-
- public SuffixExpression_OperationCallExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0();
- }
-
- @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);
- }
- }
- }
-
- // PropertyCallExpression
- protected class SuffixExpression_PropertyCallExpressionParserRuleCall_1 extends RuleCallToken {
-
- public SuffixExpression_PropertyCallExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1();
- }
-
- @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);
- }
- }
- }
-
- // LinkOperationExpression
- protected class SuffixExpression_LinkOperationExpressionParserRuleCall_2 extends RuleCallToken {
-
- public SuffixExpression_LinkOperationExpressionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLinkOperationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(LinkOperationExpression_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);
- }
- }
- }
-
- // SequenceOperationExpression
- protected class SuffixExpression_SequenceOperationExpressionParserRuleCall_3 extends RuleCallToken {
-
- public SuffixExpression_SequenceOperationExpressionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceOperationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceOperationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SequenceOperationExpression_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);
- }
- }
- }
-
- // SequenceReductionExpression
- protected class SuffixExpression_SequenceReductionExpressionParserRuleCall_4 extends RuleCallToken {
-
- public SuffixExpression_SequenceReductionExpressionParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceReductionExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceReductionExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SequenceReductionExpression_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);
- }
- }
- }
-
- // SequenceExpansionExpression
- protected class SuffixExpression_SequenceExpansionExpressionParserRuleCall_5 extends RuleCallToken {
-
- public SuffixExpression_SequenceExpansionExpressionParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceExpansionExpression_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectOrIterateOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getForAllOrExistsOrOneOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIsUniqueOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSelectOrRejectOperationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SequenceExpansionExpression_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);
- }
- }
- }
-
- // ClassExtentExpression
- protected class SuffixExpression_ClassExtentExpressionParserRuleCall_6 extends RuleCallToken {
-
- public SuffixExpression_ClassExtentExpressionParserRuleCall_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ClassExtentExpression_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 OperationCallExpression ****************
- *
- * OperationCallExpression:
- * "." operationName=ID tuple=Tuple suffix=SuffixExpression?;
- *
- **/
-
- // "." operationName=ID tuple=Tuple 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_SuffixAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationCallExpression_TupleAssignment_2(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "."
- protected class OperationCallExpression_FullStopKeyword_0 extends KeywordToken {
-
- public OperationCallExpression_FullStopKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // operationName=ID
- protected class OperationCallExpression_OperationNameAssignment_1 extends AssignmentToken {
-
- public OperationCallExpression_OperationNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getOperationNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpression_FullStopKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("operationName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getOperationCallExpressionAccess().getOperationNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionAccess().getOperationNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // tuple=Tuple
- protected class OperationCallExpression_TupleAssignment_2 extends AssignmentToken {
-
- public OperationCallExpression_TupleAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getTupleAssignment_2();
- }
-
- @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 ((value = eObjectConsumer.getConsumable("tuple", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tuple");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionAccess().getTupleTupleParserRuleCall_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_OperationNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // suffix=SuffixExpression?
- protected class OperationCallExpression_SuffixAssignment_3 extends AssignmentToken {
-
- public OperationCallExpression_SuffixAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionAccess().getSuffixAssignment_3();
- }
-
- @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_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 OperationCallExpression_TupleAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule OperationCallExpression ****************/
-
-
- /************
- * begin Rule OperationCallExpressionWithoutDot ****************
- *
- * OperationCallExpressionWithoutDot:
- * operationName=ID tuple=Tuple suffix=SuffixExpression?;
- *
- **/
-
- // operationName=ID tuple=Tuple suffix=SuffixExpression?
- protected class OperationCallExpressionWithoutDot_Group extends GroupToken {
-
- public OperationCallExpressionWithoutDot_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getOperationCallExpressionWithoutDotAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpressionWithoutDot_SuffixAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new OperationCallExpressionWithoutDot_TupleAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getOperationCallExpressionWithoutDotRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // operationName=ID
- protected class OperationCallExpressionWithoutDot_OperationNameAssignment_0 extends AssignmentToken {
-
- public OperationCallExpressionWithoutDot_OperationNameAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameAssignment_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("operationName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameIDTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameIDTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // tuple=Tuple
- protected class OperationCallExpressionWithoutDot_TupleAssignment_1 extends AssignmentToken {
-
- public OperationCallExpressionWithoutDot_TupleAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleAssignment_1();
- }
-
- @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 ((value = eObjectConsumer.getConsumable("tuple", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tuple");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleTupleParserRuleCall_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 OperationCallExpressionWithoutDot_OperationNameAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // suffix=SuffixExpression?
- protected class OperationCallExpressionWithoutDot_SuffixAssignment_2 extends AssignmentToken {
-
- public OperationCallExpressionWithoutDot_SuffixAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getOperationCallExpressionWithoutDotAccess().getSuffixAssignment_2();
- }
-
- @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.getOperationCallExpressionWithoutDotAccess().getSuffixSuffixExpressionParserRuleCall_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 OperationCallExpressionWithoutDot_TupleAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule OperationCallExpressionWithoutDot ****************/
-
-
- /************
- * begin Rule PropertyCallExpression ****************
- *
- * PropertyCallExpression:
- * "." propertyName=ID ("[" index=Expression "]")? suffix=SuffixExpression?;
- *
- **/
-
- // "." propertyName=ID ("[" index=Expression "]")? 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_SuffixAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new PropertyCallExpression_Group_2(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new PropertyCallExpression_PropertyNameAssignment_1(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getPropertyCallExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "."
- protected class PropertyCallExpression_FullStopKeyword_0 extends KeywordToken {
-
- public PropertyCallExpression_FullStopKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // propertyName=ID
- protected class PropertyCallExpression_PropertyNameAssignment_1 extends AssignmentToken {
-
- public PropertyCallExpression_PropertyNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getPropertyNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_FullStopKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("propertyName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("propertyName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getPropertyCallExpressionAccess().getPropertyNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getPropertyCallExpressionAccess().getPropertyNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ("[" index=Expression "]")?
- protected class PropertyCallExpression_Group_2 extends GroupToken {
-
- public PropertyCallExpression_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_RightSquareBracketKeyword_2_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "["
- protected class PropertyCallExpression_LeftSquareBracketKeyword_2_0 extends KeywordToken {
-
- public PropertyCallExpression_LeftSquareBracketKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getLeftSquareBracketKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_PropertyNameAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // index=Expression
- protected class PropertyCallExpression_IndexAssignment_2_1 extends AssignmentToken {
-
- public PropertyCallExpression_IndexAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getIndexAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(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.getPropertyCallExpressionAccess().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 PropertyCallExpression_LeftSquareBracketKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "]"
- protected class PropertyCallExpression_RightSquareBracketKeyword_2_2 extends KeywordToken {
-
- public PropertyCallExpression_RightSquareBracketKeyword_2_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getRightSquareBracketKeyword_2_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PropertyCallExpression_IndexAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // suffix=SuffixExpression?
- protected class PropertyCallExpression_SuffixAssignment_3 extends AssignmentToken {
-
- public PropertyCallExpression_SuffixAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPropertyCallExpressionAccess().getSuffixAssignment_3();
- }
-
- @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_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 PropertyCallExpression_Group_2(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new PropertyCallExpression_PropertyNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule PropertyCallExpression ****************/
-
-
- /************
- * begin Rule LinkOperationExpression ****************
- *
- * LinkOperationExpression:
- * "." kind=LinkOperationKind tuple=LinkOperationTuple;
- *
- **/
-
- // "." kind=LinkOperationKind tuple=LinkOperationTuple
- protected class LinkOperationExpression_Group extends GroupToken {
-
- public LinkOperationExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationExpression_TupleAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLinkOperationExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "."
- protected class LinkOperationExpression_FullStopKeyword_0 extends KeywordToken {
-
- public LinkOperationExpression_FullStopKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationExpressionAccess().getFullStopKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // kind=LinkOperationKind
- protected class LinkOperationExpression_KindAssignment_1 extends AssignmentToken {
-
- public LinkOperationExpression_KindAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationExpressionAccess().getKindAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationExpression_FullStopKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("kind", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("kind");
- if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getLinkOperationExpressionAccess().getKindLinkOperationKindEnumRuleCall_1_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getLinkOperationExpressionAccess().getKindLinkOperationKindEnumRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // tuple=LinkOperationTuple
- protected class LinkOperationExpression_TupleAssignment_2 extends AssignmentToken {
-
- public LinkOperationExpression_TupleAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationExpressionAccess().getTupleAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTuple_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("tuple", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tuple");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getLinkOperationTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLinkOperationExpressionAccess().getTupleLinkOperationTupleParserRuleCall_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 LinkOperationExpression_KindAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule LinkOperationExpression ****************/
-
-
- /************
- * begin Rule LinkOperationTuple ****************
- *
- * LinkOperationTuple:
- * "(" linkOperationTupleElement+=LinkOperationTupleElement ("," linkOperationTupleElement+=LinkOperationTupleElement)*
- * ")";
- *
- **/
-
- // "(" linkOperationTupleElement+=LinkOperationTupleElement ("," linkOperationTupleElement+=LinkOperationTupleElement)* ")"
- protected class LinkOperationTuple_Group extends GroupToken {
-
- public LinkOperationTuple_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTuple_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLinkOperationTupleRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "("
- protected class LinkOperationTuple_LeftParenthesisKeyword_0 extends KeywordToken {
-
- public LinkOperationTuple_LeftParenthesisKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getLeftParenthesisKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // linkOperationTupleElement+=LinkOperationTupleElement
- protected class LinkOperationTuple_LinkOperationTupleElementAssignment_1 extends AssignmentToken {
-
- public LinkOperationTuple_LinkOperationTupleElementAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("linkOperationTupleElement", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("linkOperationTupleElement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getLinkOperationTupleElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_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 LinkOperationTuple_LeftParenthesisKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("," linkOperationTupleElement+=LinkOperationTupleElement)*
- protected class LinkOperationTuple_Group_2 extends GroupToken {
-
- public LinkOperationTuple_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTuple_LinkOperationTupleElementAssignment_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class LinkOperationTuple_CommaKeyword_2_0 extends KeywordToken {
-
- public LinkOperationTuple_CommaKeyword_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getCommaKeyword_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTuple_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LinkOperationTuple_LinkOperationTupleElementAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // linkOperationTupleElement+=LinkOperationTupleElement
- protected class LinkOperationTuple_LinkOperationTupleElementAssignment_2_1 extends AssignmentToken {
-
- public LinkOperationTuple_LinkOperationTupleElementAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("linkOperationTupleElement", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("linkOperationTupleElement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getLinkOperationTupleElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_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 LinkOperationTuple_CommaKeyword_2_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ")"
- protected class LinkOperationTuple_RightParenthesisKeyword_3 extends KeywordToken {
-
- public LinkOperationTuple_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTuple_Group_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LinkOperationTuple_LinkOperationTupleElementAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule LinkOperationTuple ****************/
-
-
- /************
- * begin Rule LinkOperationTupleElement ****************
- *
- * LinkOperationTupleElement:
- * objectOrRole=ID (("[" roleIndex=Expression "]")? "=>" object=ID)?;
- *
- **/
-
- // objectOrRole=ID (("[" roleIndex=Expression "]")? "=>" object=ID)?
- protected class LinkOperationTupleElement_Group extends GroupToken {
-
- public LinkOperationTupleElement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LinkOperationTupleElement_ObjectOrRoleAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLinkOperationTupleElementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // objectOrRole=ID
- protected class LinkOperationTupleElement_ObjectOrRoleAssignment_0 extends AssignmentToken {
-
- public LinkOperationTupleElement_ObjectOrRoleAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleAssignment_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("objectOrRole", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("objectOrRole");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleIDTerminalRuleCall_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleIDTerminalRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // (("[" roleIndex=Expression "]")? "=>" object=ID)?
- protected class LinkOperationTupleElement_Group_1 extends GroupToken {
-
- public LinkOperationTupleElement_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_ObjectAssignment_1_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ("[" roleIndex=Expression "]")?
- protected class LinkOperationTupleElement_Group_1_0 extends GroupToken {
-
- public LinkOperationTupleElement_Group_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getGroup_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_RightSquareBracketKeyword_1_0_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "["
- protected class LinkOperationTupleElement_LeftSquareBracketKeyword_1_0_0 extends KeywordToken {
-
- public LinkOperationTupleElement_LeftSquareBracketKeyword_1_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getLeftSquareBracketKeyword_1_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_ObjectOrRoleAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // roleIndex=Expression
- protected class LinkOperationTupleElement_RoleIndexAssignment_1_0_1 extends AssignmentToken {
-
- public LinkOperationTupleElement_RoleIndexAssignment_1_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getRoleIndexAssignment_1_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("roleIndex", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("roleIndex");
- 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.getLinkOperationTupleElementAccess().getRoleIndexExpressionParserRuleCall_1_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 LinkOperationTupleElement_LeftSquareBracketKeyword_1_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "]"
- protected class LinkOperationTupleElement_RightSquareBracketKeyword_1_0_2 extends KeywordToken {
-
- public LinkOperationTupleElement_RightSquareBracketKeyword_1_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getRightSquareBracketKeyword_1_0_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_RoleIndexAssignment_1_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // "=>"
- protected class LinkOperationTupleElement_EqualsSignGreaterThanSignKeyword_1_1 extends KeywordToken {
-
- public LinkOperationTupleElement_EqualsSignGreaterThanSignKeyword_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getEqualsSignGreaterThanSignKeyword_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_Group_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LinkOperationTupleElement_ObjectOrRoleAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // object=ID
- protected class LinkOperationTupleElement_ObjectAssignment_1_2 extends AssignmentToken {
-
- public LinkOperationTupleElement_ObjectAssignment_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLinkOperationTupleElementAccess().getObjectAssignment_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LinkOperationTupleElement_EqualsSignGreaterThanSignKeyword_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("object", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("object");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getLinkOperationTupleElementAccess().getObjectIDTerminalRuleCall_1_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLinkOperationTupleElementAccess().getObjectIDTerminalRuleCall_1_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
-
- /************ end Rule LinkOperationTupleElement ****************/
-
-
- /************
- * begin Rule SequenceOperationExpression ****************
- *
- * SequenceOperationExpression:
- * "->" operationName=ID tuple=Tuple suffix=SuffixExpression?;
- *
- **/
-
- // "->" operationName=ID tuple=Tuple suffix=SuffixExpression?
- protected class SequenceOperationExpression_Group extends GroupToken {
-
- public SequenceOperationExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceOperationExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceOperationExpression_SuffixAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceOperationExpression_TupleAssignment_2(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceOperationExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class SequenceOperationExpression_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public SequenceOperationExpression_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceOperationExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // operationName=ID
- protected class SequenceOperationExpression_OperationNameAssignment_1 extends AssignmentToken {
-
- public SequenceOperationExpression_OperationNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceOperationExpressionAccess().getOperationNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceOperationExpression_HyphenMinusGreaterThanSignKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("operationName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getSequenceOperationExpressionAccess().getOperationNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSequenceOperationExpressionAccess().getOperationNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // tuple=Tuple
- protected class SequenceOperationExpression_TupleAssignment_2 extends AssignmentToken {
-
- public SequenceOperationExpression_TupleAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceOperationExpressionAccess().getTupleAssignment_2();
- }
-
- @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 ((value = eObjectConsumer.getConsumable("tuple", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tuple");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceOperationExpressionAccess().getTupleTupleParserRuleCall_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 SequenceOperationExpression_OperationNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // suffix=SuffixExpression?
- protected class SequenceOperationExpression_SuffixAssignment_3 extends AssignmentToken {
-
- public SequenceOperationExpression_SuffixAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceOperationExpressionAccess().getSuffixAssignment_3();
- }
-
- @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.getSequenceOperationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_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 SequenceOperationExpression_TupleAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule SequenceOperationExpression ****************/
-
-
- /************
- * begin Rule SequenceReductionExpression ****************
- *
- * SequenceReductionExpression:
- * "->" "reduce" isOrdered?="ordered"? behavior=QualifiedNameWithBinding suffix=SuffixExpression?;
- *
- **/
-
- // "->" "reduce" isOrdered?="ordered"? behavior=QualifiedNameWithBinding suffix=SuffixExpression?
- protected class SequenceReductionExpression_Group extends GroupToken {
-
- public SequenceReductionExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceReductionExpression_SuffixAssignment_4(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceReductionExpression_BehaviorAssignment_3(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceReductionExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class SequenceReductionExpression_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public SequenceReductionExpression_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "reduce"
- protected class SequenceReductionExpression_ReduceKeyword_1 extends KeywordToken {
-
- public SequenceReductionExpression_ReduceKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getReduceKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceReductionExpression_HyphenMinusGreaterThanSignKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // isOrdered?="ordered"?
- protected class SequenceReductionExpression_IsOrderedAssignment_2 extends AssignmentToken {
-
- public SequenceReductionExpression_IsOrderedAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceReductionExpression_ReduceKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("isOrdered", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("isOrdered");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedOrderedKeyword_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // behavior=QualifiedNameWithBinding
- protected class SequenceReductionExpression_BehaviorAssignment_3 extends AssignmentToken {
-
- public SequenceReductionExpression_BehaviorAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getBehaviorAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("behavior", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("behavior");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceReductionExpressionAccess().getBehaviorQualifiedNameWithBindingParserRuleCall_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 SequenceReductionExpression_IsOrderedAssignment_2(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new SequenceReductionExpression_ReduceKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // suffix=SuffixExpression?
- protected class SequenceReductionExpression_SuffixAssignment_4 extends AssignmentToken {
-
- public SequenceReductionExpression_SuffixAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceReductionExpressionAccess().getSuffixAssignment_4();
- }
-
- @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.getSequenceReductionExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_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 SequenceReductionExpression_BehaviorAssignment_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule SequenceReductionExpression ****************/
-
-
- /************
- * begin Rule SequenceExpansionExpression ****************
- *
- * SequenceExpansionExpression:
- * SelectOrRejectOperation | CollectOrIterateOperation | ForAllOrExistsOrOneOperation | IsUniqueOperation;
- *
- **/
-
- // SelectOrRejectOperation | CollectOrIterateOperation | ForAllOrExistsOrOneOperation | IsUniqueOperation
- protected class SequenceExpansionExpression_Alternatives extends AlternativesToken {
-
- public SequenceExpansionExpression_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSequenceExpansionExpressionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceExpansionExpression_SelectOrRejectOperationParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceExpansionExpression_CollectOrIterateOperationParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new SequenceExpansionExpression_ForAllOrExistsOrOneOperationParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new SequenceExpansionExpression_IsUniqueOperationParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectOrIterateOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getForAllOrExistsOrOneOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIsUniqueOperationRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSelectOrRejectOperationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // SelectOrRejectOperation
- protected class SequenceExpansionExpression_SelectOrRejectOperationParserRuleCall_0 extends RuleCallToken {
-
- public SequenceExpansionExpression_SelectOrRejectOperationParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSelectOrRejectOperationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SelectOrRejectOperation_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);
- }
- }
- }
-
- // CollectOrIterateOperation
- protected class SequenceExpansionExpression_CollectOrIterateOperationParserRuleCall_1 extends RuleCallToken {
-
- public SequenceExpansionExpression_CollectOrIterateOperationParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectOrIterateOperationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(CollectOrIterateOperation_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);
- }
- }
- }
-
- // ForAllOrExistsOrOneOperation
- protected class SequenceExpansionExpression_ForAllOrExistsOrOneOperationParserRuleCall_2 extends RuleCallToken {
-
- public SequenceExpansionExpression_ForAllOrExistsOrOneOperationParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getForAllOrExistsOrOneOperationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ForAllOrExistsOrOneOperation_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);
- }
- }
- }
-
- // IsUniqueOperation
- protected class SequenceExpansionExpression_IsUniqueOperationParserRuleCall_3 extends RuleCallToken {
-
- public SequenceExpansionExpression_IsUniqueOperationParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIsUniqueOperationRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(IsUniqueOperation_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 SequenceExpansionExpression ****************/
-
-
- /************
- * begin Rule SelectOrRejectOperation ****************
- *
- * SelectOrRejectOperation:
- * "->" op=SelectOrRejectOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- *
- **/
-
- // "->" op=SelectOrRejectOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?
- protected class SelectOrRejectOperation_Group extends GroupToken {
-
- public SelectOrRejectOperation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_SuffixAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SelectOrRejectOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSelectOrRejectOperationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class SelectOrRejectOperation_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public SelectOrRejectOperation_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // op=SelectOrRejectOperator
- protected class SelectOrRejectOperation_OpAssignment_1 extends AssignmentToken {
-
- public SelectOrRejectOperation_OpAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getOpAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_HyphenMinusGreaterThanSignKeyword_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 (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getSelectOrRejectOperationAccess().getOpSelectOrRejectOperatorEnumRuleCall_1_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getSelectOrRejectOperationAccess().getOpSelectOrRejectOperatorEnumRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // name=ID
- protected class SelectOrRejectOperation_NameAssignment_2 extends AssignmentToken {
-
- public SelectOrRejectOperation_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_OpAssignment_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.getSelectOrRejectOperationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSelectOrRejectOperationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "("
- protected class SelectOrRejectOperation_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public SelectOrRejectOperation_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expr=Expression
- protected class SelectOrRejectOperation_ExprAssignment_4 extends AssignmentToken {
-
- public SelectOrRejectOperation_ExprAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getExprAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expr", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expr");
- 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.getSelectOrRejectOperationAccess().getExprExpressionParserRuleCall_4_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 SelectOrRejectOperation_LeftParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class SelectOrRejectOperation_RightParenthesisKeyword_5 extends KeywordToken {
-
- public SelectOrRejectOperation_RightParenthesisKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getRightParenthesisKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SelectOrRejectOperation_ExprAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class SelectOrRejectOperation_SuffixAssignment_6 extends AssignmentToken {
-
- public SelectOrRejectOperation_SuffixAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSelectOrRejectOperationAccess().getSuffixAssignment_6();
- }
-
- @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.getSelectOrRejectOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_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 SelectOrRejectOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule SelectOrRejectOperation ****************/
-
-
- /************
- * begin Rule CollectOrIterateOperation ****************
- *
- * CollectOrIterateOperation:
- * "->" op=CollectOrIterateOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- *
- **/
-
- // "->" op=CollectOrIterateOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?
- protected class CollectOrIterateOperation_Group extends GroupToken {
-
- public CollectOrIterateOperation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_SuffixAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new CollectOrIterateOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCollectOrIterateOperationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class CollectOrIterateOperation_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public CollectOrIterateOperation_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // op=CollectOrIterateOperator
- protected class CollectOrIterateOperation_OpAssignment_1 extends AssignmentToken {
-
- public CollectOrIterateOperation_OpAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getOpAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_HyphenMinusGreaterThanSignKeyword_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 (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getCollectOrIterateOperationAccess().getOpCollectOrIterateOperatorEnumRuleCall_1_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getCollectOrIterateOperationAccess().getOpCollectOrIterateOperatorEnumRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // name=ID
- protected class CollectOrIterateOperation_NameAssignment_2 extends AssignmentToken {
-
- public CollectOrIterateOperation_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_OpAssignment_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.getCollectOrIterateOperationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getCollectOrIterateOperationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "("
- protected class CollectOrIterateOperation_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public CollectOrIterateOperation_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expr=Expression
- protected class CollectOrIterateOperation_ExprAssignment_4 extends AssignmentToken {
-
- public CollectOrIterateOperation_ExprAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getExprAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expr", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expr");
- 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.getCollectOrIterateOperationAccess().getExprExpressionParserRuleCall_4_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 CollectOrIterateOperation_LeftParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class CollectOrIterateOperation_RightParenthesisKeyword_5 extends KeywordToken {
-
- public CollectOrIterateOperation_RightParenthesisKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getRightParenthesisKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CollectOrIterateOperation_ExprAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class CollectOrIterateOperation_SuffixAssignment_6 extends AssignmentToken {
-
- public CollectOrIterateOperation_SuffixAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCollectOrIterateOperationAccess().getSuffixAssignment_6();
- }
-
- @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.getCollectOrIterateOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_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 CollectOrIterateOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule CollectOrIterateOperation ****************/
-
-
- /************
- * begin Rule ForAllOrExistsOrOneOperation ****************
- *
- * ForAllOrExistsOrOneOperation:
- * "->" op=ForAllOrExistsOrOneOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- *
- **/
-
- // "->" op=ForAllOrExistsOrOneOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?
- protected class ForAllOrExistsOrOneOperation_Group extends GroupToken {
-
- public ForAllOrExistsOrOneOperation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_SuffixAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ForAllOrExistsOrOneOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getForAllOrExistsOrOneOperationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class ForAllOrExistsOrOneOperation_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public ForAllOrExistsOrOneOperation_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // op=ForAllOrExistsOrOneOperator
- protected class ForAllOrExistsOrOneOperation_OpAssignment_1 extends AssignmentToken {
-
- public ForAllOrExistsOrOneOperation_OpAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_HyphenMinusGreaterThanSignKeyword_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 (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpForAllOrExistsOrOneOperatorEnumRuleCall_1_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpForAllOrExistsOrOneOperatorEnumRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // name=ID
- protected class ForAllOrExistsOrOneOperation_NameAssignment_2 extends AssignmentToken {
-
- public ForAllOrExistsOrOneOperation_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_OpAssignment_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.getForAllOrExistsOrOneOperationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "("
- protected class ForAllOrExistsOrOneOperation_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public ForAllOrExistsOrOneOperation_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expr=Expression
- protected class ForAllOrExistsOrOneOperation_ExprAssignment_4 extends AssignmentToken {
-
- public ForAllOrExistsOrOneOperation_ExprAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getExprAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expr", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expr");
- 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.getForAllOrExistsOrOneOperationAccess().getExprExpressionParserRuleCall_4_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 ForAllOrExistsOrOneOperation_LeftParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class ForAllOrExistsOrOneOperation_RightParenthesisKeyword_5 extends KeywordToken {
-
- public ForAllOrExistsOrOneOperation_RightParenthesisKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getRightParenthesisKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForAllOrExistsOrOneOperation_ExprAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class ForAllOrExistsOrOneOperation_SuffixAssignment_6 extends AssignmentToken {
-
- public ForAllOrExistsOrOneOperation_SuffixAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForAllOrExistsOrOneOperationAccess().getSuffixAssignment_6();
- }
-
- @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.getForAllOrExistsOrOneOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_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 ForAllOrExistsOrOneOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ForAllOrExistsOrOneOperation ****************/
-
-
- /************
- * begin Rule IsUniqueOperation ****************
- *
- * IsUniqueOperation:
- * "->" "isUnique" name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- *
- **/
-
- // "->" "isUnique" name=ID "(" expr=Expression ")" suffix=SuffixExpression?
- protected class IsUniqueOperation_Group extends GroupToken {
-
- public IsUniqueOperation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_SuffixAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new IsUniqueOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIsUniqueOperationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "->"
- protected class IsUniqueOperation_HyphenMinusGreaterThanSignKeyword_0 extends KeywordToken {
-
- public IsUniqueOperation_HyphenMinusGreaterThanSignKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getHyphenMinusGreaterThanSignKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "isUnique"
- protected class IsUniqueOperation_IsUniqueKeyword_1 extends KeywordToken {
-
- public IsUniqueOperation_IsUniqueKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getIsUniqueKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_HyphenMinusGreaterThanSignKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // name=ID
- protected class IsUniqueOperation_NameAssignment_2 extends AssignmentToken {
-
- public IsUniqueOperation_NameAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getNameAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_IsUniqueKeyword_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.getIsUniqueOperationAccess().getNameIDTerminalRuleCall_2_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getIsUniqueOperationAccess().getNameIDTerminalRuleCall_2_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "("
- protected class IsUniqueOperation_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public IsUniqueOperation_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_NameAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expr=Expression
- protected class IsUniqueOperation_ExprAssignment_4 extends AssignmentToken {
-
- public IsUniqueOperation_ExprAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getExprAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expr", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expr");
- 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.getIsUniqueOperationAccess().getExprExpressionParserRuleCall_4_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 IsUniqueOperation_LeftParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class IsUniqueOperation_RightParenthesisKeyword_5 extends KeywordToken {
-
- public IsUniqueOperation_RightParenthesisKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getRightParenthesisKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IsUniqueOperation_ExprAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class IsUniqueOperation_SuffixAssignment_6 extends AssignmentToken {
-
- public IsUniqueOperation_SuffixAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIsUniqueOperationAccess().getSuffixAssignment_6();
- }
-
- @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.getIsUniqueOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_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 IsUniqueOperation_RightParenthesisKeyword_5(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule IsUniqueOperation ****************/
-
-
- /************
- * begin Rule ValueSpecification ****************
- *
- * ValueSpecification:
- * NameExpression | LITERAL | ThisExpression | SuperInvocationExpression | InstanceCreationExpression |
- * ParenthesizedExpression | NullExpression;
- *
- **/
-
- // NameExpression | LITERAL | ThisExpression | SuperInvocationExpression | InstanceCreationExpression |
- // ParenthesizedExpression | NullExpression
- 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_NameExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ValueSpecification_LITERALParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new ValueSpecification_ThisExpressionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new ValueSpecification_SuperInvocationExpressionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new ValueSpecification_InstanceCreationExpressionParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5:
- return new ValueSpecification_ParenthesizedExpressionParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- case 6:
- return new ValueSpecification_NullExpressionParserRuleCall_6(lastRuleCallOrigin, this, 6, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBOOLEAN_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNameExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNullExpressionAccess().getNullExpressionAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getParenthesizedExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSTRING_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getThisExpressionAccess().getThisExpressionAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // NameExpression
- protected class ValueSpecification_NameExpressionParserRuleCall_0 extends RuleCallToken {
-
- public ValueSpecification_NameExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNameExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NameExpression_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);
- }
- }
- }
-
- // LITERAL
- protected class ValueSpecification_LITERALParserRuleCall_1 extends RuleCallToken {
-
- public ValueSpecification_LITERALParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1();
- }
-
- @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.getBOOLEAN_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getINTEGER_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSTRING_LITERALRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getUNLIMITED_LITERALRule().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);
- }
- }
- }
-
- // ThisExpression
- protected class ValueSpecification_ThisExpressionParserRuleCall_2 extends RuleCallToken {
-
- public ValueSpecification_ThisExpressionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getThisExpressionAccess().getThisExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ThisExpression_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);
- }
- }
- }
-
- // SuperInvocationExpression
- protected class ValueSpecification_SuperInvocationExpressionParserRuleCall_3 extends RuleCallToken {
-
- public ValueSpecification_SuperInvocationExpressionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SuperInvocationExpression_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);
- }
- }
- }
-
- // InstanceCreationExpression
- protected class ValueSpecification_InstanceCreationExpressionParserRuleCall_4 extends RuleCallToken {
-
- public ValueSpecification_InstanceCreationExpressionParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InstanceCreationExpression_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);
- }
- }
- }
-
- // ParenthesizedExpression
- protected class ValueSpecification_ParenthesizedExpressionParserRuleCall_5 extends RuleCallToken {
-
- public ValueSpecification_ParenthesizedExpressionParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ParenthesizedExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getParenthesizedExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ParenthesizedExpression_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);
- }
- }
- }
-
- // NullExpression
- protected class ValueSpecification_NullExpressionParserRuleCall_6 extends RuleCallToken {
-
- public ValueSpecification_NullExpressionParserRuleCall_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NullExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNullExpressionAccess().getNullExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NullExpression_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 ValueSpecification ****************/
-
-
- /************
- * begin Rule NonLiteralValueSpecification ****************
- *
- * NonLiteralValueSpecification:
- * NameExpression | ParenthesizedExpression | InstanceCreationExpression | ThisExpression | SuperInvocationExpression;
- *
- **/
-
- // NameExpression | ParenthesizedExpression | InstanceCreationExpression | ThisExpression | SuperInvocationExpression
- protected class NonLiteralValueSpecification_Alternatives extends AlternativesToken {
-
- public NonLiteralValueSpecification_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonLiteralValueSpecification_NameExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new NonLiteralValueSpecification_ParenthesizedExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new NonLiteralValueSpecification_InstanceCreationExpressionParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new NonLiteralValueSpecification_ThisExpressionParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new NonLiteralValueSpecification_SuperInvocationExpressionParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getNameExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getParenthesizedExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getThisExpressionAccess().getThisExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // NameExpression
- protected class NonLiteralValueSpecification_NameExpressionParserRuleCall_0 extends RuleCallToken {
-
- public NonLiteralValueSpecification_NameExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNameExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(NameExpression_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);
- }
- }
- }
-
- // ParenthesizedExpression
- protected class NonLiteralValueSpecification_ParenthesizedExpressionParserRuleCall_1 extends RuleCallToken {
-
- public NonLiteralValueSpecification_ParenthesizedExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ParenthesizedExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getParenthesizedExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ParenthesizedExpression_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);
- }
- }
- }
-
- // InstanceCreationExpression
- protected class NonLiteralValueSpecification_InstanceCreationExpressionParserRuleCall_2 extends RuleCallToken {
-
- public NonLiteralValueSpecification_InstanceCreationExpressionParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InstanceCreationExpression_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);
- }
- }
- }
-
- // ThisExpression
- protected class NonLiteralValueSpecification_ThisExpressionParserRuleCall_3 extends RuleCallToken {
-
- public NonLiteralValueSpecification_ThisExpressionParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getThisExpressionAccess().getThisExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ThisExpression_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);
- }
- }
- }
-
- // SuperInvocationExpression
- protected class NonLiteralValueSpecification_SuperInvocationExpressionParserRuleCall_4 extends RuleCallToken {
-
- public NonLiteralValueSpecification_SuperInvocationExpressionParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SuperInvocationExpression_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 NonLiteralValueSpecification ****************/
-
-
- /************
- * begin Rule ParenthesizedExpression ****************
- *
- * ParenthesizedExpression:
- * "(" expOrTypeCast=Expression ")" (casted=NonLiteralValueSpecification | suffix=SuffixExpression)?;
- *
- **/
-
- // "(" expOrTypeCast=Expression ")" (casted=NonLiteralValueSpecification | suffix=SuffixExpression)?
- protected class ParenthesizedExpression_Group extends GroupToken {
-
- public ParenthesizedExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ParenthesizedExpression_Alternatives_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ParenthesizedExpression_RightParenthesisKeyword_2(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getParenthesizedExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "("
- protected class ParenthesizedExpression_LeftParenthesisKeyword_0 extends KeywordToken {
-
- public ParenthesizedExpression_LeftParenthesisKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getLeftParenthesisKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // expOrTypeCast=Expression
- protected class ParenthesizedExpression_ExpOrTypeCastAssignment_1 extends AssignmentToken {
-
- public ParenthesizedExpression_ExpOrTypeCastAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getExpOrTypeCastAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expOrTypeCast", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expOrTypeCast");
- 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.getParenthesizedExpressionAccess().getExpOrTypeCastExpressionParserRuleCall_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 ParenthesizedExpression_LeftParenthesisKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class ParenthesizedExpression_RightParenthesisKeyword_2 extends KeywordToken {
-
- public ParenthesizedExpression_RightParenthesisKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getRightParenthesisKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ParenthesizedExpression_ExpOrTypeCastAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // (casted=NonLiteralValueSpecification | suffix=SuffixExpression)?
- protected class ParenthesizedExpression_Alternatives_3 extends AlternativesToken {
-
- public ParenthesizedExpression_Alternatives_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getAlternatives_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ParenthesizedExpression_CastedAssignment_3_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ParenthesizedExpression_SuffixAssignment_3_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // casted=NonLiteralValueSpecification
- protected class ParenthesizedExpression_CastedAssignment_3_0 extends AssignmentToken {
-
- public ParenthesizedExpression_CastedAssignment_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getCastedAssignment_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonLiteralValueSpecification_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("casted", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("casted");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNonLiteralValueSpecificationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getParenthesizedExpressionAccess().getCastedNonLiteralValueSpecificationParserRuleCall_3_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) {
- case 0:
- return new ParenthesizedExpression_RightParenthesisKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // suffix=SuffixExpression
- protected class ParenthesizedExpression_SuffixAssignment_3_1 extends AssignmentToken {
-
- public ParenthesizedExpression_SuffixAssignment_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getParenthesizedExpressionAccess().getSuffixAssignment_3_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", true)) == 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.getParenthesizedExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_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 ParenthesizedExpression_RightParenthesisKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ParenthesizedExpression ****************/
-
-
- /************
- * begin Rule NullExpression ****************
- *
- * NullExpression:
- * {NullExpression} "null";
- *
- **/
-
- // {NullExpression} "null"
- protected class NullExpression_Group extends GroupToken {
-
- public NullExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNullExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NullExpression_NullKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNullExpressionAccess().getNullExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {NullExpression}
- protected class NullExpression_NullExpressionAction_0 extends ActionToken {
-
- public NullExpression_NullExpressionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getNullExpressionAccess().getNullExpressionAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "null"
- protected class NullExpression_NullKeyword_1 extends KeywordToken {
-
- public NullExpression_NullKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNullExpressionAccess().getNullKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NullExpression_NullExpressionAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule NullExpression ****************/
-
-
- /************
- * begin Rule ThisExpression ****************
- *
- * ThisExpression:
- * {ThisExpression} "this" suffix=SuffixExpression?;
- *
- **/
-
- // {ThisExpression} "this" suffix=SuffixExpression?
- protected class ThisExpression_Group extends GroupToken {
-
- public ThisExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getThisExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisExpression_SuffixAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ThisExpression_ThisKeyword_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getThisExpressionAccess().getThisExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {ThisExpression}
- protected class ThisExpression_ThisExpressionAction_0 extends ActionToken {
-
- public ThisExpression_ThisExpressionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getThisExpressionAccess().getThisExpressionAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "this"
- protected class ThisExpression_ThisKeyword_1 extends KeywordToken {
-
- public ThisExpression_ThisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getThisExpressionAccess().getThisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisExpression_ThisExpressionAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // suffix=SuffixExpression?
- protected class ThisExpression_SuffixAssignment_2 extends AssignmentToken {
-
- public ThisExpression_SuffixAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getThisExpressionAccess().getSuffixAssignment_2();
- }
-
- @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.getThisExpressionAccess().getSuffixSuffixExpressionParserRuleCall_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 ThisExpression_ThisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ThisExpression ****************/
-
-
- /************
- * begin Rule SuperInvocationExpression ****************
- *
- * SuperInvocationExpression: //{SuperInvocationExpression} 'super' ('.' qualifiedNameRoot = ID '::' qualifiedNameRemaining = NameExpression)? //(suffix = SuffixExpression) ?
- * "super" ("." className=ID "::" operationCallWithoutDot=OperationCallExpressionWithoutDot |
- * operationCall=OperationCallExpression);
- *
- **/
-
- // //{SuperInvocationExpression} 'super' ('.' qualifiedNameRoot = ID '::' qualifiedNameRemaining = NameExpression)? //(suffix = SuffixExpression) ?
- // "super" ("." className=ID "::" operationCallWithoutDot=OperationCallExpressionWithoutDot |
- // operationCall=OperationCallExpression)
- protected class SuperInvocationExpression_Group extends GroupToken {
-
- public SuperInvocationExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // //{SuperInvocationExpression} 'super' ('.' qualifiedNameRoot = ID '::' qualifiedNameRemaining = NameExpression)? //(suffix = SuffixExpression) ?
- // "super"
- protected class SuperInvocationExpression_SuperKeyword_0 extends KeywordToken {
-
- public SuperInvocationExpression_SuperKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getSuperKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "." className=ID "::" operationCallWithoutDot=OperationCallExpressionWithoutDot | operationCall=OperationCallExpression
- protected class SuperInvocationExpression_Alternatives_1 extends AlternativesToken {
-
- public SuperInvocationExpression_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getAlternatives_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_Group_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SuperInvocationExpression_OperationCallAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "." className=ID "::" operationCallWithoutDot=OperationCallExpressionWithoutDot
- protected class SuperInvocationExpression_Group_1_0 extends GroupToken {
-
- public SuperInvocationExpression_Group_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getGroup_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_OperationCallWithoutDotAssignment_1_0_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "."
- protected class SuperInvocationExpression_FullStopKeyword_1_0_0 extends KeywordToken {
-
- public SuperInvocationExpression_FullStopKeyword_1_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getFullStopKeyword_1_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_SuperKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // className=ID
- protected class SuperInvocationExpression_ClassNameAssignment_1_0_1 extends AssignmentToken {
-
- public SuperInvocationExpression_ClassNameAssignment_1_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getClassNameAssignment_1_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_FullStopKeyword_1_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("className", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("className");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getSuperInvocationExpressionAccess().getClassNameIDTerminalRuleCall_1_0_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getSuperInvocationExpressionAccess().getClassNameIDTerminalRuleCall_1_0_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "::"
- protected class SuperInvocationExpression_ColonColonKeyword_1_0_2 extends KeywordToken {
-
- public SuperInvocationExpression_ColonColonKeyword_1_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getColonColonKeyword_1_0_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_ClassNameAssignment_1_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // operationCallWithoutDot=OperationCallExpressionWithoutDot
- protected class SuperInvocationExpression_OperationCallWithoutDotAssignment_1_0_3 extends AssignmentToken {
-
- public SuperInvocationExpression_OperationCallWithoutDotAssignment_1_0_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotAssignment_1_0_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new OperationCallExpressionWithoutDot_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("operationCallWithoutDot", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationCallWithoutDot");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getOperationCallExpressionWithoutDotRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotOperationCallExpressionWithoutDotParserRuleCall_1_0_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 SuperInvocationExpression_ColonColonKeyword_1_0_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // operationCall=OperationCallExpression
- protected class SuperInvocationExpression_OperationCallAssignment_1_1 extends AssignmentToken {
-
- public SuperInvocationExpression_OperationCallAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSuperInvocationExpressionAccess().getOperationCallAssignment_1_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 ((value = eObjectConsumer.getConsumable("operationCall", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("operationCall");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getOperationCallExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSuperInvocationExpressionAccess().getOperationCallOperationCallExpressionParserRuleCall_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 SuperInvocationExpression_SuperKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule SuperInvocationExpression ****************/
-
-
- /************
- * begin Rule InstanceCreationExpression ****************
- *
- * InstanceCreationExpression:
- * "new" constructor=QualifiedNameWithBinding (tuple=Tuple |
- * sequenceConstuctionCompletion=SequenceConstructionCompletion) suffix=SuffixExpression?;
- *
- **/
-
- // "new" constructor=QualifiedNameWithBinding (tuple=Tuple | sequenceConstuctionCompletion=SequenceConstructionCompletion)
- // suffix=SuffixExpression?
- protected class InstanceCreationExpression_Group extends GroupToken {
-
- public InstanceCreationExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationExpression_SuffixAssignment_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InstanceCreationExpression_Alternatives_2(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "new"
- protected class InstanceCreationExpression_NewKeyword_0 extends KeywordToken {
-
- public InstanceCreationExpression_NewKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getNewKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // constructor=QualifiedNameWithBinding
- protected class InstanceCreationExpression_ConstructorAssignment_1 extends AssignmentToken {
-
- public InstanceCreationExpression_ConstructorAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getConstructorAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("constructor", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("constructor");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanceCreationExpressionAccess().getConstructorQualifiedNameWithBindingParserRuleCall_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 InstanceCreationExpression_NewKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // tuple=Tuple | sequenceConstuctionCompletion=SequenceConstructionCompletion
- protected class InstanceCreationExpression_Alternatives_2 extends AlternativesToken {
-
- public InstanceCreationExpression_Alternatives_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getAlternatives_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationExpression_TupleAssignment_2_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InstanceCreationExpression_SequenceConstuctionCompletionAssignment_2_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // tuple=Tuple
- protected class InstanceCreationExpression_TupleAssignment_2_0 extends AssignmentToken {
-
- public InstanceCreationExpression_TupleAssignment_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getTupleAssignment_2_0();
- }
-
- @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 ((value = eObjectConsumer.getConsumable("tuple", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("tuple");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getTupleRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanceCreationExpressionAccess().getTupleTupleParserRuleCall_2_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) {
- case 0:
- return new InstanceCreationExpression_ConstructorAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // sequenceConstuctionCompletion=SequenceConstructionCompletion
- protected class InstanceCreationExpression_SequenceConstuctionCompletionAssignment_2_1 extends AssignmentToken {
-
- public InstanceCreationExpression_SequenceConstuctionCompletionAssignment_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionAssignment_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequenceConstuctionCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequenceConstuctionCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceConstructionCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionSequenceConstructionCompletionParserRuleCall_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 InstanceCreationExpression_ConstructorAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // suffix=SuffixExpression?
- protected class InstanceCreationExpression_SuffixAssignment_3 extends AssignmentToken {
-
- public InstanceCreationExpression_SuffixAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanceCreationExpressionAccess().getSuffixAssignment_3();
- }
-
- @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.getInstanceCreationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_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 InstanceCreationExpression_Alternatives_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule InstanceCreationExpression ****************/
-
-
- /************
- * begin Rule SequenceConstructionOrAccessCompletion ****************
- *
- * SequenceConstructionOrAccessCompletion:
- * multiplicityIndicator?="[" (accessCompletion=AccessCompletion |
- * sequenceCompletion=PartialSequenceConstructionCompletion) | expression=SequenceConstructionExpression;
- *
- **/
-
- // multiplicityIndicator?="[" (accessCompletion=AccessCompletion |
- // sequenceCompletion=PartialSequenceConstructionCompletion) | expression=SequenceConstructionExpression
- protected class SequenceConstructionOrAccessCompletion_Alternatives extends AlternativesToken {
-
- public SequenceConstructionOrAccessCompletion_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionOrAccessCompletion_Group_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceConstructionOrAccessCompletion_ExpressionAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceConstructionOrAccessCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // multiplicityIndicator?="[" (accessCompletion=AccessCompletion |
- // sequenceCompletion=PartialSequenceConstructionCompletion)
- protected class SequenceConstructionOrAccessCompletion_Group_0 extends GroupToken {
-
- public SequenceConstructionOrAccessCompletion_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionOrAccessCompletion_Alternatives_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // multiplicityIndicator?="["
- protected class SequenceConstructionOrAccessCompletion_MultiplicityIndicatorAssignment_0_0 extends AssignmentToken {
-
- public SequenceConstructionOrAccessCompletion_MultiplicityIndicatorAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorAssignment_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("multiplicityIndicator", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicityIndicator");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // accessCompletion=AccessCompletion | sequenceCompletion=PartialSequenceConstructionCompletion
- protected class SequenceConstructionOrAccessCompletion_Alternatives_0_1 extends AlternativesToken {
-
- public SequenceConstructionOrAccessCompletion_Alternatives_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAlternatives_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionOrAccessCompletion_AccessCompletionAssignment_0_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceConstructionOrAccessCompletion_SequenceCompletionAssignment_0_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // accessCompletion=AccessCompletion
- protected class SequenceConstructionOrAccessCompletion_AccessCompletionAssignment_0_1_0 extends AssignmentToken {
-
- public SequenceConstructionOrAccessCompletion_AccessCompletionAssignment_0_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAssignment_0_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AccessCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("accessCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAccessCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAccessCompletionParserRuleCall_0_1_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) {
- case 0:
- return new SequenceConstructionOrAccessCompletion_MultiplicityIndicatorAssignment_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // sequenceCompletion=PartialSequenceConstructionCompletion
- protected class SequenceConstructionOrAccessCompletion_SequenceCompletionAssignment_0_1_1 extends AssignmentToken {
-
- public SequenceConstructionOrAccessCompletion_SequenceCompletionAssignment_0_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionAssignment_0_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PartialSequenceConstructionCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequenceCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequenceCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getPartialSequenceConstructionCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionPartialSequenceConstructionCompletionParserRuleCall_0_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 SequenceConstructionOrAccessCompletion_MultiplicityIndicatorAssignment_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- // expression=SequenceConstructionExpression
- protected class SequenceConstructionOrAccessCompletion_ExpressionAssignment_1 extends AssignmentToken {
-
- public SequenceConstructionOrAccessCompletion_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_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 SequenceConstructionOrAccessCompletion ****************/
-
-
- /************
- * begin Rule AccessCompletion ****************
- *
- * AccessCompletion:
- * accessIndex=Expression "]";
- *
- **/
-
- // accessIndex=Expression "]"
- protected class AccessCompletion_Group extends GroupToken {
-
- public AccessCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAccessCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AccessCompletion_RightSquareBracketKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAccessCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // accessIndex=Expression
- protected class AccessCompletion_AccessIndexAssignment_0 extends AssignmentToken {
-
- public AccessCompletion_AccessIndexAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAccessCompletionAccess().getAccessIndexAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("accessIndex", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("accessIndex");
- 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.getAccessCompletionAccess().getAccessIndexExpressionParserRuleCall_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);
- }
- }
- }
-
- // "]"
- protected class AccessCompletion_RightSquareBracketKeyword_1 extends KeywordToken {
-
- public AccessCompletion_RightSquareBracketKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAccessCompletionAccess().getRightSquareBracketKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AccessCompletion_AccessIndexAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule AccessCompletion ****************/
-
-
- /************
- * begin Rule PartialSequenceConstructionCompletion ****************
- *
- * PartialSequenceConstructionCompletion:
- * "]" expression=SequenceConstructionExpression;
- *
- **/
-
- // "]" expression=SequenceConstructionExpression
- protected class PartialSequenceConstructionCompletion_Group extends GroupToken {
-
- public PartialSequenceConstructionCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getPartialSequenceConstructionCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new PartialSequenceConstructionCompletion_ExpressionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getPartialSequenceConstructionCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "]"
- protected class PartialSequenceConstructionCompletion_RightSquareBracketKeyword_0 extends KeywordToken {
-
- public PartialSequenceConstructionCompletion_RightSquareBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getPartialSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // expression=SequenceConstructionExpression
- protected class PartialSequenceConstructionCompletion_ExpressionAssignment_1 extends AssignmentToken {
-
- public PartialSequenceConstructionCompletion_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_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 PartialSequenceConstructionCompletion_RightSquareBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule PartialSequenceConstructionCompletion ****************/
-
-
- /************
- * begin Rule SequenceConstructionCompletion ****************
- *
- * SequenceConstructionCompletion:
- * (multiplicityIndicator?="[" "]")? expression=SequenceConstructionExpression;
- *
- **/
-
- // (multiplicityIndicator?="[" "]")? expression=SequenceConstructionExpression
- protected class SequenceConstructionCompletion_Group extends GroupToken {
-
- public SequenceConstructionCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionCompletion_ExpressionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceConstructionCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // (multiplicityIndicator?="[" "]")?
- protected class SequenceConstructionCompletion_Group_0 extends GroupToken {
-
- public SequenceConstructionCompletion_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionCompletionAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionCompletion_RightSquareBracketKeyword_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // multiplicityIndicator?="["
- protected class SequenceConstructionCompletion_MultiplicityIndicatorAssignment_0_0 extends AssignmentToken {
-
- public SequenceConstructionCompletion_MultiplicityIndicatorAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorAssignment_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("multiplicityIndicator", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicityIndicator");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "]"
- protected class SequenceConstructionCompletion_RightSquareBracketKeyword_0_1 extends KeywordToken {
-
- public SequenceConstructionCompletion_RightSquareBracketKeyword_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionCompletion_MultiplicityIndicatorAssignment_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // expression=SequenceConstructionExpression
- protected class SequenceConstructionCompletion_ExpressionAssignment_1 extends AssignmentToken {
-
- public SequenceConstructionCompletion_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionCompletionAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_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 SequenceConstructionCompletion_Group_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
-
- /************ end Rule SequenceConstructionCompletion ****************/
-
-
- /************
- * begin Rule SequenceConstructionExpression ****************
- *
- * SequenceConstructionExpression:
- * "{" sequenceElement+=SequenceElement (("," sequenceElement+=SequenceElement)* | ".." rangeUpper=Expression) "}";
- *
- **/
-
- // "{" sequenceElement+=SequenceElement (("," sequenceElement+=SequenceElement)* | ".." rangeUpper=Expression) "}"
- protected class SequenceConstructionExpression_Group extends GroupToken {
-
- public SequenceConstructionExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "{"
- protected class SequenceConstructionExpression_LeftCurlyBracketKeyword_0 extends KeywordToken {
-
- public SequenceConstructionExpression_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getLeftCurlyBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // sequenceElement+=SequenceElement
- protected class SequenceConstructionExpression_SequenceElementAssignment_1 extends AssignmentToken {
-
- public SequenceConstructionExpression_SequenceElementAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceElement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequenceElement", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequenceElement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_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 SequenceConstructionExpression_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ("," sequenceElement+=SequenceElement)* | ".." rangeUpper=Expression
- protected class SequenceConstructionExpression_Alternatives_2 extends AlternativesToken {
-
- public SequenceConstructionExpression_Alternatives_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getAlternatives_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group_2_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceConstructionExpression_Group_2_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ("," sequenceElement+=SequenceElement)*
- protected class SequenceConstructionExpression_Group_2_0 extends GroupToken {
-
- public SequenceConstructionExpression_Group_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_SequenceElementAssignment_2_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class SequenceConstructionExpression_CommaKeyword_2_0_0 extends KeywordToken {
-
- public SequenceConstructionExpression_CommaKeyword_2_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getCommaKeyword_2_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group_2_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceConstructionExpression_SequenceElementAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // sequenceElement+=SequenceElement
- protected class SequenceConstructionExpression_SequenceElementAssignment_2_0_1 extends AssignmentToken {
-
- public SequenceConstructionExpression_SequenceElementAssignment_2_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementAssignment_2_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceElement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequenceElement", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequenceElement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_2_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 SequenceConstructionExpression_CommaKeyword_2_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ".." rangeUpper=Expression
- protected class SequenceConstructionExpression_Group_2_1 extends GroupToken {
-
- public SequenceConstructionExpression_Group_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getGroup_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_RangeUpperAssignment_2_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ".."
- protected class SequenceConstructionExpression_FullStopFullStopKeyword_2_1_0 extends KeywordToken {
-
- public SequenceConstructionExpression_FullStopFullStopKeyword_2_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getFullStopFullStopKeyword_2_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_SequenceElementAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // rangeUpper=Expression
- protected class SequenceConstructionExpression_RangeUpperAssignment_2_1_1 extends AssignmentToken {
-
- public SequenceConstructionExpression_RangeUpperAssignment_2_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getRangeUpperAssignment_2_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("rangeUpper", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("rangeUpper");
- 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.getSequenceConstructionExpressionAccess().getRangeUpperExpressionParserRuleCall_2_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 SequenceConstructionExpression_FullStopFullStopKeyword_2_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- // "}"
- protected class SequenceConstructionExpression_RightCurlyBracketKeyword_3 extends KeywordToken {
-
- public SequenceConstructionExpression_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequenceConstructionExpressionAccess().getRightCurlyBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Alternatives_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule SequenceConstructionExpression ****************/
-
-
- /************
- * begin Rule SequenceElement ****************
- *
- * SequenceElement:
- * Expression | SequenceConstructionExpression;
- *
- **/
-
- // Expression | SequenceConstructionExpression
- protected class SequenceElement_Alternatives extends AlternativesToken {
-
- public SequenceElement_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getSequenceElementAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceElement_ExpressionParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequenceElement_SequenceConstructionExpressionParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalTestExpressionRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // Expression
- protected class SequenceElement_ExpressionParserRuleCall_0 extends RuleCallToken {
-
- public SequenceElement_ExpressionParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConditionalTestExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(Expression_ConditionalTestExpressionParserRuleCall.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);
- }
- }
- }
-
- // SequenceConstructionExpression
- protected class SequenceElement_SequenceConstructionExpressionParserRuleCall_1 extends RuleCallToken {
-
- public SequenceElement_SequenceConstructionExpressionParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceConstructionExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequenceConstructionExpressionRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SequenceConstructionExpression_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 SequenceElement ****************/
-
-
- /************
- * begin Rule ClassExtentExpression ****************
- *
- * ClassExtentExpression:
- * {ClassExtentExpression} "." "allInstances" "(" ")";
- *
- **/
-
- // {ClassExtentExpression} "." "allInstances" "(" ")"
- protected class ClassExtentExpression_Group extends GroupToken {
-
- public ClassExtentExpression_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_RightParenthesisKeyword_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {ClassExtentExpression}
- protected class ClassExtentExpression_ClassExtentExpressionAction_0 extends ActionToken {
-
- public ClassExtentExpression_ClassExtentExpressionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "."
- protected class ClassExtentExpression_FullStopKeyword_1 extends KeywordToken {
-
- public ClassExtentExpression_FullStopKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getFullStopKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_ClassExtentExpressionAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "allInstances"
- protected class ClassExtentExpression_AllInstancesKeyword_2 extends KeywordToken {
-
- public ClassExtentExpression_AllInstancesKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getAllInstancesKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_FullStopKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class ClassExtentExpression_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public ClassExtentExpression_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_AllInstancesKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ")"
- protected class ClassExtentExpression_RightParenthesisKeyword_4 extends KeywordToken {
-
- public ClassExtentExpression_RightParenthesisKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassExtentExpressionAccess().getRightParenthesisKeyword_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassExtentExpression_LeftParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule ClassExtentExpression ****************/
-
-
- /************
- * begin Rule Block ****************
- *
- * / *****************
- * * Statements
- * **************** / Block:
- * "{" {Block} sequence=StatementSequence? "}";
- *
- **/
-
- // "{" {Block} sequence=StatementSequence? "}"
- protected class Block_Group extends GroupToken {
-
- public Block_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getBlockAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_RightCurlyBracketKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBlockAccess().getBlockAction_1().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "{"
- protected class Block_LeftCurlyBracketKeyword_0 extends KeywordToken {
-
- public Block_LeftCurlyBracketKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getBlockAccess().getLeftCurlyBracketKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // {Block}
- protected class Block_BlockAction_1 extends ActionToken {
-
- public Block_BlockAction_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getBlockAccess().getBlockAction_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_LeftCurlyBracketKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // sequence=StatementSequence?
- protected class Block_SequenceAssignment_2 extends AssignmentToken {
-
- public Block_SequenceAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getBlockAccess().getSequenceAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new StatementSequence_StatementsAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequence", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequence");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getStatementSequenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getBlockAccess().getSequenceStatementSequenceParserRuleCall_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 Block_BlockAction_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "}"
- protected class Block_RightCurlyBracketKeyword_3 extends KeywordToken {
-
- public Block_RightCurlyBracketKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getBlockAccess().getRightCurlyBracketKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_SequenceAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Block_BlockAction_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule Block ****************/
-
-
- /************
- * begin Rule StatementSequence ****************
- *
- * StatementSequence:
- * statements+=DocumentedStatement+;
- *
- **/
-
- // statements+=DocumentedStatement+
- protected class StatementSequence_StatementsAssignment extends AssignmentToken {
-
- public StatementSequence_StatementsAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getStatementSequenceAccess().getStatementsAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DocumentedStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statements", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statements");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDocumentedStatementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getStatementSequenceAccess().getStatementsDocumentedStatementParserRuleCall_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 StatementSequence_StatementsAssignment(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
- /************ end Rule StatementSequence ****************/
-
-
- /************
- * begin Rule DocumentedStatement ****************
- *
- * DocumentedStatement:
- * comment=(ML_COMMENT | SL_COMMENT)? statement=Statement;
- *
- **/
-
- // comment=(ML_COMMENT | SL_COMMENT)? statement=Statement
- protected class DocumentedStatement_Group extends GroupToken {
-
- public DocumentedStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DocumentedStatement_StatementAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDocumentedStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // comment=(ML_COMMENT | SL_COMMENT)?
- protected class DocumentedStatement_CommentAssignment_0 extends AssignmentToken {
-
- public DocumentedStatement_CommentAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getCommentAssignment_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("comment", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("comment");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0();
- return obj;
- }
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1();
- return obj;
- }
- return null;
- }
-
- }
-
- // statement=Statement
- protected class DocumentedStatement_StatementAssignment_1 extends AssignmentToken {
-
- public DocumentedStatement_StatementAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDocumentedStatementAccess().getStatementAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Statement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statement", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getStatementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_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 DocumentedStatement_CommentAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
-
- /************ end Rule DocumentedStatement ****************/
-
-
- /************
- * begin Rule InlineStatement ****************
- *
- * InlineStatement:
- * "/ *@" "inline" "(" langageName=ID ")" body=STRING "* /";
- *
- **/
-
- // "/ *@" "inline" "(" langageName=ID ")" body=STRING "* /"
- protected class InlineStatement_Group extends GroupToken {
-
- public InlineStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_AsteriskSolidusKeyword_6(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInlineStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "/ *@"
- protected class InlineStatement_SolidusAsteriskCommercialAtKeyword_0 extends KeywordToken {
-
- public InlineStatement_SolidusAsteriskCommercialAtKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getSolidusAsteriskCommercialAtKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "inline"
- protected class InlineStatement_InlineKeyword_1 extends KeywordToken {
-
- public InlineStatement_InlineKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getInlineKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_SolidusAsteriskCommercialAtKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class InlineStatement_LeftParenthesisKeyword_2 extends KeywordToken {
-
- public InlineStatement_LeftParenthesisKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_InlineKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // langageName=ID
- protected class InlineStatement_LangageNameAssignment_3 extends AssignmentToken {
-
- public InlineStatement_LangageNameAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getLangageNameAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_LeftParenthesisKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("langageName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("langageName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ")"
- protected class InlineStatement_RightParenthesisKeyword_4 extends KeywordToken {
-
- public InlineStatement_RightParenthesisKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_LangageNameAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // body=STRING
- protected class InlineStatement_BodyAssignment_5 extends AssignmentToken {
-
- public InlineStatement_BodyAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getBodyAssignment_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_RightParenthesisKeyword_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("body", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("body");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "* /"
- protected class InlineStatement_AsteriskSolidusKeyword_6 extends KeywordToken {
-
- public InlineStatement_AsteriskSolidusKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_BodyAssignment_5(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule InlineStatement ****************/
-
-
- /************
- * begin Rule AnnotatedStatement ****************
- *
- * AnnotatedStatement:
- * "//@" annotation= //block = Block
- * Annotation statement=Statement;
- *
- **/
-
- // "//@" annotation= //block = Block
- // Annotation statement=Statement
- protected class AnnotatedStatement_Group extends GroupToken {
-
- public AnnotatedStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotatedStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AnnotatedStatement_StatementAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAnnotatedStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "//@"
- protected class AnnotatedStatement_SolidusSolidusCommercialAtKeyword_0 extends KeywordToken {
-
- public AnnotatedStatement_SolidusSolidusCommercialAtKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotatedStatementAccess().getSolidusSolidusCommercialAtKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // annotation= //block = Block
- // Annotation
- protected class AnnotatedStatement_AnnotationAssignment_1 extends AssignmentToken {
-
- public AnnotatedStatement_AnnotationAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotatedStatementAccess().getAnnotationAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("annotation", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("annotation");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAnnotationRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAnnotatedStatementAccess().getAnnotationAnnotationParserRuleCall_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 AnnotatedStatement_SolidusSolidusCommercialAtKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // statement=Statement
- protected class AnnotatedStatement_StatementAssignment_2 extends AssignmentToken {
-
- public AnnotatedStatement_StatementAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotatedStatementAccess().getStatementAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Statement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statement", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getStatementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_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 AnnotatedStatement_AnnotationAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule AnnotatedStatement ****************/
-
-
- /************
- * begin Rule Statement ****************
- *
- * Statement:
- * AnnotatedStatement | InlineStatement | BlockStatement | EmptyStatement | LocalNameDeclarationStatement | IfStatement |
- * SwitchStatement | WhileStatement | DoStatement | ForStatement | BreakStatement | ReturnStatement | AcceptStatement |
- * ClassifyStatement | InvocationOrAssignementOrDeclarationStatement | SuperInvocationStatement | ThisInvocationStatement
- * | InstanceCreationInvocationStatement;
- *
- **/
-
- // AnnotatedStatement | InlineStatement | BlockStatement | EmptyStatement | LocalNameDeclarationStatement | IfStatement |
- // SwitchStatement | WhileStatement | DoStatement | ForStatement | BreakStatement | ReturnStatement | AcceptStatement |
- // ClassifyStatement | InvocationOrAssignementOrDeclarationStatement | SuperInvocationStatement | ThisInvocationStatement
- // | InstanceCreationInvocationStatement
- protected class Statement_Alternatives extends AlternativesToken {
-
- public Statement_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getStatementAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Statement_AnnotatedStatementParserRuleCall_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Statement_InlineStatementParserRuleCall_1(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new Statement_BlockStatementParserRuleCall_2(lastRuleCallOrigin, this, 2, inst);
- case 3:
- return new Statement_EmptyStatementParserRuleCall_3(lastRuleCallOrigin, this, 3, inst);
- case 4:
- return new Statement_LocalNameDeclarationStatementParserRuleCall_4(lastRuleCallOrigin, this, 4, inst);
- case 5:
- return new Statement_IfStatementParserRuleCall_5(lastRuleCallOrigin, this, 5, inst);
- case 6:
- return new Statement_SwitchStatementParserRuleCall_6(lastRuleCallOrigin, this, 6, inst);
- case 7:
- return new Statement_WhileStatementParserRuleCall_7(lastRuleCallOrigin, this, 7, inst);
- case 8:
- return new Statement_DoStatementParserRuleCall_8(lastRuleCallOrigin, this, 8, inst);
- case 9:
- return new Statement_ForStatementParserRuleCall_9(lastRuleCallOrigin, this, 9, inst);
- case 10:
- return new Statement_BreakStatementParserRuleCall_10(lastRuleCallOrigin, this, 10, inst);
- case 11:
- return new Statement_ReturnStatementParserRuleCall_11(lastRuleCallOrigin, this, 11, inst);
- case 12:
- return new Statement_AcceptStatementParserRuleCall_12(lastRuleCallOrigin, this, 12, inst);
- case 13:
- return new Statement_ClassifyStatementParserRuleCall_13(lastRuleCallOrigin, this, 13, inst);
- case 14:
- return new Statement_InvocationOrAssignementOrDeclarationStatementParserRuleCall_14(lastRuleCallOrigin, this, 14, inst);
- case 15:
- return new Statement_SuperInvocationStatementParserRuleCall_15(lastRuleCallOrigin, this, 15, inst);
- case 16:
- return new Statement_ThisInvocationStatementParserRuleCall_16(lastRuleCallOrigin, this, 16, inst);
- case 17:
- return new Statement_InstanceCreationInvocationStatementParserRuleCall_17(lastRuleCallOrigin, this, 17, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAcceptStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getAnnotatedStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getBlockStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getBreakStatementAccess().getBreakStatementAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getClassifyStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getDoStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getForStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getIfStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInlineStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInstanceCreationInvocationStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getLocalNameDeclarationStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getReturnStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSuperInvocationStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getSwitchStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getThisInvocationStatementRule().getType().getClassifier() &&
- getEObject().eClass() != grammarAccess.getWhileStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // AnnotatedStatement
- protected class Statement_AnnotatedStatementParserRuleCall_0 extends RuleCallToken {
-
- public Statement_AnnotatedStatementParserRuleCall_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AnnotatedStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAnnotatedStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(AnnotatedStatement_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);
- }
- }
- }
-
- // InlineStatement
- protected class Statement_InlineStatementParserRuleCall_1 extends RuleCallToken {
-
- public Statement_InlineStatementParserRuleCall_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InlineStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInlineStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InlineStatement_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);
- }
- }
- }
-
- // BlockStatement
- protected class Statement_BlockStatementParserRuleCall_2 extends RuleCallToken {
-
- public Statement_BlockStatementParserRuleCall_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BlockStatement_BlockAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBlockStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(BlockStatement_BlockAssignment.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);
- }
- }
- }
-
- // EmptyStatement
- protected class Statement_EmptyStatementParserRuleCall_3 extends RuleCallToken {
-
- public Statement_EmptyStatementParserRuleCall_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EmptyStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(EmptyStatement_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);
- }
- }
- }
-
- // LocalNameDeclarationStatement
- protected class Statement_LocalNameDeclarationStatementParserRuleCall_4 extends RuleCallToken {
-
- public Statement_LocalNameDeclarationStatementParserRuleCall_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLocalNameDeclarationStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(LocalNameDeclarationStatement_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);
- }
- }
- }
-
- // IfStatement
- protected class Statement_IfStatementParserRuleCall_5 extends RuleCallToken {
-
- public Statement_IfStatementParserRuleCall_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IfStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIfStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(IfStatement_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);
- }
- }
- }
-
- // SwitchStatement
- protected class Statement_SwitchStatementParserRuleCall_6 extends RuleCallToken {
-
- public Statement_SwitchStatementParserRuleCall_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSwitchStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SwitchStatement_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);
- }
- }
- }
-
- // WhileStatement
- protected class Statement_WhileStatementParserRuleCall_7 extends RuleCallToken {
-
- public Statement_WhileStatementParserRuleCall_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new WhileStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getWhileStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(WhileStatement_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);
- }
- }
- }
-
- // DoStatement
- protected class Statement_DoStatementParserRuleCall_8 extends RuleCallToken {
-
- public Statement_DoStatementParserRuleCall_8(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDoStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(DoStatement_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);
- }
- }
- }
-
- // ForStatement
- protected class Statement_ForStatementParserRuleCall_9 extends RuleCallToken {
-
- public Statement_ForStatementParserRuleCall_9(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getForStatementParserRuleCall_9();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getForStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ForStatement_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);
- }
- }
- }
-
- // BreakStatement
- protected class Statement_BreakStatementParserRuleCall_10 extends RuleCallToken {
-
- public Statement_BreakStatementParserRuleCall_10(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BreakStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBreakStatementAccess().getBreakStatementAction_0().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(BreakStatement_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);
- }
- }
- }
-
- // ReturnStatement
- protected class Statement_ReturnStatementParserRuleCall_11 extends RuleCallToken {
-
- public Statement_ReturnStatementParserRuleCall_11(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReturnStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getReturnStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ReturnStatement_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);
- }
- }
- }
-
- // AcceptStatement
- protected class Statement_AcceptStatementParserRuleCall_12 extends RuleCallToken {
-
- public Statement_AcceptStatementParserRuleCall_12(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAcceptStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(AcceptStatement_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);
- }
- }
- }
-
- // ClassifyStatement
- protected class Statement_ClassifyStatementParserRuleCall_13 extends RuleCallToken {
-
- public Statement_ClassifyStatementParserRuleCall_13(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassifyStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassifyStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ClassifyStatement_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);
- }
- }
- }
-
- // InvocationOrAssignementOrDeclarationStatement
- protected class Statement_InvocationOrAssignementOrDeclarationStatementParserRuleCall_14 extends RuleCallToken {
-
- public Statement_InvocationOrAssignementOrDeclarationStatementParserRuleCall_14(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InvocationOrAssignementOrDeclarationStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InvocationOrAssignementOrDeclarationStatement_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);
- }
- }
- }
-
- // SuperInvocationStatement
- protected class Statement_SuperInvocationStatementParserRuleCall_15 extends RuleCallToken {
-
- public Statement_SuperInvocationStatementParserRuleCall_15(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSuperInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(SuperInvocationStatement_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);
- }
- }
- }
-
- // ThisInvocationStatement
- protected class Statement_ThisInvocationStatementParserRuleCall_16 extends RuleCallToken {
-
- public Statement_ThisInvocationStatementParserRuleCall_16(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisInvocationStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getThisInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(ThisInvocationStatement_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);
- }
- }
- }
-
- // InstanceCreationInvocationStatement
- protected class Statement_InstanceCreationInvocationStatementParserRuleCall_17 extends RuleCallToken {
-
- public Statement_InstanceCreationInvocationStatementParserRuleCall_17(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public RuleCall getGrammarElement() {
- return grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationInvocationStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- if (checkForRecursion(InstanceCreationInvocationStatement_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 Statement ****************/
-
-
- /************
- * begin Rule Annotation ****************
- *
- * Annotation:
- * kind=AnnotationKind ("(" args+=ID ("," args+=ID)* ")")?;
- *
- **/
-
- // kind=AnnotationKind ("(" args+=ID ("," args+=ID)* ")")?
- protected class Annotation_Group extends GroupToken {
-
- public Annotation_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Annotation_KindAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAnnotationRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // kind=AnnotationKind
- protected class Annotation_KindAssignment_0 extends AssignmentToken {
-
- public Annotation_KindAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getKindAssignment_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("kind", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("kind");
- if (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getAnnotationAccess().getKindAnnotationKindEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getAnnotationAccess().getKindAnnotationKindEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ("(" args+=ID ("," args+=ID)* ")")?
- protected class Annotation_Group_1 extends GroupToken {
-
- public Annotation_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_RightParenthesisKeyword_1_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class Annotation_LeftParenthesisKeyword_1_0 extends KeywordToken {
-
- public Annotation_LeftParenthesisKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_KindAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // args+=ID
- protected class Annotation_ArgsAssignment_1_1 extends AssignmentToken {
-
- public Annotation_ArgsAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getArgsAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_LeftParenthesisKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("args", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("args");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ("," args+=ID)*
- protected class Annotation_Group_1_2 extends GroupToken {
-
- public Annotation_Group_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getGroup_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_ArgsAssignment_1_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class Annotation_CommaKeyword_1_2_0 extends KeywordToken {
-
- public Annotation_CommaKeyword_1_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getCommaKeyword_1_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_Group_1_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Annotation_ArgsAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // args+=ID
- protected class Annotation_ArgsAssignment_1_2_1 extends AssignmentToken {
-
- public Annotation_ArgsAssignment_1_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getArgsAssignment_1_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_CommaKeyword_1_2_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("args", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("args");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_2_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_2_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
-
- // ")"
- protected class Annotation_RightParenthesisKeyword_1_3 extends KeywordToken {
-
- public Annotation_RightParenthesisKeyword_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Annotation_Group_1_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new Annotation_ArgsAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
-
- /************ end Rule Annotation ****************/
-
-
- /************
- * begin Rule BlockStatement ****************
- *
- * BlockStatement:
- * block=Block;
- *
- **/
-
- // block=Block
- protected class BlockStatement_BlockAssignment extends AssignmentToken {
-
- public BlockStatement_BlockAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getBlockStatementAccess().getBlockAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBlockStatementRule().getType().getClassifier()) {
- return null;
- }
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getBlockStatementAccess().getBlockBlockParserRuleCall_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 BlockStatement ****************/
-
-
- /************
- * begin Rule EmptyStatement ****************
- *
- * EmptyStatement:
- * {EmptyStatement} ";";
- *
- **/
-
- // {EmptyStatement} ";"
- protected class EmptyStatement_Group extends GroupToken {
-
- public EmptyStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getEmptyStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EmptyStatement_SemicolonKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {EmptyStatement}
- protected class EmptyStatement_EmptyStatementAction_0 extends ActionToken {
-
- public EmptyStatement_EmptyStatementAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // ";"
- protected class EmptyStatement_SemicolonKeyword_1 extends KeywordToken {
-
- public EmptyStatement_SemicolonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getEmptyStatementAccess().getSemicolonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new EmptyStatement_EmptyStatementAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule EmptyStatement ****************/
-
-
- /************
- * begin Rule LocalNameDeclarationStatement ****************
- *
- * LocalNameDeclarationStatement:
- * "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? //'=' init = Expression ';'
- * "=" init=SequenceElement ";";
- *
- **/
-
- // "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? //'=' init = Expression ';'
- // "=" init=SequenceElement ";"
- protected class LocalNameDeclarationStatement_Group extends GroupToken {
-
- public LocalNameDeclarationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_SemicolonKeyword_7(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLocalNameDeclarationStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "let"
- protected class LocalNameDeclarationStatement_LetKeyword_0 extends KeywordToken {
-
- public LocalNameDeclarationStatement_LetKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getLetKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // varName=ID
- protected class LocalNameDeclarationStatement_VarNameAssignment_1 extends AssignmentToken {
-
- public LocalNameDeclarationStatement_VarNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_LetKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("varName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("varName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ":"
- protected class LocalNameDeclarationStatement_ColonKeyword_2 extends KeywordToken {
-
- public LocalNameDeclarationStatement_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getColonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_VarNameAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // type=QualifiedNameWithBinding
- protected class LocalNameDeclarationStatement_TypeAssignment_3 extends AssignmentToken {
-
- public LocalNameDeclarationStatement_TypeAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getTypeAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_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.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLocalNameDeclarationStatementAccess().getTypeQualifiedNameWithBindingParserRuleCall_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 LocalNameDeclarationStatement_ColonKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // (multiplicityIndicator?="[" "]")?
- protected class LocalNameDeclarationStatement_Group_4 extends GroupToken {
-
- public LocalNameDeclarationStatement_Group_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getGroup_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_RightSquareBracketKeyword_4_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // multiplicityIndicator?="["
- protected class LocalNameDeclarationStatement_MultiplicityIndicatorAssignment_4_0 extends AssignmentToken {
-
- public LocalNameDeclarationStatement_MultiplicityIndicatorAssignment_4_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorAssignment_4_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_TypeAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("multiplicityIndicator", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicityIndicator");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_4_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "]"
- protected class LocalNameDeclarationStatement_RightSquareBracketKeyword_4_1 extends KeywordToken {
-
- public LocalNameDeclarationStatement_RightSquareBracketKeyword_4_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getRightSquareBracketKeyword_4_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_MultiplicityIndicatorAssignment_4_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // //'=' init = Expression ';'
- // "="
- protected class LocalNameDeclarationStatement_EqualsSignKeyword_5 extends KeywordToken {
-
- public LocalNameDeclarationStatement_EqualsSignKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getEqualsSignKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_Group_4(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LocalNameDeclarationStatement_TypeAssignment_3(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // init=SequenceElement
- protected class LocalNameDeclarationStatement_InitAssignment_6 extends AssignmentToken {
-
- public LocalNameDeclarationStatement_InitAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getInitAssignment_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceElement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("init", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("init");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_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 LocalNameDeclarationStatement_EqualsSignKeyword_5(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ";"
- protected class LocalNameDeclarationStatement_SemicolonKeyword_7 extends KeywordToken {
-
- public LocalNameDeclarationStatement_SemicolonKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLocalNameDeclarationStatementAccess().getSemicolonKeyword_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LocalNameDeclarationStatement_InitAssignment_6(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule LocalNameDeclarationStatement ****************/
-
-
- /************
- * begin Rule IfStatement ****************
- *
- * IfStatement:
- * "if" sequentialClausses=SequentialClauses finalClause=FinalClause?;
- *
- **/
-
- // "if" sequentialClausses=SequentialClauses finalClause=FinalClause?
- protected class IfStatement_Group extends GroupToken {
-
- public IfStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getIfStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new IfStatement_FinalClauseAssignment_2(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new IfStatement_SequentialClaussesAssignment_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getIfStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "if"
- protected class IfStatement_IfKeyword_0 extends KeywordToken {
-
- public IfStatement_IfKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getIfStatementAccess().getIfKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // sequentialClausses=SequentialClauses
- protected class IfStatement_SequentialClaussesAssignment_1 extends AssignmentToken {
-
- public IfStatement_SequentialClaussesAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIfStatementAccess().getSequentialClaussesAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequentialClauses_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("sequentialClausses", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("sequentialClausses");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequentialClausesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getIfStatementAccess().getSequentialClaussesSequentialClausesParserRuleCall_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 IfStatement_IfKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // finalClause=FinalClause?
- protected class IfStatement_FinalClauseAssignment_2 extends AssignmentToken {
-
- public IfStatement_FinalClauseAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getIfStatementAccess().getFinalClauseAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FinalClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("finalClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("finalClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getFinalClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getIfStatementAccess().getFinalClauseFinalClauseParserRuleCall_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 IfStatement_SequentialClaussesAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule IfStatement ****************/
-
-
- /************
- * begin Rule SequentialClauses ****************
- *
- * SequentialClauses:
- * conccurentClauses+=ConcurrentClauses ("else" "if" conccurentClauses+=ConcurrentClauses)*;
- *
- **/
-
- // conccurentClauses+=ConcurrentClauses ("else" "if" conccurentClauses+=ConcurrentClauses)*
- protected class SequentialClauses_Group extends GroupToken {
-
- public SequentialClauses_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequentialClauses_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequentialClauses_ConccurentClausesAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSequentialClausesRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // conccurentClauses+=ConcurrentClauses
- protected class SequentialClauses_ConccurentClausesAssignment_0 extends AssignmentToken {
-
- public SequentialClauses_ConccurentClausesAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getConccurentClausesAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("conccurentClauses", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("conccurentClauses");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConcurrentClausesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_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);
- }
- }
- }
-
- // ("else" "if" conccurentClauses+=ConcurrentClauses)*
- protected class SequentialClauses_Group_1 extends GroupToken {
-
- public SequentialClauses_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequentialClauses_ConccurentClausesAssignment_1_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "else"
- protected class SequentialClauses_ElseKeyword_1_0 extends KeywordToken {
-
- public SequentialClauses_ElseKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getElseKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequentialClauses_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SequentialClauses_ConccurentClausesAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "if"
- protected class SequentialClauses_IfKeyword_1_1 extends KeywordToken {
-
- public SequentialClauses_IfKeyword_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getIfKeyword_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequentialClauses_ElseKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // conccurentClauses+=ConcurrentClauses
- protected class SequentialClauses_ConccurentClausesAssignment_1_2 extends AssignmentToken {
-
- public SequentialClauses_ConccurentClausesAssignment_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSequentialClausesAccess().getConccurentClausesAssignment_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("conccurentClauses", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("conccurentClauses");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getConcurrentClausesRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_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 SequentialClauses_IfKeyword_1_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule SequentialClauses ****************/
-
-
- /************
- * begin Rule ConcurrentClauses ****************
- *
- * ConcurrentClauses:
- * nonFinalClause+=NonFinalClause ("or" "if" nonFinalClause+=NonFinalClause)*;
- *
- **/
-
- // nonFinalClause+=NonFinalClause ("or" "if" nonFinalClause+=NonFinalClause)*
- protected class ConcurrentClauses_Group extends GroupToken {
-
- public ConcurrentClauses_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConcurrentClauses_NonFinalClauseAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getConcurrentClausesRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // nonFinalClause+=NonFinalClause
- protected class ConcurrentClauses_NonFinalClauseAssignment_0 extends AssignmentToken {
-
- public ConcurrentClauses_NonFinalClauseAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getNonFinalClauseAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonFinalClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("nonFinalClause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("nonFinalClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNonFinalClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_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);
- }
- }
- }
-
- // ("or" "if" nonFinalClause+=NonFinalClause)*
- protected class ConcurrentClauses_Group_1 extends GroupToken {
-
- public ConcurrentClauses_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_NonFinalClauseAssignment_1_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "or"
- protected class ConcurrentClauses_OrKeyword_1_0 extends KeywordToken {
-
- public ConcurrentClauses_OrKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getOrKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ConcurrentClauses_NonFinalClauseAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "if"
- protected class ConcurrentClauses_IfKeyword_1_1 extends KeywordToken {
-
- public ConcurrentClauses_IfKeyword_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getIfKeyword_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ConcurrentClauses_OrKeyword_1_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // nonFinalClause+=NonFinalClause
- protected class ConcurrentClauses_NonFinalClauseAssignment_1_2 extends AssignmentToken {
-
- public ConcurrentClauses_NonFinalClauseAssignment_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getConcurrentClausesAccess().getNonFinalClauseAssignment_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonFinalClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("nonFinalClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("nonFinalClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNonFinalClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_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 ConcurrentClauses_IfKeyword_1_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ConcurrentClauses ****************/
-
-
- /************
- * begin Rule NonFinalClause ****************
- *
- * NonFinalClause:
- * "(" condition=Expression ")" block=Block;
- *
- **/
-
- // "(" condition=Expression ")" block=Block
- protected class NonFinalClause_Group extends GroupToken {
-
- public NonFinalClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getNonFinalClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonFinalClause_BlockAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getNonFinalClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "("
- protected class NonFinalClause_LeftParenthesisKeyword_0 extends KeywordToken {
-
- public NonFinalClause_LeftParenthesisKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNonFinalClauseAccess().getLeftParenthesisKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // condition=Expression
- protected class NonFinalClause_ConditionAssignment_1 extends AssignmentToken {
-
- public NonFinalClause_ConditionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNonFinalClauseAccess().getConditionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("condition", true)) == 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.getNonFinalClauseAccess().getConditionExpressionParserRuleCall_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 NonFinalClause_LeftParenthesisKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class NonFinalClause_RightParenthesisKeyword_2 extends KeywordToken {
-
- public NonFinalClause_RightParenthesisKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getNonFinalClauseAccess().getRightParenthesisKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonFinalClause_ConditionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // block=Block
- protected class NonFinalClause_BlockAssignment_3 extends AssignmentToken {
-
- public NonFinalClause_BlockAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNonFinalClauseAccess().getBlockAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNonFinalClauseAccess().getBlockBlockParserRuleCall_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 NonFinalClause_RightParenthesisKeyword_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule NonFinalClause ****************/
-
-
- /************
- * begin Rule FinalClause ****************
- *
- * FinalClause:
- * "else" block=Block;
- *
- **/
-
- // "else" block=Block
- protected class FinalClause_Group extends GroupToken {
-
- public FinalClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getFinalClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new FinalClause_BlockAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getFinalClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "else"
- protected class FinalClause_ElseKeyword_0 extends KeywordToken {
-
- public FinalClause_ElseKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getFinalClauseAccess().getElseKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // block=Block
- protected class FinalClause_BlockAssignment_1 extends AssignmentToken {
-
- public FinalClause_BlockAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getFinalClauseAccess().getBlockAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getFinalClauseAccess().getBlockBlockParserRuleCall_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 FinalClause_ElseKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule FinalClause ****************/
-
-
- /************
- * begin Rule SwitchStatement ****************
- *
- * SwitchStatement:
- * "switch" "(" expression=Expression ")" "{" switchClause+=SwitchClause* defaultClause=SwitchDefaultClause? "}";
- *
- **/
-
- // "switch" "(" expression=Expression ")" "{" switchClause+=SwitchClause* defaultClause=SwitchDefaultClause? "}"
- protected class SwitchStatement_Group extends GroupToken {
-
- public SwitchStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_RightCurlyBracketKeyword_7(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSwitchStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "switch"
- protected class SwitchStatement_SwitchKeyword_0 extends KeywordToken {
-
- public SwitchStatement_SwitchKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getSwitchKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "("
- protected class SwitchStatement_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public SwitchStatement_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_SwitchKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expression=Expression
- protected class SwitchStatement_ExpressionAssignment_2 extends AssignmentToken {
-
- public SwitchStatement_ExpressionAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getExpressionAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getSwitchStatementAccess().getExpressionExpressionParserRuleCall_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 SwitchStatement_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class SwitchStatement_RightParenthesisKeyword_3 extends KeywordToken {
-
- public SwitchStatement_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_ExpressionAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "{"
- protected class SwitchStatement_LeftCurlyBracketKeyword_4 extends KeywordToken {
-
- public SwitchStatement_LeftCurlyBracketKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getLeftCurlyBracketKeyword_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_RightParenthesisKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // switchClause+=SwitchClause*
- protected class SwitchStatement_SwitchClauseAssignment_5 extends AssignmentToken {
-
- public SwitchStatement_SwitchClauseAssignment_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getSwitchClauseAssignment_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("switchClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("switchClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSwitchClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchStatementAccess().getSwitchClauseSwitchClauseParserRuleCall_5_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 SwitchStatement_SwitchClauseAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new SwitchStatement_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // defaultClause=SwitchDefaultClause?
- protected class SwitchStatement_DefaultClauseAssignment_6 extends AssignmentToken {
-
- public SwitchStatement_DefaultClauseAssignment_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getDefaultClauseAssignment_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchDefaultClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("defaultClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("defaultClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSwitchDefaultClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchStatementAccess().getDefaultClauseSwitchDefaultClauseParserRuleCall_6_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 SwitchStatement_SwitchClauseAssignment_5(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new SwitchStatement_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "}"
- protected class SwitchStatement_RightCurlyBracketKeyword_7 extends KeywordToken {
-
- public SwitchStatement_RightCurlyBracketKeyword_7(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchStatementAccess().getRightCurlyBracketKeyword_7();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchStatement_DefaultClauseAssignment_6(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new SwitchStatement_SwitchClauseAssignment_5(lastRuleCallOrigin, this, 1, inst);
- case 2:
- return new SwitchStatement_LeftCurlyBracketKeyword_4(lastRuleCallOrigin, this, 2, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule SwitchStatement ****************/
-
-
- /************
- * begin Rule SwitchClause ****************
- *
- * SwitchClause:
- * switchCase+=SwitchCase switchCase+=SwitchCase* statementSequence=NonEmptyStatementSequence;
- *
- **/
-
- // switchCase+=SwitchCase switchCase+=SwitchCase* statementSequence=NonEmptyStatementSequence
- protected class SwitchClause_Group extends GroupToken {
-
- public SwitchClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSwitchClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchClause_StatementSequenceAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSwitchClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // switchCase+=SwitchCase
- protected class SwitchClause_SwitchCaseAssignment_0 extends AssignmentToken {
-
- public SwitchClause_SwitchCaseAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchClauseAccess().getSwitchCaseAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchCase_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("switchCase", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("switchCase");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSwitchCaseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_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);
- }
- }
- }
-
- // switchCase+=SwitchCase*
- protected class SwitchClause_SwitchCaseAssignment_1 extends AssignmentToken {
-
- public SwitchClause_SwitchCaseAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchClauseAccess().getSwitchCaseAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchCase_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("switchCase", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("switchCase");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSwitchCaseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_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 SwitchClause_SwitchCaseAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new SwitchClause_SwitchCaseAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // statementSequence=NonEmptyStatementSequence
- protected class SwitchClause_StatementSequenceAssignment_2 extends AssignmentToken {
-
- public SwitchClause_StatementSequenceAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchClauseAccess().getStatementSequenceAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonEmptyStatementSequence_StatementAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statementSequence", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statementSequence");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNonEmptyStatementSequenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_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 SwitchClause_SwitchCaseAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new SwitchClause_SwitchCaseAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule SwitchClause ****************/
-
-
- /************
- * begin Rule SwitchCase ****************
- *
- * SwitchCase:
- * "case" expression=Expression ":";
- *
- **/
-
- // "case" expression=Expression ":"
- protected class SwitchCase_Group extends GroupToken {
-
- public SwitchCase_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSwitchCaseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchCase_ColonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSwitchCaseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "case"
- protected class SwitchCase_CaseKeyword_0 extends KeywordToken {
-
- public SwitchCase_CaseKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchCaseAccess().getCaseKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // expression=Expression
- protected class SwitchCase_ExpressionAssignment_1 extends AssignmentToken {
-
- public SwitchCase_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchCaseAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getSwitchCaseAccess().getExpressionExpressionParserRuleCall_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 SwitchCase_CaseKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ":"
- protected class SwitchCase_ColonKeyword_2 extends KeywordToken {
-
- public SwitchCase_ColonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchCaseAccess().getColonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchCase_ExpressionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule SwitchCase ****************/
-
-
- /************
- * begin Rule SwitchDefaultClause ****************
- *
- * SwitchDefaultClause:
- * "default" ":" statementSequence=NonEmptyStatementSequence;
- *
- **/
-
- // "default" ":" statementSequence=NonEmptyStatementSequence
- protected class SwitchDefaultClause_Group extends GroupToken {
-
- public SwitchDefaultClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSwitchDefaultClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchDefaultClause_StatementSequenceAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSwitchDefaultClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "default"
- protected class SwitchDefaultClause_DefaultKeyword_0 extends KeywordToken {
-
- public SwitchDefaultClause_DefaultKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchDefaultClauseAccess().getDefaultKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // ":"
- protected class SwitchDefaultClause_ColonKeyword_1 extends KeywordToken {
-
- public SwitchDefaultClause_ColonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSwitchDefaultClauseAccess().getColonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SwitchDefaultClause_DefaultKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // statementSequence=NonEmptyStatementSequence
- protected class SwitchDefaultClause_StatementSequenceAssignment_2 extends AssignmentToken {
-
- public SwitchDefaultClause_StatementSequenceAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NonEmptyStatementSequence_StatementAssignment(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statementSequence", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statementSequence");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNonEmptyStatementSequenceRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_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 SwitchDefaultClause_ColonKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule SwitchDefaultClause ****************/
-
-
- /************
- * begin Rule NonEmptyStatementSequence ****************
- *
- * NonEmptyStatementSequence:
- * statement+=DocumentedStatement+;
- *
- **/
-
- // statement+=DocumentedStatement+
- protected class NonEmptyStatementSequence_StatementAssignment extends AssignmentToken {
-
- public NonEmptyStatementSequence_StatementAssignment(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getNonEmptyStatementSequenceAccess().getStatementAssignment();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DocumentedStatement_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("statement", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("statement");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getDocumentedStatementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getNonEmptyStatementSequenceAccess().getStatementDocumentedStatementParserRuleCall_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 NonEmptyStatementSequence_StatementAssignment(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
- /************ end Rule NonEmptyStatementSequence ****************/
-
-
- /************
- * begin Rule WhileStatement ****************
- *
- * / * WHILE STATEMENTS * / WhileStatement:
- * "while" "(" condition=Expression ")" block=Block;
- *
- **/
-
- // "while" "(" condition=Expression ")" block=Block
- protected class WhileStatement_Group extends GroupToken {
-
- public WhileStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new WhileStatement_BlockAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getWhileStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "while"
- protected class WhileStatement_WhileKeyword_0 extends KeywordToken {
-
- public WhileStatement_WhileKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getWhileKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "("
- protected class WhileStatement_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public WhileStatement_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new WhileStatement_WhileKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // condition=Expression
- protected class WhileStatement_ConditionAssignment_2 extends AssignmentToken {
-
- public WhileStatement_ConditionAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getConditionAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("condition", true)) == 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.getWhileStatementAccess().getConditionExpressionParserRuleCall_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 WhileStatement_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class WhileStatement_RightParenthesisKeyword_3 extends KeywordToken {
-
- public WhileStatement_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new WhileStatement_ConditionAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // block=Block
- protected class WhileStatement_BlockAssignment_4 extends AssignmentToken {
-
- public WhileStatement_BlockAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getWhileStatementAccess().getBlockAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getWhileStatementAccess().getBlockBlockParserRuleCall_4_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 WhileStatement_RightParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule WhileStatement ****************/
-
-
- /************
- * begin Rule DoStatement ****************
- *
- * / * DO STATEMENTS * / DoStatement:
- * "do" block=Block "while" "(" condition=Expression ")" ";";
- *
- **/
-
- // "do" block=Block "while" "(" condition=Expression ")" ";"
- protected class DoStatement_Group extends GroupToken {
-
- public DoStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_SemicolonKeyword_6(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getDoStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "do"
- protected class DoStatement_DoKeyword_0 extends KeywordToken {
-
- public DoStatement_DoKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getDoKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // block=Block
- protected class DoStatement_BlockAssignment_1 extends AssignmentToken {
-
- public DoStatement_BlockAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getBlockAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getDoStatementAccess().getBlockBlockParserRuleCall_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 DoStatement_DoKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // "while"
- protected class DoStatement_WhileKeyword_2 extends KeywordToken {
-
- public DoStatement_WhileKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getWhileKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_BlockAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "("
- protected class DoStatement_LeftParenthesisKeyword_3 extends KeywordToken {
-
- public DoStatement_LeftParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getLeftParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_WhileKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // condition=Expression
- protected class DoStatement_ConditionAssignment_4 extends AssignmentToken {
-
- public DoStatement_ConditionAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getConditionAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("condition", true)) == 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.getDoStatementAccess().getConditionExpressionParserRuleCall_4_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 DoStatement_LeftParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class DoStatement_RightParenthesisKeyword_5 extends KeywordToken {
-
- public DoStatement_RightParenthesisKeyword_5(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getRightParenthesisKeyword_5();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_ConditionAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ";"
- protected class DoStatement_SemicolonKeyword_6 extends KeywordToken {
-
- public DoStatement_SemicolonKeyword_6(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getDoStatementAccess().getSemicolonKeyword_6();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new DoStatement_RightParenthesisKeyword_5(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule DoStatement ****************/
-
-
- /************
- * begin Rule ForStatement ****************
- *
- * / * FOR STATEMENTS * / ForStatement:
- * "for" "(" control=ForControl ")" block=Block;
- *
- **/
-
- // "for" "(" control=ForControl ")" block=Block
- protected class ForStatement_Group extends GroupToken {
-
- public ForStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getForStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForStatement_BlockAssignment_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getForStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "for"
- protected class ForStatement_ForKeyword_0 extends KeywordToken {
-
- public ForStatement_ForKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForStatementAccess().getForKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "("
- protected class ForStatement_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public ForStatement_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForStatementAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForStatement_ForKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // control=ForControl
- protected class ForStatement_ControlAssignment_2 extends AssignmentToken {
-
- public ForStatement_ControlAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForStatementAccess().getControlAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForControl_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("control", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("control");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getForControlRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getForStatementAccess().getControlForControlParserRuleCall_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 ForStatement_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class ForStatement_RightParenthesisKeyword_3 extends KeywordToken {
-
- public ForStatement_RightParenthesisKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForStatementAccess().getRightParenthesisKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForStatement_ControlAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // block=Block
- protected class ForStatement_BlockAssignment_4 extends AssignmentToken {
-
- public ForStatement_BlockAssignment_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForStatementAccess().getBlockAssignment_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getForStatementAccess().getBlockBlockParserRuleCall_4_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 ForStatement_RightParenthesisKeyword_3(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ForStatement ****************/
-
-
- /************
- * begin Rule ForControl ****************
- *
- * ForControl:
- * loopVariableDefinition+=LoopVariableDefinition ("," loopVariableDefinition+=LoopVariableDefinition)*;
- *
- **/
-
- // loopVariableDefinition+=LoopVariableDefinition ("," loopVariableDefinition+=LoopVariableDefinition)*
- protected class ForControl_Group extends GroupToken {
-
- public ForControl_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getForControlAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForControl_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ForControl_LoopVariableDefinitionAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getForControlRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // loopVariableDefinition+=LoopVariableDefinition
- protected class ForControl_LoopVariableDefinitionAssignment_0 extends AssignmentToken {
-
- public ForControl_LoopVariableDefinitionAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForControlAccess().getLoopVariableDefinitionAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("loopVariableDefinition", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("loopVariableDefinition");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getLoopVariableDefinitionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_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);
- }
- }
- }
-
- // ("," loopVariableDefinition+=LoopVariableDefinition)*
- protected class ForControl_Group_1 extends GroupToken {
-
- public ForControl_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getForControlAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForControl_LoopVariableDefinitionAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class ForControl_CommaKeyword_1_0 extends KeywordToken {
-
- public ForControl_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getForControlAccess().getCommaKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ForControl_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ForControl_LoopVariableDefinitionAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // loopVariableDefinition+=LoopVariableDefinition
- protected class ForControl_LoopVariableDefinitionAssignment_1_1 extends AssignmentToken {
-
- public ForControl_LoopVariableDefinitionAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getForControlAccess().getLoopVariableDefinitionAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("loopVariableDefinition", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("loopVariableDefinition");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getLoopVariableDefinitionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_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 ForControl_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule ForControl ****************/
-
-
- /************
- * begin Rule LoopVariableDefinition ****************
- *
- * LoopVariableDefinition:
- * name=ID "in" expression1=Expression (".." expression2=Expression)? | type=QualifiedNameWithBinding name=ID ":"
- * expression=Expression;
- *
- **/
-
- // name=ID "in" expression1=Expression (".." expression2=Expression)? | type=QualifiedNameWithBinding name=ID ":"
- // expression=Expression
- protected class LoopVariableDefinition_Alternatives extends AlternativesToken {
-
- public LoopVariableDefinition_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Group_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LoopVariableDefinition_Group_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getLoopVariableDefinitionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // name=ID "in" expression1=Expression (".." expression2=Expression)?
- protected class LoopVariableDefinition_Group_0 extends GroupToken {
-
- public LoopVariableDefinition_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Group_0_3(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new LoopVariableDefinition_Expression1Assignment_0_2(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // name=ID
- protected class LoopVariableDefinition_NameAssignment_0_0 extends AssignmentToken {
-
- public LoopVariableDefinition_NameAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getNameAssignment_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("name", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_0_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_0_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "in"
- protected class LoopVariableDefinition_InKeyword_0_1 extends KeywordToken {
-
- public LoopVariableDefinition_InKeyword_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getInKeyword_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_NameAssignment_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expression1=Expression
- protected class LoopVariableDefinition_Expression1Assignment_0_2 extends AssignmentToken {
-
- public LoopVariableDefinition_Expression1Assignment_0_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getExpression1Assignment_0_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression1", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression1");
- 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.getLoopVariableDefinitionAccess().getExpression1ExpressionParserRuleCall_0_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 LoopVariableDefinition_InKeyword_0_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // (".." expression2=Expression)?
- protected class LoopVariableDefinition_Group_0_3 extends GroupToken {
-
- public LoopVariableDefinition_Group_0_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getGroup_0_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Expression2Assignment_0_3_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ".."
- protected class LoopVariableDefinition_FullStopFullStopKeyword_0_3_0 extends KeywordToken {
-
- public LoopVariableDefinition_FullStopFullStopKeyword_0_3_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getFullStopFullStopKeyword_0_3_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_Expression1Assignment_0_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expression2=Expression
- protected class LoopVariableDefinition_Expression2Assignment_0_3_1 extends AssignmentToken {
-
- public LoopVariableDefinition_Expression2Assignment_0_3_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getExpression2Assignment_0_3_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression2", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression2");
- 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.getLoopVariableDefinitionAccess().getExpression2ExpressionParserRuleCall_0_3_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 LoopVariableDefinition_FullStopFullStopKeyword_0_3_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- // type=QualifiedNameWithBinding name=ID ":" expression=Expression
- protected class LoopVariableDefinition_Group_1 extends GroupToken {
-
- public LoopVariableDefinition_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_ExpressionAssignment_1_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // type=QualifiedNameWithBinding
- protected class LoopVariableDefinition_TypeAssignment_1_0 extends AssignmentToken {
-
- public LoopVariableDefinition_TypeAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getTypeAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_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.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getLoopVariableDefinitionAccess().getTypeQualifiedNameWithBindingParserRuleCall_1_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);
- }
- }
- }
-
- // name=ID
- protected class LoopVariableDefinition_NameAssignment_1_1 extends AssignmentToken {
-
- public LoopVariableDefinition_NameAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getNameAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_TypeAssignment_1_0(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.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_1_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_1_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ":"
- protected class LoopVariableDefinition_ColonKeyword_1_2 extends KeywordToken {
-
- public LoopVariableDefinition_ColonKeyword_1_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getColonKeyword_1_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new LoopVariableDefinition_NameAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // expression=Expression
- protected class LoopVariableDefinition_ExpressionAssignment_1_3 extends AssignmentToken {
-
- public LoopVariableDefinition_ExpressionAssignment_1_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getLoopVariableDefinitionAccess().getExpressionAssignment_1_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getLoopVariableDefinitionAccess().getExpressionExpressionParserRuleCall_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 LoopVariableDefinition_ColonKeyword_1_2(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule LoopVariableDefinition ****************/
-
-
- /************
- * begin Rule BreakStatement ****************
- *
- * / * BREAK STATEMENTS * / BreakStatement:
- * {BreakStatement} "break" ";";
- *
- **/
-
- // {BreakStatement} "break" ";"
- protected class BreakStatement_Group extends GroupToken {
-
- public BreakStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getBreakStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BreakStatement_SemicolonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getBreakStatementAccess().getBreakStatementAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {BreakStatement}
- protected class BreakStatement_BreakStatementAction_0 extends ActionToken {
-
- public BreakStatement_BreakStatementAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getBreakStatementAccess().getBreakStatementAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "break"
- protected class BreakStatement_BreakKeyword_1 extends KeywordToken {
-
- public BreakStatement_BreakKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getBreakStatementAccess().getBreakKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BreakStatement_BreakStatementAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ";"
- protected class BreakStatement_SemicolonKeyword_2 extends KeywordToken {
-
- public BreakStatement_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getBreakStatementAccess().getSemicolonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new BreakStatement_BreakKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule BreakStatement ****************/
-
-
- /************
- * begin Rule ReturnStatement ****************
- *
- * / * RETURN STATEMENTS * / ReturnStatement:
- * "return" expression=Expression ";";
- *
- **/
-
- // "return" expression=Expression ";"
- protected class ReturnStatement_Group extends GroupToken {
-
- public ReturnStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getReturnStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReturnStatement_SemicolonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getReturnStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "return"
- protected class ReturnStatement_ReturnKeyword_0 extends KeywordToken {
-
- public ReturnStatement_ReturnKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getReturnStatementAccess().getReturnKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // expression=Expression
- protected class ReturnStatement_ExpressionAssignment_1 extends AssignmentToken {
-
- public ReturnStatement_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getReturnStatementAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getReturnStatementAccess().getExpressionExpressionParserRuleCall_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 ReturnStatement_ReturnKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ";"
- protected class ReturnStatement_SemicolonKeyword_2 extends KeywordToken {
-
- public ReturnStatement_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getReturnStatementAccess().getSemicolonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReturnStatement_ExpressionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule ReturnStatement ****************/
-
-
- /************
- * begin Rule AcceptStatement ****************
- *
- * / * ACCEPT STATEMENTS * / AcceptStatement:
- * clause=AcceptClause (simpleAccept=SimpleAcceptStatementCompletion | compoundAccept=CompoundAcceptStatementCompletion);
- *
- **/
-
- // clause=AcceptClause (simpleAccept=SimpleAcceptStatementCompletion | compoundAccept=CompoundAcceptStatementCompletion)
- protected class AcceptStatement_Group extends GroupToken {
-
- public AcceptStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAcceptStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptStatement_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAcceptStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // clause=AcceptClause
- protected class AcceptStatement_ClauseAssignment_0 extends AssignmentToken {
-
- public AcceptStatement_ClauseAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptStatementAccess().getClauseAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("clause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("clause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAcceptClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptStatementAccess().getClauseAcceptClauseParserRuleCall_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);
- }
- }
- }
-
- // simpleAccept=SimpleAcceptStatementCompletion | compoundAccept=CompoundAcceptStatementCompletion
- protected class AcceptStatement_Alternatives_1 extends AlternativesToken {
-
- public AcceptStatement_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getAcceptStatementAccess().getAlternatives_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptStatement_SimpleAcceptAssignment_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new AcceptStatement_CompoundAcceptAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // simpleAccept=SimpleAcceptStatementCompletion
- protected class AcceptStatement_SimpleAcceptAssignment_1_0 extends AssignmentToken {
-
- public AcceptStatement_SimpleAcceptAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptStatementAccess().getSimpleAcceptAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SimpleAcceptStatementCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("simpleAccept", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("simpleAccept");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSimpleAcceptStatementCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptStatementAccess().getSimpleAcceptSimpleAcceptStatementCompletionParserRuleCall_1_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) {
- case 0:
- return new AcceptStatement_ClauseAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // compoundAccept=CompoundAcceptStatementCompletion
- protected class AcceptStatement_CompoundAcceptAssignment_1_1 extends AssignmentToken {
-
- public AcceptStatement_CompoundAcceptAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptStatementAccess().getCompoundAcceptAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CompoundAcceptStatementCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("compoundAccept", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("compoundAccept");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getCompoundAcceptStatementCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptStatementAccess().getCompoundAcceptCompoundAcceptStatementCompletionParserRuleCall_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 AcceptStatement_ClauseAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule AcceptStatement ****************/
-
-
- /************
- * begin Rule SimpleAcceptStatementCompletion ****************
- *
- * SimpleAcceptStatementCompletion:
- * {SimpleAcceptStatementCompletion} ";";
- *
- **/
-
- // {SimpleAcceptStatementCompletion} ";"
- protected class SimpleAcceptStatementCompletion_Group extends GroupToken {
-
- public SimpleAcceptStatementCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSimpleAcceptStatementCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SimpleAcceptStatementCompletion_SemicolonKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSimpleAcceptStatementCompletionAccess().getSimpleAcceptStatementCompletionAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {SimpleAcceptStatementCompletion}
- protected class SimpleAcceptStatementCompletion_SimpleAcceptStatementCompletionAction_0 extends ActionToken {
-
- public SimpleAcceptStatementCompletion_SimpleAcceptStatementCompletionAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getSimpleAcceptStatementCompletionAccess().getSimpleAcceptStatementCompletionAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // ";"
- protected class SimpleAcceptStatementCompletion_SemicolonKeyword_1 extends KeywordToken {
-
- public SimpleAcceptStatementCompletion_SemicolonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSimpleAcceptStatementCompletionAccess().getSemicolonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SimpleAcceptStatementCompletion_SimpleAcceptStatementCompletionAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule SimpleAcceptStatementCompletion ****************/
-
-
- /************
- * begin Rule CompoundAcceptStatementCompletion ****************
- *
- * CompoundAcceptStatementCompletion:
- * block=Block ("or" acceptBlock+=AcceptBlock)*;
- *
- **/
-
- // block=Block ("or" acceptBlock+=AcceptBlock)*
- protected class CompoundAcceptStatementCompletion_Group extends GroupToken {
-
- public CompoundAcceptStatementCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CompoundAcceptStatementCompletion_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new CompoundAcceptStatementCompletion_BlockAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getCompoundAcceptStatementCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // block=Block
- protected class CompoundAcceptStatementCompletion_BlockAssignment_0 extends AssignmentToken {
-
- public CompoundAcceptStatementCompletion_BlockAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockBlockParserRuleCall_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);
- }
- }
- }
-
- // ("or" acceptBlock+=AcceptBlock)*
- protected class CompoundAcceptStatementCompletion_Group_1 extends GroupToken {
-
- public CompoundAcceptStatementCompletion_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getCompoundAcceptStatementCompletionAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CompoundAcceptStatementCompletion_AcceptBlockAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "or"
- protected class CompoundAcceptStatementCompletion_OrKeyword_1_0 extends KeywordToken {
-
- public CompoundAcceptStatementCompletion_OrKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getCompoundAcceptStatementCompletionAccess().getOrKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new CompoundAcceptStatementCompletion_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new CompoundAcceptStatementCompletion_BlockAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // acceptBlock+=AcceptBlock
- protected class CompoundAcceptStatementCompletion_AcceptBlockAssignment_1_1 extends AssignmentToken {
-
- public CompoundAcceptStatementCompletion_AcceptBlockAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptBlock_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("acceptBlock", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("acceptBlock");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAcceptBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAcceptBlockParserRuleCall_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 CompoundAcceptStatementCompletion_OrKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule CompoundAcceptStatementCompletion ****************/
-
-
- /************
- * begin Rule AcceptBlock ****************
- *
- * AcceptBlock:
- * clause=AcceptClause block=Block;
- *
- **/
-
- // clause=AcceptClause block=Block
- protected class AcceptBlock_Group extends GroupToken {
-
- public AcceptBlock_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAcceptBlockAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptBlock_BlockAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAcceptBlockRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // clause=AcceptClause
- protected class AcceptBlock_ClauseAssignment_0 extends AssignmentToken {
-
- public AcceptBlock_ClauseAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptBlockAccess().getClauseAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("clause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("clause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAcceptClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptBlockAccess().getClauseAcceptClauseParserRuleCall_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);
- }
- }
- }
-
- // block=Block
- protected class AcceptBlock_BlockAssignment_1 extends AssignmentToken {
-
- public AcceptBlock_BlockAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptBlockAccess().getBlockAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Block_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("block", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("block");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getBlockRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptBlockAccess().getBlockBlockParserRuleCall_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 AcceptBlock_ClauseAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule AcceptBlock ****************/
-
-
- /************
- * begin Rule AcceptClause ****************
- *
- * AcceptClause:
- * "accept" "(" (name=ID ":")? qualifiedNameList=QualifiedNameList ")";
- *
- **/
-
- // "accept" "(" (name=ID ":")? qualifiedNameList=QualifiedNameList ")"
- protected class AcceptClause_Group extends GroupToken {
-
- public AcceptClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_RightParenthesisKeyword_4(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAcceptClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "accept"
- protected class AcceptClause_AcceptKeyword_0 extends KeywordToken {
-
- public AcceptClause_AcceptKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getAcceptKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // "("
- protected class AcceptClause_LeftParenthesisKeyword_1 extends KeywordToken {
-
- public AcceptClause_LeftParenthesisKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getLeftParenthesisKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_AcceptKeyword_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // (name=ID ":")?
- protected class AcceptClause_Group_2 extends GroupToken {
-
- public AcceptClause_Group_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getGroup_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_ColonKeyword_2_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // name=ID
- protected class AcceptClause_NameAssignment_2_0 extends AssignmentToken {
-
- public AcceptClause_NameAssignment_2_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getNameAssignment_2_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_LeftParenthesisKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("name", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("name");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getAcceptClauseAccess().getNameIDTerminalRuleCall_2_0_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getAcceptClauseAccess().getNameIDTerminalRuleCall_2_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // ":"
- protected class AcceptClause_ColonKeyword_2_1 extends KeywordToken {
-
- public AcceptClause_ColonKeyword_2_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getColonKeyword_2_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_NameAssignment_2_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // qualifiedNameList=QualifiedNameList
- protected class AcceptClause_QualifiedNameListAssignment_3 extends AssignmentToken {
-
- public AcceptClause_QualifiedNameListAssignment_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getQualifiedNameListAssignment_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedNameList", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedNameList");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameListRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAcceptClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_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 AcceptClause_Group_2(lastRuleCallOrigin, next, actIndex, consumed);
- case 1:
- return new AcceptClause_LeftParenthesisKeyword_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ")"
- protected class AcceptClause_RightParenthesisKeyword_4 extends KeywordToken {
-
- public AcceptClause_RightParenthesisKeyword_4(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getAcceptClauseAccess().getRightParenthesisKeyword_4();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AcceptClause_QualifiedNameListAssignment_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule AcceptClause ****************/
-
-
- /************
- * begin Rule ClassifyStatement ****************
- *
- * / * CLASSIFY STATEMENTS * / ClassifyStatement:
- * "classify" expression=Expression clause=ClassificationClause ";";
- *
- **/
-
- // "classify" expression=Expression clause=ClassificationClause ";"
- protected class ClassifyStatement_Group extends GroupToken {
-
- public ClassifyStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassifyStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassifyStatement_SemicolonKeyword_3(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassifyStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "classify"
- protected class ClassifyStatement_ClassifyKeyword_0 extends KeywordToken {
-
- public ClassifyStatement_ClassifyKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassifyStatementAccess().getClassifyKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // expression=Expression
- protected class ClassifyStatement_ExpressionAssignment_1 extends AssignmentToken {
-
- public ClassifyStatement_ExpressionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassifyStatementAccess().getExpressionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new Expression_ConditionalTestExpressionParserRuleCall(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("expression", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("expression");
- 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.getClassifyStatementAccess().getExpressionExpressionParserRuleCall_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 ClassifyStatement_ClassifyKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // clause=ClassificationClause
- protected class ClassifyStatement_ClauseAssignment_2 extends AssignmentToken {
-
- public ClassifyStatement_ClauseAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassifyStatementAccess().getClauseAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationClause_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("clause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("clause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getClassificationClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassifyStatementAccess().getClauseClassificationClauseParserRuleCall_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 ClassifyStatement_ExpressionAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ";"
- protected class ClassifyStatement_SemicolonKeyword_3 extends KeywordToken {
-
- public ClassifyStatement_SemicolonKeyword_3(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassifyStatementAccess().getSemicolonKeyword_3();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassifyStatement_ClauseAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule ClassifyStatement ****************/
-
-
- /************
- * begin Rule ClassificationClause ****************
- *
- * ClassificationClause:
- * classifyFromClause=ClassificationFromClause classifyToClause=ClassificationToClause? |
- * reclassyAllClause=ReclassifyAllClause? classifyToClause=ClassificationToClause;
- *
- **/
-
- // classifyFromClause=ClassificationFromClause classifyToClause=ClassificationToClause? |
- // reclassyAllClause=ReclassifyAllClause? classifyToClause=ClassificationToClause
- protected class ClassificationClause_Alternatives extends AlternativesToken {
-
- public ClassificationClause_Alternatives(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getAlternatives();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationClause_Group_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ClassificationClause_Group_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassificationClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // classifyFromClause=ClassificationFromClause classifyToClause=ClassificationToClause?
- protected class ClassificationClause_Group_0 extends GroupToken {
-
- public ClassificationClause_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationClause_ClassifyToClauseAssignment_0_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ClassificationClause_ClassifyFromClauseAssignment_0_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // classifyFromClause=ClassificationFromClause
- protected class ClassificationClause_ClassifyFromClauseAssignment_0_0 extends AssignmentToken {
-
- public ClassificationClause_ClassifyFromClauseAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getClassifyFromClauseAssignment_0_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationFromClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("classifyFromClause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("classifyFromClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getClassificationFromClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationClauseAccess().getClassifyFromClauseClassificationFromClauseParserRuleCall_0_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);
- }
- }
- }
-
- // classifyToClause=ClassificationToClause?
- protected class ClassificationClause_ClassifyToClauseAssignment_0_1 extends AssignmentToken {
-
- public ClassificationClause_ClassifyToClauseAssignment_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getClassifyToClauseAssignment_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationToClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("classifyToClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("classifyToClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getClassificationToClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_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 ClassificationClause_ClassifyFromClauseAssignment_0_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // reclassyAllClause=ReclassifyAllClause? classifyToClause=ClassificationToClause
- protected class ClassificationClause_Group_1 extends GroupToken {
-
- public ClassificationClause_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationClause_ClassifyToClauseAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // reclassyAllClause=ReclassifyAllClause?
- protected class ClassificationClause_ReclassyAllClauseAssignment_1_0 extends AssignmentToken {
-
- public ClassificationClause_ReclassyAllClauseAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getReclassyAllClauseAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReclassifyAllClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("reclassyAllClause", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("reclassyAllClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getReclassifyAllClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationClauseAccess().getReclassyAllClauseReclassifyAllClauseParserRuleCall_1_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);
- }
- }
- }
-
- // classifyToClause=ClassificationToClause
- protected class ClassificationClause_ClassifyToClauseAssignment_1_1 extends AssignmentToken {
-
- public ClassificationClause_ClassifyToClauseAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationClauseAccess().getClassifyToClauseAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationToClause_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("classifyToClause", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("classifyToClause");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getClassificationToClauseRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_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 ClassificationClause_ReclassyAllClauseAssignment_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(next, actIndex, index - 1, consumed);
- }
- }
- }
-
-
-
- /************ end Rule ClassificationClause ****************/
-
-
- /************
- * begin Rule ClassificationFromClause ****************
- *
- * ClassificationFromClause:
- * "from" qualifiedNameList=QualifiedNameList;
- *
- **/
-
- // "from" qualifiedNameList=QualifiedNameList
- protected class ClassificationFromClause_Group extends GroupToken {
-
- public ClassificationFromClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationFromClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationFromClause_QualifiedNameListAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassificationFromClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "from"
- protected class ClassificationFromClause_FromKeyword_0 extends KeywordToken {
-
- public ClassificationFromClause_FromKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassificationFromClauseAccess().getFromKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // qualifiedNameList=QualifiedNameList
- protected class ClassificationFromClause_QualifiedNameListAssignment_1 extends AssignmentToken {
-
- public ClassificationFromClause_QualifiedNameListAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedNameList", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedNameList");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameListRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_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 ClassificationFromClause_FromKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ClassificationFromClause ****************/
-
-
- /************
- * begin Rule ClassificationToClause ****************
- *
- * ClassificationToClause:
- * "to" qualifiedNameList=QualifiedNameList;
- *
- **/
-
- // "to" qualifiedNameList=QualifiedNameList
- protected class ClassificationToClause_Group extends GroupToken {
-
- public ClassificationToClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getClassificationToClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ClassificationToClause_QualifiedNameListAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getClassificationToClauseRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // "to"
- protected class ClassificationToClause_ToKeyword_0 extends KeywordToken {
-
- public ClassificationToClause_ToKeyword_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getClassificationToClauseAccess().getToKeyword_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- }
-
- // qualifiedNameList=QualifiedNameList
- protected class ClassificationToClause_QualifiedNameListAssignment_1 extends AssignmentToken {
-
- public ClassificationToClause_QualifiedNameListAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getClassificationToClauseAccess().getQualifiedNameListAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedNameList", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedNameList");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameListRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getClassificationToClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_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 ClassificationToClause_ToKeyword_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule ClassificationToClause ****************/
-
-
- /************
- * begin Rule ReclassifyAllClause ****************
- *
- * ReclassifyAllClause:
- * {ReclassifyAllClause} "from" "*";
- *
- **/
-
- // {ReclassifyAllClause} "from" "*"
- protected class ReclassifyAllClause_Group extends GroupToken {
-
- public ReclassifyAllClause_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getReclassifyAllClauseAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReclassifyAllClause_AsteriskKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getReclassifyAllClauseAccess().getReclassifyAllClauseAction_0().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // {ReclassifyAllClause}
- protected class ReclassifyAllClause_ReclassifyAllClauseAction_0 extends ActionToken {
-
- public ReclassifyAllClause_ReclassifyAllClauseAction_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Action getGrammarElement() {
- return grammarAccess.getReclassifyAllClauseAccess().getReclassifyAllClauseAction_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (!eObjectConsumer.isConsumed()) {
- return null;
- }
- return eObjectConsumer;
- }
- }
-
- // "from"
- protected class ReclassifyAllClause_FromKeyword_1 extends KeywordToken {
-
- public ReclassifyAllClause_FromKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getReclassifyAllClauseAccess().getFromKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReclassifyAllClause_ReclassifyAllClauseAction_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // "*"
- protected class ReclassifyAllClause_AsteriskKeyword_2 extends KeywordToken {
-
- public ReclassifyAllClause_AsteriskKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getReclassifyAllClauseAccess().getAsteriskKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ReclassifyAllClause_FromKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule ReclassifyAllClause ****************/
-
-
- /************
- * begin Rule QualifiedNameList ****************
- *
- * QualifiedNameList:
- * qualifiedName+=QualifiedNameWithBinding ("," qualifiedName+=QualifiedNameWithBinding)*;
- *
- **/
-
- // qualifiedName+=QualifiedNameWithBinding ("," qualifiedName+=QualifiedNameWithBinding)*
- protected class QualifiedNameList_Group extends GroupToken {
-
- public QualifiedNameList_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNameListAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new QualifiedNameList_QualifiedNameAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getQualifiedNameListRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // qualifiedName+=QualifiedNameWithBinding
- protected class QualifiedNameList_QualifiedNameAssignment_0 extends AssignmentToken {
-
- public QualifiedNameList_QualifiedNameAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameListAccess().getQualifiedNameAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedName");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_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);
- }
- }
- }
-
- // ("," qualifiedName+=QualifiedNameWithBinding)*
- protected class QualifiedNameList_Group_1 extends GroupToken {
-
- public QualifiedNameList_Group_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getQualifiedNameListAccess().getGroup_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_QualifiedNameAssignment_1_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // ","
- protected class QualifiedNameList_CommaKeyword_1_0 extends KeywordToken {
-
- public QualifiedNameList_CommaKeyword_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getQualifiedNameListAccess().getCommaKeyword_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameList_Group_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new QualifiedNameList_QualifiedNameAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // qualifiedName+=QualifiedNameWithBinding
- protected class QualifiedNameList_QualifiedNameAssignment_1_1 extends AssignmentToken {
-
- public QualifiedNameList_QualifiedNameAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getQualifiedNameListAccess().getQualifiedNameAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new QualifiedNameWithBinding_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("qualifiedName", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("qualifiedName");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getQualifiedNameWithBindingRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_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 QualifiedNameList_CommaKeyword_1_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
-
- /************ end Rule QualifiedNameList ****************/
-
-
- /************
- * begin Rule InvocationOrAssignementOrDeclarationStatement ****************
- *
- * InvocationOrAssignementOrDeclarationStatement:
- * typePart_OR_assignedPart_OR_invocationPart=NameExpression (variableDeclarationCompletion=VariableDeclarationCompletion //(suffixCompletion = SuffixCompletion)?
- * | assignmentCompletion=AssignmentCompletion)? ";";
- *
- **/
-
- // typePart_OR_assignedPart_OR_invocationPart=NameExpression (variableDeclarationCompletion=VariableDeclarationCompletion //(suffixCompletion = SuffixCompletion)?
- // | assignmentCompletion=AssignmentCompletion)? ";"
- protected class InvocationOrAssignementOrDeclarationStatement_Group extends GroupToken {
-
- public InvocationOrAssignementOrDeclarationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InvocationOrAssignementOrDeclarationStatement_SemicolonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // typePart_OR_assignedPart_OR_invocationPart=NameExpression
- protected class InvocationOrAssignementOrDeclarationStatement_TypePart_OR_assignedPart_OR_invocationPartAssignment_0 extends AssignmentToken {
-
- public InvocationOrAssignementOrDeclarationStatement_TypePart_OR_assignedPart_OR_invocationPartAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new NameExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("typePart_OR_assignedPart_OR_invocationPart", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("typePart_OR_assignedPart_OR_invocationPart");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getNameExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartNameExpressionParserRuleCall_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);
- }
- }
- }
-
- // (variableDeclarationCompletion=VariableDeclarationCompletion //(suffixCompletion = SuffixCompletion)?
- // | assignmentCompletion=AssignmentCompletion)?
- protected class InvocationOrAssignementOrDeclarationStatement_Alternatives_1 extends AlternativesToken {
-
- public InvocationOrAssignementOrDeclarationStatement_Alternatives_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Alternatives getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAlternatives_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InvocationOrAssignementOrDeclarationStatement_VariableDeclarationCompletionAssignment_1_0(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InvocationOrAssignementOrDeclarationStatement_AssignmentCompletionAssignment_1_1(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
- // variableDeclarationCompletion=VariableDeclarationCompletion
- protected class InvocationOrAssignementOrDeclarationStatement_VariableDeclarationCompletionAssignment_1_0 extends AssignmentToken {
-
- public InvocationOrAssignementOrDeclarationStatement_VariableDeclarationCompletionAssignment_1_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionAssignment_1_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclarationCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("variableDeclarationCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variableDeclarationCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getVariableDeclarationCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionVariableDeclarationCompletionParserRuleCall_1_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) {
- case 0:
- return new InvocationOrAssignementOrDeclarationStatement_TypePart_OR_assignedPart_OR_invocationPartAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // assignmentCompletion=AssignmentCompletion
- protected class InvocationOrAssignementOrDeclarationStatement_AssignmentCompletionAssignment_1_1 extends AssignmentToken {
-
- public InvocationOrAssignementOrDeclarationStatement_AssignmentCompletionAssignment_1_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignment_1_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AssignmentCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("assignmentCompletion", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("assignmentCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAssignmentCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_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 InvocationOrAssignementOrDeclarationStatement_TypePart_OR_assignedPart_OR_invocationPartAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- // ";"
- protected class InvocationOrAssignementOrDeclarationStatement_SemicolonKeyword_2 extends KeywordToken {
-
- public InvocationOrAssignementOrDeclarationStatement_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getSemicolonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InvocationOrAssignementOrDeclarationStatement_Alternatives_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new InvocationOrAssignementOrDeclarationStatement_TypePart_OR_assignedPart_OR_invocationPartAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule InvocationOrAssignementOrDeclarationStatement ****************/
-
-
- /************
- * begin Rule SuperInvocationStatement ****************
- *
- * SuperInvocationStatement:
- * _super=SuperInvocationExpression //(suffix = SuffixCompletion)? ';'
- * ";";
- *
- **/
-
- // _super=SuperInvocationExpression //(suffix = SuffixCompletion)? ';'
- // ";"
- protected class SuperInvocationStatement_Group extends GroupToken {
-
- public SuperInvocationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getSuperInvocationStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationStatement_SemicolonKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getSuperInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // _super=SuperInvocationExpression
- protected class SuperInvocationStatement__superAssignment_0 extends AssignmentToken {
-
- public SuperInvocationStatement__superAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getSuperInvocationStatementAccess().get_superAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("_super", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("_super");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSuperInvocationExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getSuperInvocationStatementAccess().get_superSuperInvocationExpressionParserRuleCall_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 = SuffixCompletion)? ';'
- // ";"
- protected class SuperInvocationStatement_SemicolonKeyword_1 extends KeywordToken {
-
- public SuperInvocationStatement_SemicolonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getSuperInvocationStatementAccess().getSemicolonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SuperInvocationStatement__superAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule SuperInvocationStatement ****************/
-
-
- /************
- * begin Rule ThisInvocationStatement ****************
- *
- * ThisInvocationStatement: //_this = ThisExpression suffix = SuffixCompletion (assignmentCompletion = AssignmentCompletion)? ';'
- * _this=ThisExpression assignmentCompletion=AssignmentCompletion? ";";
- *
- **/
-
- // //_this = ThisExpression suffix = SuffixCompletion (assignmentCompletion = AssignmentCompletion)? ';'
- // _this=ThisExpression assignmentCompletion=AssignmentCompletion? ";"
- protected class ThisInvocationStatement_Group extends GroupToken {
-
- public ThisInvocationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getThisInvocationStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisInvocationStatement_SemicolonKeyword_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getThisInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // //_this = ThisExpression suffix = SuffixCompletion (assignmentCompletion = AssignmentCompletion)? ';'
- // _this=ThisExpression
- protected class ThisInvocationStatement__thisAssignment_0 extends AssignmentToken {
-
- public ThisInvocationStatement__thisAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getThisInvocationStatementAccess().get_thisAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("_this", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("_this");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getThisExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getThisInvocationStatementAccess().get_thisThisExpressionParserRuleCall_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);
- }
- }
- }
-
- // assignmentCompletion=AssignmentCompletion?
- protected class ThisInvocationStatement_AssignmentCompletionAssignment_1 extends AssignmentToken {
-
- public ThisInvocationStatement_AssignmentCompletionAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AssignmentCompletion_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("assignmentCompletion", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("assignmentCompletion");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getAssignmentCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_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 ThisInvocationStatement__thisAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
- // ";"
- protected class ThisInvocationStatement_SemicolonKeyword_2 extends KeywordToken {
-
- public ThisInvocationStatement_SemicolonKeyword_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getThisInvocationStatementAccess().getSemicolonKeyword_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new ThisInvocationStatement_AssignmentCompletionAssignment_1(lastRuleCallOrigin, this, 0, inst);
- case 1:
- return new ThisInvocationStatement__thisAssignment_0(lastRuleCallOrigin, this, 1, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule ThisInvocationStatement ****************/
-
-
- /************
- * begin Rule InstanceCreationInvocationStatement ****************
- *
- * InstanceCreationInvocationStatement:
- * _new=InstanceCreationExpression //(suffix = SuffixCompletion)? ';'
- * ";";
- *
- **/
-
- // _new=InstanceCreationExpression //(suffix = SuffixCompletion)? ';'
- // ";"
- protected class InstanceCreationInvocationStatement_Group extends GroupToken {
-
- public InstanceCreationInvocationStatement_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getInstanceCreationInvocationStatementAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationInvocationStatement_SemicolonKeyword_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getInstanceCreationInvocationStatementRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // _new=InstanceCreationExpression
- protected class InstanceCreationInvocationStatement__newAssignment_0 extends AssignmentToken {
-
- public InstanceCreationInvocationStatement__newAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getInstanceCreationInvocationStatementAccess().get_newAssignment_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationExpression_Group(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("_new", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("_new");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getInstanceCreationExpressionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getInstanceCreationInvocationStatementAccess().get_newInstanceCreationExpressionParserRuleCall_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 = SuffixCompletion)? ';'
- // ";"
- protected class InstanceCreationInvocationStatement_SemicolonKeyword_1 extends KeywordToken {
-
- public InstanceCreationInvocationStatement_SemicolonKeyword_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getInstanceCreationInvocationStatementAccess().getSemicolonKeyword_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new InstanceCreationInvocationStatement__newAssignment_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- /************ end Rule InstanceCreationInvocationStatement ****************/
-
-
- /************
- * begin Rule VariableDeclarationCompletion ****************
- *
- * //SuffixCompletion :
- * // suffix = SuffixExpression
- * //;
- * VariableDeclarationCompletion:
- * (multiplicityIndicator?="[" "]")? variableName=ID initValue=AssignmentCompletion;
- *
- **/
-
- // (multiplicityIndicator?="[" "]")? variableName=ID initValue=AssignmentCompletion
- protected class VariableDeclarationCompletion_Group extends GroupToken {
-
- public VariableDeclarationCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclarationCompletion_InitValueAssignment_2(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getVariableDeclarationCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // (multiplicityIndicator?="[" "]")?
- protected class VariableDeclarationCompletion_Group_0 extends GroupToken {
-
- public VariableDeclarationCompletion_Group_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getGroup_0();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclarationCompletion_RightSquareBracketKeyword_0_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
- // multiplicityIndicator?="["
- protected class VariableDeclarationCompletion_MultiplicityIndicatorAssignment_0_0 extends AssignmentToken {
-
- public VariableDeclarationCompletion_MultiplicityIndicatorAssignment_0_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorAssignment_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("multiplicityIndicator", false)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("multiplicityIndicator");
- if (Boolean.TRUE.equals(value)) { // org::eclipse::xtext::impl::KeywordImpl
- type = AssignmentType.KEYWORD;
- element = grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // "]"
- protected class VariableDeclarationCompletion_RightSquareBracketKeyword_0_1 extends KeywordToken {
-
- public VariableDeclarationCompletion_RightSquareBracketKeyword_0_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Keyword getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getRightSquareBracketKeyword_0_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclarationCompletion_MultiplicityIndicatorAssignment_0_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- }
-
-
- // variableName=ID
- protected class VariableDeclarationCompletion_VariableNameAssignment_1 extends AssignmentToken {
-
- public VariableDeclarationCompletion_VariableNameAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new VariableDeclarationCompletion_Group_0(lastRuleCallOrigin, this, 0, inst);
- default:
- return lastRuleCallOrigin.createFollowerAfterReturn(this, index, index - 1, inst);
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("variableName", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("variableName");
- if (valueSerializer.isValid(obj.getEObject(), grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameIDTerminalRuleCall_1_0(), value, null)) {
- type = AssignmentType.TERMINAL_RULE_CALL;
- element = grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameIDTerminalRuleCall_1_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // initValue=AssignmentCompletion
- protected class VariableDeclarationCompletion_InitValueAssignment_2 extends AssignmentToken {
-
- public VariableDeclarationCompletion_InitValueAssignment_2(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignment_2();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AssignmentCompletion_Group(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.getAssignmentCompletionRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignmentCompletionParserRuleCall_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 VariableDeclarationCompletion_VariableNameAssignment_1(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule VariableDeclarationCompletion ****************/
-
-
- /************
- * begin Rule AssignmentCompletion ****************
- *
- * //op=('=' | '+=' | '-=' | '*=' | '%=' | '/=' | '&=' |
- * // '|=' | '^=' | '<<=' | '>>=' | '>>>=') rightHandSide = Expression
- * AssignmentCompletion:
- * op=AssignmentOperator rightHandSide=SequenceElement;
- *
- **/
-
- // op=AssignmentOperator rightHandSide=SequenceElement
- protected class AssignmentCompletion_Group extends GroupToken {
-
- public AssignmentCompletion_Group(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Group getGrammarElement() {
- return grammarAccess.getAssignmentCompletionAccess().getGroup();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new AssignmentCompletion_RightHandSideAssignment_1(lastRuleCallOrigin, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if (getEObject().eClass() != grammarAccess.getAssignmentCompletionRule().getType().getClassifier()) {
- return null;
- }
- return eObjectConsumer;
- }
-
- }
-
- // op=AssignmentOperator
- protected class AssignmentCompletion_OpAssignment_0 extends AssignmentToken {
-
- public AssignmentCompletion_OpAssignment_0(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAssignmentCompletionAccess().getOpAssignment_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 (enumLitSerializer.isValid(obj.getEObject(), grammarAccess.getAssignmentCompletionAccess().getOpAssignmentOperatorEnumRuleCall_0_0(), value, null)) {
- type = AssignmentType.ENUM_RULE_CALL;
- element = grammarAccess.getAssignmentCompletionAccess().getOpAssignmentOperatorEnumRuleCall_0_0();
- return obj;
- }
- return null;
- }
-
- }
-
- // rightHandSide=SequenceElement
- protected class AssignmentCompletion_RightHandSideAssignment_1 extends AssignmentToken {
-
- public AssignmentCompletion_RightHandSideAssignment_1(AbstractToken lastRuleCallOrigin, AbstractToken next, int transitionIndex, IEObjectConsumer eObjectConsumer) {
- super(lastRuleCallOrigin, next, transitionIndex, eObjectConsumer);
- }
-
- @Override
- public Assignment getGrammarElement() {
- return grammarAccess.getAssignmentCompletionAccess().getRightHandSideAssignment_1();
- }
-
- @Override
- public AbstractToken createFollower(int index, IEObjectConsumer inst) {
- switch (index) {
- case 0:
- return new SequenceElement_Alternatives(this, this, 0, inst);
- default:
- return null;
- }
- }
-
- @Override
- public IEObjectConsumer tryConsume() {
- if ((value = eObjectConsumer.getConsumable("rightHandSide", true)) == null) {
- return null;
- }
- IEObjectConsumer obj = eObjectConsumer.cloneAndConsume("rightHandSide");
- if (value instanceof EObject) { // org::eclipse::xtext::impl::RuleCallImpl
- IEObjectConsumer param = createEObjectConsumer((EObject) value);
- if (param.isInstanceOf(grammarAccess.getSequenceElementRule().getType().getClassifier())) {
- type = AssignmentType.PARSER_RULE_CALL;
- element = grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_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 AssignmentCompletion_OpAssignment_0(lastRuleCallOrigin, next, actIndex, consumed);
- default:
- return null;
- }
- }
- }
-
-
- /************ end Rule AssignmentCompletion ****************/
-
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationAntlrTokenFileProvider.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationAntlrTokenFileProvider.java
deleted file mode 100644
index 91d3a04a6ad..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationAntlrTokenFileProvider.java
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.operation.editor.xtext.parser.antlr;
-
-import java.io.InputStream;
-import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider;
-
-public class OperationAntlrTokenFileProvider implements IAntlrTokenFileProvider {
-
- public InputStream getAntlrTokenFile() {
- ClassLoader classLoader = getClass().getClassLoader();
- return classLoader.getResourceAsStream("org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.tokens");
- }
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationParser.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationParser.java
deleted file mode 100644
index 105998937a8..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/OperationParser.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * generated by Xtext
- */
-package org.eclipse.papyrus.operation.editor.xtext.parser.antlr;
-
-import com.google.inject.Inject;
-
-import org.eclipse.xtext.parser.antlr.XtextTokenStream;
-import org.eclipse.papyrus.operation.editor.xtext.services.OperationGrammarAccess;
-
-public class OperationParser extends org.eclipse.xtext.parser.antlr.AbstractAntlrParser {
-
- @Inject
- private OperationGrammarAccess grammarAccess;
-
- @Override
- protected void setInitialHiddenTokens(XtextTokenStream tokenStream) {
- tokenStream.setInitialHiddenTokens("RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT");
- }
-
- @Override
- protected org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationParser createParser(XtextTokenStream stream) {
- return new org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal.InternalOperationParser(stream, getGrammarAccess());
- }
-
- @Override
- protected String getDefaultRuleName() {
- return "OperationDefinitionOrStub";
- }
-
- public OperationGrammarAccess getGrammarAccess() {
- return this.grammarAccess;
- }
-
- public void setGrammarAccess(OperationGrammarAccess grammarAccess) {
- this.grammarAccess = grammarAccess;
- }
-
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g
deleted file mode 100644
index 546b15b60f4..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g
+++ /dev/null
@@ -1,8240 +0,0 @@
-/*
-* generated by Xtext
-*/
-grammar InternalOperation;
-
-options {
- superClass=AbstractInternalAntlrParser;
-
-}
-
-@lexer::header {
-package org.eclipse.papyrus.operation.editor.xtext.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.operation.editor.xtext.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.common.util.Enumerator;
-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.papyrus.operation.editor.xtext.services.OperationGrammarAccess;
-
-}
-
-@parser::members {
-
- private OperationGrammarAccess grammarAccess;
-
- public InternalOperationParser(TokenStream input, OperationGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "OperationDefinitionOrStub";
- }
-
- @Override
- protected OperationGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-}
-
-@rulecatch {
- catch (RecognitionException re) {
- recover(input,re);
- appendSkippedTokens();
- }
-}
-
-
-
-
-// Entry rule entryRuleOperationDefinitionOrStub
-entryRuleOperationDefinitionOrStub returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getOperationDefinitionOrStubRule()); }
- iv_ruleOperationDefinitionOrStub=ruleOperationDefinitionOrStub
- { $current=$iv_ruleOperationDefinitionOrStub.current; }
- EOF
-;
-
-// Rule OperationDefinitionOrStub
-ruleOperationDefinitionOrStub returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_0_0());
- }
- lv_declaration_0_0=ruleOperationDeclaration {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule());
- }
- set(
- $current,
- "declaration",
- lv_declaration_0_0,
- "OperationDeclaration");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=';'
- {
- newLeafNode(otherlv_1, grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0());
- }
-
- |(
-(
- {
- newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_1_1_0());
- }
- lv_body_2_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule());
- }
- set(
- $current,
- "body",
- lv_body_2_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleOperationDeclaration
-entryRuleOperationDeclaration returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getOperationDeclarationRule()); }
- iv_ruleOperationDeclaration=ruleOperationDeclaration
- { $current=$iv_ruleOperationDeclaration.current; }
- EOF
-;
-
-// Rule OperationDeclaration
-ruleOperationDeclaration returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0());
- }
- lv_visibilityIndicator_0_0=ruleVisibilityIndicator {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- $current,
- "visibilityIndicator",
- lv_visibilityIndicator_0_0,
- "VisibilityIndicator");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- lv_abstract_1_0= 'abstract'
- {
- newLeafNode(lv_abstract_1_0, grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getOperationDeclarationRule());
- }
- setWithLastConsumed($current, "abstract", true, "abstract");
- }
-
-)
-)?(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getOperationDeclarationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_3_0());
- }
- lv_formalParameters_3_0=ruleFormalParameters {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- $current,
- "formalParameters",
- lv_formalParameters_3_0,
- "FormalParameters");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_4=':'
- {
- newLeafNode(otherlv_4, grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getReturnTypeTypePartParserRuleCall_4_1_0());
- }
- lv_returnType_5_0=ruleTypePart {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- $current,
- "returnType",
- lv_returnType_5_0,
- "TypePart");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?(
-(
- {
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getRedefinitionRedefinitionClauseParserRuleCall_5_0());
- }
- lv_redefinition_6_0=ruleRedefinitionClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- $current,
- "redefinition",
- lv_redefinition_6_0,
- "RedefinitionClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleFormalParameters
-entryRuleFormalParameters returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getFormalParametersRule()); }
- iv_ruleFormalParameters=ruleFormalParameters
- { $current=$iv_ruleFormalParameters.current; }
- EOF
-;
-
-// Rule FormalParameters
-ruleFormalParameters returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getFormalParametersAccess().getFormalParametersAction_0(),
- $current);
- }
-) otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getFormalParametersAccess().getFormalParameterListFormalParameterListParserRuleCall_2_0());
- }
- lv_formalParameterList_2_0=ruleFormalParameterList {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFormalParametersRule());
- }
- set(
- $current,
- "formalParameterList",
- lv_formalParameterList_2_0,
- "FormalParameterList");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleFormalParameterList
-entryRuleFormalParameterList returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getFormalParameterListRule()); }
- iv_ruleFormalParameterList=ruleFormalParameterList
- { $current=$iv_ruleFormalParameterList.current; }
- EOF
-;
-
-// Rule FormalParameterList
-ruleFormalParameterList returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_0_0());
- }
- lv_formalParameter_0_0=ruleFormalParameter {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFormalParameterListRule());
- }
- add(
- $current,
- "formalParameter",
- lv_formalParameter_0_0,
- "FormalParameter");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=','
- {
- newLeafNode(otherlv_1, grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_1_1_0());
- }
- lv_formalParameter_2_0=ruleFormalParameter {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFormalParameterListRule());
- }
- add(
- $current,
- "formalParameter",
- lv_formalParameter_2_0,
- "FormalParameter");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleFormalParameter
-entryRuleFormalParameter returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getFormalParameterRule()); }
- iv_ruleFormalParameter=ruleFormalParameter
- { $current=$iv_ruleFormalParameter.current; }
- EOF
-;
-
-// Rule FormalParameter
-ruleFormalParameter returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getFormalParameterAccess().getDirectionParameterDirectionEnumRuleCall_0_0());
- }
- lv_direction_0_0=ruleParameterDirection {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFormalParameterRule());
- }
- set(
- $current,
- "direction",
- lv_direction_0_0,
- "ParameterDirection");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- lv_name_1_0=RULE_ID
- {
- newLeafNode(lv_name_1_0, grammarAccess.getFormalParameterAccess().getNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getFormalParameterRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_1_0,
- "ID");
- }
-
-)
-) otherlv_2=':'
- {
- newLeafNode(otherlv_2, grammarAccess.getFormalParameterAccess().getColonKeyword_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getFormalParameterAccess().getTypeTypePartParserRuleCall_3_0());
- }
- lv_type_3_0=ruleTypePart {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFormalParameterRule());
- }
- set(
- $current,
- "type",
- lv_type_3_0,
- "TypePart");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleTypePart
-entryRuleTypePart returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTypePartRule()); }
- iv_ruleTypePart=ruleTypePart
- { $current=$iv_ruleTypePart.current; }
- EOF
-;
-
-// Rule TypePart
-ruleTypePart returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getTypePartAccess().getTypeNameTypeNameParserRuleCall_0_0());
- }
- lv_typeName_0_0=ruleTypeName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTypePartRule());
- }
- set(
- $current,
- "typeName",
- lv_typeName_0_0,
- "TypeName");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getTypePartAccess().getMultiplicityMultiplicityParserRuleCall_1_0());
- }
- lv_multiplicity_1_0=ruleMultiplicity {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTypePartRule());
- }
- set(
- $current,
- "multiplicity",
- lv_multiplicity_1_0,
- "Multiplicity");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleMultiplicity
-entryRuleMultiplicity returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getMultiplicityRule()); }
- iv_ruleMultiplicity=ruleMultiplicity
- { $current=$iv_ruleMultiplicity.current; }
- EOF
-;
-
-// Rule Multiplicity
-ruleMultiplicity returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getMultiplicityAccess().getMultiplicityAction_0(),
- $current);
- }
-) otherlv_1='['
- {
- newLeafNode(otherlv_1, grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getMultiplicityAccess().getRangeMultiplicityRangeParserRuleCall_2_0());
- }
- lv_range_2_0=ruleMultiplicityRange {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicityRule());
- }
- set(
- $current,
- "range",
- lv_range_2_0,
- "MultiplicityRange");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_3=']'
- {
- newLeafNode(otherlv_3, grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3());
- }
-(((
-(
- lv_ordered_4_0= 'ordered'
- {
- newLeafNode(lv_ordered_4_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed($current, "ordered", true, "ordered");
- }
-
-)
-)(
-(
- lv_nonUnique_5_0= 'nonUnique'
- {
- newLeafNode(lv_nonUnique_5_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_0_1_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed($current, "nonUnique", true, "nonUnique");
- }
-
-)
-)?)
- |((
-(
- lv_nonUnique_6_0= 'nonUnique'
- {
- newLeafNode(lv_nonUnique_6_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_1_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed($current, "nonUnique", true, "nonUnique");
- }
-
-)
-)(
-(
- lv_ordered_7_0= 'ordered'
- {
- newLeafNode(lv_ordered_7_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_1_1_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed($current, "ordered", true, "ordered");
- }
-
-)
-)?)
- |(
-(
- lv_sequence_8_0= 'sequence'
- {
- newLeafNode(lv_sequence_8_0, grammarAccess.getMultiplicityAccess().getSequenceSequenceKeyword_4_2_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed($current, "sequence", true, "sequence");
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleMultiplicityRange
-entryRuleMultiplicityRange returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getMultiplicityRangeRule()); }
- iv_ruleMultiplicityRange=ruleMultiplicityRange
- { $current=$iv_ruleMultiplicityRange.current; }
- EOF
-;
-
-// Rule MultiplicityRange
-ruleMultiplicityRange returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- {
- newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0());
- }
- lv_lower_0_0=ruleNUMBER_LITERAL_WITHOUT_SUFFIX {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule());
- }
- set(
- $current,
- "lower",
- lv_lower_0_0,
- "NUMBER_LITERAL_WITHOUT_SUFFIX");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_1='..'
- {
- newLeafNode(otherlv_1, grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1());
- }
-)?(
-(
- {
- newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0());
- }
- lv_upper_2_0=ruleNUMBER_LITERAL_WITHOUT_SUFFIX {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule());
- }
- set(
- $current,
- "upper",
- lv_upper_2_0,
- "NUMBER_LITERAL_WITHOUT_SUFFIX");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX
-entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXRule()); }
- iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX=ruleNUMBER_LITERAL_WITHOUT_SUFFIX
- { $current=$iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX.current; }
- EOF
-;
-
-// Rule NUMBER_LITERAL_WITHOUT_SUFFIX
-ruleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0());
- }
- this_INTEGER_LITERAL_WITHOUT_SUFFIX_0=ruleINTEGER_LITERAL_WITHOUT_SUFFIX
- {
- $current = $this_INTEGER_LITERAL_WITHOUT_SUFFIX_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1());
- }
- this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1=ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX
- {
- $current = $this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX
-entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule()); }
- iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX=ruleINTEGER_LITERAL_WITHOUT_SUFFIX
- { $current=$iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX.current; }
- EOF
-;
-
-// Rule INTEGER_LITERAL_WITHOUT_SUFFIX
-ruleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0=RULE_INTEGERVALUE
- {
- newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueIntegerValueTerminalRuleCall_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "IntegerValue");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX
-entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule()); }
- iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX=ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX
- { $current=$iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX.current; }
- EOF
-;
-
-// Rule UNLIMITED_LITERAL_WITHOUT_SUFFIX
-ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- lv_value_0_0= '*'
- {
- newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAsteriskKeyword_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule());
- }
- setWithLastConsumed($current, "value", lv_value_0_0, "*");
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleTypeName
-entryRuleTypeName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTypeNameRule()); }
- iv_ruleTypeName=ruleTypeName
- { $current=$iv_ruleTypeName.current; }
- EOF
-;
-
-// Rule TypeName
-ruleTypeName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getTypeNameAccess().getTypeNameAction_0(),
- $current);
- }
-)((
-(
- {
- newCompositeNode(grammarAccess.getTypeNameAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0());
- }
- lv_qualifiedName_1_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTypeNameRule());
- }
- set(
- $current,
- "qualifiedName",
- lv_qualifiedName_1_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- | otherlv_2='any'
- {
- newLeafNode(otherlv_2, grammarAccess.getTypeNameAccess().getAnyKeyword_1_1());
- }
-))
-;
-
-
-
-
-
-// Entry rule entryRuleRedefinitionClause
-entryRuleRedefinitionClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getRedefinitionClauseRule()); }
- iv_ruleRedefinitionClause=ruleRedefinitionClause
- { $current=$iv_ruleRedefinitionClause.current; }
- EOF
-;
-
-// Rule RedefinitionClause
-ruleRedefinitionClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='redefines'
- {
- newLeafNode(otherlv_0, grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsQualifiedNameListParserRuleCall_1_0());
- }
- lv_redefinedOperations_1_0=ruleQualifiedNameList {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRedefinitionClauseRule());
- }
- set(
- $current,
- "redefinedOperations",
- lv_redefinedOperations_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-
-
-// Entry rule entryRuleLITERAL
-entryRuleLITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLITERALRule()); }
- iv_ruleLITERAL=ruleLITERAL
- { $current=$iv_ruleLITERAL.current; }
- EOF
-;
-
-// Rule LITERAL
-ruleLITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0());
- }
- this_BOOLEAN_LITERAL_0=ruleBOOLEAN_LITERAL
- {
- $current = $this_BOOLEAN_LITERAL_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1());
- }
- this_NUMBER_LITERAL_1=ruleNUMBER_LITERAL
- {
- $current = $this_NUMBER_LITERAL_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2());
- }
- this_STRING_LITERAL_2=ruleSTRING_LITERAL
- {
- $current = $this_STRING_LITERAL_2.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleBOOLEAN_LITERAL
-entryRuleBOOLEAN_LITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getBOOLEAN_LITERALRule()); }
- iv_ruleBOOLEAN_LITERAL=ruleBOOLEAN_LITERAL
- { $current=$iv_ruleBOOLEAN_LITERAL.current; }
- EOF
-;
-
-// Rule BOOLEAN_LITERAL
-ruleBOOLEAN_LITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getValueBooleanValueEnumRuleCall_0_0());
- }
- lv_value_0_0=ruleBooleanValue {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule());
- }
- set(
- $current,
- "value",
- lv_value_0_0,
- "BooleanValue");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
- }
- lv_suffix_1_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleNUMBER_LITERAL
-entryRuleNUMBER_LITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNUMBER_LITERALRule()); }
- iv_ruleNUMBER_LITERAL=ruleNUMBER_LITERAL
- { $current=$iv_ruleNUMBER_LITERAL.current; }
- EOF
-;
-
-// Rule NUMBER_LITERAL
-ruleNUMBER_LITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0());
- }
- this_INTEGER_LITERAL_0=ruleINTEGER_LITERAL
- {
- $current = $this_INTEGER_LITERAL_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1());
- }
- this_UNLIMITED_LITERAL_1=ruleUNLIMITED_LITERAL
- {
- $current = $this_UNLIMITED_LITERAL_1.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleINTEGER_LITERAL
-entryRuleINTEGER_LITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getINTEGER_LITERALRule()); }
- iv_ruleINTEGER_LITERAL=ruleINTEGER_LITERAL
- { $current=$iv_ruleINTEGER_LITERAL.current; }
- EOF
-;
-
-// Rule INTEGER_LITERAL
-ruleINTEGER_LITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_value_0_0=RULE_INTEGERVALUE
- {
- newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERALAccess().getValueIntegerValueTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getINTEGER_LITERALRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "IntegerValue");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getINTEGER_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
- }
- lv_suffix_1_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getINTEGER_LITERALRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleUNLIMITED_LITERAL
-entryRuleUNLIMITED_LITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUNLIMITED_LITERALRule()); }
- iv_ruleUNLIMITED_LITERAL=ruleUNLIMITED_LITERAL
- { $current=$iv_ruleUNLIMITED_LITERAL.current; }
- EOF
-;
-
-// Rule UNLIMITED_LITERAL
-ruleUNLIMITED_LITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_value_0_0= '*'
- {
- newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERALAccess().getValueAsteriskKeyword_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUNLIMITED_LITERALRule());
- }
- setWithLastConsumed($current, "value", lv_value_0_0, "*");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
- }
- lv_suffix_1_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUNLIMITED_LITERALRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSTRING_LITERAL
-entryRuleSTRING_LITERAL returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSTRING_LITERALRule()); }
- iv_ruleSTRING_LITERAL=ruleSTRING_LITERAL
- { $current=$iv_ruleSTRING_LITERAL.current; }
- EOF
-;
-
-// Rule STRING_LITERAL
-ruleSTRING_LITERAL returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_value_0_0=RULE_STRING
- {
- newLeafNode(lv_value_0_0, grammarAccess.getSTRING_LITERALAccess().getValueSTRINGTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSTRING_LITERALRule());
- }
- setWithLastConsumed(
- $current,
- "value",
- lv_value_0_0,
- "STRING");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getSTRING_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
- }
- lv_suffix_1_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSTRING_LITERALRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleNameExpression
-entryRuleNameExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNameExpressionRule()); }
- iv_ruleNameExpression=ruleNameExpression
- { $current=$iv_ruleNameExpression.current; }
- EOF
-;
-
-// Rule NameExpression
-ruleNameExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((((
-(
-(
- lv_prefixOp_0_1= '++'
- {
- newLeafNode(lv_prefixOp_0_1, grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed($current, "prefixOp", lv_prefixOp_0_1, null);
- }
-
- | lv_prefixOp_0_2= '--'
- {
- newLeafNode(lv_prefixOp_0_2, grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed($current, "prefixOp", lv_prefixOp_0_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_0_1_0());
- }
- lv_path_1_0=ruleQualifiedNamePath {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- $current,
- "path",
- lv_path_1_0,
- "QualifiedNamePath");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- lv_id_2_0=RULE_ID
- {
- newLeafNode(lv_id_2_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_0_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "id",
- lv_id_2_0,
- "ID");
- }
-
-)
-))
- |((
-(
- {
- newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_1_0_0());
- }
- lv_path_3_0=ruleQualifiedNamePath {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- $current,
- "path",
- lv_path_3_0,
- "QualifiedNamePath");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- lv_id_4_0=RULE_ID
- {
- newLeafNode(lv_id_4_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_1_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "id",
- lv_id_4_0,
- "ID");
- }
-
-)
-)((
-(
- {
- newCompositeNode(grammarAccess.getNameExpressionAccess().getInvocationCompletionTupleParserRuleCall_0_1_2_0_0());
- }
- lv_invocationCompletion_5_0=ruleTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- $current,
- "invocationCompletion",
- lv_invocationCompletion_5_0,
- "Tuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionSequenceConstructionOrAccessCompletionParserRuleCall_0_1_2_1_0());
- }
- lv_sequenceConstructionCompletion_6_0=ruleSequenceConstructionOrAccessCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- $current,
- "sequenceConstructionCompletion",
- lv_sequenceConstructionCompletion_6_0,
- "SequenceConstructionOrAccessCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
-(
- lv_postfixOp_7_1= '++'
- {
- newLeafNode(lv_postfixOp_7_1, grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed($current, "postfixOp", lv_postfixOp_7_1, null);
- }
-
- | lv_postfixOp_7_2= '--'
- {
- newLeafNode(lv_postfixOp_7_2, grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed($current, "postfixOp", lv_postfixOp_7_2, null);
- }
-
-)
-
-)
-))?))(
-(
- {
- newCompositeNode(grammarAccess.getNameExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
- }
- lv_suffix_8_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_8_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleQualifiedNamePath
-entryRuleQualifiedNamePath returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getQualifiedNamePathRule()); }
- iv_ruleQualifiedNamePath=ruleQualifiedNamePath
- { $current=$iv_ruleQualifiedNamePath.current; }
- EOF
-;
-
-// Rule QualifiedNamePath
-ruleQualifiedNamePath returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNamePathAccess().getNamespaceUnqualifiedNameParserRuleCall_0_0());
- }
- lv_namespace_0_0=ruleUnqualifiedName {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNamePathRule());
- }
- add(
- $current,
- "namespace",
- lv_namespace_0_0,
- "UnqualifiedName");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_1='::'
- {
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1());
- }
-)+
-;
-
-
-
-
-
-// Entry rule entryRuleUnqualifiedName
-entryRuleUnqualifiedName returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUnqualifiedNameRule()); }
- iv_ruleUnqualifiedName=ruleUnqualifiedName
- { $current=$iv_ruleUnqualifiedName.current; }
- EOF
-;
-
-// Rule UnqualifiedName
-ruleUnqualifiedName returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_name_0_0=RULE_ID
- {
- newLeafNode(lv_name_0_0, grammarAccess.getUnqualifiedNameAccess().getNameIDTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnqualifiedNameRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_0_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingTemplateBindingParserRuleCall_1_0());
- }
- lv_templateBinding_1_0=ruleTemplateBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnqualifiedNameRule());
- }
- set(
- $current,
- "templateBinding",
- lv_templateBinding_1_0,
- "TemplateBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleTemplateBinding
-entryRuleTemplateBinding returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTemplateBindingRule()); }
- iv_ruleTemplateBinding=ruleTemplateBinding
- { $current=$iv_ruleTemplateBinding.current; }
- EOF
-;
-
-// Rule TemplateBinding
-ruleTemplateBinding returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='<'
- {
- newLeafNode(otherlv_0, grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_1_0());
- }
- lv_bindings_1_0=ruleNamedTemplateBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTemplateBindingRule());
- }
- add(
- $current,
- "bindings",
- lv_bindings_1_0,
- "NamedTemplateBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_2=','
- {
- newLeafNode(otherlv_2, grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_2_1_0());
- }
- lv_bindings_3_0=ruleNamedTemplateBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTemplateBindingRule());
- }
- add(
- $current,
- "bindings",
- lv_bindings_3_0,
- "NamedTemplateBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-))* otherlv_4='>'
- {
- newLeafNode(otherlv_4, grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleNamedTemplateBinding
-entryRuleNamedTemplateBinding returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNamedTemplateBindingRule()); }
- iv_ruleNamedTemplateBinding=ruleNamedTemplateBinding
- { $current=$iv_ruleNamedTemplateBinding.current; }
- EOF
-;
-
-// Rule NamedTemplateBinding
-ruleNamedTemplateBinding returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_formal_0_0=RULE_ID
- {
- newLeafNode(lv_formal_0_0, grammarAccess.getNamedTemplateBindingAccess().getFormalIDTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getNamedTemplateBindingRule());
- }
- setWithLastConsumed(
- $current,
- "formal",
- lv_formal_0_0,
- "ID");
- }
-
-)
-) otherlv_1='=>'
- {
- newLeafNode(otherlv_1, grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getNamedTemplateBindingAccess().getActualQualifiedNameWithBindingParserRuleCall_2_0());
- }
- lv_actual_2_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNamedTemplateBindingRule());
- }
- set(
- $current,
- "actual",
- lv_actual_2_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleQualifiedNameWithBinding
-entryRuleQualifiedNameWithBinding returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getQualifiedNameWithBindingRule()); }
- iv_ruleQualifiedNameWithBinding=ruleQualifiedNameWithBinding
- { $current=$iv_ruleQualifiedNameWithBinding.current; }
- EOF
-;
-
-// Rule QualifiedNameWithBinding
-ruleQualifiedNameWithBinding returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_id_0_0=RULE_ID
- {
- newLeafNode(lv_id_0_0, grammarAccess.getQualifiedNameWithBindingAccess().getIdIDTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getQualifiedNameWithBindingRule());
- }
- setWithLastConsumed(
- $current,
- "id",
- lv_id_0_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getBindingTemplateBindingParserRuleCall_1_0());
- }
- lv_binding_1_0=ruleTemplateBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule());
- }
- set(
- $current,
- "binding",
- lv_binding_1_0,
- "TemplateBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?( otherlv_2='::'
- {
- newLeafNode(otherlv_2, grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingQualifiedNameWithBindingParserRuleCall_2_1_0());
- }
- lv_remaining_3_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule());
- }
- set(
- $current,
- "remaining",
- lv_remaining_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleTuple
-entryRuleTuple returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTupleRule()); }
- iv_ruleTuple=ruleTuple
- { $current=$iv_ruleTuple.current; }
- EOF
-;
-
-// Rule Tuple
-ruleTuple returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getTupleAccess().getTupleAction_0(),
- $current);
- }
-) otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1());
- }
-((
-(
- {
- newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_0_0());
- }
- lv_tupleElements_2_0=ruleTupleElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTupleRule());
- }
- add(
- $current,
- "tupleElements",
- lv_tupleElements_2_0,
- "TupleElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_3=','
- {
- newLeafNode(otherlv_3, grammarAccess.getTupleAccess().getCommaKeyword_2_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_1_1_0());
- }
- lv_tupleElements_4_0=ruleTupleElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTupleRule());
- }
- add(
- $current,
- "tupleElements",
- lv_tupleElements_4_0,
- "TupleElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)? otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getTupleAccess().getRightParenthesisKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleTupleElement
-entryRuleTupleElement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getTupleElementRule()); }
- iv_ruleTupleElement=ruleTupleElement
- { $current=$iv_ruleTupleElement.current; }
- EOF
-;
-
-// Rule TupleElement
-ruleTupleElement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getTupleElementAccess().getArgumentExpressionParserRuleCall_0());
- }
- lv_argument_0_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getTupleElementRule());
- }
- set(
- $current,
- "argument",
- lv_argument_0_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleExpression
-entryRuleExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getExpressionRule()); }
- iv_ruleExpression=ruleExpression
- { $current=$iv_ruleExpression.current; }
- EOF
-;
-
-// Rule Expression
-ruleExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-
- {
- newCompositeNode(grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall());
- }
- this_ConditionalTestExpression_0=ruleConditionalTestExpression
- {
- $current = $this_ConditionalTestExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
-;
-
-
-
-
-
-// Entry rule entryRuleConditionalTestExpression
-entryRuleConditionalTestExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getConditionalTestExpressionRule()); }
- iv_ruleConditionalTestExpression=ruleConditionalTestExpression
- { $current=$iv_ruleConditionalTestExpression.current; }
- EOF
-;
-
-// Rule ConditionalTestExpression
-ruleConditionalTestExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getExpConditionalOrExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleConditionalOrExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- $current,
- "exp",
- lv_exp_0_0,
- "ConditionalOrExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='?'
- {
- newLeafNode(otherlv_1, grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueConditionalTestExpressionParserRuleCall_1_1_0());
- }
- lv_whenTrue_2_0=ruleConditionalTestExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- $current,
- "whenTrue",
- lv_whenTrue_2_0,
- "ConditionalTestExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=':'
- {
- newLeafNode(otherlv_3, grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseConditionalTestExpressionParserRuleCall_1_3_0());
- }
- lv_whenFalse_4_0=ruleConditionalTestExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- $current,
- "whenFalse",
- lv_whenFalse_4_0,
- "ConditionalTestExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleConditionalOrExpression
-entryRuleConditionalOrExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getConditionalOrExpressionRule()); }
- iv_ruleConditionalOrExpression=ruleConditionalOrExpression
- { $current=$iv_ruleConditionalOrExpression.current; }
- EOF
-;
-
-// Rule ConditionalOrExpression
-ruleConditionalOrExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleConditionalAndExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "ConditionalAndExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='||'
- {
- newLeafNode(otherlv_1, grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleConditionalAndExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "ConditionalAndExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleConditionalAndExpression
-entryRuleConditionalAndExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getConditionalAndExpressionRule()); }
- iv_ruleConditionalAndExpression=ruleConditionalAndExpression
- { $current=$iv_ruleConditionalAndExpression.current; }
- EOF
-;
-
-// Rule ConditionalAndExpression
-ruleConditionalAndExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleInclusiveOrExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "InclusiveOrExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='&&'
- {
- newLeafNode(otherlv_1, grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleInclusiveOrExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "InclusiveOrExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleInclusiveOrExpression
-entryRuleInclusiveOrExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInclusiveOrExpressionRule()); }
- iv_ruleInclusiveOrExpression=ruleInclusiveOrExpression
- { $current=$iv_ruleInclusiveOrExpression.current; }
- EOF
-;
-
-// Rule InclusiveOrExpression
-ruleInclusiveOrExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleExclusiveOrExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "ExclusiveOrExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='|'
- {
- newLeafNode(otherlv_1, grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleExclusiveOrExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "ExclusiveOrExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleExclusiveOrExpression
-entryRuleExclusiveOrExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getExclusiveOrExpressionRule()); }
- iv_ruleExclusiveOrExpression=ruleExclusiveOrExpression
- { $current=$iv_ruleExclusiveOrExpression.current; }
- EOF
-;
-
-// Rule ExclusiveOrExpression
-ruleExclusiveOrExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleAndExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "AndExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='^'
- {
- newLeafNode(otherlv_1, grammarAccess.getExclusiveOrExpressionAccess().getCircumflexAccentKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleAndExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "AndExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleAndExpression
-entryRuleAndExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAndExpressionRule()); }
- iv_ruleAndExpression=ruleAndExpression
- { $current=$iv_ruleAndExpression.current; }
- EOF
-;
-
-// Rule AndExpression
-ruleAndExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleEqualityExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAndExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='&'
- {
- newLeafNode(otherlv_1, grammarAccess.getAndExpressionAccess().getAmpersandKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleEqualityExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAndExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleEqualityExpression
-entryRuleEqualityExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getEqualityExpressionRule()); }
- iv_ruleEqualityExpression=ruleEqualityExpression
- { $current=$iv_ruleEqualityExpression.current; }
- EOF
-;
-
-// Rule EqualityExpression
-ruleEqualityExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleClassificationExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "ClassificationExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '=='
- {
- newLeafNode(lv_op_1_1, grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '!='
- {
- newLeafNode(lv_op_1_2, grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleClassificationExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "ClassificationExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleClassificationExpression
-entryRuleClassificationExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassificationExpressionRule()); }
- iv_ruleClassificationExpression=ruleClassificationExpression
- { $current=$iv_ruleClassificationExpression.current; }
- EOF
-;
-
-// Rule ClassificationExpression
-ruleClassificationExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getClassificationExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleRelationalExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationExpressionRule());
- }
- set(
- $current,
- "exp",
- lv_exp_0_0,
- "RelationalExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= 'instanceof'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassificationExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= 'hastype'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getClassificationExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getClassificationExpressionAccess().getTypeNameNameExpressionParserRuleCall_1_1_0());
- }
- lv_typeName_2_0=ruleNameExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationExpressionRule());
- }
- set(
- $current,
- "typeName",
- lv_typeName_2_0,
- "NameExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleRelationalExpression
-entryRuleRelationalExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getRelationalExpressionRule()); }
- iv_ruleRelationalExpression=ruleRelationalExpression
- { $current=$iv_ruleRelationalExpression.current; }
- EOF
-;
-
-// Rule RelationalExpression
-ruleRelationalExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getLeftShiftExpressionParserRuleCall_0_0());
- }
- lv_left_0_0=ruleShiftExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- set(
- $current,
- "left",
- lv_left_0_0,
- "ShiftExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '<'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '>'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= '<='
- {
- newLeafNode(lv_op_1_3, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
- | lv_op_1_4= '>='
- {
- newLeafNode(lv_op_1_4, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_4, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getRightShiftExpressionParserRuleCall_1_1_0());
- }
- lv_right_2_0=ruleShiftExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- set(
- $current,
- "right",
- lv_right_2_0,
- "ShiftExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleShiftExpression
-entryRuleShiftExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getShiftExpressionRule()); }
- iv_ruleShiftExpression=ruleShiftExpression
- { $current=$iv_ruleShiftExpression.current; }
- EOF
-;
-
-// Rule ShiftExpression
-ruleShiftExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleAdditiveExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getShiftExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '<<'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '>>'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= '>>>'
- {
- newLeafNode(lv_op_1_3, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleAdditiveExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getShiftExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleAdditiveExpression
-entryRuleAdditiveExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAdditiveExpressionRule()); }
- iv_ruleAdditiveExpression=ruleAdditiveExpression
- { $current=$iv_ruleAdditiveExpression.current; }
- EOF
-;
-
-// Rule AdditiveExpression
-ruleAdditiveExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleMultiplicativeExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '+'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '-'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleMultiplicativeExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleMultiplicativeExpression
-entryRuleMultiplicativeExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getMultiplicativeExpressionRule()); }
- iv_ruleMultiplicativeExpression=ruleMultiplicativeExpression
- { $current=$iv_ruleMultiplicativeExpression.current; }
- EOF
-;
-
-// Rule MultiplicativeExpression
-ruleMultiplicativeExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0());
- }
- lv_exp_0_0=ruleUnaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_0_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
-(
- lv_op_1_1= '*'
- {
- newLeafNode(lv_op_1_1, grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_1, null);
- }
-
- | lv_op_1_2= '/'
- {
- newLeafNode(lv_op_1_2, grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_2, null);
- }
-
- | lv_op_1_3= '%'
- {
- newLeafNode(lv_op_1_3, grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_1_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed($current, "op", lv_op_1_3, null);
- }
-
-)
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0());
- }
- lv_exp_2_0=ruleUnaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- $current,
- "exp",
- lv_exp_2_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleUnaryExpression
-entryRuleUnaryExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getUnaryExpressionRule()); }
- iv_ruleUnaryExpression=ruleUnaryExpression
- { $current=$iv_ruleUnaryExpression.current; }
- EOF
-;
-
-// Rule UnaryExpression
-ruleUnaryExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
-(
- lv_op_0_1= '!'
- {
- newLeafNode(lv_op_0_1, grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_1, null);
- }
-
- | lv_op_0_2= '-'
- {
- newLeafNode(lv_op_0_2, grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_2, null);
- }
-
- | lv_op_0_3= '+'
- {
- newLeafNode(lv_op_0_3, grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_3, null);
- }
-
- | lv_op_0_4= '$'
- {
- newLeafNode(lv_op_0_4, grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_4, null);
- }
-
- | lv_op_0_5= '~'
- {
- newLeafNode(lv_op_0_5, grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed($current, "op", lv_op_0_5, null);
- }
-
-)
-
-)
-)?(
-(
- {
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0());
- }
- lv_exp_1_0=rulePrimaryExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- $current,
- "exp",
- lv_exp_1_0,
- "PrimaryExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRulePrimaryExpression
-entryRulePrimaryExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getPrimaryExpressionRule()); }
- iv_rulePrimaryExpression=rulePrimaryExpression
- { $current=$iv_rulePrimaryExpression.current; }
- EOF
-;
-
-// Rule PrimaryExpression
-rulePrimaryExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0());
- }
- lv_prefix_0_0=ruleValueSpecification {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPrimaryExpressionRule());
- }
- set(
- $current,
- "prefix",
- lv_prefix_0_0,
- "ValueSpecification");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSuffixExpression
-entryRuleSuffixExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSuffixExpressionRule()); }
- iv_ruleSuffixExpression=ruleSuffixExpression
- { $current=$iv_ruleSuffixExpression.current; }
- EOF
-;
-
-// Rule SuffixExpression
-ruleSuffixExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0());
- }
- this_OperationCallExpression_0=ruleOperationCallExpression
- {
- $current = $this_OperationCallExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1());
- }
- this_PropertyCallExpression_1=rulePropertyCallExpression
- {
- $current = $this_PropertyCallExpression_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2());
- }
- this_LinkOperationExpression_2=ruleLinkOperationExpression
- {
- $current = $this_LinkOperationExpression_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3());
- }
- this_SequenceOperationExpression_3=ruleSequenceOperationExpression
- {
- $current = $this_SequenceOperationExpression_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4());
- }
- this_SequenceReductionExpression_4=ruleSequenceReductionExpression
- {
- $current = $this_SequenceReductionExpression_4.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5());
- }
- this_SequenceExpansionExpression_5=ruleSequenceExpansionExpression
- {
- $current = $this_SequenceExpansionExpression_5.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6());
- }
- this_ClassExtentExpression_6=ruleClassExtentExpression
- {
- $current = $this_ClassExtentExpression_6.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleOperationCallExpression
-entryRuleOperationCallExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getOperationCallExpressionRule()); }
- iv_ruleOperationCallExpression=ruleOperationCallExpression
- { $current=$iv_ruleOperationCallExpression.current; }
- EOF
-;
-
-// Rule OperationCallExpression
-ruleOperationCallExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='.'
- {
- newLeafNode(otherlv_0, grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_0());
- }
-(
-(
- lv_operationName_1_0=RULE_ID
- {
- newLeafNode(lv_operationName_1_0, grammarAccess.getOperationCallExpressionAccess().getOperationNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getOperationCallExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "operationName",
- lv_operationName_1_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getTupleTupleParserRuleCall_2_0());
- }
- lv_tuple_2_0=ruleTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- $current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
- }
- lv_suffix_3_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_3_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleOperationCallExpressionWithoutDot
-entryRuleOperationCallExpressionWithoutDot returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotRule()); }
- iv_ruleOperationCallExpressionWithoutDot=ruleOperationCallExpressionWithoutDot
- { $current=$iv_ruleOperationCallExpressionWithoutDot.current; }
- EOF
-;
-
-// Rule OperationCallExpressionWithoutDot
-ruleOperationCallExpressionWithoutDot returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_operationName_0_0=RULE_ID
- {
- newLeafNode(lv_operationName_0_0, grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameIDTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- setWithLastConsumed(
- $current,
- "operationName",
- lv_operationName_0_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleTupleParserRuleCall_1_0());
- }
- lv_tuple_1_0=ruleTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- set(
- $current,
- "tuple",
- lv_tuple_1_0,
- "Tuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getSuffixSuffixExpressionParserRuleCall_2_0());
- }
- lv_suffix_2_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRulePropertyCallExpression
-entryRulePropertyCallExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getPropertyCallExpressionRule()); }
- iv_rulePropertyCallExpression=rulePropertyCallExpression
- { $current=$iv_rulePropertyCallExpression.current; }
- EOF
-;
-
-// Rule PropertyCallExpression
-rulePropertyCallExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='.'
- {
- newLeafNode(otherlv_0, grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_0());
- }
-(
-(
- lv_propertyName_1_0=RULE_ID
- {
- newLeafNode(lv_propertyName_1_0, grammarAccess.getPropertyCallExpressionAccess().getPropertyNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getPropertyCallExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "propertyName",
- lv_propertyName_1_0,
- "ID");
- }
-
-)
-)( otherlv_2='['
- {
- newLeafNode(otherlv_2, grammarAccess.getPropertyCallExpressionAccess().getLeftSquareBracketKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getIndexExpressionParserRuleCall_2_1_0());
- }
- lv_index_3_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule());
- }
- set(
- $current,
- "index",
- lv_index_3_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_4=']'
- {
- newLeafNode(otherlv_4, grammarAccess.getPropertyCallExpressionAccess().getRightSquareBracketKeyword_2_2());
- }
-)?(
-(
- {
- newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
- }
- lv_suffix_5_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_5_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleLinkOperationExpression
-entryRuleLinkOperationExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLinkOperationExpressionRule()); }
- iv_ruleLinkOperationExpression=ruleLinkOperationExpression
- { $current=$iv_ruleLinkOperationExpression.current; }
- EOF
-;
-
-// Rule LinkOperationExpression
-ruleLinkOperationExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='.'
- {
- newLeafNode(otherlv_0, grammarAccess.getLinkOperationExpressionAccess().getFullStopKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getKindLinkOperationKindEnumRuleCall_1_0());
- }
- lv_kind_1_0=ruleLinkOperationKind {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule());
- }
- set(
- $current,
- "kind",
- lv_kind_1_0,
- "LinkOperationKind");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getTupleLinkOperationTupleParserRuleCall_2_0());
- }
- lv_tuple_2_0=ruleLinkOperationTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule());
- }
- set(
- $current,
- "tuple",
- lv_tuple_2_0,
- "LinkOperationTuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleLinkOperationTuple
-entryRuleLinkOperationTuple returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLinkOperationTupleRule()); }
- iv_ruleLinkOperationTuple=ruleLinkOperationTuple
- { $current=$iv_ruleLinkOperationTuple.current; }
- EOF
-;
-
-// Rule LinkOperationTuple
-ruleLinkOperationTuple returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='('
- {
- newLeafNode(otherlv_0, grammarAccess.getLinkOperationTupleAccess().getLeftParenthesisKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_1_0());
- }
- lv_linkOperationTupleElement_1_0=ruleLinkOperationTupleElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule());
- }
- add(
- $current,
- "linkOperationTupleElement",
- lv_linkOperationTupleElement_1_0,
- "LinkOperationTupleElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_2=','
- {
- newLeafNode(otherlv_2, grammarAccess.getLinkOperationTupleAccess().getCommaKeyword_2_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_2_1_0());
- }
- lv_linkOperationTupleElement_3_0=ruleLinkOperationTupleElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule());
- }
- add(
- $current,
- "linkOperationTupleElement",
- lv_linkOperationTupleElement_3_0,
- "LinkOperationTupleElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))* otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleAccess().getRightParenthesisKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleLinkOperationTupleElement
-entryRuleLinkOperationTupleElement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLinkOperationTupleElementRule()); }
- iv_ruleLinkOperationTupleElement=ruleLinkOperationTupleElement
- { $current=$iv_ruleLinkOperationTupleElement.current; }
- EOF
-;
-
-// Rule LinkOperationTupleElement
-ruleLinkOperationTupleElement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- lv_objectOrRole_0_0=RULE_ID
- {
- newLeafNode(lv_objectOrRole_0_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleIDTerminalRuleCall_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLinkOperationTupleElementRule());
- }
- setWithLastConsumed(
- $current,
- "objectOrRole",
- lv_objectOrRole_0_0,
- "ID");
- }
-
-)
-)(( otherlv_1='['
- {
- newLeafNode(otherlv_1, grammarAccess.getLinkOperationTupleElementAccess().getLeftSquareBracketKeyword_1_0_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLinkOperationTupleElementAccess().getRoleIndexExpressionParserRuleCall_1_0_1_0());
- }
- lv_roleIndex_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLinkOperationTupleElementRule());
- }
- set(
- $current,
- "roleIndex",
- lv_roleIndex_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=']'
- {
- newLeafNode(otherlv_3, grammarAccess.getLinkOperationTupleElementAccess().getRightSquareBracketKeyword_1_0_2());
- }
-)? otherlv_4='=>'
- {
- newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleElementAccess().getEqualsSignGreaterThanSignKeyword_1_1());
- }
-(
-(
- lv_object_5_0=RULE_ID
- {
- newLeafNode(lv_object_5_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectIDTerminalRuleCall_1_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLinkOperationTupleElementRule());
- }
- setWithLastConsumed(
- $current,
- "object",
- lv_object_5_0,
- "ID");
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceOperationExpression
-entryRuleSequenceOperationExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceOperationExpressionRule()); }
- iv_ruleSequenceOperationExpression=ruleSequenceOperationExpression
- { $current=$iv_ruleSequenceOperationExpression.current; }
- EOF
-;
-
-// Rule SequenceOperationExpression
-ruleSequenceOperationExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getSequenceOperationExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
-(
-(
- lv_operationName_1_0=RULE_ID
- {
- newLeafNode(lv_operationName_1_0, grammarAccess.getSequenceOperationExpressionAccess().getOperationNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSequenceOperationExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "operationName",
- lv_operationName_1_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getTupleTupleParserRuleCall_2_0());
- }
- lv_tuple_2_0=ruleTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule());
- }
- set(
- $current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
- }
- lv_suffix_3_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_3_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceReductionExpression
-entryRuleSequenceReductionExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceReductionExpressionRule()); }
- iv_ruleSequenceReductionExpression=ruleSequenceReductionExpression
- { $current=$iv_ruleSequenceReductionExpression.current; }
- EOF
-;
-
-// Rule SequenceReductionExpression
-ruleSequenceReductionExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getSequenceReductionExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
- otherlv_1='reduce'
- {
- newLeafNode(otherlv_1, grammarAccess.getSequenceReductionExpressionAccess().getReduceKeyword_1());
- }
-(
-(
- lv_isOrdered_2_0= 'ordered'
- {
- newLeafNode(lv_isOrdered_2_0, grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedOrderedKeyword_2_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSequenceReductionExpressionRule());
- }
- setWithLastConsumed($current, "isOrdered", true, "ordered");
- }
-
-)
-)?(
-(
- {
- newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getBehaviorQualifiedNameWithBindingParserRuleCall_3_0());
- }
- lv_behavior_3_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule());
- }
- set(
- $current,
- "behavior",
- lv_behavior_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_0());
- }
- lv_suffix_4_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceExpansionExpression
-entryRuleSequenceExpansionExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceExpansionExpressionRule()); }
- iv_ruleSequenceExpansionExpression=ruleSequenceExpansionExpression
- { $current=$iv_ruleSequenceExpansionExpression.current; }
- EOF
-;
-
-// Rule SequenceExpansionExpression
-ruleSequenceExpansionExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0());
- }
- this_SelectOrRejectOperation_0=ruleSelectOrRejectOperation
- {
- $current = $this_SelectOrRejectOperation_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1());
- }
- this_CollectOrIterateOperation_1=ruleCollectOrIterateOperation
- {
- $current = $this_CollectOrIterateOperation_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2());
- }
- this_ForAllOrExistsOrOneOperation_2=ruleForAllOrExistsOrOneOperation
- {
- $current = $this_ForAllOrExistsOrOneOperation_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3());
- }
- this_IsUniqueOperation_3=ruleIsUniqueOperation
- {
- $current = $this_IsUniqueOperation_3.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSelectOrRejectOperation
-entryRuleSelectOrRejectOperation returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSelectOrRejectOperationRule()); }
- iv_ruleSelectOrRejectOperation=ruleSelectOrRejectOperation
- { $current=$iv_ruleSelectOrRejectOperation.current; }
- EOF
-;
-
-// Rule SelectOrRejectOperation
-ruleSelectOrRejectOperation returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getSelectOrRejectOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getOpSelectOrRejectOperatorEnumRuleCall_1_0());
- }
- lv_op_1_0=ruleSelectOrRejectOperator {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- $current,
- "op",
- lv_op_1_0,
- "SelectOrRejectOperator");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getSelectOrRejectOperationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSelectOrRejectOperationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-) otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getSelectOrRejectOperationAccess().getLeftParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getExprExpressionParserRuleCall_4_0());
- }
- lv_expr_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- $current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getSelectOrRejectOperationAccess().getRightParenthesisKeyword_5());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
- }
- lv_suffix_6_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleCollectOrIterateOperation
-entryRuleCollectOrIterateOperation returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getCollectOrIterateOperationRule()); }
- iv_ruleCollectOrIterateOperation=ruleCollectOrIterateOperation
- { $current=$iv_ruleCollectOrIterateOperation.current; }
- EOF
-;
-
-// Rule CollectOrIterateOperation
-ruleCollectOrIterateOperation returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getCollectOrIterateOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getOpCollectOrIterateOperatorEnumRuleCall_1_0());
- }
- lv_op_1_0=ruleCollectOrIterateOperator {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- $current,
- "op",
- lv_op_1_0,
- "CollectOrIterateOperator");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getCollectOrIterateOperationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getCollectOrIterateOperationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-) otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getCollectOrIterateOperationAccess().getLeftParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getExprExpressionParserRuleCall_4_0());
- }
- lv_expr_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- $current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getCollectOrIterateOperationAccess().getRightParenthesisKeyword_5());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
- }
- lv_suffix_6_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleForAllOrExistsOrOneOperation
-entryRuleForAllOrExistsOrOneOperation returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationRule()); }
- iv_ruleForAllOrExistsOrOneOperation=ruleForAllOrExistsOrOneOperation
- { $current=$iv_ruleForAllOrExistsOrOneOperation.current; }
- EOF
-;
-
-// Rule ForAllOrExistsOrOneOperation
-ruleForAllOrExistsOrOneOperation returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpForAllOrExistsOrOneOperatorEnumRuleCall_1_0());
- }
- lv_op_1_0=ruleForAllOrExistsOrOneOperator {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- $current,
- "op",
- lv_op_1_0,
- "ForAllOrExistsOrOneOperator");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-) otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getForAllOrExistsOrOneOperationAccess().getLeftParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getExprExpressionParserRuleCall_4_0());
- }
- lv_expr_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- $current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getForAllOrExistsOrOneOperationAccess().getRightParenthesisKeyword_5());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
- }
- lv_suffix_6_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleIsUniqueOperation
-entryRuleIsUniqueOperation returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getIsUniqueOperationRule()); }
- iv_ruleIsUniqueOperation=ruleIsUniqueOperation
- { $current=$iv_ruleIsUniqueOperation.current; }
- EOF
-;
-
-// Rule IsUniqueOperation
-ruleIsUniqueOperation returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='->'
- {
- newLeafNode(otherlv_0, grammarAccess.getIsUniqueOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
- }
- otherlv_1='isUnique'
- {
- newLeafNode(otherlv_1, grammarAccess.getIsUniqueOperationAccess().getIsUniqueKeyword_1());
- }
-(
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getIsUniqueOperationAccess().getNameIDTerminalRuleCall_2_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getIsUniqueOperationRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-) otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getIsUniqueOperationAccess().getLeftParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getExprExpressionParserRuleCall_4_0());
- }
- lv_expr_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule());
- }
- set(
- $current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getIsUniqueOperationAccess().getRightParenthesisKeyword_5());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
- }
- lv_suffix_6_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleValueSpecification
-entryRuleValueSpecification returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getValueSpecificationRule()); }
- iv_ruleValueSpecification=ruleValueSpecification
- { $current=$iv_ruleValueSpecification.current; }
- EOF
-;
-
-// Rule ValueSpecification
-ruleValueSpecification returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0());
- }
- this_NameExpression_0=ruleNameExpression
- {
- $current = $this_NameExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1());
- }
- this_LITERAL_1=ruleLITERAL
- {
- $current = $this_LITERAL_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2());
- }
- this_ThisExpression_2=ruleThisExpression
- {
- $current = $this_ThisExpression_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3());
- }
- this_SuperInvocationExpression_3=ruleSuperInvocationExpression
- {
- $current = $this_SuperInvocationExpression_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4());
- }
- this_InstanceCreationExpression_4=ruleInstanceCreationExpression
- {
- $current = $this_InstanceCreationExpression_4.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5());
- }
- this_ParenthesizedExpression_5=ruleParenthesizedExpression
- {
- $current = $this_ParenthesizedExpression_5.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6());
- }
- this_NullExpression_6=ruleNullExpression
- {
- $current = $this_NullExpression_6.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleNonLiteralValueSpecification
-entryRuleNonLiteralValueSpecification returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNonLiteralValueSpecificationRule()); }
- iv_ruleNonLiteralValueSpecification=ruleNonLiteralValueSpecification
- { $current=$iv_ruleNonLiteralValueSpecification.current; }
- EOF
-;
-
-// Rule NonLiteralValueSpecification
-ruleNonLiteralValueSpecification returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0());
- }
- this_NameExpression_0=ruleNameExpression
- {
- $current = $this_NameExpression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1());
- }
- this_ParenthesizedExpression_1=ruleParenthesizedExpression
- {
- $current = $this_ParenthesizedExpression_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2());
- }
- this_InstanceCreationExpression_2=ruleInstanceCreationExpression
- {
- $current = $this_InstanceCreationExpression_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3());
- }
- this_ThisExpression_3=ruleThisExpression
- {
- $current = $this_ThisExpression_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4());
- }
- this_SuperInvocationExpression_4=ruleSuperInvocationExpression
- {
- $current = $this_SuperInvocationExpression_4.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleParenthesizedExpression
-entryRuleParenthesizedExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getParenthesizedExpressionRule()); }
- iv_ruleParenthesizedExpression=ruleParenthesizedExpression
- { $current=$iv_ruleParenthesizedExpression.current; }
- EOF
-;
-
-// Rule ParenthesizedExpression
-ruleParenthesizedExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='('
- {
- newLeafNode(otherlv_0, grammarAccess.getParenthesizedExpressionAccess().getLeftParenthesisKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getExpOrTypeCastExpressionParserRuleCall_1_0());
- }
- lv_expOrTypeCast_1_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- $current,
- "expOrTypeCast",
- lv_expOrTypeCast_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2=')'
- {
- newLeafNode(otherlv_2, grammarAccess.getParenthesizedExpressionAccess().getRightParenthesisKeyword_2());
- }
-((
-(
- {
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getCastedNonLiteralValueSpecificationParserRuleCall_3_0_0());
- }
- lv_casted_3_0=ruleNonLiteralValueSpecification {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- $current,
- "casted",
- lv_casted_3_0,
- "NonLiteralValueSpecification");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_1_0());
- }
- lv_suffix_4_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
-;
-
-
-
-
-
-// Entry rule entryRuleNullExpression
-entryRuleNullExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNullExpressionRule()); }
- iv_ruleNullExpression=ruleNullExpression
- { $current=$iv_ruleNullExpression.current; }
- EOF
-;
-
-// Rule NullExpression
-ruleNullExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getNullExpressionAccess().getNullExpressionAction_0(),
- $current);
- }
-) otherlv_1='null'
- {
- newLeafNode(otherlv_1, grammarAccess.getNullExpressionAccess().getNullKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleThisExpression
-entryRuleThisExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getThisExpressionRule()); }
- iv_ruleThisExpression=ruleThisExpression
- { $current=$iv_ruleThisExpression.current; }
- EOF
-;
-
-// Rule ThisExpression
-ruleThisExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getThisExpressionAccess().getThisExpressionAction_0(),
- $current);
- }
-) otherlv_1='this'
- {
- newLeafNode(otherlv_1, grammarAccess.getThisExpressionAccess().getThisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getThisExpressionAccess().getSuffixSuffixExpressionParserRuleCall_2_0());
- }
- lv_suffix_2_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getThisExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSuperInvocationExpression
-entryRuleSuperInvocationExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSuperInvocationExpressionRule()); }
- iv_ruleSuperInvocationExpression=ruleSuperInvocationExpression
- { $current=$iv_ruleSuperInvocationExpression.current; }
- EOF
-;
-
-// Rule SuperInvocationExpression
-ruleSuperInvocationExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='super'
- {
- newLeafNode(otherlv_0, grammarAccess.getSuperInvocationExpressionAccess().getSuperKeyword_0());
- }
-(( otherlv_1='.'
- {
- newLeafNode(otherlv_1, grammarAccess.getSuperInvocationExpressionAccess().getFullStopKeyword_1_0_0());
- }
-(
-(
- lv_className_2_0=RULE_ID
- {
- newLeafNode(lv_className_2_0, grammarAccess.getSuperInvocationExpressionAccess().getClassNameIDTerminalRuleCall_1_0_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSuperInvocationExpressionRule());
- }
- setWithLastConsumed(
- $current,
- "className",
- lv_className_2_0,
- "ID");
- }
-
-)
-) otherlv_3='::'
- {
- newLeafNode(otherlv_3, grammarAccess.getSuperInvocationExpressionAccess().getColonColonKeyword_1_0_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotOperationCallExpressionWithoutDotParserRuleCall_1_0_3_0());
- }
- lv_operationCallWithoutDot_4_0=ruleOperationCallExpressionWithoutDot {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule());
- }
- set(
- $current,
- "operationCallWithoutDot",
- lv_operationCallWithoutDot_4_0,
- "OperationCallExpressionWithoutDot");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
- |(
-(
- {
- newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallOperationCallExpressionParserRuleCall_1_1_0());
- }
- lv_operationCall_5_0=ruleOperationCallExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule());
- }
- set(
- $current,
- "operationCall",
- lv_operationCall_5_0,
- "OperationCallExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleInstanceCreationExpression
-entryRuleInstanceCreationExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInstanceCreationExpressionRule()); }
- iv_ruleInstanceCreationExpression=ruleInstanceCreationExpression
- { $current=$iv_ruleInstanceCreationExpression.current; }
- EOF
-;
-
-// Rule InstanceCreationExpression
-ruleInstanceCreationExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='new'
- {
- newLeafNode(otherlv_0, grammarAccess.getInstanceCreationExpressionAccess().getNewKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getConstructorQualifiedNameWithBindingParserRuleCall_1_0());
- }
- lv_constructor_1_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- $current,
- "constructor",
- lv_constructor_1_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- {
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getTupleTupleParserRuleCall_2_0_0());
- }
- lv_tuple_2_0=ruleTuple {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- $current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionSequenceConstructionCompletionParserRuleCall_2_1_0());
- }
- lv_sequenceConstuctionCompletion_3_0=ruleSequenceConstructionCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- $current,
- "sequenceConstuctionCompletion",
- lv_sequenceConstuctionCompletion_3_0,
- "SequenceConstructionCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-))(
-(
- {
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
- }
- lv_suffix_4_0=ruleSuffixExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- $current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceConstructionOrAccessCompletion
-entryRuleSequenceConstructionOrAccessCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionRule()); }
- iv_ruleSequenceConstructionOrAccessCompletion=ruleSequenceConstructionOrAccessCompletion
- { $current=$iv_ruleSequenceConstructionOrAccessCompletion.current; }
- EOF
-;
-
-// Rule SequenceConstructionOrAccessCompletion
-ruleSequenceConstructionOrAccessCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- lv_multiplicityIndicator_0_0= '['
- {
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- setWithLastConsumed($current, "multiplicityIndicator", true, "[");
- }
-
-)
-)((
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAccessCompletionParserRuleCall_0_1_0_0());
- }
- lv_accessCompletion_1_0=ruleAccessCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- $current,
- "accessCompletion",
- lv_accessCompletion_1_0,
- "AccessCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionPartialSequenceConstructionCompletionParserRuleCall_0_1_1_0());
- }
- lv_sequenceCompletion_2_0=rulePartialSequenceConstructionCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- $current,
- "sequenceCompletion",
- lv_sequenceCompletion_2_0,
- "PartialSequenceConstructionCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
- |(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
- }
- lv_expression_3_0=ruleSequenceConstructionExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- $current,
- "expression",
- lv_expression_3_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleAccessCompletion
-entryRuleAccessCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAccessCompletionRule()); }
- iv_ruleAccessCompletion=ruleAccessCompletion
- { $current=$iv_ruleAccessCompletion.current; }
- EOF
-;
-
-// Rule AccessCompletion
-ruleAccessCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAccessCompletionAccess().getAccessIndexExpressionParserRuleCall_0_0());
- }
- lv_accessIndex_0_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAccessCompletionRule());
- }
- set(
- $current,
- "accessIndex",
- lv_accessIndex_0_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_1=']'
- {
- newLeafNode(otherlv_1, grammarAccess.getAccessCompletionAccess().getRightSquareBracketKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRulePartialSequenceConstructionCompletion
-entryRulePartialSequenceConstructionCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionRule()); }
- iv_rulePartialSequenceConstructionCompletion=rulePartialSequenceConstructionCompletion
- { $current=$iv_rulePartialSequenceConstructionCompletion.current; }
- EOF
-;
-
-// Rule PartialSequenceConstructionCompletion
-rulePartialSequenceConstructionCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0=']'
- {
- newLeafNode(otherlv_0, grammarAccess.getPartialSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
- }
- lv_expression_1_0=ruleSequenceConstructionExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getPartialSequenceConstructionCompletionRule());
- }
- set(
- $current,
- "expression",
- lv_expression_1_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceConstructionCompletion
-entryRuleSequenceConstructionCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceConstructionCompletionRule()); }
- iv_ruleSequenceConstructionCompletion=ruleSequenceConstructionCompletion
- { $current=$iv_ruleSequenceConstructionCompletion.current; }
- EOF
-;
-
-// Rule SequenceConstructionCompletion
-ruleSequenceConstructionCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- lv_multiplicityIndicator_0_0= '['
- {
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getSequenceConstructionCompletionRule());
- }
- setWithLastConsumed($current, "multiplicityIndicator", true, "[");
- }
-
-)
-) otherlv_1=']'
- {
- newLeafNode(otherlv_1, grammarAccess.getSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0_1());
- }
-)?(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
- }
- lv_expression_2_0=ruleSequenceConstructionExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionCompletionRule());
- }
- set(
- $current,
- "expression",
- lv_expression_2_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceConstructionExpression
-entryRuleSequenceConstructionExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceConstructionExpressionRule()); }
- iv_ruleSequenceConstructionExpression=ruleSequenceConstructionExpression
- { $current=$iv_ruleSequenceConstructionExpression.current; }
- EOF
-;
-
-// Rule SequenceConstructionExpression
-ruleSequenceConstructionExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='{'
- {
- newLeafNode(otherlv_0, grammarAccess.getSequenceConstructionExpressionAccess().getLeftCurlyBracketKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_1_0());
- }
- lv_sequenceElement_1_0=ruleSequenceElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- add(
- $current,
- "sequenceElement",
- lv_sequenceElement_1_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(( otherlv_2=','
- {
- newLeafNode(otherlv_2, grammarAccess.getSequenceConstructionExpressionAccess().getCommaKeyword_2_0_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_2_0_1_0());
- }
- lv_sequenceElement_3_0=ruleSequenceElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- add(
- $current,
- "sequenceElement",
- lv_sequenceElement_3_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*
- |( otherlv_4='..'
- {
- newLeafNode(otherlv_4, grammarAccess.getSequenceConstructionExpressionAccess().getFullStopFullStopKeyword_2_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getRangeUpperExpressionParserRuleCall_2_1_1_0());
- }
- lv_rangeUpper_5_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- set(
- $current,
- "rangeUpper",
- lv_rangeUpper_5_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))) otherlv_6='}'
- {
- newLeafNode(otherlv_6, grammarAccess.getSequenceConstructionExpressionAccess().getRightCurlyBracketKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSequenceElement
-entryRuleSequenceElement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequenceElementRule()); }
- iv_ruleSequenceElement=ruleSequenceElement
- { $current=$iv_ruleSequenceElement.current; }
- EOF
-;
-
-// Rule SequenceElement
-ruleSequenceElement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0());
- }
- this_Expression_0=ruleExpression
- {
- $current = $this_Expression_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1());
- }
- this_SequenceConstructionExpression_1=ruleSequenceConstructionExpression
- {
- $current = $this_SequenceConstructionExpression_1.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleClassExtentExpression
-entryRuleClassExtentExpression returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassExtentExpressionRule()); }
- iv_ruleClassExtentExpression=ruleClassExtentExpression
- { $current=$iv_ruleClassExtentExpression.current; }
- EOF
-;
-
-// Rule ClassExtentExpression
-ruleClassExtentExpression returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0(),
- $current);
- }
-) otherlv_1='.'
- {
- newLeafNode(otherlv_1, grammarAccess.getClassExtentExpressionAccess().getFullStopKeyword_1());
- }
- otherlv_2='allInstances'
- {
- newLeafNode(otherlv_2, grammarAccess.getClassExtentExpressionAccess().getAllInstancesKeyword_2());
- }
- otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getClassExtentExpressionAccess().getLeftParenthesisKeyword_3());
- }
- otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getClassExtentExpressionAccess().getRightParenthesisKeyword_4());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleBlock
-entryRuleBlock returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getBlockRule()); }
- iv_ruleBlock=ruleBlock
- { $current=$iv_ruleBlock.current; }
- EOF
-;
-
-// Rule Block
-ruleBlock returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='{'
- {
- newLeafNode(otherlv_0, grammarAccess.getBlockAccess().getLeftCurlyBracketKeyword_0());
- }
-(
- {
- $current = forceCreateModelElement(
- grammarAccess.getBlockAccess().getBlockAction_1(),
- $current);
- }
-)(
-(
- {
- newCompositeNode(grammarAccess.getBlockAccess().getSequenceStatementSequenceParserRuleCall_2_0());
- }
- lv_sequence_2_0=ruleStatementSequence {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBlockRule());
- }
- set(
- $current,
- "sequence",
- lv_sequence_2_0,
- "StatementSequence");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_3='}'
- {
- newLeafNode(otherlv_3, grammarAccess.getBlockAccess().getRightCurlyBracketKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleStatementSequence
-entryRuleStatementSequence returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getStatementSequenceRule()); }
- iv_ruleStatementSequence=ruleStatementSequence
- { $current=$iv_ruleStatementSequence.current; }
- EOF
-;
-
-// Rule StatementSequence
-ruleStatementSequence returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getStatementSequenceAccess().getStatementsDocumentedStatementParserRuleCall_0());
- }
- lv_statements_0_0=ruleDocumentedStatement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getStatementSequenceRule());
- }
- add(
- $current,
- "statements",
- lv_statements_0_0,
- "DocumentedStatement");
- afterParserOrEnumRuleCall();
- }
-
-)
-)+
-;
-
-
-
-
-
-// Entry rule entryRuleDocumentedStatement
-entryRuleDocumentedStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDocumentedStatementRule()); }
- iv_ruleDocumentedStatement=ruleDocumentedStatement
- { $current=$iv_ruleDocumentedStatement.current; }
- EOF
-;
-
-// Rule DocumentedStatement
-ruleDocumentedStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
-(
- lv_comment_0_1=RULE_ML_COMMENT
- {
- newLeafNode(lv_comment_0_1, grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- $current,
- "comment",
- lv_comment_0_1,
- "ML_COMMENT");
- }
-
- | lv_comment_0_2=RULE_SL_COMMENT
- {
- newLeafNode(lv_comment_0_2, grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- $current,
- "comment",
- lv_comment_0_2,
- "SL_COMMENT");
- }
-
-)
-
-)
-)?(
-(
- {
- newCompositeNode(grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0());
- }
- lv_statement_1_0=ruleStatement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDocumentedStatementRule());
- }
- set(
- $current,
- "statement",
- lv_statement_1_0,
- "Statement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleInlineStatement
-entryRuleInlineStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInlineStatementRule()); }
- iv_ruleInlineStatement=ruleInlineStatement
- { $current=$iv_ruleInlineStatement.current; }
- EOF
-;
-
-// Rule InlineStatement
-ruleInlineStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='/*@'
- {
- newLeafNode(otherlv_0, grammarAccess.getInlineStatementAccess().getSolidusAsteriskCommercialAtKeyword_0());
- }
- otherlv_1='inline'
- {
- newLeafNode(otherlv_1, grammarAccess.getInlineStatementAccess().getInlineKeyword_1());
- }
- otherlv_2='('
- {
- newLeafNode(otherlv_2, grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2());
- }
-(
-(
- lv_langageName_3_0=RULE_ID
- {
- newLeafNode(lv_langageName_3_0, grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getInlineStatementRule());
- }
- setWithLastConsumed(
- $current,
- "langageName",
- lv_langageName_3_0,
- "ID");
- }
-
-)
-) otherlv_4=')'
- {
- newLeafNode(otherlv_4, grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4());
- }
-(
-(
- lv_body_5_0=RULE_STRING
- {
- newLeafNode(lv_body_5_0, grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getInlineStatementRule());
- }
- setWithLastConsumed(
- $current,
- "body",
- lv_body_5_0,
- "STRING");
- }
-
-)
-) otherlv_6='*/'
- {
- newLeafNode(otherlv_6, grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleAnnotatedStatement
-entryRuleAnnotatedStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAnnotatedStatementRule()); }
- iv_ruleAnnotatedStatement=ruleAnnotatedStatement
- { $current=$iv_ruleAnnotatedStatement.current; }
- EOF
-;
-
-// Rule AnnotatedStatement
-ruleAnnotatedStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='//@'
- {
- newLeafNode(otherlv_0, grammarAccess.getAnnotatedStatementAccess().getSolidusSolidusCommercialAtKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getAnnotationAnnotationParserRuleCall_1_0());
- }
- lv_annotation_1_0=ruleAnnotation {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule());
- }
- set(
- $current,
- "annotation",
- lv_annotation_1_0,
- "Annotation");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_2_0());
- }
- lv_statement_2_0=ruleStatement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule());
- }
- set(
- $current,
- "statement",
- lv_statement_2_0,
- "Statement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleStatement
-entryRuleStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getStatementRule()); }
- iv_ruleStatement=ruleStatement
- { $current=$iv_ruleStatement.current; }
- EOF
-;
-
-// Rule Statement
-ruleStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
- {
- newCompositeNode(grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0());
- }
- this_AnnotatedStatement_0=ruleAnnotatedStatement
- {
- $current = $this_AnnotatedStatement_0.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1());
- }
- this_InlineStatement_1=ruleInlineStatement
- {
- $current = $this_InlineStatement_1.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2());
- }
- this_BlockStatement_2=ruleBlockStatement
- {
- $current = $this_BlockStatement_2.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3());
- }
- this_EmptyStatement_3=ruleEmptyStatement
- {
- $current = $this_EmptyStatement_3.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4());
- }
- this_LocalNameDeclarationStatement_4=ruleLocalNameDeclarationStatement
- {
- $current = $this_LocalNameDeclarationStatement_4.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5());
- }
- this_IfStatement_5=ruleIfStatement
- {
- $current = $this_IfStatement_5.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6());
- }
- this_SwitchStatement_6=ruleSwitchStatement
- {
- $current = $this_SwitchStatement_6.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7());
- }
- this_WhileStatement_7=ruleWhileStatement
- {
- $current = $this_WhileStatement_7.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8());
- }
- this_DoStatement_8=ruleDoStatement
- {
- $current = $this_DoStatement_8.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getForStatementParserRuleCall_9());
- }
- this_ForStatement_9=ruleForStatement
- {
- $current = $this_ForStatement_9.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10());
- }
- this_BreakStatement_10=ruleBreakStatement
- {
- $current = $this_BreakStatement_10.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11());
- }
- this_ReturnStatement_11=ruleReturnStatement
- {
- $current = $this_ReturnStatement_11.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12());
- }
- this_AcceptStatement_12=ruleAcceptStatement
- {
- $current = $this_AcceptStatement_12.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13());
- }
- this_ClassifyStatement_13=ruleClassifyStatement
- {
- $current = $this_ClassifyStatement_13.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14());
- }
- this_InvocationOrAssignementOrDeclarationStatement_14=ruleInvocationOrAssignementOrDeclarationStatement
- {
- $current = $this_InvocationOrAssignementOrDeclarationStatement_14.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15());
- }
- this_SuperInvocationStatement_15=ruleSuperInvocationStatement
- {
- $current = $this_SuperInvocationStatement_15.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16());
- }
- this_ThisInvocationStatement_16=ruleThisInvocationStatement
- {
- $current = $this_ThisInvocationStatement_16.current;
- afterParserOrEnumRuleCall();
- }
-
- |
- {
- newCompositeNode(grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17());
- }
- this_InstanceCreationInvocationStatement_17=ruleInstanceCreationInvocationStatement
- {
- $current = $this_InstanceCreationInvocationStatement_17.current;
- afterParserOrEnumRuleCall();
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleAnnotation
-entryRuleAnnotation returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAnnotationRule()); }
- iv_ruleAnnotation=ruleAnnotation
- { $current=$iv_ruleAnnotation.current; }
- EOF
-;
-
-// Rule Annotation
-ruleAnnotation returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAnnotationAccess().getKindAnnotationKindEnumRuleCall_0_0());
- }
- lv_kind_0_0=ruleAnnotationKind {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAnnotationRule());
- }
- set(
- $current,
- "kind",
- lv_kind_0_0,
- "AnnotationKind");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_1_0());
- }
-(
-(
- lv_args_2_0=RULE_ID
- {
- newLeafNode(lv_args_2_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAnnotationRule());
- }
- addWithLastConsumed(
- $current,
- "args",
- lv_args_2_0,
- "ID");
- }
-
-)
-)( otherlv_3=','
- {
- newLeafNode(otherlv_3, grammarAccess.getAnnotationAccess().getCommaKeyword_1_2_0());
- }
-(
-(
- lv_args_4_0=RULE_ID
- {
- newLeafNode(lv_args_4_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_2_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAnnotationRule());
- }
- addWithLastConsumed(
- $current,
- "args",
- lv_args_4_0,
- "ID");
- }
-
-)
-))* otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_1_3());
- }
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleBlockStatement
-entryRuleBlockStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getBlockStatementRule()); }
- iv_ruleBlockStatement=ruleBlockStatement
- { $current=$iv_ruleBlockStatement.current; }
- EOF
-;
-
-// Rule BlockStatement
-ruleBlockStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getBlockStatementAccess().getBlockBlockParserRuleCall_0());
- }
- lv_block_0_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getBlockStatementRule());
- }
- set(
- $current,
- "block",
- lv_block_0_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
-;
-
-
-
-
-
-// Entry rule entryRuleEmptyStatement
-entryRuleEmptyStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getEmptyStatementRule()); }
- iv_ruleEmptyStatement=ruleEmptyStatement
- { $current=$iv_ruleEmptyStatement.current; }
- EOF
-;
-
-// Rule EmptyStatement
-ruleEmptyStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0(),
- $current);
- }
-) otherlv_1=';'
- {
- newLeafNode(otherlv_1, grammarAccess.getEmptyStatementAccess().getSemicolonKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleLocalNameDeclarationStatement
-entryRuleLocalNameDeclarationStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLocalNameDeclarationStatementRule()); }
- iv_ruleLocalNameDeclarationStatement=ruleLocalNameDeclarationStatement
- { $current=$iv_ruleLocalNameDeclarationStatement.current; }
- EOF
-;
-
-// Rule LocalNameDeclarationStatement
-ruleLocalNameDeclarationStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='let'
- {
- newLeafNode(otherlv_0, grammarAccess.getLocalNameDeclarationStatementAccess().getLetKeyword_0());
- }
-(
-(
- lv_varName_1_0=RULE_ID
- {
- newLeafNode(lv_varName_1_0, grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- setWithLastConsumed(
- $current,
- "varName",
- lv_varName_1_0,
- "ID");
- }
-
-)
-) otherlv_2=':'
- {
- newLeafNode(otherlv_2, grammarAccess.getLocalNameDeclarationStatementAccess().getColonKeyword_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getTypeQualifiedNameWithBindingParserRuleCall_3_0());
- }
- lv_type_3_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- set(
- $current,
- "type",
- lv_type_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- lv_multiplicityIndicator_4_0= '['
- {
- newLeafNode(lv_multiplicityIndicator_4_0, grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_4_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- setWithLastConsumed($current, "multiplicityIndicator", true, "[");
- }
-
-)
-) otherlv_5=']'
- {
- newLeafNode(otherlv_5, grammarAccess.getLocalNameDeclarationStatementAccess().getRightSquareBracketKeyword_4_1());
- }
-)? otherlv_6='='
- {
- newLeafNode(otherlv_6, grammarAccess.getLocalNameDeclarationStatementAccess().getEqualsSignKeyword_5());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_0());
- }
- lv_init_7_0=ruleSequenceElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- set(
- $current,
- "init",
- lv_init_7_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_8=';'
- {
- newLeafNode(otherlv_8, grammarAccess.getLocalNameDeclarationStatementAccess().getSemicolonKeyword_7());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleIfStatement
-entryRuleIfStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getIfStatementRule()); }
- iv_ruleIfStatement=ruleIfStatement
- { $current=$iv_ruleIfStatement.current; }
- EOF
-;
-
-// Rule IfStatement
-ruleIfStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='if'
- {
- newLeafNode(otherlv_0, grammarAccess.getIfStatementAccess().getIfKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getIfStatementAccess().getSequentialClaussesSequentialClausesParserRuleCall_1_0());
- }
- lv_sequentialClausses_1_0=ruleSequentialClauses {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIfStatementRule());
- }
- set(
- $current,
- "sequentialClausses",
- lv_sequentialClausses_1_0,
- "SequentialClauses");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getIfStatementAccess().getFinalClauseFinalClauseParserRuleCall_2_0());
- }
- lv_finalClause_2_0=ruleFinalClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getIfStatementRule());
- }
- set(
- $current,
- "finalClause",
- lv_finalClause_2_0,
- "FinalClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
-;
-
-
-
-
-
-// Entry rule entryRuleSequentialClauses
-entryRuleSequentialClauses returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSequentialClausesRule()); }
- iv_ruleSequentialClauses=ruleSequentialClauses
- { $current=$iv_ruleSequentialClauses.current; }
- EOF
-;
-
-// Rule SequentialClauses
-ruleSequentialClauses returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_0_0());
- }
- lv_conccurentClauses_0_0=ruleConcurrentClauses {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequentialClausesRule());
- }
- add(
- $current,
- "conccurentClauses",
- lv_conccurentClauses_0_0,
- "ConcurrentClauses");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='else'
- {
- newLeafNode(otherlv_1, grammarAccess.getSequentialClausesAccess().getElseKeyword_1_0());
- }
- otherlv_2='if'
- {
- newLeafNode(otherlv_2, grammarAccess.getSequentialClausesAccess().getIfKeyword_1_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_1_2_0());
- }
- lv_conccurentClauses_3_0=ruleConcurrentClauses {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSequentialClausesRule());
- }
- add(
- $current,
- "conccurentClauses",
- lv_conccurentClauses_3_0,
- "ConcurrentClauses");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleConcurrentClauses
-entryRuleConcurrentClauses returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getConcurrentClausesRule()); }
- iv_ruleConcurrentClauses=ruleConcurrentClauses
- { $current=$iv_ruleConcurrentClauses.current; }
- EOF
-;
-
-// Rule ConcurrentClauses
-ruleConcurrentClauses returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_0_0());
- }
- lv_nonFinalClause_0_0=ruleNonFinalClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConcurrentClausesRule());
- }
- add(
- $current,
- "nonFinalClause",
- lv_nonFinalClause_0_0,
- "NonFinalClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='or'
- {
- newLeafNode(otherlv_1, grammarAccess.getConcurrentClausesAccess().getOrKeyword_1_0());
- }
- otherlv_2='if'
- {
- newLeafNode(otherlv_2, grammarAccess.getConcurrentClausesAccess().getIfKeyword_1_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_1_2_0());
- }
- lv_nonFinalClause_3_0=ruleNonFinalClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getConcurrentClausesRule());
- }
- add(
- $current,
- "nonFinalClause",
- lv_nonFinalClause_3_0,
- "NonFinalClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleNonFinalClause
-entryRuleNonFinalClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNonFinalClauseRule()); }
- iv_ruleNonFinalClause=ruleNonFinalClause
- { $current=$iv_ruleNonFinalClause.current; }
- EOF
-;
-
-// Rule NonFinalClause
-ruleNonFinalClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='('
- {
- newLeafNode(otherlv_0, grammarAccess.getNonFinalClauseAccess().getLeftParenthesisKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getNonFinalClauseAccess().getConditionExpressionParserRuleCall_1_0());
- }
- lv_condition_1_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNonFinalClauseRule());
- }
- set(
- $current,
- "condition",
- lv_condition_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2=')'
- {
- newLeafNode(otherlv_2, grammarAccess.getNonFinalClauseAccess().getRightParenthesisKeyword_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getNonFinalClauseAccess().getBlockBlockParserRuleCall_3_0());
- }
- lv_block_3_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNonFinalClauseRule());
- }
- set(
- $current,
- "block",
- lv_block_3_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleFinalClause
-entryRuleFinalClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getFinalClauseRule()); }
- iv_ruleFinalClause=ruleFinalClause
- { $current=$iv_ruleFinalClause.current; }
- EOF
-;
-
-// Rule FinalClause
-ruleFinalClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='else'
- {
- newLeafNode(otherlv_0, grammarAccess.getFinalClauseAccess().getElseKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getFinalClauseAccess().getBlockBlockParserRuleCall_1_0());
- }
- lv_block_1_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getFinalClauseRule());
- }
- set(
- $current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleSwitchStatement
-entryRuleSwitchStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSwitchStatementRule()); }
- iv_ruleSwitchStatement=ruleSwitchStatement
- { $current=$iv_ruleSwitchStatement.current; }
- EOF
-;
-
-// Rule SwitchStatement
-ruleSwitchStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='switch'
- {
- newLeafNode(otherlv_0, grammarAccess.getSwitchStatementAccess().getSwitchKeyword_0());
- }
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getSwitchStatementAccess().getLeftParenthesisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getExpressionExpressionParserRuleCall_2_0());
- }
- lv_expression_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- set(
- $current,
- "expression",
- lv_expression_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getSwitchStatementAccess().getRightParenthesisKeyword_3());
- }
- otherlv_4='{'
- {
- newLeafNode(otherlv_4, grammarAccess.getSwitchStatementAccess().getLeftCurlyBracketKeyword_4());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getSwitchClauseSwitchClauseParserRuleCall_5_0());
- }
- lv_switchClause_5_0=ruleSwitchClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- add(
- $current,
- "switchClause",
- lv_switchClause_5_0,
- "SwitchClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)*(
-(
- {
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getDefaultClauseSwitchDefaultClauseParserRuleCall_6_0());
- }
- lv_defaultClause_6_0=ruleSwitchDefaultClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- set(
- $current,
- "defaultClause",
- lv_defaultClause_6_0,
- "SwitchDefaultClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_7='}'
- {
- newLeafNode(otherlv_7, grammarAccess.getSwitchStatementAccess().getRightCurlyBracketKeyword_7());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSwitchClause
-entryRuleSwitchClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSwitchClauseRule()); }
- iv_ruleSwitchClause=ruleSwitchClause
- { $current=$iv_ruleSwitchClause.current; }
- EOF
-;
-
-// Rule SwitchClause
-ruleSwitchClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_0_0());
- }
- lv_switchCase_0_0=ruleSwitchCase {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- add(
- $current,
- "switchCase",
- lv_switchCase_0_0,
- "SwitchCase");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_1_0());
- }
- lv_switchCase_1_0=ruleSwitchCase {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- add(
- $current,
- "switchCase",
- lv_switchCase_1_0,
- "SwitchCase");
- afterParserOrEnumRuleCall();
- }
-
-)
-)*(
-(
- {
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0());
- }
- lv_statementSequence_2_0=ruleNonEmptyStatementSequence {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- set(
- $current,
- "statementSequence",
- lv_statementSequence_2_0,
- "NonEmptyStatementSequence");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleSwitchCase
-entryRuleSwitchCase returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSwitchCaseRule()); }
- iv_ruleSwitchCase=ruleSwitchCase
- { $current=$iv_ruleSwitchCase.current; }
- EOF
-;
-
-// Rule SwitchCase
-ruleSwitchCase returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='case'
- {
- newLeafNode(otherlv_0, grammarAccess.getSwitchCaseAccess().getCaseKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSwitchCaseAccess().getExpressionExpressionParserRuleCall_1_0());
- }
- lv_expression_1_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchCaseRule());
- }
- set(
- $current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2=':'
- {
- newLeafNode(otherlv_2, grammarAccess.getSwitchCaseAccess().getColonKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSwitchDefaultClause
-entryRuleSwitchDefaultClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSwitchDefaultClauseRule()); }
- iv_ruleSwitchDefaultClause=ruleSwitchDefaultClause
- { $current=$iv_ruleSwitchDefaultClause.current; }
- EOF
-;
-
-// Rule SwitchDefaultClause
-ruleSwitchDefaultClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='default'
- {
- newLeafNode(otherlv_0, grammarAccess.getSwitchDefaultClauseAccess().getDefaultKeyword_0());
- }
- otherlv_1=':'
- {
- newLeafNode(otherlv_1, grammarAccess.getSwitchDefaultClauseAccess().getColonKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0());
- }
- lv_statementSequence_2_0=ruleNonEmptyStatementSequence {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSwitchDefaultClauseRule());
- }
- set(
- $current,
- "statementSequence",
- lv_statementSequence_2_0,
- "NonEmptyStatementSequence");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleNonEmptyStatementSequence
-entryRuleNonEmptyStatementSequence returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getNonEmptyStatementSequenceRule()); }
- iv_ruleNonEmptyStatementSequence=ruleNonEmptyStatementSequence
- { $current=$iv_ruleNonEmptyStatementSequence.current; }
- EOF
-;
-
-// Rule NonEmptyStatementSequence
-ruleNonEmptyStatementSequence returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(
-(
- {
- newCompositeNode(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementDocumentedStatementParserRuleCall_0());
- }
- lv_statement_0_0=ruleDocumentedStatement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getNonEmptyStatementSequenceRule());
- }
- add(
- $current,
- "statement",
- lv_statement_0_0,
- "DocumentedStatement");
- afterParserOrEnumRuleCall();
- }
-
-)
-)+
-;
-
-
-
-
-
-// Entry rule entryRuleWhileStatement
-entryRuleWhileStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getWhileStatementRule()); }
- iv_ruleWhileStatement=ruleWhileStatement
- { $current=$iv_ruleWhileStatement.current; }
- EOF
-;
-
-// Rule WhileStatement
-ruleWhileStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='while'
- {
- newLeafNode(otherlv_0, grammarAccess.getWhileStatementAccess().getWhileKeyword_0());
- }
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getWhileStatementAccess().getLeftParenthesisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getWhileStatementAccess().getConditionExpressionParserRuleCall_2_0());
- }
- lv_condition_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getWhileStatementRule());
- }
- set(
- $current,
- "condition",
- lv_condition_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getWhileStatementAccess().getRightParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getWhileStatementAccess().getBlockBlockParserRuleCall_4_0());
- }
- lv_block_4_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getWhileStatementRule());
- }
- set(
- $current,
- "block",
- lv_block_4_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleDoStatement
-entryRuleDoStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getDoStatementRule()); }
- iv_ruleDoStatement=ruleDoStatement
- { $current=$iv_ruleDoStatement.current; }
- EOF
-;
-
-// Rule DoStatement
-ruleDoStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='do'
- {
- newLeafNode(otherlv_0, grammarAccess.getDoStatementAccess().getDoKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getDoStatementAccess().getBlockBlockParserRuleCall_1_0());
- }
- lv_block_1_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDoStatementRule());
- }
- set(
- $current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2='while'
- {
- newLeafNode(otherlv_2, grammarAccess.getDoStatementAccess().getWhileKeyword_2());
- }
- otherlv_3='('
- {
- newLeafNode(otherlv_3, grammarAccess.getDoStatementAccess().getLeftParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getDoStatementAccess().getConditionExpressionParserRuleCall_4_0());
- }
- lv_condition_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getDoStatementRule());
- }
- set(
- $current,
- "condition",
- lv_condition_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getDoStatementAccess().getRightParenthesisKeyword_5());
- }
- otherlv_6=';'
- {
- newLeafNode(otherlv_6, grammarAccess.getDoStatementAccess().getSemicolonKeyword_6());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleForStatement
-entryRuleForStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getForStatementRule()); }
- iv_ruleForStatement=ruleForStatement
- { $current=$iv_ruleForStatement.current; }
- EOF
-;
-
-// Rule ForStatement
-ruleForStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='for'
- {
- newLeafNode(otherlv_0, grammarAccess.getForStatementAccess().getForKeyword_0());
- }
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getForStatementAccess().getLeftParenthesisKeyword_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForStatementAccess().getControlForControlParserRuleCall_2_0());
- }
- lv_control_2_0=ruleForControl {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForStatementRule());
- }
- set(
- $current,
- "control",
- lv_control_2_0,
- "ForControl");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=')'
- {
- newLeafNode(otherlv_3, grammarAccess.getForStatementAccess().getRightParenthesisKeyword_3());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForStatementAccess().getBlockBlockParserRuleCall_4_0());
- }
- lv_block_4_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForStatementRule());
- }
- set(
- $current,
- "block",
- lv_block_4_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleForControl
-entryRuleForControl returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getForControlRule()); }
- iv_ruleForControl=ruleForControl
- { $current=$iv_ruleForControl.current; }
- EOF
-;
-
-// Rule ForControl
-ruleForControl returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_0_0());
- }
- lv_loopVariableDefinition_0_0=ruleLoopVariableDefinition {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForControlRule());
- }
- add(
- $current,
- "loopVariableDefinition",
- lv_loopVariableDefinition_0_0,
- "LoopVariableDefinition");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=','
- {
- newLeafNode(otherlv_1, grammarAccess.getForControlAccess().getCommaKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_1_1_0());
- }
- lv_loopVariableDefinition_2_0=ruleLoopVariableDefinition {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getForControlRule());
- }
- add(
- $current,
- "loopVariableDefinition",
- lv_loopVariableDefinition_2_0,
- "LoopVariableDefinition");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleLoopVariableDefinition
-entryRuleLoopVariableDefinition returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getLoopVariableDefinitionRule()); }
- iv_ruleLoopVariableDefinition=ruleLoopVariableDefinition
- { $current=$iv_ruleLoopVariableDefinition.current; }
- EOF
-;
-
-// Rule LoopVariableDefinition
-ruleLoopVariableDefinition returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- lv_name_0_0=RULE_ID
- {
- newLeafNode(lv_name_0_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_0_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLoopVariableDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_0_0,
- "ID");
- }
-
-)
-) otherlv_1='in'
- {
- newLeafNode(otherlv_1, grammarAccess.getLoopVariableDefinitionAccess().getInKeyword_0_1());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression1ExpressionParserRuleCall_0_2_0());
- }
- lv_expression1_2_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- $current,
- "expression1",
- lv_expression1_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_3='..'
- {
- newLeafNode(otherlv_3, grammarAccess.getLoopVariableDefinitionAccess().getFullStopFullStopKeyword_0_3_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression2ExpressionParserRuleCall_0_3_1_0());
- }
- lv_expression2_4_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- $current,
- "expression2",
- lv_expression2_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-))?)
- |((
-(
- {
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getTypeQualifiedNameWithBindingParserRuleCall_1_0_0());
- }
- lv_type_5_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- $current,
- "type",
- lv_type_5_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- lv_name_6_0=RULE_ID
- {
- newLeafNode(lv_name_6_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_1_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getLoopVariableDefinitionRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_6_0,
- "ID");
- }
-
-)
-) otherlv_7=':'
- {
- newLeafNode(otherlv_7, grammarAccess.getLoopVariableDefinitionAccess().getColonKeyword_1_2());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpressionExpressionParserRuleCall_1_3_0());
- }
- lv_expression_8_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- $current,
- "expression",
- lv_expression_8_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleBreakStatement
-entryRuleBreakStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getBreakStatementRule()); }
- iv_ruleBreakStatement=ruleBreakStatement
- { $current=$iv_ruleBreakStatement.current; }
- EOF
-;
-
-// Rule BreakStatement
-ruleBreakStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getBreakStatementAccess().getBreakStatementAction_0(),
- $current);
- }
-) otherlv_1='break'
- {
- newLeafNode(otherlv_1, grammarAccess.getBreakStatementAccess().getBreakKeyword_1());
- }
- otherlv_2=';'
- {
- newLeafNode(otherlv_2, grammarAccess.getBreakStatementAccess().getSemicolonKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleReturnStatement
-entryRuleReturnStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getReturnStatementRule()); }
- iv_ruleReturnStatement=ruleReturnStatement
- { $current=$iv_ruleReturnStatement.current; }
- EOF
-;
-
-// Rule ReturnStatement
-ruleReturnStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='return'
- {
- newLeafNode(otherlv_0, grammarAccess.getReturnStatementAccess().getReturnKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getReturnStatementAccess().getExpressionExpressionParserRuleCall_1_0());
- }
- lv_expression_1_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getReturnStatementRule());
- }
- set(
- $current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_2=';'
- {
- newLeafNode(otherlv_2, grammarAccess.getReturnStatementAccess().getSemicolonKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleAcceptStatement
-entryRuleAcceptStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAcceptStatementRule()); }
- iv_ruleAcceptStatement=ruleAcceptStatement
- { $current=$iv_ruleAcceptStatement.current; }
- EOF
-;
-
-// Rule AcceptStatement
-ruleAcceptStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getClauseAcceptClauseParserRuleCall_0_0());
- }
- lv_clause_0_0=ruleAcceptClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- $current,
- "clause",
- lv_clause_0_0,
- "AcceptClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- {
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getSimpleAcceptSimpleAcceptStatementCompletionParserRuleCall_1_0_0());
- }
- lv_simpleAccept_1_0=ruleSimpleAcceptStatementCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- $current,
- "simpleAccept",
- lv_simpleAccept_1_0,
- "SimpleAcceptStatementCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getCompoundAcceptCompoundAcceptStatementCompletionParserRuleCall_1_1_0());
- }
- lv_compoundAccept_2_0=ruleCompoundAcceptStatementCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- $current,
- "compoundAccept",
- lv_compoundAccept_2_0,
- "CompoundAcceptStatementCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleSimpleAcceptStatementCompletion
-entryRuleSimpleAcceptStatementCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSimpleAcceptStatementCompletionRule()); }
- iv_ruleSimpleAcceptStatementCompletion=ruleSimpleAcceptStatementCompletion
- { $current=$iv_ruleSimpleAcceptStatementCompletion.current; }
- EOF
-;
-
-// Rule SimpleAcceptStatementCompletion
-ruleSimpleAcceptStatementCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getSimpleAcceptStatementCompletionAccess().getSimpleAcceptStatementCompletionAction_0(),
- $current);
- }
-) otherlv_1=';'
- {
- newLeafNode(otherlv_1, grammarAccess.getSimpleAcceptStatementCompletionAccess().getSemicolonKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleCompoundAcceptStatementCompletion
-entryRuleCompoundAcceptStatementCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionRule()); }
- iv_ruleCompoundAcceptStatementCompletion=ruleCompoundAcceptStatementCompletion
- { $current=$iv_ruleCompoundAcceptStatementCompletion.current; }
- EOF
-;
-
-// Rule CompoundAcceptStatementCompletion
-ruleCompoundAcceptStatementCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockBlockParserRuleCall_0_0());
- }
- lv_block_0_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule());
- }
- set(
- $current,
- "block",
- lv_block_0_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1='or'
- {
- newLeafNode(otherlv_1, grammarAccess.getCompoundAcceptStatementCompletionAccess().getOrKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAcceptBlockParserRuleCall_1_1_0());
- }
- lv_acceptBlock_2_0=ruleAcceptBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule());
- }
- add(
- $current,
- "acceptBlock",
- lv_acceptBlock_2_0,
- "AcceptBlock");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleAcceptBlock
-entryRuleAcceptBlock returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAcceptBlockRule()); }
- iv_ruleAcceptBlock=ruleAcceptBlock
- { $current=$iv_ruleAcceptBlock.current; }
- EOF
-;
-
-// Rule AcceptBlock
-ruleAcceptBlock returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAcceptBlockAccess().getClauseAcceptClauseParserRuleCall_0_0());
- }
- lv_clause_0_0=ruleAcceptClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptBlockRule());
- }
- set(
- $current,
- "clause",
- lv_clause_0_0,
- "AcceptClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAcceptBlockAccess().getBlockBlockParserRuleCall_1_0());
- }
- lv_block_1_0=ruleBlock {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptBlockRule());
- }
- set(
- $current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleAcceptClause
-entryRuleAcceptClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAcceptClauseRule()); }
- iv_ruleAcceptClause=ruleAcceptClause
- { $current=$iv_ruleAcceptClause.current; }
- EOF
-;
-
-// Rule AcceptClause
-ruleAcceptClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='accept'
- {
- newLeafNode(otherlv_0, grammarAccess.getAcceptClauseAccess().getAcceptKeyword_0());
- }
- otherlv_1='('
- {
- newLeafNode(otherlv_1, grammarAccess.getAcceptClauseAccess().getLeftParenthesisKeyword_1());
- }
-((
-(
- lv_name_2_0=RULE_ID
- {
- newLeafNode(lv_name_2_0, grammarAccess.getAcceptClauseAccess().getNameIDTerminalRuleCall_2_0_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getAcceptClauseRule());
- }
- setWithLastConsumed(
- $current,
- "name",
- lv_name_2_0,
- "ID");
- }
-
-)
-) otherlv_3=':'
- {
- newLeafNode(otherlv_3, grammarAccess.getAcceptClauseAccess().getColonKeyword_2_1());
- }
-)?(
-(
- {
- newCompositeNode(grammarAccess.getAcceptClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_3_0());
- }
- lv_qualifiedNameList_4_0=ruleQualifiedNameList {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAcceptClauseRule());
- }
- set(
- $current,
- "qualifiedNameList",
- lv_qualifiedNameList_4_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_5=')'
- {
- newLeafNode(otherlv_5, grammarAccess.getAcceptClauseAccess().getRightParenthesisKeyword_4());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleClassifyStatement
-entryRuleClassifyStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassifyStatementRule()); }
- iv_ruleClassifyStatement=ruleClassifyStatement
- { $current=$iv_ruleClassifyStatement.current; }
- EOF
-;
-
-// Rule ClassifyStatement
-ruleClassifyStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='classify'
- {
- newLeafNode(otherlv_0, grammarAccess.getClassifyStatementAccess().getClassifyKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getClassifyStatementAccess().getExpressionExpressionParserRuleCall_1_0());
- }
- lv_expression_1_0=ruleExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassifyStatementRule());
- }
- set(
- $current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getClassifyStatementAccess().getClauseClassificationClauseParserRuleCall_2_0());
- }
- lv_clause_2_0=ruleClassificationClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassifyStatementRule());
- }
- set(
- $current,
- "clause",
- lv_clause_2_0,
- "ClassificationClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_3=';'
- {
- newLeafNode(otherlv_3, grammarAccess.getClassifyStatementAccess().getSemicolonKeyword_3());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleClassificationClause
-entryRuleClassificationClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassificationClauseRule()); }
- iv_ruleClassificationClause=ruleClassificationClause
- { $current=$iv_ruleClassificationClause.current; }
- EOF
-;
-
-// Rule ClassificationClause
-ruleClassificationClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- {
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyFromClauseClassificationFromClauseParserRuleCall_0_0_0());
- }
- lv_classifyFromClause_0_0=ruleClassificationFromClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- $current,
- "classifyFromClause",
- lv_classifyFromClause_0_0,
- "ClassificationFromClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_0_1_0());
- }
- lv_classifyToClause_1_0=ruleClassificationToClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- $current,
- "classifyToClause",
- lv_classifyToClause_1_0,
- "ClassificationToClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?)
- |((
-(
- {
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getReclassyAllClauseReclassifyAllClauseParserRuleCall_1_0_0());
- }
- lv_reclassyAllClause_2_0=ruleReclassifyAllClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- $current,
- "reclassyAllClause",
- lv_reclassyAllClause_2_0,
- "ReclassifyAllClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)?(
-(
- {
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_1_1_0());
- }
- lv_classifyToClause_3_0=ruleClassificationToClause {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- $current,
- "classifyToClause",
- lv_classifyToClause_3_0,
- "ClassificationToClause");
- afterParserOrEnumRuleCall();
- }
-
-)
-)))
-;
-
-
-
-
-
-// Entry rule entryRuleClassificationFromClause
-entryRuleClassificationFromClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassificationFromClauseRule()); }
- iv_ruleClassificationFromClause=ruleClassificationFromClause
- { $current=$iv_ruleClassificationFromClause.current; }
- EOF
-;
-
-// Rule ClassificationFromClause
-ruleClassificationFromClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='from'
- {
- newLeafNode(otherlv_0, grammarAccess.getClassificationFromClauseAccess().getFromKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0());
- }
- lv_qualifiedNameList_1_0=ruleQualifiedNameList {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationFromClauseRule());
- }
- set(
- $current,
- "qualifiedNameList",
- lv_qualifiedNameList_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleClassificationToClause
-entryRuleClassificationToClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getClassificationToClauseRule()); }
- iv_ruleClassificationToClause=ruleClassificationToClause
- { $current=$iv_ruleClassificationToClause.current; }
- EOF
-;
-
-// Rule ClassificationToClause
-ruleClassificationToClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-( otherlv_0='to'
- {
- newLeafNode(otherlv_0, grammarAccess.getClassificationToClauseAccess().getToKeyword_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getClassificationToClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0());
- }
- lv_qualifiedNameList_1_0=ruleQualifiedNameList {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getClassificationToClauseRule());
- }
- set(
- $current,
- "qualifiedNameList",
- lv_qualifiedNameList_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleReclassifyAllClause
-entryRuleReclassifyAllClause returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getReclassifyAllClauseRule()); }
- iv_ruleReclassifyAllClause=ruleReclassifyAllClause
- { $current=$iv_ruleReclassifyAllClause.current; }
- EOF
-;
-
-// Rule ReclassifyAllClause
-ruleReclassifyAllClause returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
- {
- $current = forceCreateModelElement(
- grammarAccess.getReclassifyAllClauseAccess().getReclassifyAllClauseAction_0(),
- $current);
- }
-) otherlv_1='from'
- {
- newLeafNode(otherlv_1, grammarAccess.getReclassifyAllClauseAccess().getFromKeyword_1());
- }
- otherlv_2='*'
- {
- newLeafNode(otherlv_2, grammarAccess.getReclassifyAllClauseAccess().getAsteriskKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleQualifiedNameList
-entryRuleQualifiedNameList returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getQualifiedNameListRule()); }
- iv_ruleQualifiedNameList=ruleQualifiedNameList
- { $current=$iv_ruleQualifiedNameList.current; }
- EOF
-;
-
-// Rule QualifiedNameList
-ruleQualifiedNameList returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_0_0());
- }
- lv_qualifiedName_0_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNameListRule());
- }
- add(
- $current,
- "qualifiedName",
- lv_qualifiedName_0_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-)( otherlv_1=','
- {
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNameListAccess().getCommaKeyword_1_0());
- }
-(
-(
- {
- newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_1_0());
- }
- lv_qualifiedName_2_0=ruleQualifiedNameWithBinding {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getQualifiedNameListRule());
- }
- add(
- $current,
- "qualifiedName",
- lv_qualifiedName_2_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
- }
-
-)
-))*)
-;
-
-
-
-
-
-// Entry rule entryRuleInvocationOrAssignementOrDeclarationStatement
-entryRuleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule()); }
- iv_ruleInvocationOrAssignementOrDeclarationStatement=ruleInvocationOrAssignementOrDeclarationStatement
- { $current=$iv_ruleInvocationOrAssignementOrDeclarationStatement.current; }
- EOF
-;
-
-// Rule InvocationOrAssignementOrDeclarationStatement
-ruleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartNameExpressionParserRuleCall_0_0());
- }
- lv_typePart_OR_assignedPart_OR_invocationPart_0_0=ruleNameExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- $current,
- "typePart_OR_assignedPart_OR_invocationPart",
- lv_typePart_OR_assignedPart_OR_invocationPart_0_0,
- "NameExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)((
-(
- {
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionVariableDeclarationCompletionParserRuleCall_1_0_0());
- }
- lv_variableDeclarationCompletion_1_0=ruleVariableDeclarationCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- $current,
- "variableDeclarationCompletion",
- lv_variableDeclarationCompletion_1_0,
- "VariableDeclarationCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)
- |(
-(
- {
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_1_0());
- }
- lv_assignmentCompletion_2_0=ruleAssignmentCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- $current,
- "assignmentCompletion",
- lv_assignmentCompletion_2_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-))? otherlv_3=';'
- {
- newLeafNode(otherlv_3, grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getSemicolonKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleSuperInvocationStatement
-entryRuleSuperInvocationStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getSuperInvocationStatementRule()); }
- iv_ruleSuperInvocationStatement=ruleSuperInvocationStatement
- { $current=$iv_ruleSuperInvocationStatement.current; }
- EOF
-;
-
-// Rule SuperInvocationStatement
-ruleSuperInvocationStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getSuperInvocationStatementAccess().get_superSuperInvocationExpressionParserRuleCall_0_0());
- }
- lv__super_0_0=ruleSuperInvocationExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getSuperInvocationStatementRule());
- }
- set(
- $current,
- "_super",
- lv__super_0_0,
- "SuperInvocationExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_1=';'
- {
- newLeafNode(otherlv_1, grammarAccess.getSuperInvocationStatementAccess().getSemicolonKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleThisInvocationStatement
-entryRuleThisInvocationStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getThisInvocationStatementRule()); }
- iv_ruleThisInvocationStatement=ruleThisInvocationStatement
- { $current=$iv_ruleThisInvocationStatement.current; }
- EOF
-;
-
-// Rule ThisInvocationStatement
-ruleThisInvocationStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getThisInvocationStatementAccess().get_thisThisExpressionParserRuleCall_0_0());
- }
- lv__this_0_0=ruleThisExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule());
- }
- set(
- $current,
- "_this",
- lv__this_0_0,
- "ThisExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_0());
- }
- lv_assignmentCompletion_1_0=ruleAssignmentCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule());
- }
- set(
- $current,
- "assignmentCompletion",
- lv_assignmentCompletion_1_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-)? otherlv_2=';'
- {
- newLeafNode(otherlv_2, grammarAccess.getThisInvocationStatementAccess().getSemicolonKeyword_2());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleInstanceCreationInvocationStatement
-entryRuleInstanceCreationInvocationStatement returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementRule()); }
- iv_ruleInstanceCreationInvocationStatement=ruleInstanceCreationInvocationStatement
- { $current=$iv_ruleInstanceCreationInvocationStatement.current; }
- EOF
-;
-
-// Rule InstanceCreationInvocationStatement
-ruleInstanceCreationInvocationStatement returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementAccess().get_newInstanceCreationExpressionParserRuleCall_0_0());
- }
- lv__new_0_0=ruleInstanceCreationExpression {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getInstanceCreationInvocationStatementRule());
- }
- set(
- $current,
- "_new",
- lv__new_0_0,
- "InstanceCreationExpression");
- afterParserOrEnumRuleCall();
- }
-
-)
-) otherlv_1=';'
- {
- newLeafNode(otherlv_1, grammarAccess.getInstanceCreationInvocationStatementAccess().getSemicolonKeyword_1());
- }
-)
-;
-
-
-
-
-
-// Entry rule entryRuleVariableDeclarationCompletion
-entryRuleVariableDeclarationCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getVariableDeclarationCompletionRule()); }
- iv_ruleVariableDeclarationCompletion=ruleVariableDeclarationCompletion
- { $current=$iv_ruleVariableDeclarationCompletion.current; }
- EOF
-;
-
-// Rule VariableDeclarationCompletion
-ruleVariableDeclarationCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-(((
-(
- lv_multiplicityIndicator_0_0= '['
- {
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
- }
-
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule());
- }
- setWithLastConsumed($current, "multiplicityIndicator", true, "[");
- }
-
-)
-) otherlv_1=']'
- {
- newLeafNode(otherlv_1, grammarAccess.getVariableDeclarationCompletionAccess().getRightSquareBracketKeyword_0_1());
- }
-)?(
-(
- lv_variableName_2_0=RULE_ID
- {
- newLeafNode(lv_variableName_2_0, grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameIDTerminalRuleCall_1_0());
- }
- {
- if ($current==null) {
- $current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule());
- }
- setWithLastConsumed(
- $current,
- "variableName",
- lv_variableName_2_0,
- "ID");
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignmentCompletionParserRuleCall_2_0());
- }
- lv_initValue_3_0=ruleAssignmentCompletion {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getVariableDeclarationCompletionRule());
- }
- set(
- $current,
- "initValue",
- lv_initValue_3_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Entry rule entryRuleAssignmentCompletion
-entryRuleAssignmentCompletion returns [EObject current=null]
- :
- { newCompositeNode(grammarAccess.getAssignmentCompletionRule()); }
- iv_ruleAssignmentCompletion=ruleAssignmentCompletion
- { $current=$iv_ruleAssignmentCompletion.current; }
- EOF
-;
-
-// Rule AssignmentCompletion
-ruleAssignmentCompletion returns [EObject current=null]
- @init { enterRule();
- }
- @after { leaveRule(); }:
-((
-(
- {
- newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getOpAssignmentOperatorEnumRuleCall_0_0());
- }
- lv_op_0_0=ruleAssignmentOperator {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule());
- }
- set(
- $current,
- "op",
- lv_op_0_0,
- "AssignmentOperator");
- afterParserOrEnumRuleCall();
- }
-
-)
-)(
-(
- {
- newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_1_0());
- }
- lv_rightHandSide_1_0=ruleSequenceElement {
- if ($current==null) {
- $current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule());
- }
- set(
- $current,
- "rightHandSide",
- lv_rightHandSide_1_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
- }
-
-)
-))
-;
-
-
-
-
-
-// Rule VisibilityIndicator
-ruleVisibilityIndicator returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='public'
- {
- $current = grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='private'
- {
- $current = grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='protected'
- {
- $current = grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2());
- }
-));
-
-
-
-// Rule ParameterDirection
-ruleParameterDirection returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='in'
- {
- $current = grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='out'
- {
- $current = grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='inout'
- {
- $current = grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2());
- }
-));
-
-
-
-// Rule BooleanValue
-ruleBooleanValue returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='true'
- {
- $current = grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='false'
- {
- $current = grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1());
- }
-));
-
-
-
-// Rule LinkOperationKind
-ruleLinkOperationKind returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='createLink'
- {
- $current = grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='destroyLink'
- {
- $current = grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='clearAssoc'
- {
- $current = grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2());
- }
-));
-
-
-
-// Rule SelectOrRejectOperator
-ruleSelectOrRejectOperator returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='select'
- {
- $current = grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='reject'
- {
- $current = grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1());
- }
-));
-
-
-
-// Rule CollectOrIterateOperator
-ruleCollectOrIterateOperator returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='collect'
- {
- $current = grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='iterate'
- {
- $current = grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1());
- }
-));
-
-
-
-// Rule ForAllOrExistsOrOneOperator
-ruleForAllOrExistsOrOneOperator returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='forAll'
- {
- $current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='exists'
- {
- $current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='one'
- {
- $current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2());
- }
-));
-
-
-
-// Rule AnnotationKind
-ruleAnnotationKind returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='isolated'
- {
- $current = grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='determined'
- {
- $current = grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='assured'
- {
- $current = grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2());
- }
-)
- |( enumLiteral_3='parallel'
- {
- $current = grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3());
- }
-));
-
-
-
-// Rule AssignmentOperator
-ruleAssignmentOperator returns [Enumerator current=null]
- @init { enterRule(); }
- @after { leaveRule(); }:
-(( enumLiteral_0='='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0());
- }
-)
- |( enumLiteral_1='+='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1());
- }
-)
- |( enumLiteral_2='-='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2());
- }
-)
- |( enumLiteral_3='*='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3());
- }
-)
- |( enumLiteral_4='%='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4());
- }
-)
- |( enumLiteral_5='/='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5());
- }
-)
- |( enumLiteral_6='&='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6());
- }
-)
- |( enumLiteral_7='|='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_7, grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7());
- }
-)
- |( enumLiteral_8='^='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_8, grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8());
- }
-)
- |( enumLiteral_9='<<='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_9, grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9());
- }
-)
- |( enumLiteral_10='>>='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_10, grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10());
- }
-)
- |( enumLiteral_11='>>>='
- {
- $current = grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_11, grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11());
- }
-));
-
-
-
-RULE_INTEGERVALUE : (('0'|'1'..'9' ('_'? '0'..'9')*)|('0b'|'0B') '0'..'1' ('_'? '0'..'1')*|('0x'|'0X') ('0'..'9'|'a'..'f'|'A'..'F') ('_'? ('0'..'9'|'a'..'f'|'A'..'F'))*|'0' '_'? '0'..'7' ('_'? '0'..'7')*);
-
-RULE_ID : (('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*|'\'' ( options {greedy=false;} : . )*'\'');
-
-RULE_STRING : '"' ('\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'\\')|~(('\\'|'"')))* '"';
-
-RULE_ML_COMMENT : '/*' ~('@') ( options {greedy=false;} : . )*'*/';
-
-RULE_SL_COMMENT : '//' ~(('\n'|'\r'|'@'))* ('\r'? '\n')?;
-
-RULE_INT : ('0'..'9')+;
-
-RULE_WS : (' '|'\t'|'\r'|'\n')+;
-
-RULE_ANY_OTHER : .;
-
-
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.tokens b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.tokens
deleted file mode 100644
index 425bbdcd3ae..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.tokens
+++ /dev/null
@@ -1,224 +0,0 @@
-RULE_ID=4
-T__29=29
-T__28=28
-T__27=27
-T__26=26
-T__25=25
-T__24=24
-T__23=23
-T__22=22
-RULE_ANY_OTHER=11
-T__21=21
-T__20=20
-T__93=93
-T__19=19
-T__94=94
-T__91=91
-T__92=92
-T__16=16
-T__15=15
-T__90=90
-T__18=18
-T__17=17
-T__12=12
-T__14=14
-T__13=13
-T__99=99
-RULE_INTEGERVALUE=5
-T__98=98
-T__97=97
-T__96=96
-T__95=95
-T__80=80
-T__81=81
-T__82=82
-T__83=83
-T__85=85
-T__84=84
-T__87=87
-T__86=86
-T__89=89
-T__88=88
-RULE_ML_COMMENT=7
-RULE_STRING=6
-T__71=71
-T__72=72
-T__70=70
-T__76=76
-T__75=75
-T__74=74
-T__73=73
-T__79=79
-T__78=78
-T__77=77
-T__68=68
-T__69=69
-T__66=66
-T__67=67
-T__64=64
-T__65=65
-T__62=62
-T__63=63
-T__118=118
-T__119=119
-T__116=116
-T__117=117
-T__114=114
-T__115=115
-T__61=61
-T__60=60
-T__55=55
-T__56=56
-T__57=57
-T__58=58
-T__51=51
-T__52=52
-T__53=53
-T__54=54
-T__107=107
-T__108=108
-T__109=109
-T__103=103
-T__59=59
-T__104=104
-T__105=105
-T__106=106
-T__111=111
-T__110=110
-RULE_INT=9
-T__113=113
-T__112=112
-T__50=50
-T__42=42
-T__43=43
-T__40=40
-T__41=41
-T__46=46
-T__47=47
-T__44=44
-T__45=45
-T__48=48
-T__49=49
-T__102=102
-T__101=101
-T__100=100
-RULE_SL_COMMENT=8
-T__30=30
-T__31=31
-T__32=32
-T__33=33
-T__34=34
-T__35=35
-T__36=36
-T__37=37
-T__38=38
-T__39=39
-RULE_WS=10
-'>='=44
-'=='=39
-'iterate'=101
-'nonUnique'=21
-'this'=60
-';'=12
-'return'=83
-'for'=80
-'protected'=90
-'/*@'=66
-'=>'=32
-'^'=37
-'>>'=46
-'parallel'=108
-'isolated'=105
-'{'=63
-'&='=114
-'('=15
-':'=14
-'default'=77
-'public'=88
-'<<='=117
-'>>>'=47
-']'=19
-'ordered'=20
-'new'=62
-'|='=115
-'redefines'=26
-'forAll'=102
-'='=71
-'destroyLink'=96
-'reduce'=57
-'collect'=100
-'isUnique'=58
-'->'=56
-'%'=51
-'any'=25
-'super'=61
-'case'=76
-'reject'=99
-'<<'=45
-'<='=43
-'!='=40
-'--'=28
-'<'=30
-'createLink'=95
-'['=18
-'or'=74
-'//@'=69
-'&'=38
-'instanceof'=41
-'determined'=106
-'accept'=84
-'out'=91
-'clearAssoc'=97
-'assured'=107
-'~'=54
-'/'=50
-'/='=113
-'switch'=75
-'%='=112
-'>'=31
-'exists'=103
-'||'=34
-'&&'=35
-'+'=48
-'.'=55
-'sequence'=22
-'$'=53
-'++'=27
-'true'=93
-'else'=73
-'^='=116
-'+='=109
-'let'=70
-'break'=82
-'*/'=68
-'allInstances'=65
-'>>='=118
-'>>>='=119
-'?'=33
-'private'=89
-'if'=72
-'-'=49
-'while'=78
-','=17
-'in'=81
-'select'=98
-'-='=110
-'..'=23
-'!'=52
-'|'=36
-'null'=59
-'classify'=85
-'one'=104
-'::'=29
-'inline'=67
-'hastype'=42
-')'=16
-'*='=111
-'do'=79
-'}'=64
-'abstract'=13
-'inout'=92
-'to'=87
-'false'=94
-'*'=24
-'from'=86
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java
deleted file mode 100644
index 8045244be0c..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationLexer.java
+++ /dev/null
@@ -1,4981 +0,0 @@
-package org.eclipse.papyrus.operation.editor.xtext.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.*;
-
-@SuppressWarnings("all")
-public class InternalOperationLexer extends Lexer {
- public static final int RULE_ID = 4;
- public static final int T__29 = 29;
- public static final int T__28 = 28;
- public static final int T__27 = 27;
- public static final int T__26 = 26;
- public static final int T__25 = 25;
- public static final int T__24 = 24;
- public static final int T__23 = 23;
- public static final int T__22 = 22;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__21 = 21;
- public static final int T__20 = 20;
- public static final int EOF = -1;
- public static final int T__93 = 93;
- public static final int T__19 = 19;
- public static final int T__94 = 94;
- public static final int T__91 = 91;
- public static final int T__92 = 92;
- public static final int T__16 = 16;
- public static final int T__90 = 90;
- public static final int T__15 = 15;
- public static final int T__18 = 18;
- public static final int T__17 = 17;
- public static final int T__12 = 12;
- public static final int T__14 = 14;
- public static final int T__13 = 13;
- public static final int T__99 = 99;
- public static final int T__98 = 98;
- public static final int RULE_INTEGERVALUE = 5;
- public static final int T__97 = 97;
- public static final int T__96 = 96;
- public static final int T__95 = 95;
- public static final int T__80 = 80;
- public static final int T__81 = 81;
- public static final int T__82 = 82;
- public static final int T__83 = 83;
- public static final int T__85 = 85;
- public static final int T__84 = 84;
- public static final int T__87 = 87;
- public static final int T__86 = 86;
- public static final int T__89 = 89;
- public static final int T__88 = 88;
- public static final int RULE_ML_COMMENT = 7;
- public static final int RULE_STRING = 6;
- public static final int T__71 = 71;
- public static final int T__72 = 72;
- public static final int T__70 = 70;
- public static final int T__76 = 76;
- public static final int T__75 = 75;
- public static final int T__74 = 74;
- public static final int T__73 = 73;
- public static final int T__79 = 79;
- public static final int T__78 = 78;
- public static final int T__77 = 77;
- public static final int T__68 = 68;
- public static final int T__69 = 69;
- public static final int T__66 = 66;
- public static final int T__67 = 67;
- public static final int T__64 = 64;
- public static final int T__65 = 65;
- public static final int T__62 = 62;
- public static final int T__63 = 63;
- public static final int T__118 = 118;
- public static final int T__119 = 119;
- public static final int T__116 = 116;
- public static final int T__117 = 117;
- public static final int T__114 = 114;
- public static final int T__115 = 115;
- public static final int T__61 = 61;
- public static final int T__60 = 60;
- public static final int T__55 = 55;
- public static final int T__56 = 56;
- public static final int T__57 = 57;
- public static final int T__58 = 58;
- public static final int T__51 = 51;
- public static final int T__52 = 52;
- public static final int T__53 = 53;
- public static final int T__54 = 54;
- public static final int T__107 = 107;
- public static final int T__108 = 108;
- public static final int T__109 = 109;
- public static final int T__103 = 103;
- public static final int T__59 = 59;
- public static final int T__104 = 104;
- public static final int T__105 = 105;
- public static final int T__106 = 106;
- public static final int T__111 = 111;
- public static final int T__110 = 110;
- public static final int T__113 = 113;
- public static final int RULE_INT = 9;
- public static final int T__112 = 112;
- public static final int T__50 = 50;
- public static final int T__42 = 42;
- public static final int T__43 = 43;
- public static final int T__40 = 40;
- public static final int T__41 = 41;
- public static final int T__46 = 46;
- public static final int T__47 = 47;
- public static final int T__44 = 44;
- public static final int T__45 = 45;
- public static final int T__48 = 48;
- public static final int T__49 = 49;
- public static final int T__102 = 102;
- public static final int T__101 = 101;
- public static final int T__100 = 100;
- public static final int RULE_SL_COMMENT = 8;
- public static final int T__30 = 30;
- public static final int T__31 = 31;
- public static final int T__32 = 32;
- public static final int T__33 = 33;
- public static final int T__34 = 34;
- public static final int T__35 = 35;
- public static final int T__36 = 36;
- public static final int T__37 = 37;
- public static final int T__38 = 38;
- public static final int T__39 = 39;
- public static final int RULE_WS = 10;
-
- // delegates
- // delegators
-
- public InternalOperationLexer() {
- ;
- }
-
- public InternalOperationLexer(CharStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalOperationLexer(CharStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g";
- }
-
- // $ANTLR start "T__12"
- public final void mT__12() throws RecognitionException {
- try {
- int _type = T__12;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:11:7: ( ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:11:9: ';'
- {
- match(';');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__12"
-
- // $ANTLR start "T__13"
- public final void mT__13() throws RecognitionException {
- try {
- int _type = T__13;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:12:7: ( 'abstract' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:12:9: 'abstract'
- {
- match("abstract");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__13"
-
- // $ANTLR start "T__14"
- public final void mT__14() throws RecognitionException {
- try {
- int _type = T__14;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:13:7: ( ':' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:13:9: ':'
- {
- match(':');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__14"
-
- // $ANTLR start "T__15"
- public final void mT__15() throws RecognitionException {
- try {
- int _type = T__15;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:14:7: ( '(' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:14:9: '('
- {
- match('(');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__15"
-
- // $ANTLR start "T__16"
- public final void mT__16() throws RecognitionException {
- try {
- int _type = T__16;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:15:7: ( ')' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:15:9: ')'
- {
- match(')');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__16"
-
- // $ANTLR start "T__17"
- public final void mT__17() throws RecognitionException {
- try {
- int _type = T__17;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:16:7: ( ',' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:16:9: ','
- {
- match(',');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__17"
-
- // $ANTLR start "T__18"
- public final void mT__18() throws RecognitionException {
- try {
- int _type = T__18;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:17:7: ( '[' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:17:9: '['
- {
- match('[');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__18"
-
- // $ANTLR start "T__19"
- public final void mT__19() throws RecognitionException {
- try {
- int _type = T__19;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:18:7: ( ']' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:18:9: ']'
- {
- match(']');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__19"
-
- // $ANTLR start "T__20"
- public final void mT__20() throws RecognitionException {
- try {
- int _type = T__20;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:19:7: ( 'ordered' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:19:9: 'ordered'
- {
- match("ordered");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__20"
-
- // $ANTLR start "T__21"
- public final void mT__21() throws RecognitionException {
- try {
- int _type = T__21;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:20:7: ( 'nonUnique' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:20:9: 'nonUnique'
- {
- match("nonUnique");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__21"
-
- // $ANTLR start "T__22"
- public final void mT__22() throws RecognitionException {
- try {
- int _type = T__22;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:21:7: ( 'sequence' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:21:9: 'sequence'
- {
- match("sequence");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__22"
-
- // $ANTLR start "T__23"
- public final void mT__23() throws RecognitionException {
- try {
- int _type = T__23;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:22:7: ( '..' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:22:9: '..'
- {
- match("..");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__23"
-
- // $ANTLR start "T__24"
- public final void mT__24() throws RecognitionException {
- try {
- int _type = T__24;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:23:7: ( '*' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:23:9: '*'
- {
- match('*');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__24"
-
- // $ANTLR start "T__25"
- public final void mT__25() throws RecognitionException {
- try {
- int _type = T__25;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:24:7: ( 'any' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:24:9: 'any'
- {
- match("any");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__25"
-
- // $ANTLR start "T__26"
- public final void mT__26() throws RecognitionException {
- try {
- int _type = T__26;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:25:7: ( 'redefines' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:25:9: 'redefines'
- {
- match("redefines");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__26"
-
- // $ANTLR start "T__27"
- public final void mT__27() throws RecognitionException {
- try {
- int _type = T__27;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:26:7: ( '++' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:26:9: '++'
- {
- match("++");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__27"
-
- // $ANTLR start "T__28"
- public final void mT__28() throws RecognitionException {
- try {
- int _type = T__28;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:27:7: ( '--' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:27:9: '--'
- {
- match("--");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__28"
-
- // $ANTLR start "T__29"
- public final void mT__29() throws RecognitionException {
- try {
- int _type = T__29;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:28:7: ( '::' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:28:9: '::'
- {
- match("::");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__29"
-
- // $ANTLR start "T__30"
- public final void mT__30() throws RecognitionException {
- try {
- int _type = T__30;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:29:7: ( '<' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:29:9: '<'
- {
- match('<');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__30"
-
- // $ANTLR start "T__31"
- public final void mT__31() throws RecognitionException {
- try {
- int _type = T__31;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:30:7: ( '>' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:30:9: '>'
- {
- match('>');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__31"
-
- // $ANTLR start "T__32"
- public final void mT__32() throws RecognitionException {
- try {
- int _type = T__32;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:31:7: ( '=>' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:31:9: '=>'
- {
- match("=>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__32"
-
- // $ANTLR start "T__33"
- public final void mT__33() throws RecognitionException {
- try {
- int _type = T__33;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:32:7: ( '?' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:32:9: '?'
- {
- match('?');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__33"
-
- // $ANTLR start "T__34"
- public final void mT__34() throws RecognitionException {
- try {
- int _type = T__34;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:33:7: ( '||' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:33:9: '||'
- {
- match("||");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__34"
-
- // $ANTLR start "T__35"
- public final void mT__35() throws RecognitionException {
- try {
- int _type = T__35;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:34:7: ( '&&' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:34:9: '&&'
- {
- match("&&");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__35"
-
- // $ANTLR start "T__36"
- public final void mT__36() throws RecognitionException {
- try {
- int _type = T__36;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:35:7: ( '|' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:35:9: '|'
- {
- match('|');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__36"
-
- // $ANTLR start "T__37"
- public final void mT__37() throws RecognitionException {
- try {
- int _type = T__37;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:36:7: ( '^' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:36:9: '^'
- {
- match('^');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__37"
-
- // $ANTLR start "T__38"
- public final void mT__38() throws RecognitionException {
- try {
- int _type = T__38;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:37:7: ( '&' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:37:9: '&'
- {
- match('&');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__38"
-
- // $ANTLR start "T__39"
- public final void mT__39() throws RecognitionException {
- try {
- int _type = T__39;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:38:7: ( '==' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:38:9: '=='
- {
- match("==");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__39"
-
- // $ANTLR start "T__40"
- public final void mT__40() throws RecognitionException {
- try {
- int _type = T__40;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:39:7: ( '!=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:39:9: '!='
- {
- match("!=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__40"
-
- // $ANTLR start "T__41"
- public final void mT__41() throws RecognitionException {
- try {
- int _type = T__41;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:40:7: ( 'instanceof' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:40:9: 'instanceof'
- {
- match("instanceof");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__41"
-
- // $ANTLR start "T__42"
- public final void mT__42() throws RecognitionException {
- try {
- int _type = T__42;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:41:7: ( 'hastype' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:41:9: 'hastype'
- {
- match("hastype");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__42"
-
- // $ANTLR start "T__43"
- public final void mT__43() throws RecognitionException {
- try {
- int _type = T__43;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:42:7: ( '<=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:42:9: '<='
- {
- match("<=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__43"
-
- // $ANTLR start "T__44"
- public final void mT__44() throws RecognitionException {
- try {
- int _type = T__44;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:43:7: ( '>=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:43:9: '>='
- {
- match(">=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__44"
-
- // $ANTLR start "T__45"
- public final void mT__45() throws RecognitionException {
- try {
- int _type = T__45;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:44:7: ( '<<' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:44:9: '<<'
- {
- match("<<");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__45"
-
- // $ANTLR start "T__46"
- public final void mT__46() throws RecognitionException {
- try {
- int _type = T__46;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:45:7: ( '>>' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:45:9: '>>'
- {
- match(">>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__46"
-
- // $ANTLR start "T__47"
- public final void mT__47() throws RecognitionException {
- try {
- int _type = T__47;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:46:7: ( '>>>' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:46:9: '>>>'
- {
- match(">>>");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__47"
-
- // $ANTLR start "T__48"
- public final void mT__48() throws RecognitionException {
- try {
- int _type = T__48;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:47:7: ( '+' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:47:9: '+'
- {
- match('+');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__48"
-
- // $ANTLR start "T__49"
- public final void mT__49() throws RecognitionException {
- try {
- int _type = T__49;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:48:7: ( '-' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:48:9: '-'
- {
- match('-');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__49"
-
- // $ANTLR start "T__50"
- public final void mT__50() throws RecognitionException {
- try {
- int _type = T__50;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:49:7: ( '/' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:49:9: '/'
- {
- match('/');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__50"
-
- // $ANTLR start "T__51"
- public final void mT__51() throws RecognitionException {
- try {
- int _type = T__51;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:50:7: ( '%' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:50:9: '%'
- {
- match('%');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__51"
-
- // $ANTLR start "T__52"
- public final void mT__52() throws RecognitionException {
- try {
- int _type = T__52;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:51:7: ( '!' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:51:9: '!'
- {
- match('!');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__52"
-
- // $ANTLR start "T__53"
- public final void mT__53() throws RecognitionException {
- try {
- int _type = T__53;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:52:7: ( '$' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:52:9: '$'
- {
- match('$');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__53"
-
- // $ANTLR start "T__54"
- public final void mT__54() throws RecognitionException {
- try {
- int _type = T__54;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:53:7: ( '~' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:53:9: '~'
- {
- match('~');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__54"
-
- // $ANTLR start "T__55"
- public final void mT__55() throws RecognitionException {
- try {
- int _type = T__55;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:54:7: ( '.' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:54:9: '.'
- {
- match('.');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__55"
-
- // $ANTLR start "T__56"
- public final void mT__56() throws RecognitionException {
- try {
- int _type = T__56;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:55:7: ( '->' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:55:9: '->'
- {
- match("->");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__56"
-
- // $ANTLR start "T__57"
- public final void mT__57() throws RecognitionException {
- try {
- int _type = T__57;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:56:7: ( 'reduce' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:56:9: 'reduce'
- {
- match("reduce");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__57"
-
- // $ANTLR start "T__58"
- public final void mT__58() throws RecognitionException {
- try {
- int _type = T__58;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:57:7: ( 'isUnique' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:57:9: 'isUnique'
- {
- match("isUnique");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__58"
-
- // $ANTLR start "T__59"
- public final void mT__59() throws RecognitionException {
- try {
- int _type = T__59;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:58:7: ( 'null' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:58:9: 'null'
- {
- match("null");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__59"
-
- // $ANTLR start "T__60"
- public final void mT__60() throws RecognitionException {
- try {
- int _type = T__60;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:59:7: ( 'this' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:59:9: 'this'
- {
- match("this");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__60"
-
- // $ANTLR start "T__61"
- public final void mT__61() throws RecognitionException {
- try {
- int _type = T__61;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:60:7: ( 'super' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:60:9: 'super'
- {
- match("super");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__61"
-
- // $ANTLR start "T__62"
- public final void mT__62() throws RecognitionException {
- try {
- int _type = T__62;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:61:7: ( 'new' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:61:9: 'new'
- {
- match("new");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__62"
-
- // $ANTLR start "T__63"
- public final void mT__63() throws RecognitionException {
- try {
- int _type = T__63;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:62:7: ( '{' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:62:9: '{'
- {
- match('{');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__63"
-
- // $ANTLR start "T__64"
- public final void mT__64() throws RecognitionException {
- try {
- int _type = T__64;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:63:7: ( '}' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:63:9: '}'
- {
- match('}');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__64"
-
- // $ANTLR start "T__65"
- public final void mT__65() throws RecognitionException {
- try {
- int _type = T__65;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:64:7: ( 'allInstances' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:64:9: 'allInstances'
- {
- match("allInstances");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__65"
-
- // $ANTLR start "T__66"
- public final void mT__66() throws RecognitionException {
- try {
- int _type = T__66;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:65:7: ( '/*@' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:65:9: '/*@'
- {
- match("/*@");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__66"
-
- // $ANTLR start "T__67"
- public final void mT__67() throws RecognitionException {
- try {
- int _type = T__67;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:66:7: ( 'inline' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:66:9: 'inline'
- {
- match("inline");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__67"
-
- // $ANTLR start "T__68"
- public final void mT__68() throws RecognitionException {
- try {
- int _type = T__68;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:67:7: ( '*/' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:67:9: '*/'
- {
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__68"
-
- // $ANTLR start "T__69"
- public final void mT__69() throws RecognitionException {
- try {
- int _type = T__69;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:68:7: ( '//@' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:68:9: '//@'
- {
- match("//@");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__69"
-
- // $ANTLR start "T__70"
- public final void mT__70() throws RecognitionException {
- try {
- int _type = T__70;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:69:7: ( 'let' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:69:9: 'let'
- {
- match("let");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__70"
-
- // $ANTLR start "T__71"
- public final void mT__71() throws RecognitionException {
- try {
- int _type = T__71;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:70:7: ( '=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:70:9: '='
- {
- match('=');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__71"
-
- // $ANTLR start "T__72"
- public final void mT__72() throws RecognitionException {
- try {
- int _type = T__72;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:71:7: ( 'if' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:71:9: 'if'
- {
- match("if");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__72"
-
- // $ANTLR start "T__73"
- public final void mT__73() throws RecognitionException {
- try {
- int _type = T__73;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:72:7: ( 'else' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:72:9: 'else'
- {
- match("else");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__73"
-
- // $ANTLR start "T__74"
- public final void mT__74() throws RecognitionException {
- try {
- int _type = T__74;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:73:7: ( 'or' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:73:9: 'or'
- {
- match("or");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__74"
-
- // $ANTLR start "T__75"
- public final void mT__75() throws RecognitionException {
- try {
- int _type = T__75;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:74:7: ( 'switch' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:74:9: 'switch'
- {
- match("switch");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__75"
-
- // $ANTLR start "T__76"
- public final void mT__76() throws RecognitionException {
- try {
- int _type = T__76;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:75:7: ( 'case' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:75:9: 'case'
- {
- match("case");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__76"
-
- // $ANTLR start "T__77"
- public final void mT__77() throws RecognitionException {
- try {
- int _type = T__77;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:76:7: ( 'default' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:76:9: 'default'
- {
- match("default");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__77"
-
- // $ANTLR start "T__78"
- public final void mT__78() throws RecognitionException {
- try {
- int _type = T__78;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:77:7: ( 'while' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:77:9: 'while'
- {
- match("while");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__78"
-
- // $ANTLR start "T__79"
- public final void mT__79() throws RecognitionException {
- try {
- int _type = T__79;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:78:7: ( 'do' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:78:9: 'do'
- {
- match("do");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__79"
-
- // $ANTLR start "T__80"
- public final void mT__80() throws RecognitionException {
- try {
- int _type = T__80;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:79:7: ( 'for' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:79:9: 'for'
- {
- match("for");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__80"
-
- // $ANTLR start "T__81"
- public final void mT__81() throws RecognitionException {
- try {
- int _type = T__81;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:80:7: ( 'in' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:80:9: 'in'
- {
- match("in");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__81"
-
- // $ANTLR start "T__82"
- public final void mT__82() throws RecognitionException {
- try {
- int _type = T__82;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:7: ( 'break' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:9: 'break'
- {
- match("break");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__82"
-
- // $ANTLR start "T__83"
- public final void mT__83() throws RecognitionException {
- try {
- int _type = T__83;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:7: ( 'return' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:9: 'return'
- {
- match("return");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__83"
-
- // $ANTLR start "T__84"
- public final void mT__84() throws RecognitionException {
- try {
- int _type = T__84;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:83:7: ( 'accept' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:83:9: 'accept'
- {
- match("accept");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__84"
-
- // $ANTLR start "T__85"
- public final void mT__85() throws RecognitionException {
- try {
- int _type = T__85;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:84:7: ( 'classify' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:84:9: 'classify'
- {
- match("classify");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__85"
-
- // $ANTLR start "T__86"
- public final void mT__86() throws RecognitionException {
- try {
- int _type = T__86;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:85:7: ( 'from' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:85:9: 'from'
- {
- match("from");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__86"
-
- // $ANTLR start "T__87"
- public final void mT__87() throws RecognitionException {
- try {
- int _type = T__87;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:86:7: ( 'to' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:86:9: 'to'
- {
- match("to");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__87"
-
- // $ANTLR start "T__88"
- public final void mT__88() throws RecognitionException {
- try {
- int _type = T__88;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:87:7: ( 'public' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:87:9: 'public'
- {
- match("public");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__88"
-
- // $ANTLR start "T__89"
- public final void mT__89() throws RecognitionException {
- try {
- int _type = T__89;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:88:7: ( 'private' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:88:9: 'private'
- {
- match("private");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__89"
-
- // $ANTLR start "T__90"
- public final void mT__90() throws RecognitionException {
- try {
- int _type = T__90;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:89:7: ( 'protected' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:89:9: 'protected'
- {
- match("protected");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__90"
-
- // $ANTLR start "T__91"
- public final void mT__91() throws RecognitionException {
- try {
- int _type = T__91;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:90:7: ( 'out' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:90:9: 'out'
- {
- match("out");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__91"
-
- // $ANTLR start "T__92"
- public final void mT__92() throws RecognitionException {
- try {
- int _type = T__92;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:91:7: ( 'inout' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:91:9: 'inout'
- {
- match("inout");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__92"
-
- // $ANTLR start "T__93"
- public final void mT__93() throws RecognitionException {
- try {
- int _type = T__93;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:92:7: ( 'true' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:92:9: 'true'
- {
- match("true");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__93"
-
- // $ANTLR start "T__94"
- public final void mT__94() throws RecognitionException {
- try {
- int _type = T__94;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:93:7: ( 'false' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:93:9: 'false'
- {
- match("false");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__94"
-
- // $ANTLR start "T__95"
- public final void mT__95() throws RecognitionException {
- try {
- int _type = T__95;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:94:7: ( 'createLink' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:94:9: 'createLink'
- {
- match("createLink");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__95"
-
- // $ANTLR start "T__96"
- public final void mT__96() throws RecognitionException {
- try {
- int _type = T__96;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:95:7: ( 'destroyLink' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:95:9: 'destroyLink'
- {
- match("destroyLink");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__96"
-
- // $ANTLR start "T__97"
- public final void mT__97() throws RecognitionException {
- try {
- int _type = T__97;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:96:7: ( 'clearAssoc' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:96:9: 'clearAssoc'
- {
- match("clearAssoc");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__97"
-
- // $ANTLR start "T__98"
- public final void mT__98() throws RecognitionException {
- try {
- int _type = T__98;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:97:7: ( 'select' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:97:9: 'select'
- {
- match("select");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__98"
-
- // $ANTLR start "T__99"
- public final void mT__99() throws RecognitionException {
- try {
- int _type = T__99;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:98:7: ( 'reject' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:98:9: 'reject'
- {
- match("reject");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__99"
-
- // $ANTLR start "T__100"
- public final void mT__100() throws RecognitionException {
- try {
- int _type = T__100;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:8: ( 'collect' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:10: 'collect'
- {
- match("collect");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__100"
-
- // $ANTLR start "T__101"
- public final void mT__101() throws RecognitionException {
- try {
- int _type = T__101;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:100:8: ( 'iterate' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:100:10: 'iterate'
- {
- match("iterate");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__101"
-
- // $ANTLR start "T__102"
- public final void mT__102() throws RecognitionException {
- try {
- int _type = T__102;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:101:8: ( 'forAll' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:101:10: 'forAll'
- {
- match("forAll");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__102"
-
- // $ANTLR start "T__103"
- public final void mT__103() throws RecognitionException {
- try {
- int _type = T__103;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:102:8: ( 'exists' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:102:10: 'exists'
- {
- match("exists");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__103"
-
- // $ANTLR start "T__104"
- public final void mT__104() throws RecognitionException {
- try {
- int _type = T__104;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:103:8: ( 'one' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:103:10: 'one'
- {
- match("one");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__104"
-
- // $ANTLR start "T__105"
- public final void mT__105() throws RecognitionException {
- try {
- int _type = T__105;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:8: ( 'isolated' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:10: 'isolated'
- {
- match("isolated");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__105"
-
- // $ANTLR start "T__106"
- public final void mT__106() throws RecognitionException {
- try {
- int _type = T__106;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:8: ( 'determined' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:10: 'determined'
- {
- match("determined");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__106"
-
- // $ANTLR start "T__107"
- public final void mT__107() throws RecognitionException {
- try {
- int _type = T__107;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:106:8: ( 'assured' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:106:10: 'assured'
- {
- match("assured");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__107"
-
- // $ANTLR start "T__108"
- public final void mT__108() throws RecognitionException {
- try {
- int _type = T__108;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:107:8: ( 'parallel' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:107:10: 'parallel'
- {
- match("parallel");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__108"
-
- // $ANTLR start "T__109"
- public final void mT__109() throws RecognitionException {
- try {
- int _type = T__109;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:108:8: ( '+=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:108:10: '+='
- {
- match("+=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__109"
-
- // $ANTLR start "T__110"
- public final void mT__110() throws RecognitionException {
- try {
- int _type = T__110;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:109:8: ( '-=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:109:10: '-='
- {
- match("-=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__110"
-
- // $ANTLR start "T__111"
- public final void mT__111() throws RecognitionException {
- try {
- int _type = T__111;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:110:8: ( '*=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:110:10: '*='
- {
- match("*=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__111"
-
- // $ANTLR start "T__112"
- public final void mT__112() throws RecognitionException {
- try {
- int _type = T__112;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:111:8: ( '%=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:111:10: '%='
- {
- match("%=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__112"
-
- // $ANTLR start "T__113"
- public final void mT__113() throws RecognitionException {
- try {
- int _type = T__113;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:112:8: ( '/=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:112:10: '/='
- {
- match("/=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__113"
-
- // $ANTLR start "T__114"
- public final void mT__114() throws RecognitionException {
- try {
- int _type = T__114;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:113:8: ( '&=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:113:10: '&='
- {
- match("&=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__114"
-
- // $ANTLR start "T__115"
- public final void mT__115() throws RecognitionException {
- try {
- int _type = T__115;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:114:8: ( '|=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:114:10: '|='
- {
- match("|=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__115"
-
- // $ANTLR start "T__116"
- public final void mT__116() throws RecognitionException {
- try {
- int _type = T__116;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:115:8: ( '^=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:115:10: '^='
- {
- match("^=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__116"
-
- // $ANTLR start "T__117"
- public final void mT__117() throws RecognitionException {
- try {
- int _type = T__117;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:116:8: ( '<<=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:116:10: '<<='
- {
- match("<<=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__117"
-
- // $ANTLR start "T__118"
- public final void mT__118() throws RecognitionException {
- try {
- int _type = T__118;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:117:8: ( '>>=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:117:10: '>>='
- {
- match(">>=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__118"
-
- // $ANTLR start "T__119"
- public final void mT__119() throws RecognitionException {
- try {
- int _type = T__119;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:118:8: ( '>>>=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:118:10: '>>>='
- {
- match(">>>=");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "T__119"
-
- // $ANTLR start "RULE_INTEGERVALUE"
- public final void mRULE_INTEGERVALUE() throws RecognitionException {
- try {
- int _type = RULE_INTEGERVALUE;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:19: ( ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' ..
- // '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' ..
- // '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:21: ( ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* ) | ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0'
- // .. '1' )* | ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )* | '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )* )
- int alt13 = 4;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == '0')) {
- switch (input.LA(2)) {
- case 'B':
- case 'b': {
- alt13 = 2;
- }
- break;
- case 'X':
- case 'x': {
- alt13 = 3;
- }
- break;
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '_': {
- alt13 = 4;
- }
- break;
- default:
- alt13 = 1;
- }
-
- }
- else if (((LA13_0 >= '1' && LA13_0 <= '9'))) {
- alt13 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 13, 0, input);
-
- throw nvae;
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:22: ( '0' | '1' .. '9' ( ( '_' )? '0' .. '9' )* )
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == '0')) {
- alt3 = 1;
- }
- else if (((LA3_0 >= '1' && LA3_0 <= '9'))) {
- alt3 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 3, 0, input);
-
- throw nvae;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:23: '0'
- {
- match('0');
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:27: '1' .. '9' ( ( '_' )? '0' .. '9' )*
- {
- matchRange('1', '9');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:36: ( ( '_' )? '0' .. '9' )*
- loop2: do {
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= '0' && LA2_0 <= '9') || LA2_0 == '_')) {
- alt2 = 1;
- }
-
-
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: ( '_' )? '0' .. '9'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: ( '_' )?
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == '_')) {
- alt1 = 1;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:37: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '9');
-
- }
- break;
-
- default:
- break loop2;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:54: ( '0b' | '0B' ) '0' .. '1' ( ( '_' )? '0' .. '1' )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:54: ( '0b' | '0B' )
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == '0')) {
- int LA4_1 = input.LA(2);
-
- if ((LA4_1 == 'b')) {
- alt4 = 1;
- }
- else if ((LA4_1 == 'B')) {
- alt4 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 4, 0, input);
-
- throw nvae;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:55: '0b'
- {
- match("0b");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:60: '0B'
- {
- match("0B");
-
-
- }
- break;
-
- }
-
- matchRange('0', '1');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:75: ( ( '_' )? '0' .. '1' )*
- loop6: do {
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if (((LA6_0 >= '0' && LA6_0 <= '1') || LA6_0 == '_')) {
- alt6 = 1;
- }
-
-
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: ( '_' )? '0' .. '1'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: ( '_' )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == '_')) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:76: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '1');
-
- }
- break;
-
- default:
- break loop6;
- }
- } while (true);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:92: ( '0x' | '0X' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) ( ( '_' )? ( '0' .. '9' | 'a' .. 'f'
- // | 'A' .. 'F' ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:92: ( '0x' | '0X' )
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == '0')) {
- int LA7_1 = input.LA(2);
-
- if ((LA7_1 == 'x')) {
- alt7 = 1;
- }
- else if ((LA7_1 == 'X')) {
- alt7 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 7, 0, input);
-
- throw nvae;
- }
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:93: '0x'
- {
- match("0x");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:98: '0X'
- {
- match("0X");
-
-
- }
- break;
-
- }
-
- 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;
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:133: ( ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' ) )*
- loop9: do {
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if (((LA9_0 >= '0' && LA9_0 <= '9') || (LA9_0 >= 'A' && LA9_0 <= 'F') || LA9_0 == '_' || (LA9_0 >= 'a' && LA9_0 <= 'f'))) {
- alt9 = 1;
- }
-
-
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: ( '_' )? ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: ( '_' )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == '_')) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:134: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- 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:
- break loop9;
- }
- } while (true);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:170: '0' ( '_' )? '0' .. '7' ( ( '_' )? '0' .. '7' )*
- {
- match('0');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:174: ( '_' )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == '_')) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:174: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:188: ( ( '_' )? '0' .. '7' )*
- loop12: do {
- int alt12 = 2;
- int LA12_0 = input.LA(1);
-
- if (((LA12_0 >= '0' && LA12_0 <= '7') || LA12_0 == '_')) {
- alt12 = 1;
- }
-
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: ( '_' )? '0' .. '7'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: ( '_' )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == '_')) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8224:189: '_'
- {
- match('_');
-
- }
- break;
-
- }
-
- matchRange('0', '7');
-
- }
- break;
-
- default:
- break loop12;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INTEGERVALUE"
-
- // $ANTLR start "RULE_ID"
- public final void mRULE_ID() throws RecognitionException {
- try {
- int _type = RULE_ID;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:9: ( ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' (
- // options {greedy=false; } : . )* '\\'' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' (
- // options {greedy=false; } : . )* '\\'' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:11: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | '\\'' (
- // options {greedy=false; } : . )* '\\'' )
- int alt16 = 2;
- int LA16_0 = input.LA(1);
-
- if (((LA16_0 >= 'A' && LA16_0 <= 'Z') || LA16_0 == '_' || (LA16_0 >= 'a' && LA16_0 <= 'z'))) {
- alt16 = 1;
- }
- else if ((LA16_0 == '\'')) {
- alt16 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
- switch (alt16) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:12: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- {
- 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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:36: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )*
- loop14: do {
- int alt14 = 2;
- int LA14_0 = input.LA(1);
-
- if (((LA14_0 >= '0' && LA14_0 <= '9') || (LA14_0 >= 'A' && LA14_0 <= 'Z') || LA14_0 == '_' || (LA14_0 >= 'a' && LA14_0 <= 'z'))) {
- alt14 = 1;
- }
-
-
- switch (alt14) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.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 loop14;
- }
- } while (true);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:70: '\\'' ( options {greedy=false; } : . )* '\\''
- {
- match('\'');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:75: ( options {greedy=false; } : . )*
- loop15: do {
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == '\'')) {
- alt15 = 2;
- }
- else if (((LA15_0 >= '\u0000' && LA15_0 <= '&') || (LA15_0 >= '(' && LA15_0 <= '\uFFFF'))) {
- alt15 = 1;
- }
-
-
- switch (alt15) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8226:103: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop15;
- }
- } while (true);
-
- match('\'');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ID"
-
- // $ANTLR start "RULE_STRING"
- public final void mRULE_STRING() throws RecognitionException {
- try {
- int _type = RULE_STRING;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:13: ( '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) )
- // )* '\"' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:15: '\"' ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) )
- // )* '\"'
- {
- match('\"');
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:19: ( '\\\\' ( 'b' | 't' | 'n' | 'f' | 'r' | '\"' | '\\'' | '\\\\' ) | ~ ( ( '\\\\' | '\"' ) ) )*
- loop17: do {
- int alt17 = 3;
- int LA17_0 = input.LA(1);
-
- if ((LA17_0 == '\\')) {
- alt17 = 1;
- }
- else if (((LA17_0 >= '\u0000' && LA17_0 <= '!') || (LA17_0 >= '#' && LA17_0 <= '[') || (LA17_0 >= ']' && LA17_0 <= '\uFFFF'))) {
- alt17 = 2;
- }
-
-
- switch (alt17) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:20: '\\\\' ( '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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8228:61: ~ ( ( '\\\\' | '\"' ) )
- {
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '!') || (input.LA(1) >= '#' && input.LA(1) <= '[') || (input.LA(1) >= ']' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop17;
- }
- } while (true);
-
- match('\"');
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_STRING"
-
- // $ANTLR start "RULE_ML_COMMENT"
- public final void mRULE_ML_COMMENT() throws RecognitionException {
- try {
- int _type = RULE_ML_COMMENT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:17: ( '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:19: '/*' ~ ( '@' ) ( options {greedy=false; } : . )* '*/'
- {
- match("/*");
-
- if ((input.LA(1) >= '\u0000' && input.LA(1) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:31: ( options {greedy=false; } : . )*
- loop18: do {
- int alt18 = 2;
- int LA18_0 = input.LA(1);
-
- if ((LA18_0 == '*')) {
- int LA18_1 = input.LA(2);
-
- if ((LA18_1 == '/')) {
- alt18 = 2;
- }
- else if (((LA18_1 >= '\u0000' && LA18_1 <= '.') || (LA18_1 >= '0' && LA18_1 <= '\uFFFF'))) {
- alt18 = 1;
- }
-
-
- }
- else if (((LA18_0 >= '\u0000' && LA18_0 <= ')') || (LA18_0 >= '+' && LA18_0 <= '\uFFFF'))) {
- alt18 = 1;
- }
-
-
- switch (alt18) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8230:59: .
- {
- matchAny();
-
- }
- break;
-
- default:
- break loop18;
- }
- } while (true);
-
- match("*/");
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } 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;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:17: ( '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:19: '//' (~ ( ( '\\n' | '\\r' | '@' ) ) )* ( ( '\\r' )? '\\n' )?
- {
- match("//");
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:24: (~ ( ( '\\n' | '\\r' | '@' ) ) )*
- loop19: do {
- int alt19 = 2;
- int LA19_0 = input.LA(1);
-
- if (((LA19_0 >= '\u0000' && LA19_0 <= '\t') || (LA19_0 >= '\u000B' && LA19_0 <= '\f') || (LA19_0 >= '\u000E' && LA19_0 <= '?') || (LA19_0 >= 'A' && LA19_0 <= '\uFFFF'))) {
- alt19 = 1;
- }
-
-
- switch (alt19) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232: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) <= '?') || (input.LA(1) >= 'A' && input.LA(1) <= '\uFFFF')) {
- input.consume();
-
- }
- else {
- MismatchedSetException mse = new MismatchedSetException(null, input);
- recover(mse);
- throw mse;
- }
-
-
- }
- break;
-
- default:
- break loop19;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:44: ( ( '\\r' )? '\\n' )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
-
- if ((LA21_0 == '\n' || LA21_0 == '\r')) {
- alt21 = 1;
- }
- switch (alt21) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: ( '\\r' )? '\\n'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: ( '\\r' )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
-
- if ((LA20_0 == '\r')) {
- alt20 = 1;
- }
- switch (alt20) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8232:45: '\\r'
- {
- match('\r');
-
- }
- break;
-
- }
-
- match('\n');
-
- }
- break;
-
- }
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_SL_COMMENT"
-
- // $ANTLR start "RULE_INT"
- public final void mRULE_INT() throws RecognitionException {
- try {
- int _type = RULE_INT;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8234:10: ( ( '0' .. '9' )+ )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8234:12: ( '0' .. '9' )+
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8234:12: ( '0' .. '9' )+
- int cnt22 = 0;
- loop22: do {
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if (((LA22_0 >= '0' && LA22_0 <= '9'))) {
- alt22 = 1;
- }
-
-
- switch (alt22) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8234:13: '0' .. '9'
- {
- matchRange('0', '9');
-
- }
- break;
-
- default:
- if (cnt22 >= 1) {
- break loop22;
- }
- EarlyExitException eee =
- new EarlyExitException(22, input);
- throw eee;
- }
- cnt22++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_INT"
-
- // $ANTLR start "RULE_WS"
- public final void mRULE_WS() throws RecognitionException {
- try {
- int _type = RULE_WS;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8236:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8236:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8236:11: ( ' ' | '\\t' | '\\r' | '\\n' )+
- int cnt23 = 0;
- loop23: do {
- int alt23 = 2;
- int LA23_0 = input.LA(1);
-
- if (((LA23_0 >= '\t' && LA23_0 <= '\n') || LA23_0 == '\r' || LA23_0 == ' ')) {
- alt23 = 1;
- }
-
-
- switch (alt23) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.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 (cnt23 >= 1) {
- break loop23;
- }
- EarlyExitException eee =
- new EarlyExitException(23, input);
- throw eee;
- }
- cnt23++;
- } while (true);
-
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_WS"
-
- // $ANTLR start "RULE_ANY_OTHER"
- public final void mRULE_ANY_OTHER() throws RecognitionException {
- try {
- int _type = RULE_ANY_OTHER;
- int _channel = DEFAULT_TOKEN_CHANNEL;
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8238:16: ( . )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8238:18: .
- {
- matchAny();
-
- }
-
- state.type = _type;
- state.channel = _channel;
- } finally {
- }
- }
-
- // $ANTLR end "RULE_ANY_OTHER"
-
- @Override
- public void mTokens() throws RecognitionException {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 |
- // T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 |
- // T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 |
- // T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 |
- // T__116 | T__117 | T__118 | T__119 | RULE_INTEGERVALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER )
- int alt24 = 116;
- alt24 = dfa24.predict(input);
- switch (alt24) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:10: T__12
- {
- mT__12();
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:16: T__13
- {
- mT__13();
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:22: T__14
- {
- mT__14();
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:28: T__15
- {
- mT__15();
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:34: T__16
- {
- mT__16();
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:40: T__17
- {
- mT__17();
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:46: T__18
- {
- mT__18();
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:52: T__19
- {
- mT__19();
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:58: T__20
- {
- mT__20();
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:64: T__21
- {
- mT__21();
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:70: T__22
- {
- mT__22();
-
- }
- break;
- case 12:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:76: T__23
- {
- mT__23();
-
- }
- break;
- case 13:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:82: T__24
- {
- mT__24();
-
- }
- break;
- case 14:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:88: T__25
- {
- mT__25();
-
- }
- break;
- case 15:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:94: T__26
- {
- mT__26();
-
- }
- break;
- case 16:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:100: T__27
- {
- mT__27();
-
- }
- break;
- case 17:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:106: T__28
- {
- mT__28();
-
- }
- break;
- case 18:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:112: T__29
- {
- mT__29();
-
- }
- break;
- case 19:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:118: T__30
- {
- mT__30();
-
- }
- break;
- case 20:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:124: T__31
- {
- mT__31();
-
- }
- break;
- case 21:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:130: T__32
- {
- mT__32();
-
- }
- break;
- case 22:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:136: T__33
- {
- mT__33();
-
- }
- break;
- case 23:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:142: T__34
- {
- mT__34();
-
- }
- break;
- case 24:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:148: T__35
- {
- mT__35();
-
- }
- break;
- case 25:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:154: T__36
- {
- mT__36();
-
- }
- break;
- case 26:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:160: T__37
- {
- mT__37();
-
- }
- break;
- case 27:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:166: T__38
- {
- mT__38();
-
- }
- break;
- case 28:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:172: T__39
- {
- mT__39();
-
- }
- break;
- case 29:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:178: T__40
- {
- mT__40();
-
- }
- break;
- case 30:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:184: T__41
- {
- mT__41();
-
- }
- break;
- case 31:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:190: T__42
- {
- mT__42();
-
- }
- break;
- case 32:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:196: T__43
- {
- mT__43();
-
- }
- break;
- case 33:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:202: T__44
- {
- mT__44();
-
- }
- break;
- case 34:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:208: T__45
- {
- mT__45();
-
- }
- break;
- case 35:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:214: T__46
- {
- mT__46();
-
- }
- break;
- case 36:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:220: T__47
- {
- mT__47();
-
- }
- break;
- case 37:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:226: T__48
- {
- mT__48();
-
- }
- break;
- case 38:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:232: T__49
- {
- mT__49();
-
- }
- break;
- case 39:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:238: T__50
- {
- mT__50();
-
- }
- break;
- case 40:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:244: T__51
- {
- mT__51();
-
- }
- break;
- case 41:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:250: T__52
- {
- mT__52();
-
- }
- break;
- case 42:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:256: T__53
- {
- mT__53();
-
- }
- break;
- case 43:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:262: T__54
- {
- mT__54();
-
- }
- break;
- case 44:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:268: T__55
- {
- mT__55();
-
- }
- break;
- case 45:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:274: T__56
- {
- mT__56();
-
- }
- break;
- case 46:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:280: T__57
- {
- mT__57();
-
- }
- break;
- case 47:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:286: T__58
- {
- mT__58();
-
- }
- break;
- case 48:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:292: T__59
- {
- mT__59();
-
- }
- break;
- case 49:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:298: T__60
- {
- mT__60();
-
- }
- break;
- case 50:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:304: T__61
- {
- mT__61();
-
- }
- break;
- case 51:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:310: T__62
- {
- mT__62();
-
- }
- break;
- case 52:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:316: T__63
- {
- mT__63();
-
- }
- break;
- case 53:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:322: T__64
- {
- mT__64();
-
- }
- break;
- case 54:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:328: T__65
- {
- mT__65();
-
- }
- break;
- case 55:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:334: T__66
- {
- mT__66();
-
- }
- break;
- case 56:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:340: T__67
- {
- mT__67();
-
- }
- break;
- case 57:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:346: T__68
- {
- mT__68();
-
- }
- break;
- case 58:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:352: T__69
- {
- mT__69();
-
- }
- break;
- case 59:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:358: T__70
- {
- mT__70();
-
- }
- break;
- case 60:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:364: T__71
- {
- mT__71();
-
- }
- break;
- case 61:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:370: T__72
- {
- mT__72();
-
- }
- break;
- case 62:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:376: T__73
- {
- mT__73();
-
- }
- break;
- case 63:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:382: T__74
- {
- mT__74();
-
- }
- break;
- case 64:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:388: T__75
- {
- mT__75();
-
- }
- break;
- case 65:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:394: T__76
- {
- mT__76();
-
- }
- break;
- case 66:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:400: T__77
- {
- mT__77();
-
- }
- break;
- case 67:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:406: T__78
- {
- mT__78();
-
- }
- break;
- case 68:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:412: T__79
- {
- mT__79();
-
- }
- break;
- case 69:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:418: T__80
- {
- mT__80();
-
- }
- break;
- case 70:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:424: T__81
- {
- mT__81();
-
- }
- break;
- case 71:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:430: T__82
- {
- mT__82();
-
- }
- break;
- case 72:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:436: T__83
- {
- mT__83();
-
- }
- break;
- case 73:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:442: T__84
- {
- mT__84();
-
- }
- break;
- case 74:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:448: T__85
- {
- mT__85();
-
- }
- break;
- case 75:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:454: T__86
- {
- mT__86();
-
- }
- break;
- case 76:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:460: T__87
- {
- mT__87();
-
- }
- break;
- case 77:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:466: T__88
- {
- mT__88();
-
- }
- break;
- case 78:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:472: T__89
- {
- mT__89();
-
- }
- break;
- case 79:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:478: T__90
- {
- mT__90();
-
- }
- break;
- case 80:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:484: T__91
- {
- mT__91();
-
- }
- break;
- case 81:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:490: T__92
- {
- mT__92();
-
- }
- break;
- case 82:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:496: T__93
- {
- mT__93();
-
- }
- break;
- case 83:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:502: T__94
- {
- mT__94();
-
- }
- break;
- case 84:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:508: T__95
- {
- mT__95();
-
- }
- break;
- case 85:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:514: T__96
- {
- mT__96();
-
- }
- break;
- case 86:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:520: T__97
- {
- mT__97();
-
- }
- break;
- case 87:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:526: T__98
- {
- mT__98();
-
- }
- break;
- case 88:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:532: T__99
- {
- mT__99();
-
- }
- break;
- case 89:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:538: T__100
- {
- mT__100();
-
- }
- break;
- case 90:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:545: T__101
- {
- mT__101();
-
- }
- break;
- case 91:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:552: T__102
- {
- mT__102();
-
- }
- break;
- case 92:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:559: T__103
- {
- mT__103();
-
- }
- break;
- case 93:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:566: T__104
- {
- mT__104();
-
- }
- break;
- case 94:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:573: T__105
- {
- mT__105();
-
- }
- break;
- case 95:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:580: T__106
- {
- mT__106();
-
- }
- break;
- case 96:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:587: T__107
- {
- mT__107();
-
- }
- break;
- case 97:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:594: T__108
- {
- mT__108();
-
- }
- break;
- case 98:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:601: T__109
- {
- mT__109();
-
- }
- break;
- case 99:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:608: T__110
- {
- mT__110();
-
- }
- break;
- case 100:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:615: T__111
- {
- mT__111();
-
- }
- break;
- case 101:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:622: T__112
- {
- mT__112();
-
- }
- break;
- case 102:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:629: T__113
- {
- mT__113();
-
- }
- break;
- case 103:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:636: T__114
- {
- mT__114();
-
- }
- break;
- case 104:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:643: T__115
- {
- mT__115();
-
- }
- break;
- case 105:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:650: T__116
- {
- mT__116();
-
- }
- break;
- case 106:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:657: T__117
- {
- mT__117();
-
- }
- break;
- case 107:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:664: T__118
- {
- mT__118();
-
- }
- break;
- case 108:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:671: T__119
- {
- mT__119();
-
- }
- break;
- case 109:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:678: RULE_INTEGERVALUE
- {
- mRULE_INTEGERVALUE();
-
- }
- break;
- case 110:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:696: RULE_ID
- {
- mRULE_ID();
-
- }
- break;
- case 111:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:704: RULE_STRING
- {
- mRULE_STRING();
-
- }
- break;
- case 112:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:716: RULE_ML_COMMENT
- {
- mRULE_ML_COMMENT();
-
- }
- break;
- case 113:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:732: RULE_SL_COMMENT
- {
- mRULE_SL_COMMENT();
-
- }
- break;
- case 114:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:748: RULE_INT
- {
- mRULE_INT();
-
- }
- break;
- case 115:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:757: RULE_WS
- {
- mRULE_WS();
-
- }
- break;
- case 116:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1:765: RULE_ANY_OTHER
- {
- mRULE_ANY_OTHER();
-
- }
- break;
-
- }
-
- }
-
-
- protected DFA24 dfa24 = new DFA24(this);
- static final String DFA24_eotS =
- "\2\uffff\1\67\1\71\5\uffff\3\67\1\111\1\114\1\67\1\120\1\124\1" +
- "\127\1\132\1\135\1\uffff\1\141\1\144\1\146\1\150\2\67\1\161\1\163" +
- "\2\uffff\1\67\2\uffff\10\67\2\u008c\1\uffff\2\60\3\uffff\5\67\10" +
- "\uffff\1\u0098\10\67\5\uffff\1\67\10\uffff\1\u00a6\2\uffff\1\u00a9" +
- "\17\uffff\1\u00ad\1\67\1\u00b0\2\67\1\uffff\1\u00b6\6\uffff\1\67" +
- "\1\u00b8\1\67\2\uffff\10\67\1\u00c5\10\67\1\uffff\1\u008c\1\uffff" +
- "\1\u008c\2\uffff\1\67\1\u00d1\4\67\1\uffff\1\u00d6\1\u00d7\2\67" +
- "\1\u00da\7\67\2\uffff\1\u00e4\2\uffff\3\67\1\uffff\2\67\1\uffff" +
- "\2\67\4\uffff\1\67\1\uffff\1\67\1\u00ee\12\67\1\uffff\1\67\1\u00fb" +
- "\7\67\1\u008c\1\67\1\uffff\4\67\2\uffff\1\67\1\u0109\1\uffff\10" +
- "\67\2\uffff\7\67\1\u0119\1\u011a\1\uffff\1\u011b\1\67\1\u011d\11" +
- "\67\1\uffff\1\u0127\14\67\1\uffff\2\67\1\u0136\7\67\1\u013e\4\67" +
- "\3\uffff\1\67\1\uffff\7\67\1\u014b\1\67\1\uffff\1\u014d\1\u014e" +
- "\6\67\1\u0155\4\67\1\u015a\1\uffff\1\u015b\1\67\1\u015d\1\u015e" +
- "\1\u015f\1\67\1\u0161\1\uffff\4\67\1\u0166\7\67\1\uffff\1\u016e" +
- "\2\uffff\1\u016f\5\67\1\uffff\1\u0175\1\u0176\2\67\2\uffff\1\67" +
- "\3\uffff\1\67\1\uffff\2\67\1\u017d\1\u017e\1\uffff\3\67\1\u0182" +
- "\1\u0183\2\67\2\uffff\1\u0186\2\67\1\u0189\1\67\2\uffff\1\67\1\u018c" +
- "\2\67\1\u018f\1\u0190\2\uffff\1\u0191\2\67\2\uffff\2\67\1\uffff" +
- "\1\67\1\u0197\1\uffff\1\67\1\u0199\1\uffff\1\u019a\1\67\3\uffff" +
- "\4\67\1\u01a0\1\uffff\1\67\2\uffff\1\u01a2\1\u01a3\1\u01a4\1\67" +
- "\1\u01a6\1\uffff\1\67\3\uffff\1\u01a8\1\uffff\1\u01a9\2\uffff";
- static final String DFA24_eofS =
- "\u01aa\uffff";
- static final String DFA24_minS =
- "\1\0\1\uffff\1\142\1\72\5\uffff\1\156\2\145\1\56\1\57\1\145\1\53" +
- "\1\55\1\74\2\75\1\uffff\1\75\1\46\2\75\1\146\1\141\1\52\1\75\2\uffff" +
- "\1\150\2\uffff\1\145\1\154\1\141\1\145\1\150\1\141\1\162\1\141\2" +
- "\60\1\uffff\2\0\3\uffff\1\163\1\171\1\154\1\143\1\163\10\uffff\1" +
- "\60\1\164\1\145\1\156\1\154\1\167\1\154\1\160\1\151\5\uffff\1\144" +
- "\10\uffff\1\75\2\uffff\1\75\17\uffff\1\60\1\125\1\60\1\145\1\163" +
- "\1\0\1\100\6\uffff\1\151\1\60\1\165\2\uffff\1\164\1\163\1\151\1" +
- "\163\1\141\1\145\1\154\1\146\1\60\1\151\1\162\1\157\1\154\1\145" +
- "\1\142\1\151\1\162\1\uffff\1\60\1\uffff\1\60\2\uffff\1\164\1\60" +
- "\1\111\1\145\1\165\1\145\1\uffff\2\60\1\125\1\154\1\60\1\165\2\145" +
- "\1\164\1\145\1\165\1\145\2\uffff\1\75\2\uffff\1\164\1\151\1\165" +
- "\1\uffff\1\156\1\154\1\uffff\1\162\1\164\4\uffff\1\163\1\uffff\1" +
- "\145\1\60\1\145\1\163\1\145\1\163\2\141\1\154\1\141\1\164\1\145" +
- "\1\uffff\1\154\1\60\1\155\1\163\1\141\1\154\1\166\1\164\1\141\1" +
- "\60\1\162\1\uffff\1\156\1\160\2\162\2\uffff\1\156\1\60\1\uffff\1" +
- "\145\1\143\1\162\1\143\1\146\1\143\1\162\1\143\2\uffff\1\141\1\156" +
- "\1\164\1\151\2\141\1\171\2\60\1\uffff\1\60\1\164\1\60\1\163\1\162" +
- "\1\164\1\145\1\165\2\162\1\145\1\154\1\uffff\1\60\1\145\1\153\1" +
- "\151\1\141\1\145\1\154\1\141\1\163\1\164\2\145\1\151\1\uffff\1\156" +
- "\1\164\1\60\1\150\1\151\1\145\1\156\1\164\1\156\1\145\1\60\1\161" +
- "\2\164\1\160\3\uffff\1\163\1\uffff\1\151\1\101\1\145\1\143\1\154" +
- "\1\157\1\155\1\60\1\154\1\uffff\2\60\1\143\1\164\1\143\1\154\1\143" +
- "\1\164\1\60\2\144\1\161\1\143\1\60\1\uffff\1\60\1\156\3\60\1\143" +
- "\1\60\1\uffff\1\165\3\145\1\60\1\146\1\163\1\114\2\164\1\171\1\151" +
- "\1\uffff\1\60\2\uffff\1\60\1\145\1\164\1\145\1\164\1\141\1\uffff" +
- "\2\60\1\165\1\145\2\uffff\1\145\3\uffff\1\145\1\uffff\1\145\1\144" +
- "\2\60\1\uffff\1\171\1\163\1\151\2\60\1\114\1\156\2\uffff\1\60\1" +
- "\145\1\154\1\60\1\156\2\uffff\1\145\1\60\1\163\1\157\2\60\2\uffff" +
- "\1\60\1\157\1\156\2\uffff\1\151\1\145\1\uffff\1\144\1\60\1\uffff" +
- "\1\143\1\60\1\uffff\1\60\1\146\3\uffff\1\143\1\153\1\156\1\144\1" +
- "\60\1\uffff\1\145\2\uffff\3\60\1\153\1\60\1\uffff\1\163\3\uffff" +
- "\1\60\1\uffff\1\60\2\uffff";
- static final String DFA24_maxS =
- "\1\uffff\1\uffff\1\163\1\72\5\uffff\2\165\1\167\1\56\1\75\1\145" +
- "\1\75\1\76\1\75\2\76\1\uffff\1\174\3\75\1\164\1\141\2\75\2\uffff" +
- "\1\162\2\uffff\1\145\1\170\1\162\1\157\1\150\2\162\1\165\2\71\1" +
- "\uffff\2\uffff\3\uffff\1\163\1\171\1\154\1\143\1\163\10\uffff\1" +
- "\172\1\164\1\145\1\156\1\154\1\167\1\161\1\160\1\151\5\uffff\1\164" +
- "\10\uffff\1\75\2\uffff\1\76\17\uffff\1\172\1\157\1\172\1\145\1\163" +
- "\1\uffff\1\100\6\uffff\1\151\1\172\1\165\2\uffff\1\164\1\163\1\151" +
- "\1\163\2\145\1\154\1\164\1\172\1\151\1\162\1\157\1\154\1\145\1\142" +
- "\1\157\1\162\1\uffff\1\71\1\uffff\1\71\2\uffff\1\164\1\172\1\111" +
- "\1\145\1\165\1\145\1\uffff\2\172\1\125\1\154\1\172\1\165\2\145\1" +
- "\164\2\165\1\145\2\uffff\1\75\2\uffff\1\164\1\151\1\165\1\uffff" +
- "\1\156\1\154\1\uffff\1\162\1\164\4\uffff\1\163\1\uffff\1\145\1\172" +
- "\1\145\1\163\1\145\1\163\2\141\1\154\1\141\1\164\1\145\1\uffff\1" +
- "\154\1\172\1\155\1\163\1\141\1\154\1\166\1\164\1\141\1\71\1\162" +
- "\1\uffff\1\156\1\160\2\162\2\uffff\1\156\1\172\1\uffff\1\145\1\143" +
- "\1\162\1\143\1\146\1\143\1\162\1\143\2\uffff\1\141\1\156\1\164\1" +
- "\151\2\141\1\171\2\172\1\uffff\1\172\1\164\1\172\1\163\1\162\1\164" +
- "\1\145\1\165\2\162\1\145\1\154\1\uffff\1\172\1\145\1\153\1\151\1" +
- "\141\1\145\1\154\1\141\1\163\1\164\2\145\1\151\1\uffff\1\156\1\164" +
- "\1\172\1\150\1\151\1\145\1\156\1\164\1\156\1\145\1\172\1\161\2\164" +
- "\1\160\3\uffff\1\163\1\uffff\1\151\1\101\1\145\1\143\1\154\1\157" +
- "\1\155\1\172\1\154\1\uffff\2\172\1\143\1\164\1\143\1\154\1\143\1" +
- "\164\1\172\2\144\1\161\1\143\1\172\1\uffff\1\172\1\156\3\172\1\143" +
- "\1\172\1\uffff\1\165\3\145\1\172\1\146\1\163\1\114\2\164\1\171\1" +
- "\151\1\uffff\1\172\2\uffff\1\172\1\145\1\164\1\145\1\164\1\141\1" +
- "\uffff\2\172\1\165\1\145\2\uffff\1\145\3\uffff\1\145\1\uffff\1\145" +
- "\1\144\2\172\1\uffff\1\171\1\163\1\151\2\172\1\114\1\156\2\uffff" +
- "\1\172\1\145\1\154\1\172\1\156\2\uffff\1\145\1\172\1\163\1\157\2" +
- "\172\2\uffff\1\172\1\157\1\156\2\uffff\1\151\1\145\1\uffff\1\144" +
- "\1\172\1\uffff\1\143\1\172\1\uffff\1\172\1\146\3\uffff\1\143\1\153" +
- "\1\156\1\144\1\172\1\uffff\1\145\2\uffff\3\172\1\153\1\172\1\uffff" +
- "\1\163\3\uffff\1\172\1\uffff\1\172\2\uffff";
- static final String DFA24_acceptS =
- "\1\uffff\1\1\2\uffff\1\4\1\5\1\6\1\7\1\10\13\uffff\1\26\10\uffff" +
- "\1\52\1\53\1\uffff\1\64\1\65\12\uffff\1\156\2\uffff\1\163\1\164" +
- "\1\1\5\uffff\1\156\1\22\1\3\1\4\1\5\1\6\1\7\1\10\11\uffff\1\14\1" +
- "\54\1\71\1\144\1\15\1\uffff\1\20\1\142\1\45\1\21\1\55\1\143\1\46" +
- "\1\40\1\uffff\1\23\1\41\1\uffff\1\24\1\25\1\34\1\74\1\26\1\27\1" +
- "\150\1\31\1\30\1\147\1\33\1\151\1\32\1\35\1\51\7\uffff\1\146\1\47" +
- "\1\145\1\50\1\52\1\53\3\uffff\1\64\1\65\21\uffff\1\155\1\uffff\1" +
- "\162\1\uffff\1\157\1\163\6\uffff\1\77\14\uffff\1\152\1\42\1\uffff" +
- "\1\153\1\43\3\uffff\1\106\2\uffff\1\75\2\uffff\1\67\1\160\1\72\1" +
- "\161\1\uffff\1\114\14\uffff\1\104\13\uffff\1\16\4\uffff\1\120\1" +
- "\135\2\uffff\1\63\10\uffff\1\154\1\44\11\uffff\1\73\14\uffff\1\105" +
- "\15\uffff\1\60\17\uffff\1\61\1\122\1\76\1\uffff\1\101\11\uffff\1" +
- "\113\16\uffff\1\62\7\uffff\1\121\14\uffff\1\103\1\uffff\1\123\1" +
- "\107\6\uffff\1\111\4\uffff\1\127\1\100\1\uffff\1\56\1\110\1\130" +
- "\1\uffff\1\70\4\uffff\1\134\7\uffff\1\133\1\115\5\uffff\1\140\1" +
- "\11\6\uffff\1\132\1\37\3\uffff\1\131\1\102\2\uffff\1\116\2\uffff" +
- "\1\2\2\uffff\1\13\2\uffff\1\57\1\136\1\112\5\uffff\1\141\1\uffff" +
- "\1\12\1\17\5\uffff\1\117\1\uffff\1\36\1\126\1\124\1\uffff\1\137" +
- "\1\uffff\1\125\1\66";
- static final String DFA24_specialS =
- "\1\0\54\uffff\1\1\1\3\77\uffff\1\2\u013b\uffff}>";
- static final String[] DFA24_transitionS = {
- "\11\60\2\57\2\60\1\57\22\60\1\57\1\30\1\56\1\60\1\35\1\34\1" +
- "\26\1\55\1\4\1\5\1\15\1\17\1\6\1\20\1\14\1\33\1\52\11\53\1\3" +
- "\1\1\1\21\1\23\1\22\1\24\1\60\32\54\1\7\1\60\1\10\1\27\1\54" +
- "\1\60\1\2\1\50\1\44\1\45\1\43\1\47\1\54\1\32\1\31\2\54\1\42" +
- "\1\54\1\12\1\11\1\51\1\54\1\16\1\13\1\37\2\54\1\46\3\54\1\40" +
- "\1\25\1\41\1\36\uff81\60",
- "",
- "\1\62\1\65\10\uffff\1\64\1\uffff\1\63\4\uffff\1\66",
- "\1\70",
- "",
- "",
- "",
- "",
- "",
- "\1\101\3\uffff\1\77\2\uffff\1\100",
- "\1\104\11\uffff\1\102\5\uffff\1\103",
- "\1\105\17\uffff\1\106\1\uffff\1\107",
- "\1\110",
- "\1\112\15\uffff\1\113",
- "\1\115",
- "\1\116\21\uffff\1\117",
- "\1\121\17\uffff\1\123\1\122",
- "\1\126\1\125",
- "\1\130\1\131",
- "\1\134\1\133",
- "",
- "\1\140\76\uffff\1\137",
- "\1\142\26\uffff\1\143",
- "\1\145",
- "\1\147",
- "\1\153\7\uffff\1\151\4\uffff\1\152\1\154",
- "\1\155",
- "\1\156\4\uffff\1\157\15\uffff\1\160",
- "\1\162",
- "",
- "",
- "\1\166\6\uffff\1\167\2\uffff\1\170",
- "",
- "",
- "\1\173",
- "\1\174\13\uffff\1\175",
- "\1\176\12\uffff\1\177\2\uffff\1\u0081\2\uffff\1\u0080",
- "\1\u0082\11\uffff\1\u0083",
- "\1\u0084",
- "\1\u0087\15\uffff\1\u0085\2\uffff\1\u0086",
- "\1\u0088",
- "\1\u008b\20\uffff\1\u008a\2\uffff\1\u0089",
- "\10\u008d\2\u008e",
- "\12\u008f",
- "",
- "\0\67",
- "\0\u0090",
- "",
- "",
- "",
- "\1\u0092",
- "\1\u0093",
- "\1\u0094",
- "\1\u0095",
- "\1\u0096",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\3\67\1\u0097\26" +
- "\67",
- "\1\u0099",
- "\1\u009a",
- "\1\u009b",
- "\1\u009c",
- "\1\u009d",
- "\1\u009f\4\uffff\1\u009e",
- "\1\u00a0",
- "\1\u00a1",
- "",
- "",
- "",
- "",
- "",
- "\1\u00a2\5\uffff\1\u00a4\11\uffff\1\u00a3",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\u00a5",
- "",
- "",
- "\1\u00a8\1\u00a7",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\13\67\1\u00ab\2" +
- "\67\1\u00ac\3\67\1\u00aa\7\67",
- "\1\u00ae\31\uffff\1\u00af",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00b1",
- "\1\u00b2",
- "\100\u00b4\1\u00b3\uffbf\u00b4",
- "\1\u00b5",
- "",
- "",
- "",
- "",
- "",
- "",
- "\1\u00b7",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00b9",
- "",
- "",
- "\1\u00ba",
- "\1\u00bb",
- "\1\u00bc",
- "\1\u00bd",
- "\1\u00be\3\uffff\1\u00bf",
- "\1\u00c0",
- "\1\u00c1",
- "\1\u00c2\14\uffff\1\u00c3\1\u00c4",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00c6",
- "\1\u00c7",
- "\1\u00c8",
- "\1\u00c9",
- "\1\u00ca",
- "\1\u00cb",
- "\1\u00cc\5\uffff\1\u00cd",
- "\1\u00ce",
- "",
- "\10\u00cf\2\u008e",
- "",
- "\12\u008f",
- "",
- "",
- "\1\u00d0",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00d2",
- "\1\u00d3",
- "\1\u00d4",
- "\1\u00d5",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00d8",
- "\1\u00d9",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00db",
- "\1\u00dc",
- "\1\u00dd",
- "\1\u00de",
- "\1\u00df\17\uffff\1\u00e0",
- "\1\u00e1",
- "\1\u00e2",
- "",
- "",
- "\1\u00e3",
- "",
- "",
- "\1\u00e5",
- "\1\u00e6",
- "\1\u00e7",
- "",
- "\1\u00e8",
- "\1\u00e9",
- "",
- "\1\u00ea",
- "\1\u00eb",
- "",
- "",
- "",
- "",
- "\1\u00ec",
- "",
- "\1\u00ed",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00ef",
- "\1\u00f0",
- "\1\u00f1",
- "\1\u00f2",
- "\1\u00f3",
- "\1\u00f4",
- "\1\u00f5",
- "\1\u00f6",
- "\1\u00f7",
- "\1\u00f8",
- "",
- "\1\u00f9",
- "\12\67\7\uffff\1\u00fa\31\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u00fc",
- "\1\u00fd",
- "\1\u00fe",
- "\1\u00ff",
- "\1\u0100",
- "\1\u0101",
- "\1\u0102",
- "\10\u00cf\2\u008e",
- "\1\u0103",
- "",
- "\1\u0104",
- "\1\u0105",
- "\1\u0106",
- "\1\u0107",
- "",
- "",
- "\1\u0108",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u010a",
- "\1\u010b",
- "\1\u010c",
- "\1\u010d",
- "\1\u010e",
- "\1\u010f",
- "\1\u0110",
- "\1\u0111",
- "",
- "",
- "\1\u0112",
- "\1\u0113",
- "\1\u0114",
- "\1\u0115",
- "\1\u0116",
- "\1\u0117",
- "\1\u0118",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u011c",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u011e",
- "\1\u011f",
- "\1\u0120",
- "\1\u0121",
- "\1\u0122",
- "\1\u0123",
- "\1\u0124",
- "\1\u0125",
- "\1\u0126",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0128",
- "\1\u0129",
- "\1\u012a",
- "\1\u012b",
- "\1\u012c",
- "\1\u012d",
- "\1\u012e",
- "\1\u012f",
- "\1\u0130",
- "\1\u0131",
- "\1\u0132",
- "\1\u0133",
- "",
- "\1\u0134",
- "\1\u0135",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0137",
- "\1\u0138",
- "\1\u0139",
- "\1\u013a",
- "\1\u013b",
- "\1\u013c",
- "\1\u013d",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u013f",
- "\1\u0140",
- "\1\u0141",
- "\1\u0142",
- "",
- "",
- "",
- "\1\u0143",
- "",
- "\1\u0144",
- "\1\u0145",
- "\1\u0146",
- "\1\u0147",
- "\1\u0148",
- "\1\u0149",
- "\1\u014a",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u014c",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u014f",
- "\1\u0150",
- "\1\u0151",
- "\1\u0152",
- "\1\u0153",
- "\1\u0154",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0156",
- "\1\u0157",
- "\1\u0158",
- "\1\u0159",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u015c",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0160",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u0162",
- "\1\u0163",
- "\1\u0164",
- "\1\u0165",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0167",
- "\1\u0168",
- "\1\u0169",
- "\1\u016a",
- "\1\u016b",
- "\1\u016c",
- "\1\u016d",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0170",
- "\1\u0171",
- "\1\u0172",
- "\1\u0173",
- "\1\u0174",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0177",
- "\1\u0178",
- "",
- "",
- "\1\u0179",
- "",
- "",
- "",
- "\1\u017a",
- "",
- "\1\u017b",
- "\1\u017c",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u017f",
- "\1\u0180",
- "\1\u0181",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0184",
- "\1\u0185",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0187",
- "\1\u0188",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u018a",
- "",
- "",
- "\1\u018b",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u018d",
- "\1\u018e",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u0192",
- "\1\u0193",
- "",
- "",
- "\1\u0194",
- "\1\u0195",
- "",
- "\1\u0196",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u0198",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u019b",
- "",
- "",
- "",
- "\1\u019c",
- "\1\u019d",
- "\1\u019e",
- "\1\u019f",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u01a1",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "\1\u01a5",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\1\u01a7",
- "",
- "",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- "\12\67\7\uffff\32\67\4\uffff\1\67\1\uffff\32\67",
- "",
- ""
- };
-
- static final short[] DFA24_eot = DFA.unpackEncodedString(DFA24_eotS);
- static final short[] DFA24_eof = DFA.unpackEncodedString(DFA24_eofS);
- static final char[] DFA24_min = DFA.unpackEncodedStringToUnsignedChars(DFA24_minS);
- static final char[] DFA24_max = DFA.unpackEncodedStringToUnsignedChars(DFA24_maxS);
- static final short[] DFA24_accept = DFA.unpackEncodedString(DFA24_acceptS);
- static final short[] DFA24_special = DFA.unpackEncodedString(DFA24_specialS);
- static final short[][] DFA24_transition;
-
- static {
- int numStates = DFA24_transitionS.length;
- DFA24_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA24_transition[i] = DFA.unpackEncodedString(DFA24_transitionS[i]);
- }
- }
-
- class DFA24 extends DFA {
-
- public DFA24(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 24;
- this.eot = DFA24_eot;
- this.eof = DFA24_eof;
- this.min = DFA24_min;
- this.max = DFA24_max;
- this.accept = DFA24_accept;
- this.special = DFA24_special;
- this.transition = DFA24_transition;
- }
-
- @Override
- public String getDescription() {
- return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | T__85 | T__86 | T__87 | T__88 | T__89 | T__90 | T__91 | T__92 | T__93 | T__94 | T__95 | T__96 | T__97 | T__98 | T__99 | T__100 | T__101 | T__102 | T__103 | T__104 | T__105 | T__106 | T__107 | T__108 | T__109 | T__110 | T__111 | T__112 | T__113 | T__114 | T__115 | T__116 | T__117 | T__118 | T__119 | RULE_INTEGERVALUE | RULE_ID | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_INT | RULE_WS | RULE_ANY_OTHER );";
- }
-
- @Override
- public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
- IntStream input = _input;
- int _s = s;
- switch (s) {
- case 0:
- int LA24_0 = input.LA(1);
-
- s = -1;
- if ((LA24_0 == ';')) {
- s = 1;
- }
-
- else if ((LA24_0 == 'a')) {
- s = 2;
- }
-
- else if ((LA24_0 == ':')) {
- s = 3;
- }
-
- else if ((LA24_0 == '(')) {
- s = 4;
- }
-
- else if ((LA24_0 == ')')) {
- s = 5;
- }
-
- else if ((LA24_0 == ',')) {
- s = 6;
- }
-
- else if ((LA24_0 == '[')) {
- s = 7;
- }
-
- else if ((LA24_0 == ']')) {
- s = 8;
- }
-
- else if ((LA24_0 == 'o')) {
- s = 9;
- }
-
- else if ((LA24_0 == 'n')) {
- s = 10;
- }
-
- else if ((LA24_0 == 's')) {
- s = 11;
- }
-
- else if ((LA24_0 == '.')) {
- s = 12;
- }
-
- else if ((LA24_0 == '*')) {
- s = 13;
- }
-
- else if ((LA24_0 == 'r')) {
- s = 14;
- }
-
- else if ((LA24_0 == '+')) {
- s = 15;
- }
-
- else if ((LA24_0 == '-')) {
- s = 16;
- }
-
- else if ((LA24_0 == '<')) {
- s = 17;
- }
-
- else if ((LA24_0 == '>')) {
- s = 18;
- }
-
- else if ((LA24_0 == '=')) {
- s = 19;
- }
-
- else if ((LA24_0 == '?')) {
- s = 20;
- }
-
- else if ((LA24_0 == '|')) {
- s = 21;
- }
-
- else if ((LA24_0 == '&')) {
- s = 22;
- }
-
- else if ((LA24_0 == '^')) {
- s = 23;
- }
-
- else if ((LA24_0 == '!')) {
- s = 24;
- }
-
- else if ((LA24_0 == 'i')) {
- s = 25;
- }
-
- else if ((LA24_0 == 'h')) {
- s = 26;
- }
-
- else if ((LA24_0 == '/')) {
- s = 27;
- }
-
- else if ((LA24_0 == '%')) {
- s = 28;
- }
-
- else if ((LA24_0 == '$')) {
- s = 29;
- }
-
- else if ((LA24_0 == '~')) {
- s = 30;
- }
-
- else if ((LA24_0 == 't')) {
- s = 31;
- }
-
- else if ((LA24_0 == '{')) {
- s = 32;
- }
-
- else if ((LA24_0 == '}')) {
- s = 33;
- }
-
- else if ((LA24_0 == 'l')) {
- s = 34;
- }
-
- else if ((LA24_0 == 'e')) {
- s = 35;
- }
-
- else if ((LA24_0 == 'c')) {
- s = 36;
- }
-
- else if ((LA24_0 == 'd')) {
- s = 37;
- }
-
- else if ((LA24_0 == 'w')) {
- s = 38;
- }
-
- else if ((LA24_0 == 'f')) {
- s = 39;
- }
-
- else if ((LA24_0 == 'b')) {
- s = 40;
- }
-
- else if ((LA24_0 == 'p')) {
- s = 41;
- }
-
- else if ((LA24_0 == '0')) {
- s = 42;
- }
-
- else if (((LA24_0 >= '1' && LA24_0 <= '9'))) {
- s = 43;
- }
-
- else if (((LA24_0 >= 'A' && LA24_0 <= 'Z') || LA24_0 == '_' || LA24_0 == 'g' || (LA24_0 >= 'j' && LA24_0 <= 'k') || LA24_0 == 'm' || LA24_0 == 'q' || (LA24_0 >= 'u' && LA24_0 <= 'v') || (LA24_0 >= 'x' && LA24_0 <= 'z'))) {
- s = 44;
- }
-
- else if ((LA24_0 == '\'')) {
- s = 45;
- }
-
- else if ((LA24_0 == '\"')) {
- s = 46;
- }
-
- else if (((LA24_0 >= '\t' && LA24_0 <= '\n') || LA24_0 == '\r' || LA24_0 == ' ')) {
- s = 47;
- }
-
- else if (((LA24_0 >= '\u0000' && LA24_0 <= '\b') || (LA24_0 >= '\u000B' && LA24_0 <= '\f') || (LA24_0 >= '\u000E' && LA24_0 <= '\u001F') || LA24_0 == '#' || LA24_0 == '@' || LA24_0 == '\\' || LA24_0 == '`' || (LA24_0 >= '\u007F' && LA24_0 <= '\uFFFF'))) {
- s = 48;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 1:
- int LA24_45 = input.LA(1);
-
- s = -1;
- if (((LA24_45 >= '\u0000' && LA24_45 <= '\uFFFF'))) {
- s = 55;
- } else {
- s = 48;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 2:
- int LA24_110 = input.LA(1);
-
- s = -1;
- if ((LA24_110 == '@')) {
- s = 179;
- }
-
- else if (((LA24_110 >= '\u0000' && LA24_110 <= '?') || (LA24_110 >= 'A' && LA24_110 <= '\uFFFF'))) {
- s = 180;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- case 3:
- int LA24_46 = input.LA(1);
-
- s = -1;
- if (((LA24_46 >= '\u0000' && LA24_46 <= '\uFFFF'))) {
- s = 144;
- } else {
- s = 48;
- }
-
- if (s >= 0) {
- return s;
- }
- break;
- }
- NoViableAltException nvae =
- new NoViableAltException(getDescription(), 24, _s, input);
- error(nvae);
- throw nvae;
- }
- }
-
-
-} \ No newline at end of file
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java
deleted file mode 100644
index 634f59aecd9..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperationParser.java
+++ /dev/null
@@ -1,22571 +0,0 @@
-package org.eclipse.papyrus.operation.editor.xtext.parser.antlr.internal;
-
-import org.eclipse.xtext.*;
-import org.eclipse.xtext.parser.*;
-import org.eclipse.xtext.parser.impl.*;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.common.util.Enumerator;
-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.papyrus.operation.editor.xtext.services.OperationGrammarAccess;
-
-import org.antlr.runtime.*;
-import java.util.Stack;
-import java.util.List;
-import java.util.ArrayList;
-
-@SuppressWarnings("all")
-public class InternalOperationParser extends AbstractInternalAntlrParser {
- public static final String[] tokenNames = new String[] {
- "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_INTEGERVALUE", "RULE_STRING", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_INT", "RULE_WS", "RULE_ANY_OTHER", "';'", "'abstract'", "':'", "'('", "')'", "','", "'['", "']'", "'ordered'",
- "'nonUnique'", "'sequence'", "'..'", "'*'", "'any'", "'redefines'", "'++'", "'--'", "'::'", "'<'", "'>'", "'=>'", "'?'", "'||'", "'&&'", "'|'", "'^'", "'&'", "'=='", "'!='", "'instanceof'", "'hastype'", "'<='", "'>='", "'<<'", "'>>'", "'>>>'",
- "'+'", "'-'", "'/'", "'%'", "'!'", "'$'", "'~'", "'.'", "'->'", "'reduce'", "'isUnique'", "'null'", "'this'", "'super'", "'new'", "'{'", "'}'", "'allInstances'", "'/*@'", "'inline'", "'*/'", "'//@'", "'let'", "'='", "'if'", "'else'", "'or'",
- "'switch'", "'case'", "'default'", "'while'", "'do'", "'for'", "'in'", "'break'", "'return'", "'accept'", "'classify'", "'from'", "'to'", "'public'", "'private'", "'protected'", "'out'", "'inout'", "'true'", "'false'", "'createLink'",
- "'destroyLink'", "'clearAssoc'", "'select'", "'reject'", "'collect'", "'iterate'", "'forAll'", "'exists'", "'one'", "'isolated'", "'determined'", "'assured'", "'parallel'", "'+='", "'-='", "'*='", "'%='", "'/='", "'&='", "'|='", "'^='", "'<<='",
- "'>>='", "'>>>='"
- };
- public static final int RULE_ID = 4;
- public static final int T__29 = 29;
- public static final int T__28 = 28;
- public static final int T__27 = 27;
- public static final int T__26 = 26;
- public static final int T__25 = 25;
- public static final int T__24 = 24;
- public static final int T__23 = 23;
- public static final int T__22 = 22;
- public static final int RULE_ANY_OTHER = 11;
- public static final int T__21 = 21;
- public static final int T__20 = 20;
- public static final int EOF = -1;
- public static final int T__93 = 93;
- public static final int T__19 = 19;
- public static final int T__94 = 94;
- public static final int T__91 = 91;
- public static final int T__92 = 92;
- public static final int T__16 = 16;
- public static final int T__15 = 15;
- public static final int T__90 = 90;
- public static final int T__18 = 18;
- public static final int T__17 = 17;
- public static final int T__12 = 12;
- public static final int T__14 = 14;
- public static final int T__13 = 13;
- public static final int T__99 = 99;
- public static final int RULE_INTEGERVALUE = 5;
- public static final int T__98 = 98;
- public static final int T__97 = 97;
- public static final int T__96 = 96;
- public static final int T__95 = 95;
- public static final int T__80 = 80;
- public static final int T__81 = 81;
- public static final int T__82 = 82;
- public static final int T__83 = 83;
- public static final int T__85 = 85;
- public static final int T__84 = 84;
- public static final int T__87 = 87;
- public static final int T__86 = 86;
- public static final int T__89 = 89;
- public static final int T__88 = 88;
- public static final int RULE_ML_COMMENT = 7;
- public static final int RULE_STRING = 6;
- public static final int T__71 = 71;
- public static final int T__72 = 72;
- public static final int T__70 = 70;
- public static final int T__76 = 76;
- public static final int T__75 = 75;
- public static final int T__74 = 74;
- public static final int T__73 = 73;
- public static final int T__79 = 79;
- public static final int T__78 = 78;
- public static final int T__77 = 77;
- public static final int T__68 = 68;
- public static final int T__69 = 69;
- public static final int T__66 = 66;
- public static final int T__67 = 67;
- public static final int T__64 = 64;
- public static final int T__65 = 65;
- public static final int T__62 = 62;
- public static final int T__63 = 63;
- public static final int T__118 = 118;
- public static final int T__119 = 119;
- public static final int T__116 = 116;
- public static final int T__117 = 117;
- public static final int T__114 = 114;
- public static final int T__115 = 115;
- public static final int T__61 = 61;
- public static final int T__60 = 60;
- public static final int T__55 = 55;
- public static final int T__56 = 56;
- public static final int T__57 = 57;
- public static final int T__58 = 58;
- public static final int T__51 = 51;
- public static final int T__52 = 52;
- public static final int T__53 = 53;
- public static final int T__54 = 54;
- public static final int T__107 = 107;
- public static final int T__108 = 108;
- public static final int T__109 = 109;
- public static final int T__103 = 103;
- public static final int T__59 = 59;
- public static final int T__104 = 104;
- public static final int T__105 = 105;
- public static final int T__106 = 106;
- public static final int T__111 = 111;
- public static final int T__110 = 110;
- public static final int RULE_INT = 9;
- public static final int T__113 = 113;
- public static final int T__112 = 112;
- public static final int T__50 = 50;
- public static final int T__42 = 42;
- public static final int T__43 = 43;
- public static final int T__40 = 40;
- public static final int T__41 = 41;
- public static final int T__46 = 46;
- public static final int T__47 = 47;
- public static final int T__44 = 44;
- public static final int T__45 = 45;
- public static final int T__48 = 48;
- public static final int T__49 = 49;
- public static final int T__102 = 102;
- public static final int T__101 = 101;
- public static final int T__100 = 100;
- public static final int RULE_SL_COMMENT = 8;
- public static final int T__30 = 30;
- public static final int T__31 = 31;
- public static final int T__32 = 32;
- public static final int T__33 = 33;
- public static final int T__34 = 34;
- public static final int T__35 = 35;
- public static final int T__36 = 36;
- public static final int T__37 = 37;
- public static final int T__38 = 38;
- public static final int T__39 = 39;
- public static final int RULE_WS = 10;
-
- // delegates
- // delegators
-
-
- public InternalOperationParser(TokenStream input) {
- this(input, new RecognizerSharedState());
- }
-
- public InternalOperationParser(TokenStream input, RecognizerSharedState state) {
- super(input, state);
-
- }
-
-
- @Override
- public String[] getTokenNames() {
- return InternalOperationParser.tokenNames;
- }
-
- @Override
- public String getGrammarFileName() {
- return "../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g";
- }
-
-
-
- private OperationGrammarAccess grammarAccess;
-
- public InternalOperationParser(TokenStream input, OperationGrammarAccess grammarAccess) {
- this(input);
- this.grammarAccess = grammarAccess;
- registerRules(grammarAccess.getGrammar());
- }
-
- @Override
- protected String getFirstRuleName() {
- return "OperationDefinitionOrStub";
- }
-
- @Override
- protected OperationGrammarAccess getGrammarAccess() {
- return grammarAccess;
- }
-
-
-
- // $ANTLR start "entryRuleOperationDefinitionOrStub"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:68:1: entryRuleOperationDefinitionOrStub returns [EObject current=null] : iv_ruleOperationDefinitionOrStub=
- // ruleOperationDefinitionOrStub EOF ;
- public final EObject entryRuleOperationDefinitionOrStub() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleOperationDefinitionOrStub = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:69:2: (iv_ruleOperationDefinitionOrStub= ruleOperationDefinitionOrStub EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:70:2: iv_ruleOperationDefinitionOrStub= ruleOperationDefinitionOrStub EOF
- {
- newCompositeNode(grammarAccess.getOperationDefinitionOrStubRule());
- pushFollow(FOLLOW_ruleOperationDefinitionOrStub_in_entryRuleOperationDefinitionOrStub75);
- iv_ruleOperationDefinitionOrStub = ruleOperationDefinitionOrStub();
-
- state._fsp--;
-
- current = iv_ruleOperationDefinitionOrStub;
- match(input, EOF, FOLLOW_EOF_in_entryRuleOperationDefinitionOrStub85);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleOperationDefinitionOrStub"
-
-
- // $ANTLR start "ruleOperationDefinitionOrStub"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:77:1: ruleOperationDefinitionOrStub returns [EObject current=null] : ( ( (lv_declaration_0_0=
- // ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock ) ) ) ) ;
- public final EObject ruleOperationDefinitionOrStub() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_declaration_0_0 = null;
-
- EObject lv_body_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:80:28: ( ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock
- // ) ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:1: ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock )
- // ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:1: ( ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0=
- // ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:2: ( (lv_declaration_0_0= ruleOperationDeclaration ) ) (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock
- // ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:81:2: ( (lv_declaration_0_0= ruleOperationDeclaration ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:1: (lv_declaration_0_0= ruleOperationDeclaration )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:82:1: (lv_declaration_0_0= ruleOperationDeclaration )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:83:3: lv_declaration_0_0= ruleOperationDeclaration
- {
-
- newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getDeclarationOperationDeclarationParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleOperationDeclaration_in_ruleOperationDefinitionOrStub131);
- lv_declaration_0_0 = ruleOperationDeclaration();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule());
- }
- set(
- current,
- "declaration",
- lv_declaration_0_0,
- "OperationDeclaration");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:2: (otherlv_1= ';' | ( (lv_body_2_0= ruleBlock ) ) )
- int alt1 = 2;
- int LA1_0 = input.LA(1);
-
- if ((LA1_0 == 12)) {
- alt1 = 1;
- }
- else if ((LA1_0 == 63)) {
- alt1 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 1, 0, input);
-
- throw nvae;
- }
- switch (alt1) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:99:4: otherlv_1= ';'
- {
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleOperationDefinitionOrStub144);
-
- newLeafNode(otherlv_1, grammarAccess.getOperationDefinitionOrStubAccess().getSemicolonKeyword_1_0());
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:6: ( (lv_body_2_0= ruleBlock ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:104:6: ( (lv_body_2_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:1: (lv_body_2_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:105:1: (lv_body_2_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:106:3: lv_body_2_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getOperationDefinitionOrStubAccess().getBodyBlockParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleOperationDefinitionOrStub171);
- lv_body_2_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDefinitionOrStubRule());
- }
- set(
- current,
- "body",
- lv_body_2_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleOperationDefinitionOrStub"
-
-
- // $ANTLR start "entryRuleOperationDeclaration"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:130:1: entryRuleOperationDeclaration returns [EObject current=null] : iv_ruleOperationDeclaration=
- // ruleOperationDeclaration EOF ;
- public final EObject entryRuleOperationDeclaration() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleOperationDeclaration = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:131:2: (iv_ruleOperationDeclaration= ruleOperationDeclaration EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:132:2: iv_ruleOperationDeclaration= ruleOperationDeclaration EOF
- {
- newCompositeNode(grammarAccess.getOperationDeclarationRule());
- pushFollow(FOLLOW_ruleOperationDeclaration_in_entryRuleOperationDeclaration208);
- iv_ruleOperationDeclaration = ruleOperationDeclaration();
-
- state._fsp--;
-
- current = iv_ruleOperationDeclaration;
- match(input, EOF, FOLLOW_EOF_in_entryRuleOperationDeclaration218);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleOperationDeclaration"
-
-
- // $ANTLR start "ruleOperationDeclaration"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:139:1: ruleOperationDeclaration returns [EObject current=null] : ( ( (lv_visibilityIndicator_0_0=
- // ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause )
- // )? ) ;
- public final EObject ruleOperationDeclaration() throws RecognitionException {
- EObject current = null;
-
- Token lv_abstract_1_0 = null;
- Token lv_name_2_0 = null;
- Token otherlv_4 = null;
- Enumerator lv_visibilityIndicator_0_0 = null;
-
- EObject lv_formalParameters_3_0 = null;
-
- EObject lv_returnType_5_0 = null;
-
- EObject lv_redefinition_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:142:28: ( ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' )
- // )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:1: ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )? (
- // (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:1: ( ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' )
- // )? ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:2: ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )? ( (lv_abstract_1_0= 'abstract' ) )?
- // ( (lv_name_2_0= RULE_ID ) ) ( (lv_formalParameters_3_0= ruleFormalParameters ) ) (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )? ( (lv_redefinition_6_0= ruleRedefinitionClause ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:143:2: ( (lv_visibilityIndicator_0_0= ruleVisibilityIndicator ) )?
- int alt2 = 2;
- int LA2_0 = input.LA(1);
-
- if (((LA2_0 >= 88 && LA2_0 <= 90))) {
- alt2 = 1;
- }
- switch (alt2) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:144:1: (lv_visibilityIndicator_0_0= ruleVisibilityIndicator )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:144:1: (lv_visibilityIndicator_0_0= ruleVisibilityIndicator )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:145:3: lv_visibilityIndicator_0_0= ruleVisibilityIndicator
- {
-
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleVisibilityIndicator_in_ruleOperationDeclaration264);
- lv_visibilityIndicator_0_0 = ruleVisibilityIndicator();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- current,
- "visibilityIndicator",
- lv_visibilityIndicator_0_0,
- "VisibilityIndicator");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:161:3: ( (lv_abstract_1_0= 'abstract' ) )?
- int alt3 = 2;
- int LA3_0 = input.LA(1);
-
- if ((LA3_0 == 13)) {
- alt3 = 1;
- }
- switch (alt3) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:162:1: (lv_abstract_1_0= 'abstract' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:162:1: (lv_abstract_1_0= 'abstract' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:163:3: lv_abstract_1_0= 'abstract'
- {
- lv_abstract_1_0 = (Token) match(input, 13, FOLLOW_13_in_ruleOperationDeclaration283);
-
- newLeafNode(lv_abstract_1_0, grammarAccess.getOperationDeclarationAccess().getAbstractAbstractKeyword_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getOperationDeclarationRule());
- }
- setWithLastConsumed(current, "abstract", true, "abstract");
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:176:3: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:177:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:177:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:178:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationDeclaration314);
-
- newLeafNode(lv_name_2_0, grammarAccess.getOperationDeclarationAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getOperationDeclarationRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:194:2: ( (lv_formalParameters_3_0= ruleFormalParameters ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:195:1: (lv_formalParameters_3_0= ruleFormalParameters )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:195:1: (lv_formalParameters_3_0= ruleFormalParameters )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:196:3: lv_formalParameters_3_0= ruleFormalParameters
- {
-
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getFormalParametersFormalParametersParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleFormalParameters_in_ruleOperationDeclaration340);
- lv_formalParameters_3_0 = ruleFormalParameters();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- current,
- "formalParameters",
- lv_formalParameters_3_0,
- "FormalParameters");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:212:2: (otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) ) )?
- int alt4 = 2;
- int LA4_0 = input.LA(1);
-
- if ((LA4_0 == 14)) {
- alt4 = 1;
- }
- switch (alt4) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:212:4: otherlv_4= ':' ( (lv_returnType_5_0= ruleTypePart ) )
- {
- otherlv_4 = (Token) match(input, 14, FOLLOW_14_in_ruleOperationDeclaration353);
-
- newLeafNode(otherlv_4, grammarAccess.getOperationDeclarationAccess().getColonKeyword_4_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:216:1: ( (lv_returnType_5_0= ruleTypePart ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:217:1: (lv_returnType_5_0= ruleTypePart )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:217:1: (lv_returnType_5_0= ruleTypePart )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:218:3: lv_returnType_5_0= ruleTypePart
- {
-
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getReturnTypeTypePartParserRuleCall_4_1_0());
-
- pushFollow(FOLLOW_ruleTypePart_in_ruleOperationDeclaration374);
- lv_returnType_5_0 = ruleTypePart();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- current,
- "returnType",
- lv_returnType_5_0,
- "TypePart");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:234:4: ( (lv_redefinition_6_0= ruleRedefinitionClause ) )?
- int alt5 = 2;
- int LA5_0 = input.LA(1);
-
- if ((LA5_0 == 26)) {
- alt5 = 1;
- }
- switch (alt5) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:235:1: (lv_redefinition_6_0= ruleRedefinitionClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:235:1: (lv_redefinition_6_0= ruleRedefinitionClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:236:3: lv_redefinition_6_0= ruleRedefinitionClause
- {
-
- newCompositeNode(grammarAccess.getOperationDeclarationAccess().getRedefinitionRedefinitionClauseParserRuleCall_5_0());
-
- pushFollow(FOLLOW_ruleRedefinitionClause_in_ruleOperationDeclaration397);
- lv_redefinition_6_0 = ruleRedefinitionClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationDeclarationRule());
- }
- set(
- current,
- "redefinition",
- lv_redefinition_6_0,
- "RedefinitionClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleOperationDeclaration"
-
-
- // $ANTLR start "entryRuleFormalParameters"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:260:1: entryRuleFormalParameters returns [EObject current=null] : iv_ruleFormalParameters= ruleFormalParameters
- // EOF ;
- public final EObject entryRuleFormalParameters() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleFormalParameters = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:261:2: (iv_ruleFormalParameters= ruleFormalParameters EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:262:2: iv_ruleFormalParameters= ruleFormalParameters EOF
- {
- newCompositeNode(grammarAccess.getFormalParametersRule());
- pushFollow(FOLLOW_ruleFormalParameters_in_entryRuleFormalParameters434);
- iv_ruleFormalParameters = ruleFormalParameters();
-
- state._fsp--;
-
- current = iv_ruleFormalParameters;
- match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameters444);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleFormalParameters"
-
-
- // $ANTLR start "ruleFormalParameters"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:269:1: ruleFormalParameters returns [EObject current=null] : ( () otherlv_1= '(' ( (lv_formalParameterList_2_0=
- // ruleFormalParameterList ) )? otherlv_3= ')' ) ;
- public final EObject ruleFormalParameters() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- EObject lv_formalParameterList_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:272:28: ( ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' )
- // )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:1: ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:1: ( () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')'
- // )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:2: () otherlv_1= '(' ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )? otherlv_3= ')'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:273:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:274:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getFormalParametersAccess().getFormalParametersAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleFormalParameters490);
-
- newLeafNode(otherlv_1, grammarAccess.getFormalParametersAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:283:1: ( (lv_formalParameterList_2_0= ruleFormalParameterList ) )?
- int alt6 = 2;
- int LA6_0 = input.LA(1);
-
- if ((LA6_0 == 81 || (LA6_0 >= 91 && LA6_0 <= 92))) {
- alt6 = 1;
- }
- switch (alt6) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:284:1: (lv_formalParameterList_2_0= ruleFormalParameterList )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:284:1: (lv_formalParameterList_2_0= ruleFormalParameterList )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:285:3: lv_formalParameterList_2_0= ruleFormalParameterList
- {
-
- newCompositeNode(grammarAccess.getFormalParametersAccess().getFormalParameterListFormalParameterListParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleFormalParameterList_in_ruleFormalParameters511);
- lv_formalParameterList_2_0 = ruleFormalParameterList();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFormalParametersRule());
- }
- set(
- current,
- "formalParameterList",
- lv_formalParameterList_2_0,
- "FormalParameterList");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleFormalParameters524);
-
- newLeafNode(otherlv_3, grammarAccess.getFormalParametersAccess().getRightParenthesisKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleFormalParameters"
-
-
- // $ANTLR start "entryRuleFormalParameterList"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:313:1: entryRuleFormalParameterList returns [EObject current=null] : iv_ruleFormalParameterList=
- // ruleFormalParameterList EOF ;
- public final EObject entryRuleFormalParameterList() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleFormalParameterList = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:314:2: (iv_ruleFormalParameterList= ruleFormalParameterList EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:315:2: iv_ruleFormalParameterList= ruleFormalParameterList EOF
- {
- newCompositeNode(grammarAccess.getFormalParameterListRule());
- pushFollow(FOLLOW_ruleFormalParameterList_in_entryRuleFormalParameterList560);
- iv_ruleFormalParameterList = ruleFormalParameterList();
-
- state._fsp--;
-
- current = iv_ruleFormalParameterList;
- match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameterList570);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleFormalParameterList"
-
-
- // $ANTLR start "ruleFormalParameterList"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:322:1: ruleFormalParameterList returns [EObject current=null] : ( ( (lv_formalParameter_0_0= ruleFormalParameter )
- // ) (otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) ) )* ) ;
- public final EObject ruleFormalParameterList() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_formalParameter_0_0 = null;
-
- EObject lv_formalParameter_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:325:28: ( ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0=
- // ruleFormalParameter ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:1: ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0=
- // ruleFormalParameter ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:1: ( ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0=
- // ruleFormalParameter ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:2: ( (lv_formalParameter_0_0= ruleFormalParameter ) ) (otherlv_1= ',' ( (lv_formalParameter_2_0=
- // ruleFormalParameter ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:326:2: ( (lv_formalParameter_0_0= ruleFormalParameter ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:327:1: (lv_formalParameter_0_0= ruleFormalParameter )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:327:1: (lv_formalParameter_0_0= ruleFormalParameter )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:328:3: lv_formalParameter_0_0= ruleFormalParameter
- {
-
- newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleFormalParameter_in_ruleFormalParameterList616);
- lv_formalParameter_0_0 = ruleFormalParameter();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFormalParameterListRule());
- }
- add(
- current,
- "formalParameter",
- lv_formalParameter_0_0,
- "FormalParameter");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:344:2: (otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) ) )*
- loop7: do {
- int alt7 = 2;
- int LA7_0 = input.LA(1);
-
- if ((LA7_0 == 17)) {
- alt7 = 1;
- }
-
-
- switch (alt7) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:344:4: otherlv_1= ',' ( (lv_formalParameter_2_0= ruleFormalParameter ) )
- {
- otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleFormalParameterList629);
-
- newLeafNode(otherlv_1, grammarAccess.getFormalParameterListAccess().getCommaKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:348:1: ( (lv_formalParameter_2_0= ruleFormalParameter ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:349:1: (lv_formalParameter_2_0= ruleFormalParameter )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:349:1: (lv_formalParameter_2_0= ruleFormalParameter )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:350:3: lv_formalParameter_2_0= ruleFormalParameter
- {
-
- newCompositeNode(grammarAccess.getFormalParameterListAccess().getFormalParameterFormalParameterParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleFormalParameter_in_ruleFormalParameterList650);
- lv_formalParameter_2_0 = ruleFormalParameter();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFormalParameterListRule());
- }
- add(
- current,
- "formalParameter",
- lv_formalParameter_2_0,
- "FormalParameter");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop7;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleFormalParameterList"
-
-
- // $ANTLR start "entryRuleFormalParameter"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:374:1: entryRuleFormalParameter returns [EObject current=null] : iv_ruleFormalParameter= ruleFormalParameter EOF ;
- public final EObject entryRuleFormalParameter() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleFormalParameter = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:375:2: (iv_ruleFormalParameter= ruleFormalParameter EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:376:2: iv_ruleFormalParameter= ruleFormalParameter EOF
- {
- newCompositeNode(grammarAccess.getFormalParameterRule());
- pushFollow(FOLLOW_ruleFormalParameter_in_entryRuleFormalParameter688);
- iv_ruleFormalParameter = ruleFormalParameter();
-
- state._fsp--;
-
- current = iv_ruleFormalParameter;
- match(input, EOF, FOLLOW_EOF_in_entryRuleFormalParameter698);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleFormalParameter"
-
-
- // $ANTLR start "ruleFormalParameter"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:383:1: ruleFormalParameter returns [EObject current=null] : ( ( (lv_direction_0_0= ruleParameterDirection ) ) (
- // (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= ruleTypePart ) ) ) ;
- public final EObject ruleFormalParameter() throws RecognitionException {
- EObject current = null;
-
- Token lv_name_1_0 = null;
- Token otherlv_2 = null;
- Enumerator lv_direction_0_0 = null;
-
- EObject lv_type_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:386:28: ( ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' (
- // (lv_type_3_0= ruleTypePart ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:1: ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' (
- // (lv_type_3_0= ruleTypePart ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:1: ( ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' (
- // (lv_type_3_0= ruleTypePart ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:2: ( (lv_direction_0_0= ruleParameterDirection ) ) ( (lv_name_1_0= RULE_ID ) ) otherlv_2= ':' (
- // (lv_type_3_0= ruleTypePart ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:387:2: ( (lv_direction_0_0= ruleParameterDirection ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:388:1: (lv_direction_0_0= ruleParameterDirection )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:388:1: (lv_direction_0_0= ruleParameterDirection )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:389:3: lv_direction_0_0= ruleParameterDirection
- {
-
- newCompositeNode(grammarAccess.getFormalParameterAccess().getDirectionParameterDirectionEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleParameterDirection_in_ruleFormalParameter744);
- lv_direction_0_0 = ruleParameterDirection();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFormalParameterRule());
- }
- set(
- current,
- "direction",
- lv_direction_0_0,
- "ParameterDirection");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:405:2: ( (lv_name_1_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:406:1: (lv_name_1_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:406:1: (lv_name_1_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:407:3: lv_name_1_0= RULE_ID
- {
- lv_name_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleFormalParameter761);
-
- newLeafNode(lv_name_1_0, grammarAccess.getFormalParameterAccess().getNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getFormalParameterRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_1_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleFormalParameter778);
-
- newLeafNode(otherlv_2, grammarAccess.getFormalParameterAccess().getColonKeyword_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:427:1: ( (lv_type_3_0= ruleTypePart ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:428:1: (lv_type_3_0= ruleTypePart )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:428:1: (lv_type_3_0= ruleTypePart )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:429:3: lv_type_3_0= ruleTypePart
- {
-
- newCompositeNode(grammarAccess.getFormalParameterAccess().getTypeTypePartParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleTypePart_in_ruleFormalParameter799);
- lv_type_3_0 = ruleTypePart();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFormalParameterRule());
- }
- set(
- current,
- "type",
- lv_type_3_0,
- "TypePart");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleFormalParameter"
-
-
- // $ANTLR start "entryRuleTypePart"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:453:1: entryRuleTypePart returns [EObject current=null] : iv_ruleTypePart= ruleTypePart EOF ;
- public final EObject entryRuleTypePart() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleTypePart = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:454:2: (iv_ruleTypePart= ruleTypePart EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:455:2: iv_ruleTypePart= ruleTypePart EOF
- {
- newCompositeNode(grammarAccess.getTypePartRule());
- pushFollow(FOLLOW_ruleTypePart_in_entryRuleTypePart835);
- iv_ruleTypePart = ruleTypePart();
-
- state._fsp--;
-
- current = iv_ruleTypePart;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTypePart845);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleTypePart"
-
-
- // $ANTLR start "ruleTypePart"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:462:1: ruleTypePart returns [EObject current=null] : ( ( (lv_typeName_0_0= ruleTypeName ) ) (
- // (lv_multiplicity_1_0= ruleMultiplicity ) )? ) ;
- public final EObject ruleTypePart() throws RecognitionException {
- EObject current = null;
-
- EObject lv_typeName_0_0 = null;
-
- EObject lv_multiplicity_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:465:28: ( ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:1: ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:1: ( ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:2: ( (lv_typeName_0_0= ruleTypeName ) ) ( (lv_multiplicity_1_0= ruleMultiplicity ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:466:2: ( (lv_typeName_0_0= ruleTypeName ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:467:1: (lv_typeName_0_0= ruleTypeName )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:467:1: (lv_typeName_0_0= ruleTypeName )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:468:3: lv_typeName_0_0= ruleTypeName
- {
-
- newCompositeNode(grammarAccess.getTypePartAccess().getTypeNameTypeNameParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleTypeName_in_ruleTypePart891);
- lv_typeName_0_0 = ruleTypeName();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTypePartRule());
- }
- set(
- current,
- "typeName",
- lv_typeName_0_0,
- "TypeName");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:484:2: ( (lv_multiplicity_1_0= ruleMultiplicity ) )?
- int alt8 = 2;
- int LA8_0 = input.LA(1);
-
- if ((LA8_0 == 18)) {
- alt8 = 1;
- }
- switch (alt8) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:485:1: (lv_multiplicity_1_0= ruleMultiplicity )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:485:1: (lv_multiplicity_1_0= ruleMultiplicity )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:486:3: lv_multiplicity_1_0= ruleMultiplicity
- {
-
- newCompositeNode(grammarAccess.getTypePartAccess().getMultiplicityMultiplicityParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleMultiplicity_in_ruleTypePart912);
- lv_multiplicity_1_0 = ruleMultiplicity();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTypePartRule());
- }
- set(
- current,
- "multiplicity",
- lv_multiplicity_1_0,
- "Multiplicity");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleTypePart"
-
-
- // $ANTLR start "entryRuleMultiplicity"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:510:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ;
- public final EObject entryRuleMultiplicity() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleMultiplicity = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:511:2: (iv_ruleMultiplicity= ruleMultiplicity EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:512:2: iv_ruleMultiplicity= ruleMultiplicity EOF
- {
- newCompositeNode(grammarAccess.getMultiplicityRule());
- pushFollow(FOLLOW_ruleMultiplicity_in_entryRuleMultiplicity949);
- iv_ruleMultiplicity = ruleMultiplicity();
-
- state._fsp--;
-
- current = iv_ruleMultiplicity;
- match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicity959);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleMultiplicity"
-
-
- // $ANTLR start "ruleMultiplicity"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:519:1: ruleMultiplicity returns [EObject current=null] : ( () otherlv_1= '[' ( (lv_range_2_0=
- // ruleMultiplicityRange ) )? otherlv_3= ']' ( ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) ;
- public final EObject ruleMultiplicity() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- Token lv_ordered_4_0 = null;
- Token lv_nonUnique_5_0 = null;
- Token lv_nonUnique_6_0 = null;
- Token lv_ordered_7_0 = null;
- Token lv_sequence_8_0 = null;
- EObject lv_range_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:522:28: ( ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( (
- // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:1: ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( (
- // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:1: ( () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( (
- // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:2: () otherlv_1= '[' ( (lv_range_2_0= ruleMultiplicityRange ) )? otherlv_3= ']' ( ( (
- // (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:523:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:524:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getMultiplicityAccess().getMultiplicityAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 18, FOLLOW_18_in_ruleMultiplicity1005);
-
- newLeafNode(otherlv_1, grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:533:1: ( (lv_range_2_0= ruleMultiplicityRange ) )?
- int alt9 = 2;
- int LA9_0 = input.LA(1);
-
- if ((LA9_0 == RULE_INTEGERVALUE || LA9_0 == 24)) {
- alt9 = 1;
- }
- switch (alt9) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:534:1: (lv_range_2_0= ruleMultiplicityRange )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:534:1: (lv_range_2_0= ruleMultiplicityRange )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:535:3: lv_range_2_0= ruleMultiplicityRange
- {
-
- newCompositeNode(grammarAccess.getMultiplicityAccess().getRangeMultiplicityRangeParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleMultiplicityRange_in_ruleMultiplicity1026);
- lv_range_2_0 = ruleMultiplicityRange();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getMultiplicityRule());
- }
- set(
- current,
- "range",
- lv_range_2_0,
- "MultiplicityRange");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3 = (Token) match(input, 19, FOLLOW_19_in_ruleMultiplicity1039);
-
- newLeafNode(otherlv_3, grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:1: ( ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? ) | ( (
- // (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? ) | ( (lv_sequence_8_0= 'sequence' ) ) )?
- int alt12 = 4;
- switch (input.LA(1)) {
- case 20: {
- alt12 = 1;
- }
- break;
- case 21: {
- alt12 = 2;
- }
- break;
- case 22: {
- alt12 = 3;
- }
- break;
- }
-
- switch (alt12) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:2: ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:2: ( ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:3: ( (lv_ordered_4_0= 'ordered' ) ) ( (lv_nonUnique_5_0= 'nonUnique' ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:555:3: ( (lv_ordered_4_0= 'ordered' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:556:1: (lv_ordered_4_0= 'ordered' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:556:1: (lv_ordered_4_0= 'ordered' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:557:3: lv_ordered_4_0= 'ordered'
- {
- lv_ordered_4_0 = (Token) match(input, 20, FOLLOW_20_in_ruleMultiplicity1059);
-
- newLeafNode(lv_ordered_4_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed(current, "ordered", true, "ordered");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:570:2: ( (lv_nonUnique_5_0= 'nonUnique' ) )?
- int alt10 = 2;
- int LA10_0 = input.LA(1);
-
- if ((LA10_0 == 21)) {
- alt10 = 1;
- }
- switch (alt10) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:571:1: (lv_nonUnique_5_0= 'nonUnique' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:571:1: (lv_nonUnique_5_0= 'nonUnique' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:572:3: lv_nonUnique_5_0= 'nonUnique'
- {
- lv_nonUnique_5_0 = (Token) match(input, 21, FOLLOW_21_in_ruleMultiplicity1090);
-
- newLeafNode(lv_nonUnique_5_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_0_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed(current, "nonUnique", true, "nonUnique");
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:6: ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:6: ( ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:7: ( (lv_nonUnique_6_0= 'nonUnique' ) ) ( (lv_ordered_7_0= 'ordered' ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:586:7: ( (lv_nonUnique_6_0= 'nonUnique' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:587:1: (lv_nonUnique_6_0= 'nonUnique' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:587:1: (lv_nonUnique_6_0= 'nonUnique' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:588:3: lv_nonUnique_6_0= 'nonUnique'
- {
- lv_nonUnique_6_0 = (Token) match(input, 21, FOLLOW_21_in_ruleMultiplicity1130);
-
- newLeafNode(lv_nonUnique_6_0, grammarAccess.getMultiplicityAccess().getNonUniqueNonUniqueKeyword_4_1_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed(current, "nonUnique", true, "nonUnique");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:601:2: ( (lv_ordered_7_0= 'ordered' ) )?
- int alt11 = 2;
- int LA11_0 = input.LA(1);
-
- if ((LA11_0 == 20)) {
- alt11 = 1;
- }
- switch (alt11) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:602:1: (lv_ordered_7_0= 'ordered' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:602:1: (lv_ordered_7_0= 'ordered' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:603:3: lv_ordered_7_0= 'ordered'
- {
- lv_ordered_7_0 = (Token) match(input, 20, FOLLOW_20_in_ruleMultiplicity1161);
-
- newLeafNode(lv_ordered_7_0, grammarAccess.getMultiplicityAccess().getOrderedOrderedKeyword_4_1_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed(current, "ordered", true, "ordered");
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:617:6: ( (lv_sequence_8_0= 'sequence' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:617:6: ( (lv_sequence_8_0= 'sequence' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:618:1: (lv_sequence_8_0= 'sequence' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:618:1: (lv_sequence_8_0= 'sequence' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:619:3: lv_sequence_8_0= 'sequence'
- {
- lv_sequence_8_0 = (Token) match(input, 22, FOLLOW_22_in_ruleMultiplicity1200);
-
- newLeafNode(lv_sequence_8_0, grammarAccess.getMultiplicityAccess().getSequenceSequenceKeyword_4_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicityRule());
- }
- setWithLastConsumed(current, "sequence", true, "sequence");
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleMultiplicity"
-
-
- // $ANTLR start "entryRuleMultiplicityRange"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:640:1: entryRuleMultiplicityRange returns [EObject current=null] : iv_ruleMultiplicityRange= ruleMultiplicityRange
- // EOF ;
- public final EObject entryRuleMultiplicityRange() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleMultiplicityRange = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:641:2: (iv_ruleMultiplicityRange= ruleMultiplicityRange EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:642:2: iv_ruleMultiplicityRange= ruleMultiplicityRange EOF
- {
- newCompositeNode(grammarAccess.getMultiplicityRangeRule());
- pushFollow(FOLLOW_ruleMultiplicityRange_in_entryRuleMultiplicityRange1251);
- iv_ruleMultiplicityRange = ruleMultiplicityRange();
-
- state._fsp--;
-
- current = iv_ruleMultiplicityRange;
- match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicityRange1261);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleMultiplicityRange"
-
-
- // $ANTLR start "ruleMultiplicityRange"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:649:1: ruleMultiplicityRange returns [EObject current=null] : ( ( ( (lv_lower_0_0=
- // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) ;
- public final EObject ruleMultiplicityRange() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_lower_0_0 = null;
-
- EObject lv_upper_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:652:28: ( ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0=
- // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:1: ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0=
- // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:1: ( ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0=
- // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:2: ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )? ( (lv_upper_2_0=
- // ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:2: ( ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..' )?
- int alt13 = 2;
- int LA13_0 = input.LA(1);
-
- if ((LA13_0 == RULE_INTEGERVALUE)) {
- int LA13_1 = input.LA(2);
-
- if ((LA13_1 == 23)) {
- alt13 = 1;
- }
- }
- else if ((LA13_0 == 24)) {
- int LA13_2 = input.LA(2);
-
- if ((LA13_2 == 23)) {
- alt13 = 1;
- }
- }
- switch (alt13) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:3: ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) ) otherlv_1= '..'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:653:3: ( (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:654:1: (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:654:1: (lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:655:3: lv_lower_0_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX
- {
-
- newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0());
-
- pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1308);
- lv_lower_0_0 = ruleNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule());
- }
- set(
- current,
- "lower",
- lv_lower_0_0,
- "NUMBER_LITERAL_WITHOUT_SUFFIX");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 23, FOLLOW_23_in_ruleMultiplicityRange1320);
-
- newLeafNode(otherlv_1, grammarAccess.getMultiplicityRangeAccess().getFullStopFullStopKeyword_0_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:675:3: ( (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:676:1: (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:676:1: (lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:677:3: lv_upper_2_0= ruleNUMBER_LITERAL_WITHOUT_SUFFIX
- {
-
- newCompositeNode(grammarAccess.getMultiplicityRangeAccess().getUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1343);
- lv_upper_2_0 = ruleNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getMultiplicityRangeRule());
- }
- set(
- current,
- "upper",
- lv_upper_2_0,
- "NUMBER_LITERAL_WITHOUT_SUFFIX");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleMultiplicityRange"
-
-
- // $ANTLR start "entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:701:1: entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] :
- // iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF ;
- public final EObject entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:702:2: (iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:703:2: iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX= ruleNUMBER_LITERAL_WITHOUT_SUFFIX EOF
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXRule());
- pushFollow(FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1379);
- iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX = ruleNUMBER_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
- current = iv_ruleNUMBER_LITERAL_WITHOUT_SUFFIX;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1389);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "ruleNUMBER_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:710:1: ruleNUMBER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0=
- // ruleINTEGER_LITERAL_WITHOUT_SUFFIX | this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) ;
- public final EObject ruleNUMBER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- EObject this_INTEGER_LITERAL_WITHOUT_SUFFIX_0 = null;
-
- EObject this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:713:28: ( (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX |
- // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:714:1: (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX |
- // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:714:1: (this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX |
- // this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX )
- int alt14 = 2;
- int LA14_0 = input.LA(1);
-
- if ((LA14_0 == RULE_INTEGERVALUE)) {
- alt14 = 1;
- }
- else if ((LA14_0 == 24)) {
- alt14 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 14, 0, input);
-
- throw nvae;
- }
- switch (alt14) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:715:5: this_INTEGER_LITERAL_WITHOUT_SUFFIX_0= ruleINTEGER_LITERAL_WITHOUT_SUFFIX
- {
-
- newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1436);
- this_INTEGER_LITERAL_WITHOUT_SUFFIX_0 = ruleINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
-
- current = this_INTEGER_LITERAL_WITHOUT_SUFFIX_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:725:5: this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX
- {
-
- newCompositeNode(grammarAccess.getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1463);
- this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1 = ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
-
- current = this_UNLIMITED_LITERAL_WITHOUT_SUFFIX_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNUMBER_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:741:1: entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] :
- // iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF ;
- public final EObject entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:742:2: (iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:743:2: iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX= ruleINTEGER_LITERAL_WITHOUT_SUFFIX EOF
- {
- newCompositeNode(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule());
- pushFollow(FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1498);
- iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX = ruleINTEGER_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
- current = iv_ruleINTEGER_LITERAL_WITHOUT_SUFFIX;
- match(input, EOF, FOLLOW_EOF_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1508);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "ruleINTEGER_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:750:1: ruleINTEGER_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : ( (lv_value_0_0= RULE_INTEGERVALUE ) )
- // ;
- public final EObject ruleINTEGER_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- Token lv_value_0_0 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:753:28: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:754:1: ( (lv_value_0_0= RULE_INTEGERVALUE ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:754:1: ( (lv_value_0_0= RULE_INTEGERVALUE ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:755:1: (lv_value_0_0= RULE_INTEGERVALUE )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:755:1: (lv_value_0_0= RULE_INTEGERVALUE )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:756:3: lv_value_0_0= RULE_INTEGERVALUE
- {
- lv_value_0_0 = (Token) match(input, RULE_INTEGERVALUE, FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL_WITHOUT_SUFFIX1549);
-
- newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getValueIntegerValueTerminalRuleCall_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getINTEGER_LITERAL_WITHOUT_SUFFIXRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_0_0,
- "IntegerValue");
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleINTEGER_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:780:1: entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] :
- // iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF ;
- public final EObject entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:781:2: (iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:782:2: iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX= ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX EOF
- {
- newCompositeNode(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule());
- pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1589);
- iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX = ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX();
-
- state._fsp--;
-
- current = iv_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX;
- match(input, EOF, FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1599);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:789:1: ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX returns [EObject current=null] : ( (lv_value_0_0= '*' ) ) ;
- public final EObject ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX() throws RecognitionException {
- EObject current = null;
-
- Token lv_value_0_0 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:792:28: ( ( (lv_value_0_0= '*' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:793:1: ( (lv_value_0_0= '*' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:793:1: ( (lv_value_0_0= '*' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:794:1: (lv_value_0_0= '*' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:794:1: (lv_value_0_0= '*' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:795:3: lv_value_0_0= '*'
- {
- lv_value_0_0 = (Token) match(input, 24, FOLLOW_24_in_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX1641);
-
- newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getValueAsteriskKeyword_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule());
- }
- setWithLastConsumed(current, "value", lv_value_0_0, "*");
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX"
-
-
- // $ANTLR start "entryRuleTypeName"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:816:1: entryRuleTypeName returns [EObject current=null] : iv_ruleTypeName= ruleTypeName EOF ;
- public final EObject entryRuleTypeName() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleTypeName = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:817:2: (iv_ruleTypeName= ruleTypeName EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:818:2: iv_ruleTypeName= ruleTypeName EOF
- {
- newCompositeNode(grammarAccess.getTypeNameRule());
- pushFollow(FOLLOW_ruleTypeName_in_entryRuleTypeName1689);
- iv_ruleTypeName = ruleTypeName();
-
- state._fsp--;
-
- current = iv_ruleTypeName;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTypeName1699);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleTypeName"
-
-
- // $ANTLR start "ruleTypeName"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:825:1: ruleTypeName returns [EObject current=null] : ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding
- // ) ) | otherlv_2= 'any' ) ) ;
- public final EObject ruleTypeName() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_2 = null;
- EObject lv_qualifiedName_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:828:28: ( ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:1: ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:1: ( () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:2: () ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:829:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:830:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getTypeNameAccess().getTypeNameAction_0(),
- current);
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:2: ( ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) ) | otherlv_2= 'any' )
- int alt15 = 2;
- int LA15_0 = input.LA(1);
-
- if ((LA15_0 == RULE_ID)) {
- alt15 = 1;
- }
- else if ((LA15_0 == 25)) {
- alt15 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 15, 0, input);
-
- throw nvae;
- }
- switch (alt15) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:3: ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:835:3: ( (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:836:1: (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:836:1: (lv_qualifiedName_1_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:837:3: lv_qualifiedName_1_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getTypeNameAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleTypeName1755);
- lv_qualifiedName_1_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTypeNameRule());
- }
- set(
- current,
- "qualifiedName",
- lv_qualifiedName_1_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:854:7: otherlv_2= 'any'
- {
- otherlv_2 = (Token) match(input, 25, FOLLOW_25_in_ruleTypeName1773);
-
- newLeafNode(otherlv_2, grammarAccess.getTypeNameAccess().getAnyKeyword_1_1());
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleTypeName"
-
-
- // $ANTLR start "entryRuleRedefinitionClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:866:1: entryRuleRedefinitionClause returns [EObject current=null] : iv_ruleRedefinitionClause=
- // ruleRedefinitionClause EOF ;
- public final EObject entryRuleRedefinitionClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleRedefinitionClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:867:2: (iv_ruleRedefinitionClause= ruleRedefinitionClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:868:2: iv_ruleRedefinitionClause= ruleRedefinitionClause EOF
- {
- newCompositeNode(grammarAccess.getRedefinitionClauseRule());
- pushFollow(FOLLOW_ruleRedefinitionClause_in_entryRuleRedefinitionClause1810);
- iv_ruleRedefinitionClause = ruleRedefinitionClause();
-
- state._fsp--;
-
- current = iv_ruleRedefinitionClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleRedefinitionClause1820);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleRedefinitionClause"
-
-
- // $ANTLR start "ruleRedefinitionClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:875:1: ruleRedefinitionClause returns [EObject current=null] : (otherlv_0= 'redefines' (
- // (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) ;
- public final EObject ruleRedefinitionClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_redefinedOperations_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:878:28: ( (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:1: (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:1: (otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:879:3: otherlv_0= 'redefines' ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) )
- {
- otherlv_0 = (Token) match(input, 26, FOLLOW_26_in_ruleRedefinitionClause1857);
-
- newLeafNode(otherlv_0, grammarAccess.getRedefinitionClauseAccess().getRedefinesKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:883:1: ( (lv_redefinedOperations_1_0= ruleQualifiedNameList ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:884:1: (lv_redefinedOperations_1_0= ruleQualifiedNameList )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:884:1: (lv_redefinedOperations_1_0= ruleQualifiedNameList )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:885:3: lv_redefinedOperations_1_0= ruleQualifiedNameList
- {
-
- newCompositeNode(grammarAccess.getRedefinitionClauseAccess().getRedefinedOperationsQualifiedNameListParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleRedefinitionClause1878);
- lv_redefinedOperations_1_0 = ruleQualifiedNameList();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getRedefinitionClauseRule());
- }
- set(
- current,
- "redefinedOperations",
- lv_redefinedOperations_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleRedefinitionClause"
-
-
- // $ANTLR start "entryRuleLITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:911: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:912:2: (iv_ruleLITERAL= ruleLITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:913:2: iv_ruleLITERAL= ruleLITERAL EOF
- {
- newCompositeNode(grammarAccess.getLITERALRule());
- pushFollow(FOLLOW_ruleLITERAL_in_entryRuleLITERAL1916);
- iv_ruleLITERAL = ruleLITERAL();
-
- state._fsp--;
-
- current = iv_ruleLITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLITERAL1926);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLITERAL"
-
-
- // $ANTLR start "ruleLITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:920:1: ruleLITERAL returns [EObject current=null] : (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL |
- // this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL | this_STRING_LITERAL_2= ruleSTRING_LITERAL ) ;
- public final EObject ruleLITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject this_BOOLEAN_LITERAL_0 = null;
-
- EObject this_NUMBER_LITERAL_1 = null;
-
- EObject this_STRING_LITERAL_2 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:923:28: ( (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL |
- // this_STRING_LITERAL_2= ruleSTRING_LITERAL ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:924:1: (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL |
- // this_STRING_LITERAL_2= ruleSTRING_LITERAL )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:924:1: (this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL | this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL |
- // this_STRING_LITERAL_2= ruleSTRING_LITERAL )
- int alt16 = 3;
- switch (input.LA(1)) {
- case 93:
- case 94: {
- alt16 = 1;
- }
- break;
- case RULE_INTEGERVALUE:
- case 24: {
- alt16 = 2;
- }
- break;
- case RULE_STRING: {
- alt16 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 16, 0, input);
-
- throw nvae;
- }
-
- switch (alt16) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:925:5: this_BOOLEAN_LITERAL_0= ruleBOOLEAN_LITERAL
- {
-
- newCompositeNode(grammarAccess.getLITERALAccess().getBOOLEAN_LITERALParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleBOOLEAN_LITERAL_in_ruleLITERAL1973);
- this_BOOLEAN_LITERAL_0 = ruleBOOLEAN_LITERAL();
-
- state._fsp--;
-
-
- current = this_BOOLEAN_LITERAL_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:935:5: this_NUMBER_LITERAL_1= ruleNUMBER_LITERAL
- {
-
- newCompositeNode(grammarAccess.getLITERALAccess().getNUMBER_LITERALParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleNUMBER_LITERAL_in_ruleLITERAL2000);
- this_NUMBER_LITERAL_1 = ruleNUMBER_LITERAL();
-
- state._fsp--;
-
-
- current = this_NUMBER_LITERAL_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:945:5: this_STRING_LITERAL_2= ruleSTRING_LITERAL
- {
-
- newCompositeNode(grammarAccess.getLITERALAccess().getSTRING_LITERALParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleSTRING_LITERAL_in_ruleLITERAL2027);
- this_STRING_LITERAL_2 = ruleSTRING_LITERAL();
-
- state._fsp--;
-
-
- current = this_STRING_LITERAL_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLITERAL"
-
-
- // $ANTLR start "entryRuleBOOLEAN_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:961:1: entryRuleBOOLEAN_LITERAL returns [EObject current=null] : iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF ;
- public final EObject entryRuleBOOLEAN_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleBOOLEAN_LITERAL = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:962:2: (iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:963:2: iv_ruleBOOLEAN_LITERAL= ruleBOOLEAN_LITERAL EOF
- {
- newCompositeNode(grammarAccess.getBOOLEAN_LITERALRule());
- pushFollow(FOLLOW_ruleBOOLEAN_LITERAL_in_entryRuleBOOLEAN_LITERAL2062);
- iv_ruleBOOLEAN_LITERAL = ruleBOOLEAN_LITERAL();
-
- state._fsp--;
-
- current = iv_ruleBOOLEAN_LITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleBOOLEAN_LITERAL2072);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleBOOLEAN_LITERAL"
-
-
- // $ANTLR start "ruleBOOLEAN_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:970:1: ruleBOOLEAN_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= ruleBooleanValue ) ) (
- // (lv_suffix_1_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleBOOLEAN_LITERAL() throws RecognitionException {
- EObject current = null;
-
- Enumerator lv_value_0_0 = null;
-
- EObject lv_suffix_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:973:28: ( ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:1: ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:1: ( ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:2: ( (lv_value_0_0= ruleBooleanValue ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:974:2: ( (lv_value_0_0= ruleBooleanValue ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:975:1: (lv_value_0_0= ruleBooleanValue )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:975:1: (lv_value_0_0= ruleBooleanValue )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:976:3: lv_value_0_0= ruleBooleanValue
- {
-
- newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getValueBooleanValueEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleBooleanValue_in_ruleBOOLEAN_LITERAL2118);
- lv_value_0_0 = ruleBooleanValue();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule());
- }
- set(
- current,
- "value",
- lv_value_0_0,
- "BooleanValue");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:992:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- int alt17 = 2;
- int LA17_0 = input.LA(1);
-
- if (((LA17_0 >= 55 && LA17_0 <= 56))) {
- alt17 = 1;
- }
- switch (alt17) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:993:1: (lv_suffix_1_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:993:1: (lv_suffix_1_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:994:3: lv_suffix_1_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getBOOLEAN_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleBOOLEAN_LITERAL2139);
- lv_suffix_1_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getBOOLEAN_LITERALRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleBOOLEAN_LITERAL"
-
-
- // $ANTLR start "entryRuleNUMBER_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1018:1: entryRuleNUMBER_LITERAL returns [EObject current=null] : iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF ;
- public final EObject entryRuleNUMBER_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNUMBER_LITERAL = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1019:2: (iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1020:2: iv_ruleNUMBER_LITERAL= ruleNUMBER_LITERAL EOF
- {
- newCompositeNode(grammarAccess.getNUMBER_LITERALRule());
- pushFollow(FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL2176);
- iv_ruleNUMBER_LITERAL = ruleNUMBER_LITERAL();
-
- state._fsp--;
-
- current = iv_ruleNUMBER_LITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNUMBER_LITERAL2186);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNUMBER_LITERAL"
-
-
- // $ANTLR start "ruleNUMBER_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1027:1: ruleNUMBER_LITERAL returns [EObject current=null] : (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL |
- // this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL ) ;
- public final EObject ruleNUMBER_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject this_INTEGER_LITERAL_0 = null;
-
- EObject this_UNLIMITED_LITERAL_1 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1030:28: ( (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL
- // ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1031:1: (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1031:1: (this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL | this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL
- // )
- int alt18 = 2;
- int LA18_0 = input.LA(1);
-
- if ((LA18_0 == RULE_INTEGERVALUE)) {
- alt18 = 1;
- }
- else if ((LA18_0 == 24)) {
- alt18 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 18, 0, input);
-
- throw nvae;
- }
- switch (alt18) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1032:5: this_INTEGER_LITERAL_0= ruleINTEGER_LITERAL
- {
-
- newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getINTEGER_LITERALParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleINTEGER_LITERAL_in_ruleNUMBER_LITERAL2233);
- this_INTEGER_LITERAL_0 = ruleINTEGER_LITERAL();
-
- state._fsp--;
-
-
- current = this_INTEGER_LITERAL_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1042:5: this_UNLIMITED_LITERAL_1= ruleUNLIMITED_LITERAL
- {
-
- newCompositeNode(grammarAccess.getNUMBER_LITERALAccess().getUNLIMITED_LITERALParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_in_ruleNUMBER_LITERAL2260);
- this_UNLIMITED_LITERAL_1 = ruleUNLIMITED_LITERAL();
-
- state._fsp--;
-
-
- current = this_UNLIMITED_LITERAL_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNUMBER_LITERAL"
-
-
- // $ANTLR start "entryRuleINTEGER_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1058:1: entryRuleINTEGER_LITERAL returns [EObject current=null] : iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF
- // ;
- public final EObject entryRuleINTEGER_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleINTEGER_LITERAL = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1059:2: (iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1060:2: iv_ruleINTEGER_LITERAL= ruleINTEGER_LITERAL EOF
- {
- newCompositeNode(grammarAccess.getINTEGER_LITERALRule());
- pushFollow(FOLLOW_ruleINTEGER_LITERAL_in_entryRuleINTEGER_LITERAL2295);
- iv_ruleINTEGER_LITERAL = ruleINTEGER_LITERAL();
-
- state._fsp--;
-
- current = iv_ruleINTEGER_LITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleINTEGER_LITERAL2305);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleINTEGER_LITERAL"
-
-
- // $ANTLR start "ruleINTEGER_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1067:1: ruleINTEGER_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) (
- // (lv_suffix_1_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleINTEGER_LITERAL() throws RecognitionException {
- EObject current = null;
-
- Token lv_value_0_0 = null;
- EObject lv_suffix_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1070:28: ( ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:1: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:1: ( ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:2: ( (lv_value_0_0= RULE_INTEGERVALUE ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1071:2: ( (lv_value_0_0= RULE_INTEGERVALUE ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1072:1: (lv_value_0_0= RULE_INTEGERVALUE )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1072:1: (lv_value_0_0= RULE_INTEGERVALUE )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1073:3: lv_value_0_0= RULE_INTEGERVALUE
- {
- lv_value_0_0 = (Token) match(input, RULE_INTEGERVALUE, FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL2347);
-
- newLeafNode(lv_value_0_0, grammarAccess.getINTEGER_LITERALAccess().getValueIntegerValueTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getINTEGER_LITERALRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_0_0,
- "IntegerValue");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1089:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- int alt19 = 2;
- int LA19_0 = input.LA(1);
-
- if (((LA19_0 >= 55 && LA19_0 <= 56))) {
- alt19 = 1;
- }
- switch (alt19) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1090:1: (lv_suffix_1_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1090:1: (lv_suffix_1_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1091:3: lv_suffix_1_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getINTEGER_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleINTEGER_LITERAL2373);
- lv_suffix_1_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getINTEGER_LITERALRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleINTEGER_LITERAL"
-
-
- // $ANTLR start "entryRuleUNLIMITED_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1115:1: entryRuleUNLIMITED_LITERAL returns [EObject current=null] : iv_ruleUNLIMITED_LITERAL=
- // ruleUNLIMITED_LITERAL EOF ;
- public final EObject entryRuleUNLIMITED_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleUNLIMITED_LITERAL = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1116:2: (iv_ruleUNLIMITED_LITERAL= ruleUNLIMITED_LITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1117:2: iv_ruleUNLIMITED_LITERAL= ruleUNLIMITED_LITERAL EOF
- {
- newCompositeNode(grammarAccess.getUNLIMITED_LITERALRule());
- pushFollow(FOLLOW_ruleUNLIMITED_LITERAL_in_entryRuleUNLIMITED_LITERAL2410);
- iv_ruleUNLIMITED_LITERAL = ruleUNLIMITED_LITERAL();
-
- state._fsp--;
-
- current = iv_ruleUNLIMITED_LITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL2420);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleUNLIMITED_LITERAL"
-
-
- // $ANTLR start "ruleUNLIMITED_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1124:1: ruleUNLIMITED_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0=
- // ruleSuffixExpression ) )? ) ;
- public final EObject ruleUNLIMITED_LITERAL() throws RecognitionException {
- EObject current = null;
-
- Token lv_value_0_0 = null;
- EObject lv_suffix_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1127:28: ( ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:1: ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:1: ( ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:2: ( (lv_value_0_0= '*' ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1128:2: ( (lv_value_0_0= '*' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1129:1: (lv_value_0_0= '*' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1129:1: (lv_value_0_0= '*' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1130:3: lv_value_0_0= '*'
- {
- lv_value_0_0 = (Token) match(input, 24, FOLLOW_24_in_ruleUNLIMITED_LITERAL2463);
-
- newLeafNode(lv_value_0_0, grammarAccess.getUNLIMITED_LITERALAccess().getValueAsteriskKeyword_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUNLIMITED_LITERALRule());
- }
- setWithLastConsumed(current, "value", lv_value_0_0, "*");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1143:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- int alt20 = 2;
- int LA20_0 = input.LA(1);
-
- if (((LA20_0 >= 55 && LA20_0 <= 56))) {
- alt20 = 1;
- }
- switch (alt20) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1144:1: (lv_suffix_1_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1144:1: (lv_suffix_1_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1145:3: lv_suffix_1_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getUNLIMITED_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleUNLIMITED_LITERAL2497);
- lv_suffix_1_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getUNLIMITED_LITERALRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleUNLIMITED_LITERAL"
-
-
- // $ANTLR start "entryRuleSTRING_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1169:1: entryRuleSTRING_LITERAL returns [EObject current=null] : iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF ;
- public final EObject entryRuleSTRING_LITERAL() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSTRING_LITERAL = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1170:2: (iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1171:2: iv_ruleSTRING_LITERAL= ruleSTRING_LITERAL EOF
- {
- newCompositeNode(grammarAccess.getSTRING_LITERALRule());
- pushFollow(FOLLOW_ruleSTRING_LITERAL_in_entryRuleSTRING_LITERAL2534);
- iv_ruleSTRING_LITERAL = ruleSTRING_LITERAL();
-
- state._fsp--;
-
- current = iv_ruleSTRING_LITERAL;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSTRING_LITERAL2544);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSTRING_LITERAL"
-
-
- // $ANTLR start "ruleSTRING_LITERAL"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1178:1: ruleSTRING_LITERAL returns [EObject current=null] : ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0=
- // ruleSuffixExpression ) )? ) ;
- public final EObject ruleSTRING_LITERAL() throws RecognitionException {
- EObject current = null;
-
- Token lv_value_0_0 = null;
- EObject lv_suffix_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1181:28: ( ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:1: ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:1: ( ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:2: ( (lv_value_0_0= RULE_STRING ) ) ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1182:2: ( (lv_value_0_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1183:1: (lv_value_0_0= RULE_STRING )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1183:1: (lv_value_0_0= RULE_STRING )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1184:3: lv_value_0_0= RULE_STRING
- {
- lv_value_0_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleSTRING_LITERAL2586);
-
- newLeafNode(lv_value_0_0, grammarAccess.getSTRING_LITERALAccess().getValueSTRINGTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSTRING_LITERALRule());
- }
- setWithLastConsumed(
- current,
- "value",
- lv_value_0_0,
- "STRING");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1200:2: ( (lv_suffix_1_0= ruleSuffixExpression ) )?
- int alt21 = 2;
- int LA21_0 = input.LA(1);
-
- if (((LA21_0 >= 55 && LA21_0 <= 56))) {
- alt21 = 1;
- }
- switch (alt21) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1201:1: (lv_suffix_1_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1201:1: (lv_suffix_1_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1202:3: lv_suffix_1_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getSTRING_LITERALAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSTRING_LITERAL2612);
- lv_suffix_1_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSTRING_LITERALRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_1_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSTRING_LITERAL"
-
-
- // $ANTLR start "entryRuleNameExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1226:1: entryRuleNameExpression returns [EObject current=null] : iv_ruleNameExpression= ruleNameExpression EOF ;
- public final EObject entryRuleNameExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNameExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1227:2: (iv_ruleNameExpression= ruleNameExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1228:2: iv_ruleNameExpression= ruleNameExpression EOF
- {
- newCompositeNode(grammarAccess.getNameExpressionRule());
- pushFollow(FOLLOW_ruleNameExpression_in_entryRuleNameExpression2649);
- iv_ruleNameExpression = ruleNameExpression();
-
- state._fsp--;
-
- current = iv_ruleNameExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNameExpression2659);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNameExpression"
-
-
- // $ANTLR start "ruleNameExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1235:1: ruleNameExpression returns [EObject current=null] : ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2=
- // '--' ) ) ) ( (lv_path_1_0= ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleNameExpression() throws RecognitionException {
- EObject current = null;
-
- Token lv_prefixOp_0_1 = null;
- Token lv_prefixOp_0_2 = null;
- Token lv_id_2_0 = null;
- Token lv_id_4_0 = null;
- Token lv_postfixOp_7_1 = null;
- Token lv_postfixOp_7_2 = null;
- EObject lv_path_1_0 = null;
-
- EObject lv_path_3_0 = null;
-
- EObject lv_invocationCompletion_5_0 = null;
-
- EObject lv_sequenceConstructionCompletion_6_0 = null;
-
- EObject lv_suffix_8_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1238:28: ( ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:1: ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:1: ( ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:2: ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) ) ( (lv_suffix_8_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:2: ( ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) ) | ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? ) )
- int alt27 = 2;
- int LA27_0 = input.LA(1);
-
- if (((LA27_0 >= 27 && LA27_0 <= 28))) {
- alt27 = 1;
- }
- else if ((LA27_0 == RULE_ID)) {
- alt27 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 27, 0, input);
-
- throw nvae;
- }
- switch (alt27) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:3: ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:3: ( ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:4: ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) ) ( (lv_path_1_0=
- // ruleQualifiedNamePath ) )? ( (lv_id_2_0= RULE_ID ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1239:4: ( ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1240:1: ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1240:1: ( (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1241:1: (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1241:1: (lv_prefixOp_0_1= '++' | lv_prefixOp_0_2= '--' )
- int alt22 = 2;
- int LA22_0 = input.LA(1);
-
- if ((LA22_0 == 27)) {
- alt22 = 1;
- }
- else if ((LA22_0 == 28)) {
- alt22 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 22, 0, input);
-
- throw nvae;
- }
- switch (alt22) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1242:3: lv_prefixOp_0_1= '++'
- {
- lv_prefixOp_0_1 = (Token) match(input, 27, FOLLOW_27_in_ruleNameExpression2706);
-
- newLeafNode(lv_prefixOp_0_1, grammarAccess.getNameExpressionAccess().getPrefixOpPlusSignPlusSignKeyword_0_0_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(current, "prefixOp", lv_prefixOp_0_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1254:8: lv_prefixOp_0_2= '--'
- {
- lv_prefixOp_0_2 = (Token) match(input, 28, FOLLOW_28_in_ruleNameExpression2735);
-
- newLeafNode(lv_prefixOp_0_2, grammarAccess.getNameExpressionAccess().getPrefixOpHyphenMinusHyphenMinusKeyword_0_0_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(current, "prefixOp", lv_prefixOp_0_2, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1269:2: ( (lv_path_1_0= ruleQualifiedNamePath ) )?
- int alt23 = 2;
- int LA23_0 = input.LA(1);
-
- if ((LA23_0 == RULE_ID)) {
- int LA23_1 = input.LA(2);
-
- if ((LA23_1 == 30)) {
- int LA23_3 = input.LA(3);
-
- if ((LA23_3 == RULE_ID)) {
- int LA23_5 = input.LA(4);
-
- if ((LA23_5 == 32)) {
- alt23 = 1;
- }
- }
- }
- else if ((LA23_1 == 29)) {
- alt23 = 1;
- }
- }
- switch (alt23) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1270:1: (lv_path_1_0= ruleQualifiedNamePath )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1270:1: (lv_path_1_0= ruleQualifiedNamePath )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1271:3: lv_path_1_0= ruleQualifiedNamePath
- {
-
- newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_0_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2772);
- lv_path_1_0 = ruleQualifiedNamePath();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- current,
- "path",
- lv_path_1_0,
- "QualifiedNamePath");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1287:3: ( (lv_id_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1288:1: (lv_id_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1288:1: (lv_id_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1289:3: lv_id_2_0= RULE_ID
- {
- lv_id_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNameExpression2790);
-
- newLeafNode(lv_id_2_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_0_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(
- current,
- "id",
- lv_id_2_0,
- "ID");
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:6: ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( (
- // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:6: ( ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( (
- // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:7: ( (lv_path_3_0= ruleQualifiedNamePath ) )? ( (lv_id_4_0= RULE_ID ) ) ( (
- // (lv_invocationCompletion_5_0= ruleTuple ) ) | ( (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1306:7: ( (lv_path_3_0= ruleQualifiedNamePath ) )?
- int alt24 = 2;
- int LA24_0 = input.LA(1);
-
- if ((LA24_0 == RULE_ID)) {
- int LA24_1 = input.LA(2);
-
- if ((LA24_1 == 30)) {
- int LA24_3 = input.LA(3);
-
- if ((LA24_3 == RULE_ID)) {
- int LA24_5 = input.LA(4);
-
- if ((LA24_5 == 32)) {
- alt24 = 1;
- }
- }
- }
- else if ((LA24_1 == 29)) {
- alt24 = 1;
- }
- }
- switch (alt24) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1307:1: (lv_path_3_0= ruleQualifiedNamePath )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1307:1: (lv_path_3_0= ruleQualifiedNamePath )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1308:3: lv_path_3_0= ruleQualifiedNamePath
- {
-
- newCompositeNode(grammarAccess.getNameExpressionAccess().getPathQualifiedNamePathParserRuleCall_0_1_0_0());
-
- pushFollow(FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2824);
- lv_path_3_0 = ruleQualifiedNamePath();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- current,
- "path",
- lv_path_3_0,
- "QualifiedNamePath");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1324:3: ( (lv_id_4_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1325:1: (lv_id_4_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1325:1: (lv_id_4_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1326:3: lv_id_4_0= RULE_ID
- {
- lv_id_4_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNameExpression2842);
-
- newLeafNode(lv_id_4_0, grammarAccess.getNameExpressionAccess().getIdIDTerminalRuleCall_0_1_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(
- current,
- "id",
- lv_id_4_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:2: ( ( (lv_invocationCompletion_5_0= ruleTuple ) ) | (
- // (lv_sequenceConstructionCompletion_6_0= ruleSequenceConstructionOrAccessCompletion ) ) | ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) ) )?
- int alt26 = 4;
- switch (input.LA(1)) {
- case 15: {
- alt26 = 1;
- }
- break;
- case 18: {
- int LA26_2 = input.LA(2);
-
- if (((LA26_2 >= RULE_ID && LA26_2 <= RULE_STRING) || LA26_2 == 15 || LA26_2 == 24 || (LA26_2 >= 27 && LA26_2 <= 28) || (LA26_2 >= 48 && LA26_2 <= 49) || (LA26_2 >= 52 && LA26_2 <= 54) || (LA26_2 >= 59 && LA26_2 <= 62) || (LA26_2 >= 93 && LA26_2 <= 94))) {
- alt26 = 2;
- }
- else if ((LA26_2 == 19)) {
- int LA26_6 = input.LA(3);
-
- if ((LA26_6 == 63)) {
- alt26 = 2;
- }
- }
- }
- break;
- case 63: {
- alt26 = 2;
- }
- break;
- case 27:
- case 28: {
- alt26 = 3;
- }
- break;
- }
-
- switch (alt26) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:3: ( (lv_invocationCompletion_5_0= ruleTuple ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1342:3: ( (lv_invocationCompletion_5_0= ruleTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1343:1: (lv_invocationCompletion_5_0= ruleTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1343:1: (lv_invocationCompletion_5_0= ruleTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1344:3: lv_invocationCompletion_5_0= ruleTuple
- {
-
- newCompositeNode(grammarAccess.getNameExpressionAccess().getInvocationCompletionTupleParserRuleCall_0_1_2_0_0());
-
- pushFollow(FOLLOW_ruleTuple_in_ruleNameExpression2869);
- lv_invocationCompletion_5_0 = ruleTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- current,
- "invocationCompletion",
- lv_invocationCompletion_5_0,
- "Tuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1361:6: ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1361:6: ( (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1362:1: (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1362:1: (lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1363:3: lv_sequenceConstructionCompletion_6_0=
- // ruleSequenceConstructionOrAccessCompletion
- {
-
- newCompositeNode(grammarAccess.getNameExpressionAccess().getSequenceConstructionCompletionSequenceConstructionOrAccessCompletionParserRuleCall_0_1_2_1_0());
-
- pushFollow(FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_ruleNameExpression2896);
- lv_sequenceConstructionCompletion_6_0 = ruleSequenceConstructionOrAccessCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- current,
- "sequenceConstructionCompletion",
- lv_sequenceConstructionCompletion_6_0,
- "SequenceConstructionOrAccessCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1380:6: ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1380:6: ( ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1381:1: ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1381:1: ( (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1382:1: (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1382:1: (lv_postfixOp_7_1= '++' | lv_postfixOp_7_2= '--' )
- int alt25 = 2;
- int LA25_0 = input.LA(1);
-
- if ((LA25_0 == 27)) {
- alt25 = 1;
- }
- else if ((LA25_0 == 28)) {
- alt25 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 25, 0, input);
-
- throw nvae;
- }
- switch (alt25) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1383:3: lv_postfixOp_7_1= '++'
- {
- lv_postfixOp_7_1 = (Token) match(input, 27, FOLLOW_27_in_ruleNameExpression2922);
-
- newLeafNode(lv_postfixOp_7_1, grammarAccess.getNameExpressionAccess().getPostfixOpPlusSignPlusSignKeyword_0_1_2_2_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(current, "postfixOp", lv_postfixOp_7_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1395:8: lv_postfixOp_7_2= '--'
- {
- lv_postfixOp_7_2 = (Token) match(input, 28, FOLLOW_28_in_ruleNameExpression2951);
-
- newLeafNode(lv_postfixOp_7_2, grammarAccess.getNameExpressionAccess().getPostfixOpHyphenMinusHyphenMinusKeyword_0_1_2_2_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNameExpressionRule());
- }
- setWithLastConsumed(current, "postfixOp", lv_postfixOp_7_2, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1410:6: ( (lv_suffix_8_0= ruleSuffixExpression ) )?
- int alt28 = 2;
- int LA28_0 = input.LA(1);
-
- if (((LA28_0 >= 55 && LA28_0 <= 56))) {
- alt28 = 1;
- }
- switch (alt28) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1411:1: (lv_suffix_8_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1411:1: (lv_suffix_8_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1412:3: lv_suffix_8_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getNameExpressionAccess().getSuffixSuffixExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleNameExpression2992);
- lv_suffix_8_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNameExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_8_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNameExpression"
-
-
- // $ANTLR start "entryRuleQualifiedNamePath"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1436:1: entryRuleQualifiedNamePath returns [EObject current=null] : iv_ruleQualifiedNamePath=
- // ruleQualifiedNamePath EOF ;
- public final EObject entryRuleQualifiedNamePath() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleQualifiedNamePath = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1437:2: (iv_ruleQualifiedNamePath= ruleQualifiedNamePath EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1438:2: iv_ruleQualifiedNamePath= ruleQualifiedNamePath EOF
- {
- newCompositeNode(grammarAccess.getQualifiedNamePathRule());
- pushFollow(FOLLOW_ruleQualifiedNamePath_in_entryRuleQualifiedNamePath3029);
- iv_ruleQualifiedNamePath = ruleQualifiedNamePath();
-
- state._fsp--;
-
- current = iv_ruleQualifiedNamePath;
- match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNamePath3039);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleQualifiedNamePath"
-
-
- // $ANTLR start "ruleQualifiedNamePath"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1445:1: ruleQualifiedNamePath returns [EObject current=null] : ( ( (lv_namespace_0_0= ruleUnqualifiedName ) )
- // otherlv_1= '::' )+ ;
- public final EObject ruleQualifiedNamePath() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_namespace_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1448:28: ( ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+ )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:1: ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:1: ( ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::' )+
- int cnt29 = 0;
- loop29: do {
- int alt29 = 2;
- int LA29_0 = input.LA(1);
-
- if ((LA29_0 == RULE_ID)) {
- int LA29_1 = input.LA(2);
-
- if ((LA29_1 == 30)) {
- int LA29_3 = input.LA(3);
-
- if ((LA29_3 == RULE_ID)) {
- int LA29_5 = input.LA(4);
-
- if ((LA29_5 == 32)) {
- alt29 = 1;
- }
-
-
- }
-
-
- }
- else if ((LA29_1 == 29)) {
- alt29 = 1;
- }
-
-
- }
-
-
- switch (alt29) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:2: ( (lv_namespace_0_0= ruleUnqualifiedName ) ) otherlv_1= '::'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1449:2: ( (lv_namespace_0_0= ruleUnqualifiedName ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1450:1: (lv_namespace_0_0= ruleUnqualifiedName )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1450:1: (lv_namespace_0_0= ruleUnqualifiedName )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1451:3: lv_namespace_0_0= ruleUnqualifiedName
- {
-
- newCompositeNode(grammarAccess.getQualifiedNamePathAccess().getNamespaceUnqualifiedNameParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleUnqualifiedName_in_ruleQualifiedNamePath3085);
- lv_namespace_0_0 = ruleUnqualifiedName();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNamePathRule());
- }
- add(
- current,
- "namespace",
- lv_namespace_0_0,
- "UnqualifiedName");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 29, FOLLOW_29_in_ruleQualifiedNamePath3097);
-
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNamePathAccess().getColonColonKeyword_1());
-
-
- }
- break;
-
- default:
- if (cnt29 >= 1) {
- break loop29;
- }
- EarlyExitException eee =
- new EarlyExitException(29, input);
- throw eee;
- }
- cnt29++;
- } while (true);
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleQualifiedNamePath"
-
-
- // $ANTLR start "entryRuleUnqualifiedName"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1479:1: entryRuleUnqualifiedName returns [EObject current=null] : iv_ruleUnqualifiedName= ruleUnqualifiedName EOF
- // ;
- public final EObject entryRuleUnqualifiedName() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleUnqualifiedName = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1480:2: (iv_ruleUnqualifiedName= ruleUnqualifiedName EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1481:2: iv_ruleUnqualifiedName= ruleUnqualifiedName EOF
- {
- newCompositeNode(grammarAccess.getUnqualifiedNameRule());
- pushFollow(FOLLOW_ruleUnqualifiedName_in_entryRuleUnqualifiedName3134);
- iv_ruleUnqualifiedName = ruleUnqualifiedName();
-
- state._fsp--;
-
- current = iv_ruleUnqualifiedName;
- match(input, EOF, FOLLOW_EOF_in_entryRuleUnqualifiedName3144);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleUnqualifiedName"
-
-
- // $ANTLR start "ruleUnqualifiedName"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1488:1: ruleUnqualifiedName returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) (
- // (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) ;
- public final EObject ruleUnqualifiedName() throws RecognitionException {
- EObject current = null;
-
- Token lv_name_0_0 = null;
- EObject lv_templateBinding_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1491:28: ( ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:1: ( ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:2: ( (lv_name_0_0= RULE_ID ) ) ( (lv_templateBinding_1_0= ruleTemplateBinding ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1492:2: ( (lv_name_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1493:1: (lv_name_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1493:1: (lv_name_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1494:3: lv_name_0_0= RULE_ID
- {
- lv_name_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleUnqualifiedName3186);
-
- newLeafNode(lv_name_0_0, grammarAccess.getUnqualifiedNameAccess().getNameIDTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnqualifiedNameRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_0_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1510:2: ( (lv_templateBinding_1_0= ruleTemplateBinding ) )?
- int alt30 = 2;
- int LA30_0 = input.LA(1);
-
- if ((LA30_0 == 30)) {
- alt30 = 1;
- }
- switch (alt30) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1511:1: (lv_templateBinding_1_0= ruleTemplateBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1511:1: (lv_templateBinding_1_0= ruleTemplateBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1512:3: lv_templateBinding_1_0= ruleTemplateBinding
- {
-
- newCompositeNode(grammarAccess.getUnqualifiedNameAccess().getTemplateBindingTemplateBindingParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleTemplateBinding_in_ruleUnqualifiedName3212);
- lv_templateBinding_1_0 = ruleTemplateBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getUnqualifiedNameRule());
- }
- set(
- current,
- "templateBinding",
- lv_templateBinding_1_0,
- "TemplateBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleUnqualifiedName"
-
-
- // $ANTLR start "entryRuleTemplateBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1536:1: entryRuleTemplateBinding returns [EObject current=null] : iv_ruleTemplateBinding= ruleTemplateBinding EOF
- // ;
- public final EObject entryRuleTemplateBinding() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleTemplateBinding = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1537:2: (iv_ruleTemplateBinding= ruleTemplateBinding EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1538:2: iv_ruleTemplateBinding= ruleTemplateBinding EOF
- {
- newCompositeNode(grammarAccess.getTemplateBindingRule());
- pushFollow(FOLLOW_ruleTemplateBinding_in_entryRuleTemplateBinding3249);
- iv_ruleTemplateBinding = ruleTemplateBinding();
-
- state._fsp--;
-
- current = iv_ruleTemplateBinding;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTemplateBinding3259);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleTemplateBinding"
-
-
- // $ANTLR start "ruleTemplateBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1545:1: ruleTemplateBinding returns [EObject current=null] : (otherlv_0= '<' ( (lv_bindings_1_0=
- // ruleNamedTemplateBinding ) ) (otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) ;
- public final EObject ruleTemplateBinding() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- Token otherlv_4 = null;
- EObject lv_bindings_1_0 = null;
-
- EObject lv_bindings_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1548:28: ( (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' (
- // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:1: (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' (
- // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:1: (otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' (
- // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1549:3: otherlv_0= '<' ( (lv_bindings_1_0= ruleNamedTemplateBinding ) ) (otherlv_2= ',' (
- // (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )* otherlv_4= '>'
- {
- otherlv_0 = (Token) match(input, 30, FOLLOW_30_in_ruleTemplateBinding3296);
-
- newLeafNode(otherlv_0, grammarAccess.getTemplateBindingAccess().getLessThanSignKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1553:1: ( (lv_bindings_1_0= ruleNamedTemplateBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1554:1: (lv_bindings_1_0= ruleNamedTemplateBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1554:1: (lv_bindings_1_0= ruleNamedTemplateBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1555:3: lv_bindings_1_0= ruleNamedTemplateBinding
- {
-
- newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3317);
- lv_bindings_1_0 = ruleNamedTemplateBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTemplateBindingRule());
- }
- add(
- current,
- "bindings",
- lv_bindings_1_0,
- "NamedTemplateBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1571:2: (otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) ) )*
- loop31: do {
- int alt31 = 2;
- int LA31_0 = input.LA(1);
-
- if ((LA31_0 == 17)) {
- alt31 = 1;
- }
-
-
- switch (alt31) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1571:4: otherlv_2= ',' ( (lv_bindings_3_0= ruleNamedTemplateBinding ) )
- {
- otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleTemplateBinding3330);
-
- newLeafNode(otherlv_2, grammarAccess.getTemplateBindingAccess().getCommaKeyword_2_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1575:1: ( (lv_bindings_3_0= ruleNamedTemplateBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1576:1: (lv_bindings_3_0= ruleNamedTemplateBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1576:1: (lv_bindings_3_0= ruleNamedTemplateBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1577:3: lv_bindings_3_0= ruleNamedTemplateBinding
- {
-
- newCompositeNode(grammarAccess.getTemplateBindingAccess().getBindingsNamedTemplateBindingParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3351);
- lv_bindings_3_0 = ruleNamedTemplateBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTemplateBindingRule());
- }
- add(
- current,
- "bindings",
- lv_bindings_3_0,
- "NamedTemplateBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop31;
- }
- } while (true);
-
- otherlv_4 = (Token) match(input, 31, FOLLOW_31_in_ruleTemplateBinding3365);
-
- newLeafNode(otherlv_4, grammarAccess.getTemplateBindingAccess().getGreaterThanSignKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleTemplateBinding"
-
-
- // $ANTLR start "entryRuleNamedTemplateBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1605:1: entryRuleNamedTemplateBinding returns [EObject current=null] : iv_ruleNamedTemplateBinding=
- // ruleNamedTemplateBinding EOF ;
- public final EObject entryRuleNamedTemplateBinding() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNamedTemplateBinding = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1606:2: (iv_ruleNamedTemplateBinding= ruleNamedTemplateBinding EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1607:2: iv_ruleNamedTemplateBinding= ruleNamedTemplateBinding EOF
- {
- newCompositeNode(grammarAccess.getNamedTemplateBindingRule());
- pushFollow(FOLLOW_ruleNamedTemplateBinding_in_entryRuleNamedTemplateBinding3401);
- iv_ruleNamedTemplateBinding = ruleNamedTemplateBinding();
-
- state._fsp--;
-
- current = iv_ruleNamedTemplateBinding;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNamedTemplateBinding3411);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNamedTemplateBinding"
-
-
- // $ANTLR start "ruleNamedTemplateBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1614:1: ruleNamedTemplateBinding returns [EObject current=null] : ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>'
- // ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) ) ) ;
- public final EObject ruleNamedTemplateBinding() throws RecognitionException {
- EObject current = null;
-
- Token lv_formal_0_0 = null;
- Token otherlv_1 = null;
- EObject lv_actual_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1617:28: ( ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding
- // ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:1: ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) )
- // )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:1: ( ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding
- // ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:2: ( (lv_formal_0_0= RULE_ID ) ) otherlv_1= '=>' ( (lv_actual_2_0= ruleQualifiedNameWithBinding )
- // )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1618:2: ( (lv_formal_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1619:1: (lv_formal_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1619:1: (lv_formal_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1620:3: lv_formal_0_0= RULE_ID
- {
- lv_formal_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleNamedTemplateBinding3453);
-
- newLeafNode(lv_formal_0_0, grammarAccess.getNamedTemplateBindingAccess().getFormalIDTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getNamedTemplateBindingRule());
- }
- setWithLastConsumed(
- current,
- "formal",
- lv_formal_0_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 32, FOLLOW_32_in_ruleNamedTemplateBinding3470);
-
- newLeafNode(otherlv_1, grammarAccess.getNamedTemplateBindingAccess().getEqualsSignGreaterThanSignKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1640:1: ( (lv_actual_2_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1641:1: (lv_actual_2_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1641:1: (lv_actual_2_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1642:3: lv_actual_2_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getNamedTemplateBindingAccess().getActualQualifiedNameWithBindingParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleNamedTemplateBinding3491);
- lv_actual_2_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNamedTemplateBindingRule());
- }
- set(
- current,
- "actual",
- lv_actual_2_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNamedTemplateBinding"
-
-
- // $ANTLR start "entryRuleQualifiedNameWithBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1666:1: entryRuleQualifiedNameWithBinding returns [EObject current=null] : iv_ruleQualifiedNameWithBinding=
- // ruleQualifiedNameWithBinding EOF ;
- public final EObject entryRuleQualifiedNameWithBinding() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleQualifiedNameWithBinding = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1667:2: (iv_ruleQualifiedNameWithBinding= ruleQualifiedNameWithBinding EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1668:2: iv_ruleQualifiedNameWithBinding= ruleQualifiedNameWithBinding EOF
- {
- newCompositeNode(grammarAccess.getQualifiedNameWithBindingRule());
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_entryRuleQualifiedNameWithBinding3527);
- iv_ruleQualifiedNameWithBinding = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
- current = iv_ruleQualifiedNameWithBinding;
- match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNameWithBinding3537);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleQualifiedNameWithBinding"
-
-
- // $ANTLR start "ruleQualifiedNameWithBinding"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1675:1: ruleQualifiedNameWithBinding returns [EObject current=null] : ( ( (lv_id_0_0= RULE_ID ) ) (
- // (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) ;
- public final EObject ruleQualifiedNameWithBinding() throws RecognitionException {
- EObject current = null;
-
- Token lv_id_0_0 = null;
- Token otherlv_2 = null;
- EObject lv_binding_1_0 = null;
-
- EObject lv_remaining_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1678:28: ( ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' (
- // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:1: ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' (
- // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:1: ( ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' (
- // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:2: ( (lv_id_0_0= RULE_ID ) ) ( (lv_binding_1_0= ruleTemplateBinding ) )? (otherlv_2= '::' (
- // (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1679:2: ( (lv_id_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1680:1: (lv_id_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1680:1: (lv_id_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1681:3: lv_id_0_0= RULE_ID
- {
- lv_id_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleQualifiedNameWithBinding3579);
-
- newLeafNode(lv_id_0_0, grammarAccess.getQualifiedNameWithBindingAccess().getIdIDTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getQualifiedNameWithBindingRule());
- }
- setWithLastConsumed(
- current,
- "id",
- lv_id_0_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1697:2: ( (lv_binding_1_0= ruleTemplateBinding ) )?
- int alt32 = 2;
- int LA32_0 = input.LA(1);
-
- if ((LA32_0 == 30)) {
- int LA32_1 = input.LA(2);
-
- if ((LA32_1 == RULE_ID)) {
- int LA32_3 = input.LA(3);
-
- if ((LA32_3 == 32)) {
- alt32 = 1;
- }
- }
- }
- switch (alt32) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1698:1: (lv_binding_1_0= ruleTemplateBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1698:1: (lv_binding_1_0= ruleTemplateBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1699:3: lv_binding_1_0= ruleTemplateBinding
- {
-
- newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getBindingTemplateBindingParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleTemplateBinding_in_ruleQualifiedNameWithBinding3605);
- lv_binding_1_0 = ruleTemplateBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule());
- }
- set(
- current,
- "binding",
- lv_binding_1_0,
- "TemplateBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1715:3: (otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) ) )?
- int alt33 = 2;
- int LA33_0 = input.LA(1);
-
- if ((LA33_0 == 29)) {
- alt33 = 1;
- }
- switch (alt33) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1715:5: otherlv_2= '::' ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) )
- {
- otherlv_2 = (Token) match(input, 29, FOLLOW_29_in_ruleQualifiedNameWithBinding3619);
-
- newLeafNode(otherlv_2, grammarAccess.getQualifiedNameWithBindingAccess().getColonColonKeyword_2_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1719:1: ( (lv_remaining_3_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1720:1: (lv_remaining_3_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1720:1: (lv_remaining_3_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1721:3: lv_remaining_3_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getQualifiedNameWithBindingAccess().getRemainingQualifiedNameWithBindingParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameWithBinding3640);
- lv_remaining_3_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNameWithBindingRule());
- }
- set(
- current,
- "remaining",
- lv_remaining_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleQualifiedNameWithBinding"
-
-
- // $ANTLR start "entryRuleTuple"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1745: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1746:2: (iv_ruleTuple= ruleTuple EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1747:2: iv_ruleTuple= ruleTuple EOF
- {
- newCompositeNode(grammarAccess.getTupleRule());
- pushFollow(FOLLOW_ruleTuple_in_entryRuleTuple3678);
- iv_ruleTuple = ruleTuple();
-
- state._fsp--;
-
- current = iv_ruleTuple;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTuple3688);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleTuple"
-
-
- // $ANTLR start "ruleTuple"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1754:1: ruleTuple returns [EObject current=null] : ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement
- // ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) ;
- public final EObject ruleTuple() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- EObject lv_tupleElements_2_0 = null;
-
- EObject lv_tupleElements_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1757:28: ( ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' (
- // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:1: ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' (
- // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:1: ( () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' (
- // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:2: () otherlv_1= '(' ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' (
- // (lv_tupleElements_4_0= ruleTupleElement ) ) )* )? otherlv_5= ')'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1758:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1759:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getTupleAccess().getTupleAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleTuple3734);
-
- newLeafNode(otherlv_1, grammarAccess.getTupleAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:1: ( ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0=
- // ruleTupleElement ) ) )* )?
- int alt35 = 2;
- int LA35_0 = input.LA(1);
-
- if (((LA35_0 >= RULE_ID && LA35_0 <= RULE_STRING) || LA35_0 == 15 || LA35_0 == 24 || (LA35_0 >= 27 && LA35_0 <= 28) || (LA35_0 >= 48 && LA35_0 <= 49) || (LA35_0 >= 52 && LA35_0 <= 54) || (LA35_0 >= 59 && LA35_0 <= 62) || (LA35_0 >= 93 && LA35_0 <= 94))) {
- alt35 = 1;
- }
- switch (alt35) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:2: ( (lv_tupleElements_2_0= ruleTupleElement ) ) (otherlv_3= ',' ( (lv_tupleElements_4_0=
- // ruleTupleElement ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1768:2: ( (lv_tupleElements_2_0= ruleTupleElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1769:1: (lv_tupleElements_2_0= ruleTupleElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1769:1: (lv_tupleElements_2_0= ruleTupleElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1770:3: lv_tupleElements_2_0= ruleTupleElement
- {
-
- newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_0_0());
-
- pushFollow(FOLLOW_ruleTupleElement_in_ruleTuple3756);
- lv_tupleElements_2_0 = ruleTupleElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTupleRule());
- }
- add(
- current,
- "tupleElements",
- lv_tupleElements_2_0,
- "TupleElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1786:2: (otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) ) )*
- loop34: do {
- int alt34 = 2;
- int LA34_0 = input.LA(1);
-
- if ((LA34_0 == 17)) {
- alt34 = 1;
- }
-
-
- switch (alt34) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1786:4: otherlv_3= ',' ( (lv_tupleElements_4_0= ruleTupleElement ) )
- {
- otherlv_3 = (Token) match(input, 17, FOLLOW_17_in_ruleTuple3769);
-
- newLeafNode(otherlv_3, grammarAccess.getTupleAccess().getCommaKeyword_2_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1790:1: ( (lv_tupleElements_4_0= ruleTupleElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1791:1: (lv_tupleElements_4_0= ruleTupleElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1791:1: (lv_tupleElements_4_0= ruleTupleElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1792:3: lv_tupleElements_4_0= ruleTupleElement
- {
-
- newCompositeNode(grammarAccess.getTupleAccess().getTupleElementsTupleElementParserRuleCall_2_1_1_0());
-
- pushFollow(FOLLOW_ruleTupleElement_in_ruleTuple3790);
- lv_tupleElements_4_0 = ruleTupleElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTupleRule());
- }
- add(
- current,
- "tupleElements",
- lv_tupleElements_4_0,
- "TupleElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop34;
- }
- } while (true);
-
-
- }
- break;
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleTuple3806);
-
- newLeafNode(otherlv_5, grammarAccess.getTupleAccess().getRightParenthesisKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleTuple"
-
-
- // $ANTLR start "entryRuleTupleElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1820:1: entryRuleTupleElement returns [EObject current=null] : iv_ruleTupleElement= ruleTupleElement EOF ;
- public final EObject entryRuleTupleElement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleTupleElement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1821:2: (iv_ruleTupleElement= ruleTupleElement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1822:2: iv_ruleTupleElement= ruleTupleElement EOF
- {
- newCompositeNode(grammarAccess.getTupleElementRule());
- pushFollow(FOLLOW_ruleTupleElement_in_entryRuleTupleElement3842);
- iv_ruleTupleElement = ruleTupleElement();
-
- state._fsp--;
-
- current = iv_ruleTupleElement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleTupleElement3852);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleTupleElement"
-
-
- // $ANTLR start "ruleTupleElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1829:1: ruleTupleElement returns [EObject current=null] : ( (lv_argument_0_0= ruleExpression ) ) ;
- public final EObject ruleTupleElement() throws RecognitionException {
- EObject current = null;
-
- EObject lv_argument_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1832:28: ( ( (lv_argument_0_0= ruleExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1833:1: ( (lv_argument_0_0= ruleExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1833:1: ( (lv_argument_0_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1834:1: (lv_argument_0_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1834:1: (lv_argument_0_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1835:3: lv_argument_0_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getTupleElementAccess().getArgumentExpressionParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleTupleElement3897);
- lv_argument_0_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getTupleElementRule());
- }
- set(
- current,
- "argument",
- lv_argument_0_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleTupleElement"
-
-
- // $ANTLR start "entryRuleExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1859: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1860:2: (iv_ruleExpression= ruleExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1861:2: iv_ruleExpression= ruleExpression EOF
- {
- newCompositeNode(grammarAccess.getExpressionRule());
- pushFollow(FOLLOW_ruleExpression_in_entryRuleExpression3932);
- iv_ruleExpression = ruleExpression();
-
- state._fsp--;
-
- current = iv_ruleExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleExpression3942);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleExpression"
-
-
- // $ANTLR start "ruleExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1868:1: ruleExpression returns [EObject current=null] : this_ConditionalTestExpression_0=
- // ruleConditionalTestExpression ;
- public final EObject ruleExpression() throws RecognitionException {
- EObject current = null;
-
- EObject this_ConditionalTestExpression_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1871:28: (this_ConditionalTestExpression_0= ruleConditionalTestExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1873:5: this_ConditionalTestExpression_0= ruleConditionalTestExpression
- {
-
- newCompositeNode(grammarAccess.getExpressionAccess().getConditionalTestExpressionParserRuleCall());
-
- pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleExpression3988);
- this_ConditionalTestExpression_0 = ruleConditionalTestExpression();
-
- state._fsp--;
-
-
- current = this_ConditionalTestExpression_0;
- afterParserOrEnumRuleCall();
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleExpression"
-
-
- // $ANTLR start "entryRuleConditionalTestExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1889:1: entryRuleConditionalTestExpression returns [EObject current=null] : iv_ruleConditionalTestExpression=
- // ruleConditionalTestExpression EOF ;
- public final EObject entryRuleConditionalTestExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleConditionalTestExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1890:2: (iv_ruleConditionalTestExpression= ruleConditionalTestExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1891:2: iv_ruleConditionalTestExpression= ruleConditionalTestExpression EOF
- {
- newCompositeNode(grammarAccess.getConditionalTestExpressionRule());
- pushFollow(FOLLOW_ruleConditionalTestExpression_in_entryRuleConditionalTestExpression4022);
- iv_ruleConditionalTestExpression = ruleConditionalTestExpression();
-
- state._fsp--;
-
- current = iv_ruleConditionalTestExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalTestExpression4032);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleConditionalTestExpression"
-
-
- // $ANTLR start "ruleConditionalTestExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1898:1: ruleConditionalTestExpression returns [EObject current=null] : ( ( (lv_exp_0_0=
- // ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) ;
- public final EObject ruleConditionalTestExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_whenTrue_2_0 = null;
-
- EObject lv_whenFalse_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1901:28: ( ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0=
- // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:1: ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0=
- // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:1: ( ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0=
- // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:2: ( (lv_exp_0_0= ruleConditionalOrExpression ) ) (otherlv_1= '?' ( (lv_whenTrue_2_0=
- // ruleConditionalTestExpression ) ) otherlv_3= ':' ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1902:2: ( (lv_exp_0_0= ruleConditionalOrExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1903:1: (lv_exp_0_0= ruleConditionalOrExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1903:1: (lv_exp_0_0= ruleConditionalOrExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1904:3: lv_exp_0_0= ruleConditionalOrExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getExpConditionalOrExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleConditionalOrExpression_in_ruleConditionalTestExpression4078);
- lv_exp_0_0 = ruleConditionalOrExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- current,
- "exp",
- lv_exp_0_0,
- "ConditionalOrExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1920:2: (otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' (
- // (lv_whenFalse_4_0= ruleConditionalTestExpression ) ) )?
- int alt36 = 2;
- int LA36_0 = input.LA(1);
-
- if ((LA36_0 == 33)) {
- alt36 = 1;
- }
- switch (alt36) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1920:4: otherlv_1= '?' ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) ) otherlv_3= ':' (
- // (lv_whenFalse_4_0= ruleConditionalTestExpression ) )
- {
- otherlv_1 = (Token) match(input, 33, FOLLOW_33_in_ruleConditionalTestExpression4091);
-
- newLeafNode(otherlv_1, grammarAccess.getConditionalTestExpressionAccess().getQuestionMarkKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1924:1: ( (lv_whenTrue_2_0= ruleConditionalTestExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1925:1: (lv_whenTrue_2_0= ruleConditionalTestExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1925:1: (lv_whenTrue_2_0= ruleConditionalTestExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1926:3: lv_whenTrue_2_0= ruleConditionalTestExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenTrueConditionalTestExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4112);
- lv_whenTrue_2_0 = ruleConditionalTestExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- current,
- "whenTrue",
- lv_whenTrue_2_0,
- "ConditionalTestExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 14, FOLLOW_14_in_ruleConditionalTestExpression4124);
-
- newLeafNode(otherlv_3, grammarAccess.getConditionalTestExpressionAccess().getColonKeyword_1_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1946:1: ( (lv_whenFalse_4_0= ruleConditionalTestExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1947:1: (lv_whenFalse_4_0= ruleConditionalTestExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1947:1: (lv_whenFalse_4_0= ruleConditionalTestExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1948:3: lv_whenFalse_4_0= ruleConditionalTestExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalTestExpressionAccess().getWhenFalseConditionalTestExpressionParserRuleCall_1_3_0());
-
- pushFollow(FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4145);
- lv_whenFalse_4_0 = ruleConditionalTestExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalTestExpressionRule());
- }
- set(
- current,
- "whenFalse",
- lv_whenFalse_4_0,
- "ConditionalTestExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleConditionalTestExpression"
-
-
- // $ANTLR start "entryRuleConditionalOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1972:1: entryRuleConditionalOrExpression returns [EObject current=null] : iv_ruleConditionalOrExpression=
- // ruleConditionalOrExpression EOF ;
- public final EObject entryRuleConditionalOrExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleConditionalOrExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1973:2: (iv_ruleConditionalOrExpression= ruleConditionalOrExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1974:2: iv_ruleConditionalOrExpression= ruleConditionalOrExpression EOF
- {
- newCompositeNode(grammarAccess.getConditionalOrExpressionRule());
- pushFollow(FOLLOW_ruleConditionalOrExpression_in_entryRuleConditionalOrExpression4183);
- iv_ruleConditionalOrExpression = ruleConditionalOrExpression();
-
- state._fsp--;
-
- current = iv_ruleConditionalOrExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalOrExpression4193);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleConditionalOrExpression"
-
-
- // $ANTLR start "ruleConditionalOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1981:1: ruleConditionalOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleConditionalAndExpression
- // ) ) (otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) ) )* ) ;
- public final EObject ruleConditionalOrExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_exp_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1984:28: ( ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0=
- // ruleConditionalAndExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:1: ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0=
- // ruleConditionalAndExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:1: ( ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0=
- // ruleConditionalAndExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:2: ( (lv_exp_0_0= ruleConditionalAndExpression ) ) (otherlv_1= '||' ( (lv_exp_2_0=
- // ruleConditionalAndExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1985:2: ( (lv_exp_0_0= ruleConditionalAndExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1986:1: (lv_exp_0_0= ruleConditionalAndExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1986:1: (lv_exp_0_0= ruleConditionalAndExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:1987:3: lv_exp_0_0= ruleConditionalAndExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4239);
- lv_exp_0_0 = ruleConditionalAndExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "ConditionalAndExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2003:2: (otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) ) )*
- loop37: do {
- int alt37 = 2;
- int LA37_0 = input.LA(1);
-
- if ((LA37_0 == 34)) {
- alt37 = 1;
- }
-
-
- switch (alt37) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2003:4: otherlv_1= '||' ( (lv_exp_2_0= ruleConditionalAndExpression ) )
- {
- otherlv_1 = (Token) match(input, 34, FOLLOW_34_in_ruleConditionalOrExpression4252);
-
- newLeafNode(otherlv_1, grammarAccess.getConditionalOrExpressionAccess().getVerticalLineVerticalLineKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2007:1: ( (lv_exp_2_0= ruleConditionalAndExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2008:1: (lv_exp_2_0= ruleConditionalAndExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2008:1: (lv_exp_2_0= ruleConditionalAndExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2009:3: lv_exp_2_0= ruleConditionalAndExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalOrExpressionAccess().getExpConditionalAndExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4273);
- lv_exp_2_0 = ruleConditionalAndExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "ConditionalAndExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop37;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleConditionalOrExpression"
-
-
- // $ANTLR start "entryRuleConditionalAndExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2033:1: entryRuleConditionalAndExpression returns [EObject current=null] : iv_ruleConditionalAndExpression=
- // ruleConditionalAndExpression EOF ;
- public final EObject entryRuleConditionalAndExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleConditionalAndExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2034:2: (iv_ruleConditionalAndExpression= ruleConditionalAndExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2035:2: iv_ruleConditionalAndExpression= ruleConditionalAndExpression EOF
- {
- newCompositeNode(grammarAccess.getConditionalAndExpressionRule());
- pushFollow(FOLLOW_ruleConditionalAndExpression_in_entryRuleConditionalAndExpression4311);
- iv_ruleConditionalAndExpression = ruleConditionalAndExpression();
-
- state._fsp--;
-
- current = iv_ruleConditionalAndExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConditionalAndExpression4321);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleConditionalAndExpression"
-
-
- // $ANTLR start "ruleConditionalAndExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2042:1: ruleConditionalAndExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleInclusiveOrExpression )
- // ) (otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) )* ) ;
- public final EObject ruleConditionalAndExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_exp_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2045:28: ( ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0=
- // ruleInclusiveOrExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:1: ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0=
- // ruleInclusiveOrExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:1: ( ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0=
- // ruleInclusiveOrExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:2: ( (lv_exp_0_0= ruleInclusiveOrExpression ) ) (otherlv_1= '&&' ( (lv_exp_2_0=
- // ruleInclusiveOrExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2046:2: ( (lv_exp_0_0= ruleInclusiveOrExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2047:1: (lv_exp_0_0= ruleInclusiveOrExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2047:1: (lv_exp_0_0= ruleInclusiveOrExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2048:3: lv_exp_0_0= ruleInclusiveOrExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4367);
- lv_exp_0_0 = ruleInclusiveOrExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "InclusiveOrExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2064:2: (otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) ) )*
- loop38: do {
- int alt38 = 2;
- int LA38_0 = input.LA(1);
-
- if ((LA38_0 == 35)) {
- alt38 = 1;
- }
-
-
- switch (alt38) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2064:4: otherlv_1= '&&' ( (lv_exp_2_0= ruleInclusiveOrExpression ) )
- {
- otherlv_1 = (Token) match(input, 35, FOLLOW_35_in_ruleConditionalAndExpression4380);
-
- newLeafNode(otherlv_1, grammarAccess.getConditionalAndExpressionAccess().getAmpersandAmpersandKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2068:1: ( (lv_exp_2_0= ruleInclusiveOrExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2069:1: (lv_exp_2_0= ruleInclusiveOrExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2069:1: (lv_exp_2_0= ruleInclusiveOrExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2070:3: lv_exp_2_0= ruleInclusiveOrExpression
- {
-
- newCompositeNode(grammarAccess.getConditionalAndExpressionAccess().getExpInclusiveOrExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4401);
- lv_exp_2_0 = ruleInclusiveOrExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConditionalAndExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "InclusiveOrExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop38;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleConditionalAndExpression"
-
-
- // $ANTLR start "entryRuleInclusiveOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2094:1: entryRuleInclusiveOrExpression returns [EObject current=null] : iv_ruleInclusiveOrExpression=
- // ruleInclusiveOrExpression EOF ;
- public final EObject entryRuleInclusiveOrExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInclusiveOrExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2095:2: (iv_ruleInclusiveOrExpression= ruleInclusiveOrExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2096:2: iv_ruleInclusiveOrExpression= ruleInclusiveOrExpression EOF
- {
- newCompositeNode(grammarAccess.getInclusiveOrExpressionRule());
- pushFollow(FOLLOW_ruleInclusiveOrExpression_in_entryRuleInclusiveOrExpression4439);
- iv_ruleInclusiveOrExpression = ruleInclusiveOrExpression();
-
- state._fsp--;
-
- current = iv_ruleInclusiveOrExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleInclusiveOrExpression4449);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleInclusiveOrExpression"
-
-
- // $ANTLR start "ruleInclusiveOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2103:1: ruleInclusiveOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) )
- // (otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) )* ) ;
- public final EObject ruleInclusiveOrExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_exp_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2106:28: ( ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0=
- // ruleExclusiveOrExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:1: ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0=
- // ruleExclusiveOrExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:1: ( ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0=
- // ruleExclusiveOrExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:2: ( (lv_exp_0_0= ruleExclusiveOrExpression ) ) (otherlv_1= '|' ( (lv_exp_2_0=
- // ruleExclusiveOrExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2107:2: ( (lv_exp_0_0= ruleExclusiveOrExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2108:1: (lv_exp_0_0= ruleExclusiveOrExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2108:1: (lv_exp_0_0= ruleExclusiveOrExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2109:3: lv_exp_0_0= ruleExclusiveOrExpression
- {
-
- newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4495);
- lv_exp_0_0 = ruleExclusiveOrExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "ExclusiveOrExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2125:2: (otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) ) )*
- loop39: do {
- int alt39 = 2;
- int LA39_0 = input.LA(1);
-
- if ((LA39_0 == 36)) {
- alt39 = 1;
- }
-
-
- switch (alt39) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2125:4: otherlv_1= '|' ( (lv_exp_2_0= ruleExclusiveOrExpression ) )
- {
- otherlv_1 = (Token) match(input, 36, FOLLOW_36_in_ruleInclusiveOrExpression4508);
-
- newLeafNode(otherlv_1, grammarAccess.getInclusiveOrExpressionAccess().getVerticalLineKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2129:1: ( (lv_exp_2_0= ruleExclusiveOrExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2130:1: (lv_exp_2_0= ruleExclusiveOrExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2130:1: (lv_exp_2_0= ruleExclusiveOrExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2131:3: lv_exp_2_0= ruleExclusiveOrExpression
- {
-
- newCompositeNode(grammarAccess.getInclusiveOrExpressionAccess().getExpExclusiveOrExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4529);
- lv_exp_2_0 = ruleExclusiveOrExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInclusiveOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "ExclusiveOrExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop39;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleInclusiveOrExpression"
-
-
- // $ANTLR start "entryRuleExclusiveOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2155:1: entryRuleExclusiveOrExpression returns [EObject current=null] : iv_ruleExclusiveOrExpression=
- // ruleExclusiveOrExpression EOF ;
- public final EObject entryRuleExclusiveOrExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleExclusiveOrExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2156:2: (iv_ruleExclusiveOrExpression= ruleExclusiveOrExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2157:2: iv_ruleExclusiveOrExpression= ruleExclusiveOrExpression EOF
- {
- newCompositeNode(grammarAccess.getExclusiveOrExpressionRule());
- pushFollow(FOLLOW_ruleExclusiveOrExpression_in_entryRuleExclusiveOrExpression4567);
- iv_ruleExclusiveOrExpression = ruleExclusiveOrExpression();
-
- state._fsp--;
-
- current = iv_ruleExclusiveOrExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleExclusiveOrExpression4577);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleExclusiveOrExpression"
-
-
- // $ANTLR start "ruleExclusiveOrExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2164:1: ruleExclusiveOrExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAndExpression ) )
- // (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* ) ;
- public final EObject ruleExclusiveOrExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_exp_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2167:28: ( ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )*
- // ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:1: ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:1: ( ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )*
- // )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:2: ( (lv_exp_0_0= ruleAndExpression ) ) (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2168:2: ( (lv_exp_0_0= ruleAndExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2169:1: (lv_exp_0_0= ruleAndExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2169:1: (lv_exp_0_0= ruleAndExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2170:3: lv_exp_0_0= ruleAndExpression
- {
-
- newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4623);
- lv_exp_0_0 = ruleAndExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "AndExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2186:2: (otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) ) )*
- loop40: do {
- int alt40 = 2;
- int LA40_0 = input.LA(1);
-
- if ((LA40_0 == 37)) {
- alt40 = 1;
- }
-
-
- switch (alt40) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2186:4: otherlv_1= '^' ( (lv_exp_2_0= ruleAndExpression ) )
- {
- otherlv_1 = (Token) match(input, 37, FOLLOW_37_in_ruleExclusiveOrExpression4636);
-
- newLeafNode(otherlv_1, grammarAccess.getExclusiveOrExpressionAccess().getCircumflexAccentKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2190:1: ( (lv_exp_2_0= ruleAndExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2191:1: (lv_exp_2_0= ruleAndExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2191:1: (lv_exp_2_0= ruleAndExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2192:3: lv_exp_2_0= ruleAndExpression
- {
-
- newCompositeNode(grammarAccess.getExclusiveOrExpressionAccess().getExpAndExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4657);
- lv_exp_2_0 = ruleAndExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getExclusiveOrExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "AndExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop40;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleExclusiveOrExpression"
-
-
- // $ANTLR start "entryRuleAndExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2216:1: entryRuleAndExpression returns [EObject current=null] : iv_ruleAndExpression= ruleAndExpression EOF ;
- public final EObject entryRuleAndExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAndExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2217:2: (iv_ruleAndExpression= ruleAndExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2218:2: iv_ruleAndExpression= ruleAndExpression EOF
- {
- newCompositeNode(grammarAccess.getAndExpressionRule());
- pushFollow(FOLLOW_ruleAndExpression_in_entryRuleAndExpression4695);
- iv_ruleAndExpression = ruleAndExpression();
-
- state._fsp--;
-
- current = iv_ruleAndExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAndExpression4705);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAndExpression"
-
-
- // $ANTLR start "ruleAndExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2225:1: ruleAndExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1=
- // '&' ( (lv_exp_2_0= ruleEqualityExpression ) ) )* ) ;
- public final EObject ruleAndExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_exp_0_0 = null;
-
- EObject lv_exp_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2228:28: ( ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0=
- // ruleEqualityExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression
- // ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:1: ( ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0=
- // ruleEqualityExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:2: ( (lv_exp_0_0= ruleEqualityExpression ) ) (otherlv_1= '&' ( (lv_exp_2_0=
- // ruleEqualityExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2229:2: ( (lv_exp_0_0= ruleEqualityExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2230:1: (lv_exp_0_0= ruleEqualityExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2230:1: (lv_exp_0_0= ruleEqualityExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2231:3: lv_exp_0_0= ruleEqualityExpression
- {
-
- newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndExpression4751);
- lv_exp_0_0 = ruleEqualityExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAndExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2247:2: (otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression ) ) )*
- loop41: do {
- int alt41 = 2;
- int LA41_0 = input.LA(1);
-
- if ((LA41_0 == 38)) {
- alt41 = 1;
- }
-
-
- switch (alt41) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2247:4: otherlv_1= '&' ( (lv_exp_2_0= ruleEqualityExpression ) )
- {
- otherlv_1 = (Token) match(input, 38, FOLLOW_38_in_ruleAndExpression4764);
-
- newLeafNode(otherlv_1, grammarAccess.getAndExpressionAccess().getAmpersandKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2251:1: ( (lv_exp_2_0= ruleEqualityExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2252:1: (lv_exp_2_0= ruleEqualityExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2252:1: (lv_exp_2_0= ruleEqualityExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2253:3: lv_exp_2_0= ruleEqualityExpression
- {
-
- newCompositeNode(grammarAccess.getAndExpressionAccess().getExpEqualityExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleEqualityExpression_in_ruleAndExpression4785);
- lv_exp_2_0 = ruleEqualityExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAndExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "EqualityExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop41;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAndExpression"
-
-
- // $ANTLR start "entryRuleEqualityExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2277: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2278:2: (iv_ruleEqualityExpression= ruleEqualityExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2279:2: iv_ruleEqualityExpression= ruleEqualityExpression EOF
- {
- newCompositeNode(grammarAccess.getEqualityExpressionRule());
- pushFollow(FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression4823);
- iv_ruleEqualityExpression = ruleEqualityExpression();
-
- state._fsp--;
-
- current = iv_ruleEqualityExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleEqualityExpression4833);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleEqualityExpression"
-
-
- // $ANTLR start "ruleEqualityExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2286:1: ruleEqualityExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleClassificationExpression ) )
- // ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* ) ;
- 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;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2289:28: ( ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) )
- // ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:1: ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) (
- // (lv_exp_2_0= ruleClassificationExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:1: ( ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) )
- // ) ( (lv_exp_2_0= ruleClassificationExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:2: ( (lv_exp_0_0= ruleClassificationExpression ) ) ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) )
- // ( (lv_exp_2_0= ruleClassificationExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2290:2: ( (lv_exp_0_0= ruleClassificationExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2291:1: (lv_exp_0_0= ruleClassificationExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2291:1: (lv_exp_0_0= ruleClassificationExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2292:3: lv_exp_0_0= ruleClassificationExpression
- {
-
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4879);
- lv_exp_0_0 = ruleClassificationExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "ClassificationExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:2: ( ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0= ruleClassificationExpression
- // ) ) )*
- loop43: do {
- int alt43 = 2;
- int LA43_0 = input.LA(1);
-
- if (((LA43_0 >= 39 && LA43_0 <= 40))) {
- alt43 = 1;
- }
-
-
- switch (alt43) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) ) ( (lv_exp_2_0=
- // ruleClassificationExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2308:3: ( ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2309:1: ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2309:1: ( (lv_op_1_1= '==' | lv_op_1_2= '!=' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2310:1: (lv_op_1_1= '==' | lv_op_1_2= '!=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2310:1: (lv_op_1_1= '==' | lv_op_1_2= '!=' )
- int alt42 = 2;
- int LA42_0 = input.LA(1);
-
- if ((LA42_0 == 39)) {
- alt42 = 1;
- }
- else if ((LA42_0 == 40)) {
- alt42 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 42, 0, input);
-
- throw nvae;
- }
- switch (alt42) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2311:3: lv_op_1_1= '=='
- {
- lv_op_1_1 = (Token) match(input, 39, FOLLOW_39_in_ruleEqualityExpression4900);
-
- newLeafNode(lv_op_1_1, grammarAccess.getEqualityExpressionAccess().getOpEqualsSignEqualsSignKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2323:8: lv_op_1_2= '!='
- {
- lv_op_1_2 = (Token) match(input, 40, FOLLOW_40_in_ruleEqualityExpression4929);
-
- newLeafNode(lv_op_1_2, grammarAccess.getEqualityExpressionAccess().getOpExclamationMarkEqualsSignKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getEqualityExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2338:2: ( (lv_exp_2_0= ruleClassificationExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2339:1: (lv_exp_2_0= ruleClassificationExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2339:1: (lv_exp_2_0= ruleClassificationExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2340:3: lv_exp_2_0= ruleClassificationExpression
- {
-
- newCompositeNode(grammarAccess.getEqualityExpressionAccess().getExpClassificationExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4966);
- lv_exp_2_0 = ruleClassificationExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getEqualityExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "ClassificationExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop43;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleEqualityExpression"
-
-
- // $ANTLR start "entryRuleClassificationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2364:1: entryRuleClassificationExpression returns [EObject current=null] : iv_ruleClassificationExpression=
- // ruleClassificationExpression EOF ;
- public final EObject entryRuleClassificationExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassificationExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2365:2: (iv_ruleClassificationExpression= ruleClassificationExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2366:2: iv_ruleClassificationExpression= ruleClassificationExpression EOF
- {
- newCompositeNode(grammarAccess.getClassificationExpressionRule());
- pushFollow(FOLLOW_ruleClassificationExpression_in_entryRuleClassificationExpression5004);
- iv_ruleClassificationExpression = ruleClassificationExpression();
-
- state._fsp--;
-
- current = iv_ruleClassificationExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationExpression5014);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassificationExpression"
-
-
- // $ANTLR start "ruleClassificationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2373:1: ruleClassificationExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleRelationalExpression )
- // ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) ;
- public final EObject ruleClassificationExpression() 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_typeName_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2376:28: ( ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2=
- // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2=
- // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:1: ( ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2=
- // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:2: ( (lv_exp_0_0= ruleRelationalExpression ) ) ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2=
- // 'hastype' ) ) ) ( (lv_typeName_2_0= ruleNameExpression ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2377:2: ( (lv_exp_0_0= ruleRelationalExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2378:1: (lv_exp_0_0= ruleRelationalExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2378:1: (lv_exp_0_0= ruleRelationalExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2379:3: lv_exp_0_0= ruleRelationalExpression
- {
-
- newCompositeNode(grammarAccess.getClassificationExpressionAccess().getExpRelationalExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleRelationalExpression_in_ruleClassificationExpression5060);
- lv_exp_0_0 = ruleRelationalExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationExpressionRule());
- }
- set(
- current,
- "exp",
- lv_exp_0_0,
- "RelationalExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:2: ( ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0=
- // ruleNameExpression ) ) )?
- int alt45 = 2;
- int LA45_0 = input.LA(1);
-
- if (((LA45_0 >= 41 && LA45_0 <= 42))) {
- alt45 = 1;
- }
- switch (alt45) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:3: ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) ) ( (lv_typeName_2_0=
- // ruleNameExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2395:3: ( ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2396:1: ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2396:1: ( (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2397:1: (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2397:1: (lv_op_1_1= 'instanceof' | lv_op_1_2= 'hastype' )
- int alt44 = 2;
- int LA44_0 = input.LA(1);
-
- if ((LA44_0 == 41)) {
- alt44 = 1;
- }
- else if ((LA44_0 == 42)) {
- alt44 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 44, 0, input);
-
- throw nvae;
- }
- switch (alt44) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2398:3: lv_op_1_1= 'instanceof'
- {
- lv_op_1_1 = (Token) match(input, 41, FOLLOW_41_in_ruleClassificationExpression5081);
-
- newLeafNode(lv_op_1_1, grammarAccess.getClassificationExpressionAccess().getOpInstanceofKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getClassificationExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2410:8: lv_op_1_2= 'hastype'
- {
- lv_op_1_2 = (Token) match(input, 42, FOLLOW_42_in_ruleClassificationExpression5110);
-
- newLeafNode(lv_op_1_2, grammarAccess.getClassificationExpressionAccess().getOpHastypeKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getClassificationExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2425:2: ( (lv_typeName_2_0= ruleNameExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2426:1: (lv_typeName_2_0= ruleNameExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2426:1: (lv_typeName_2_0= ruleNameExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2427:3: lv_typeName_2_0= ruleNameExpression
- {
-
- newCompositeNode(grammarAccess.getClassificationExpressionAccess().getTypeNameNameExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleNameExpression_in_ruleClassificationExpression5147);
- lv_typeName_2_0 = ruleNameExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationExpressionRule());
- }
- set(
- current,
- "typeName",
- lv_typeName_2_0,
- "NameExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassificationExpression"
-
-
- // $ANTLR start "entryRuleRelationalExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2451: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2452:2: (iv_ruleRelationalExpression= ruleRelationalExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2453:2: iv_ruleRelationalExpression= ruleRelationalExpression EOF
- {
- newCompositeNode(grammarAccess.getRelationalExpressionRule());
- pushFollow(FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression5185);
- iv_ruleRelationalExpression = ruleRelationalExpression();
-
- state._fsp--;
-
- current = iv_ruleRelationalExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleRelationalExpression5195);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleRelationalExpression"
-
-
- // $ANTLR start "ruleRelationalExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2460:1: ruleRelationalExpression returns [EObject current=null] : ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( (
- // (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) ;
- 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_left_0_0 = null;
-
- EObject lv_right_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2463:28: ( ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3=
- // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:1: ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<='
- // | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:1: ( ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3=
- // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:2: ( (lv_left_0_0= ruleShiftExpression ) ) ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3=
- // '<=' | lv_op_1_4= '>=' ) ) ) ( (lv_right_2_0= ruleShiftExpression ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2464:2: ( (lv_left_0_0= ruleShiftExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2465:1: (lv_left_0_0= ruleShiftExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2465:1: (lv_left_0_0= ruleShiftExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2466:3: lv_left_0_0= ruleShiftExpression
- {
-
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getLeftShiftExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5241);
- lv_left_0_0 = ruleShiftExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- set(
- current,
- "left",
- lv_left_0_0,
- "ShiftExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:2: ( ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) (
- // (lv_right_2_0= ruleShiftExpression ) ) )?
- int alt47 = 2;
- int LA47_0 = input.LA(1);
-
- if (((LA47_0 >= 30 && LA47_0 <= 31) || (LA47_0 >= 43 && LA47_0 <= 44))) {
- alt47 = 1;
- }
- switch (alt47) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) ) (
- // (lv_right_2_0= ruleShiftExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2482:3: ( ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2483:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2483:1: ( (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2484:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2484:1: (lv_op_1_1= '<' | lv_op_1_2= '>' | lv_op_1_3= '<=' | lv_op_1_4= '>=' )
- int alt46 = 4;
- switch (input.LA(1)) {
- case 30: {
- alt46 = 1;
- }
- break;
- case 31: {
- alt46 = 2;
- }
- break;
- case 43: {
- alt46 = 3;
- }
- break;
- case 44: {
- alt46 = 4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 46, 0, input);
-
- throw nvae;
- }
-
- switch (alt46) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2485:3: lv_op_1_1= '<'
- {
- lv_op_1_1 = (Token) match(input, 30, FOLLOW_30_in_ruleRelationalExpression5262);
-
- newLeafNode(lv_op_1_1, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2497:8: lv_op_1_2= '>'
- {
- lv_op_1_2 = (Token) match(input, 31, FOLLOW_31_in_ruleRelationalExpression5291);
-
- newLeafNode(lv_op_1_2, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2509:8: lv_op_1_3= '<='
- {
- lv_op_1_3 = (Token) match(input, 43, FOLLOW_43_in_ruleRelationalExpression5320);
-
- newLeafNode(lv_op_1_3, grammarAccess.getRelationalExpressionAccess().getOpLessThanSignEqualsSignKeyword_1_0_0_2());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_3, null);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2521:8: lv_op_1_4= '>='
- {
- lv_op_1_4 = (Token) match(input, 44, FOLLOW_44_in_ruleRelationalExpression5349);
-
- newLeafNode(lv_op_1_4, grammarAccess.getRelationalExpressionAccess().getOpGreaterThanSignEqualsSignKeyword_1_0_0_3());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getRelationalExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_4, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2536:2: ( (lv_right_2_0= ruleShiftExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2537:1: (lv_right_2_0= ruleShiftExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2537:1: (lv_right_2_0= ruleShiftExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2538:3: lv_right_2_0= ruleShiftExpression
- {
-
- newCompositeNode(grammarAccess.getRelationalExpressionAccess().getRightShiftExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5386);
- lv_right_2_0 = ruleShiftExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getRelationalExpressionRule());
- }
- set(
- current,
- "right",
- lv_right_2_0,
- "ShiftExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleRelationalExpression"
-
-
- // $ANTLR start "entryRuleShiftExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2562:1: entryRuleShiftExpression returns [EObject current=null] : iv_ruleShiftExpression= ruleShiftExpression EOF
- // ;
- public final EObject entryRuleShiftExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleShiftExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2563:2: (iv_ruleShiftExpression= ruleShiftExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2564:2: iv_ruleShiftExpression= ruleShiftExpression EOF
- {
- newCompositeNode(grammarAccess.getShiftExpressionRule());
- pushFollow(FOLLOW_ruleShiftExpression_in_entryRuleShiftExpression5424);
- iv_ruleShiftExpression = ruleShiftExpression();
-
- state._fsp--;
-
- current = iv_ruleShiftExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleShiftExpression5434);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleShiftExpression"
-
-
- // $ANTLR start "ruleShiftExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2571:1: ruleShiftExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( (
- // (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) ;
- public final EObject ruleShiftExpression() 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;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2574:28: ( ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' |
- // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3=
- // '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:1: ( ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' |
- // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:2: ( (lv_exp_0_0= ruleAdditiveExpression ) ) ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' |
- // lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0= ruleAdditiveExpression ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2575:2: ( (lv_exp_0_0= ruleAdditiveExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2576:1: (lv_exp_0_0= ruleAdditiveExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2576:1: (lv_exp_0_0= ruleAdditiveExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2577:3: lv_exp_0_0= ruleAdditiveExpression
- {
-
- newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5480);
- lv_exp_0_0 = ruleAdditiveExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getShiftExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:2: ( ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0=
- // ruleAdditiveExpression ) ) )?
- int alt49 = 2;
- int LA49_0 = input.LA(1);
-
- if (((LA49_0 >= 45 && LA49_0 <= 47))) {
- alt49 = 1;
- }
- switch (alt49) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:3: ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) ) ( (lv_exp_2_0=
- // ruleAdditiveExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2593:3: ( ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2594:1: ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2594:1: ( (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2595:1: (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2595:1: (lv_op_1_1= '<<' | lv_op_1_2= '>>' | lv_op_1_3= '>>>' )
- int alt48 = 3;
- switch (input.LA(1)) {
- case 45: {
- alt48 = 1;
- }
- break;
- case 46: {
- alt48 = 2;
- }
- break;
- case 47: {
- alt48 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 48, 0, input);
-
- throw nvae;
- }
-
- switch (alt48) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2596:3: lv_op_1_1= '<<'
- {
- lv_op_1_1 = (Token) match(input, 45, FOLLOW_45_in_ruleShiftExpression5501);
-
- newLeafNode(lv_op_1_1, grammarAccess.getShiftExpressionAccess().getOpLessThanSignLessThanSignKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2608:8: lv_op_1_2= '>>'
- {
- lv_op_1_2 = (Token) match(input, 46, FOLLOW_46_in_ruleShiftExpression5530);
-
- newLeafNode(lv_op_1_2, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2620:8: lv_op_1_3= '>>>'
- {
- lv_op_1_3 = (Token) match(input, 47, FOLLOW_47_in_ruleShiftExpression5559);
-
- newLeafNode(lv_op_1_3, grammarAccess.getShiftExpressionAccess().getOpGreaterThanSignGreaterThanSignGreaterThanSignKeyword_1_0_0_2());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getShiftExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_1_3, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2635:2: ( (lv_exp_2_0= ruleAdditiveExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2636:1: (lv_exp_2_0= ruleAdditiveExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2636:1: (lv_exp_2_0= ruleAdditiveExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2637:3: lv_exp_2_0= ruleAdditiveExpression
- {
-
- newCompositeNode(grammarAccess.getShiftExpressionAccess().getExpAdditiveExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5596);
- lv_exp_2_0 = ruleAdditiveExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getShiftExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "AdditiveExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleShiftExpression"
-
-
- // $ANTLR start "entryRuleAdditiveExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2661: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2662:2: (iv_ruleAdditiveExpression= ruleAdditiveExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2663:2: iv_ruleAdditiveExpression= ruleAdditiveExpression EOF
- {
- newCompositeNode(grammarAccess.getAdditiveExpressionRule());
- pushFollow(FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression5634);
- iv_ruleAdditiveExpression = ruleAdditiveExpression();
-
- state._fsp--;
-
- current = iv_ruleAdditiveExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAdditiveExpression5644);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAdditiveExpression"
-
-
- // $ANTLR start "ruleAdditiveExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2670: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;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2673:28: ( ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) )
- // ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) (
- // (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:1: ( ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) )
- // ( (lv_exp_2_0= ruleMultiplicativeExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) ) ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) (
- // (lv_exp_2_0= ruleMultiplicativeExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2674:2: ( (lv_exp_0_0= ruleMultiplicativeExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2675:1: (lv_exp_0_0= ruleMultiplicativeExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2675:1: (lv_exp_0_0= ruleMultiplicativeExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2676:3: lv_exp_0_0= ruleMultiplicativeExpression
- {
-
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5690);
- lv_exp_0_0 = ruleMultiplicativeExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:2: ( ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression )
- // ) )*
- loop51: do {
- int alt51 = 2;
- int LA51_0 = input.LA(1);
-
- if (((LA51_0 >= 48 && LA51_0 <= 49))) {
- alt51 = 1;
- }
-
-
- switch (alt51) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) ) ( (lv_exp_2_0= ruleMultiplicativeExpression
- // ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2692:3: ( ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2693:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2693:1: ( (lv_op_1_1= '+' | lv_op_1_2= '-' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2694:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2694:1: (lv_op_1_1= '+' | lv_op_1_2= '-' )
- int alt50 = 2;
- int LA50_0 = input.LA(1);
-
- if ((LA50_0 == 48)) {
- alt50 = 1;
- }
- else if ((LA50_0 == 49)) {
- alt50 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 50, 0, input);
-
- throw nvae;
- }
- switch (alt50) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2695:3: lv_op_1_1= '+'
- {
- lv_op_1_1 = (Token) match(input, 48, FOLLOW_48_in_ruleAdditiveExpression5711);
-
- newLeafNode(lv_op_1_1, grammarAccess.getAdditiveExpressionAccess().getOpPlusSignKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2707:8: lv_op_1_2= '-'
- {
- lv_op_1_2 = (Token) match(input, 49, FOLLOW_49_in_ruleAdditiveExpression5740);
-
- newLeafNode(lv_op_1_2, grammarAccess.getAdditiveExpressionAccess().getOpHyphenMinusKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getAdditiveExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2722:2: ( (lv_exp_2_0= ruleMultiplicativeExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2723:1: (lv_exp_2_0= ruleMultiplicativeExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2723:1: (lv_exp_2_0= ruleMultiplicativeExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2724:3: lv_exp_2_0= ruleMultiplicativeExpression
- {
-
- newCompositeNode(grammarAccess.getAdditiveExpressionAccess().getExpMultiplicativeExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5777);
- lv_exp_2_0 = ruleMultiplicativeExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAdditiveExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "MultiplicativeExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop51;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAdditiveExpression"
-
-
- // $ANTLR start "entryRuleMultiplicativeExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2748: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2749:2: (iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2750:2: iv_ruleMultiplicativeExpression= ruleMultiplicativeExpression EOF
- {
- newCompositeNode(grammarAccess.getMultiplicativeExpressionRule());
- pushFollow(FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression5815);
- iv_ruleMultiplicativeExpression = ruleMultiplicativeExpression();
-
- state._fsp--;
-
- current = iv_ruleMultiplicativeExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleMultiplicativeExpression5825);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleMultiplicativeExpression"
-
-
- // $ANTLR start "ruleMultiplicativeExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2757:1: ruleMultiplicativeExpression returns [EObject current=null] : ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( (
- // ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (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;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2760:28: ( ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3=
- // '%' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' )
- // ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:1: ( ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3=
- // '%' ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:2: ( (lv_exp_0_0= ruleUnaryExpression ) ) ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%'
- // ) ) ) ( (lv_exp_2_0= ruleUnaryExpression ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2761:2: ( (lv_exp_0_0= ruleUnaryExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2762:1: (lv_exp_0_0= ruleUnaryExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2762:1: (lv_exp_0_0= ruleUnaryExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2763:3: lv_exp_0_0= ruleUnaryExpression
- {
-
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5871);
- lv_exp_0_0 = ruleUnaryExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_0_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:2: ( ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (lv_exp_2_0=
- // ruleUnaryExpression ) ) )*
- loop53: do {
- int alt53 = 2;
- int LA53_0 = input.LA(1);
-
- if ((LA53_0 == 24 || (LA53_0 >= 50 && LA53_0 <= 51))) {
- alt53 = 1;
- }
-
-
- switch (alt53) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) ) ( (lv_exp_2_0=
- // ruleUnaryExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2779:3: ( ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2780:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2780:1: ( (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2781:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2781:1: (lv_op_1_1= '*' | lv_op_1_2= '/' | lv_op_1_3= '%' )
- int alt52 = 3;
- switch (input.LA(1)) {
- case 24: {
- alt52 = 1;
- }
- break;
- case 50: {
- alt52 = 2;
- }
- break;
- case 51: {
- alt52 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 52, 0, input);
-
- throw nvae;
- }
-
- switch (alt52) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2782:3: lv_op_1_1= '*'
- {
- lv_op_1_1 = (Token) match(input, 24, FOLLOW_24_in_ruleMultiplicativeExpression5892);
-
- newLeafNode(lv_op_1_1, grammarAccess.getMultiplicativeExpressionAccess().getOpAsteriskKeyword_1_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2794:8: lv_op_1_2= '/'
- {
- lv_op_1_2 = (Token) match(input, 50, FOLLOW_50_in_ruleMultiplicativeExpression5921);
-
- newLeafNode(lv_op_1_2, grammarAccess.getMultiplicativeExpressionAccess().getOpSolidusKeyword_1_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_2, null);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2806:8: lv_op_1_3= '%'
- {
- lv_op_1_3 = (Token) match(input, 51, FOLLOW_51_in_ruleMultiplicativeExpression5950);
-
- newLeafNode(lv_op_1_3, grammarAccess.getMultiplicativeExpressionAccess().getOpPercentSignKeyword_1_0_0_2());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getMultiplicativeExpressionRule());
- }
- addWithLastConsumed(current, "op", lv_op_1_3, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2821:2: ( (lv_exp_2_0= ruleUnaryExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2822:1: (lv_exp_2_0= ruleUnaryExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2822:1: (lv_exp_2_0= ruleUnaryExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2823:3: lv_exp_2_0= ruleUnaryExpression
- {
-
- newCompositeNode(grammarAccess.getMultiplicativeExpressionAccess().getExpUnaryExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5987);
- lv_exp_2_0 = ruleUnaryExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getMultiplicativeExpressionRule());
- }
- add(
- current,
- "exp",
- lv_exp_2_0,
- "UnaryExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop53;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleMultiplicativeExpression"
-
-
- // $ANTLR start "entryRuleUnaryExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2847: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2848:2: (iv_ruleUnaryExpression= ruleUnaryExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2849:2: iv_ruleUnaryExpression= ruleUnaryExpression EOF
- {
- newCompositeNode(grammarAccess.getUnaryExpressionRule());
- pushFollow(FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression6025);
- iv_ruleUnaryExpression = ruleUnaryExpression();
-
- state._fsp--;
-
- current = iv_ruleUnaryExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleUnaryExpression6035);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleUnaryExpression"
-
-
- // $ANTLR start "ruleUnaryExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2856:1: ruleUnaryExpression returns [EObject current=null] : ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3=
- // '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )? ( (lv_exp_1_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;
- Token lv_op_0_4 = null;
- Token lv_op_0_5 = null;
- EObject lv_exp_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2859:28: ( ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) )
- // )? ( (lv_exp_1_0= rulePrimaryExpression ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:1: ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )? (
- // (lv_exp_1_0= rulePrimaryExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:1: ( ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) )
- // )? ( (lv_exp_1_0= rulePrimaryExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:2: ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) ) )?
- // ( (lv_exp_1_0= rulePrimaryExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2860:2: ( ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' )
- // ) )?
- int alt55 = 2;
- int LA55_0 = input.LA(1);
-
- if (((LA55_0 >= 48 && LA55_0 <= 49) || (LA55_0 >= 52 && LA55_0 <= 54))) {
- alt55 = 1;
- }
- switch (alt55) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2861:1: ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2861:1: ( (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~'
- // ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2862:1: (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5= '~' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2862:1: (lv_op_0_1= '!' | lv_op_0_2= '-' | lv_op_0_3= '+' | lv_op_0_4= '$' | lv_op_0_5=
- // '~' )
- int alt54 = 5;
- switch (input.LA(1)) {
- case 52: {
- alt54 = 1;
- }
- break;
- case 49: {
- alt54 = 2;
- }
- break;
- case 48: {
- alt54 = 3;
- }
- break;
- case 53: {
- alt54 = 4;
- }
- break;
- case 54: {
- alt54 = 5;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 54, 0, input);
-
- throw nvae;
- }
-
- switch (alt54) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2863:3: lv_op_0_1= '!'
- {
- lv_op_0_1 = (Token) match(input, 52, FOLLOW_52_in_ruleUnaryExpression6080);
-
- newLeafNode(lv_op_0_1, grammarAccess.getUnaryExpressionAccess().getOpExclamationMarkKeyword_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_0_1, null);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2875:8: lv_op_0_2= '-'
- {
- lv_op_0_2 = (Token) match(input, 49, FOLLOW_49_in_ruleUnaryExpression6109);
-
- newLeafNode(lv_op_0_2, grammarAccess.getUnaryExpressionAccess().getOpHyphenMinusKeyword_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_0_2, null);
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2887:8: lv_op_0_3= '+'
- {
- lv_op_0_3 = (Token) match(input, 48, FOLLOW_48_in_ruleUnaryExpression6138);
-
- newLeafNode(lv_op_0_3, grammarAccess.getUnaryExpressionAccess().getOpPlusSignKeyword_0_0_2());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_0_3, null);
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2899:8: lv_op_0_4= '$'
- {
- lv_op_0_4 = (Token) match(input, 53, FOLLOW_53_in_ruleUnaryExpression6167);
-
- newLeafNode(lv_op_0_4, grammarAccess.getUnaryExpressionAccess().getOpDollarSignKeyword_0_0_3());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_0_4, null);
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2911:8: lv_op_0_5= '~'
- {
- lv_op_0_5 = (Token) match(input, 54, FOLLOW_54_in_ruleUnaryExpression6196);
-
- newLeafNode(lv_op_0_5, grammarAccess.getUnaryExpressionAccess().getOpTildeKeyword_0_0_4());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getUnaryExpressionRule());
- }
- setWithLastConsumed(current, "op", lv_op_0_5, null);
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2926:3: ( (lv_exp_1_0= rulePrimaryExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2927:1: (lv_exp_1_0= rulePrimaryExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2927:1: (lv_exp_1_0= rulePrimaryExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2928:3: lv_exp_1_0= rulePrimaryExpression
- {
-
- newCompositeNode(grammarAccess.getUnaryExpressionAccess().getExpPrimaryExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression6234);
- lv_exp_1_0 = rulePrimaryExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getUnaryExpressionRule());
- }
- set(
- current,
- "exp",
- lv_exp_1_0,
- "PrimaryExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleUnaryExpression"
-
-
- // $ANTLR start "entryRulePrimaryExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2952: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2953:2: (iv_rulePrimaryExpression= rulePrimaryExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2954:2: iv_rulePrimaryExpression= rulePrimaryExpression EOF
- {
- newCompositeNode(grammarAccess.getPrimaryExpressionRule());
- pushFollow(FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression6270);
- iv_rulePrimaryExpression = rulePrimaryExpression();
-
- state._fsp--;
-
- current = iv_rulePrimaryExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRulePrimaryExpression6280);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRulePrimaryExpression"
-
-
- // $ANTLR start "rulePrimaryExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2961:1: rulePrimaryExpression returns [EObject current=null] : ( (lv_prefix_0_0= ruleValueSpecification ) ) ;
- public final EObject rulePrimaryExpression() throws RecognitionException {
- EObject current = null;
-
- EObject lv_prefix_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2964:28: ( ( (lv_prefix_0_0= ruleValueSpecification ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2965:1: ( (lv_prefix_0_0= ruleValueSpecification ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2965:1: ( (lv_prefix_0_0= ruleValueSpecification ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2966:1: (lv_prefix_0_0= ruleValueSpecification )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2966:1: (lv_prefix_0_0= ruleValueSpecification )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2967:3: lv_prefix_0_0= ruleValueSpecification
- {
-
- newCompositeNode(grammarAccess.getPrimaryExpressionAccess().getPrefixValueSpecificationParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleValueSpecification_in_rulePrimaryExpression6325);
- lv_prefix_0_0 = ruleValueSpecification();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getPrimaryExpressionRule());
- }
- set(
- current,
- "prefix",
- lv_prefix_0_0,
- "ValueSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "rulePrimaryExpression"
-
-
- // $ANTLR start "entryRuleSuffixExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2991: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2992:2: (iv_ruleSuffixExpression= ruleSuffixExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:2993:2: iv_ruleSuffixExpression= ruleSuffixExpression EOF
- {
- newCompositeNode(grammarAccess.getSuffixExpressionRule());
- pushFollow(FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression6360);
- iv_ruleSuffixExpression = ruleSuffixExpression();
-
- state._fsp--;
-
- current = iv_ruleSuffixExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSuffixExpression6370);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSuffixExpression"
-
-
- // $ANTLR start "ruleSuffixExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3000:1: ruleSuffixExpression returns [EObject current=null] : (this_OperationCallExpression_0=
- // ruleOperationCallExpression | this_PropertyCallExpression_1= rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression |
- // this_SequenceReductionExpression_4= ruleSequenceReductionExpression | this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) ;
- public final EObject ruleSuffixExpression() throws RecognitionException {
- EObject current = null;
-
- EObject this_OperationCallExpression_0 = null;
-
- EObject this_PropertyCallExpression_1 = null;
-
- EObject this_LinkOperationExpression_2 = null;
-
- EObject this_SequenceOperationExpression_3 = null;
-
- EObject this_SequenceReductionExpression_4 = null;
-
- EObject this_SequenceExpansionExpression_5 = null;
-
- EObject this_ClassExtentExpression_6 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3003:28: ( (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1=
- // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression |
- // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1=
- // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression |
- // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1=
- // rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression |
- // this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression )
- int alt56 = 7;
- alt56 = dfa56.predict(input);
- switch (alt56) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3005:5: this_OperationCallExpression_0= ruleOperationCallExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getOperationCallExpressionParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression6417);
- this_OperationCallExpression_0 = ruleOperationCallExpression();
-
- state._fsp--;
-
-
- current = this_OperationCallExpression_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3015:5: this_PropertyCallExpression_1= rulePropertyCallExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getPropertyCallExpressionParserRuleCall_1());
-
- pushFollow(FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression6444);
- this_PropertyCallExpression_1 = rulePropertyCallExpression();
-
- state._fsp--;
-
-
- current = this_PropertyCallExpression_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3025:5: this_LinkOperationExpression_2= ruleLinkOperationExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getLinkOperationExpressionParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleLinkOperationExpression_in_ruleSuffixExpression6471);
- this_LinkOperationExpression_2 = ruleLinkOperationExpression();
-
- state._fsp--;
-
-
- current = this_LinkOperationExpression_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3035:5: this_SequenceOperationExpression_3= ruleSequenceOperationExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceOperationExpressionParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleSequenceOperationExpression_in_ruleSuffixExpression6498);
- this_SequenceOperationExpression_3 = ruleSequenceOperationExpression();
-
- state._fsp--;
-
-
- current = this_SequenceOperationExpression_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3045:5: this_SequenceReductionExpression_4= ruleSequenceReductionExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceReductionExpressionParserRuleCall_4());
-
- pushFollow(FOLLOW_ruleSequenceReductionExpression_in_ruleSuffixExpression6525);
- this_SequenceReductionExpression_4 = ruleSequenceReductionExpression();
-
- state._fsp--;
-
-
- current = this_SequenceReductionExpression_4;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3055:5: this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getSequenceExpansionExpressionParserRuleCall_5());
-
- pushFollow(FOLLOW_ruleSequenceExpansionExpression_in_ruleSuffixExpression6552);
- this_SequenceExpansionExpression_5 = ruleSequenceExpansionExpression();
-
- state._fsp--;
-
-
- current = this_SequenceExpansionExpression_5;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3065:5: this_ClassExtentExpression_6= ruleClassExtentExpression
- {
-
- newCompositeNode(grammarAccess.getSuffixExpressionAccess().getClassExtentExpressionParserRuleCall_6());
-
- pushFollow(FOLLOW_ruleClassExtentExpression_in_ruleSuffixExpression6579);
- this_ClassExtentExpression_6 = ruleClassExtentExpression();
-
- state._fsp--;
-
-
- current = this_ClassExtentExpression_6;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSuffixExpression"
-
-
- // $ANTLR start "entryRuleOperationCallExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3081: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3082:2: (iv_ruleOperationCallExpression= ruleOperationCallExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3083:2: iv_ruleOperationCallExpression= ruleOperationCallExpression EOF
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionRule());
- pushFollow(FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression6614);
- iv_ruleOperationCallExpression = ruleOperationCallExpression();
-
- state._fsp--;
-
- current = iv_ruleOperationCallExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleOperationCallExpression6624);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleOperationCallExpression"
-
-
- // $ANTLR start "ruleOperationCallExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3090:1: ruleOperationCallExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_operationName_1_0=
- // RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( (lv_suffix_3_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleOperationCallExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_operationName_1_0 = null;
- EObject lv_tuple_2_0 = null;
-
- EObject lv_suffix_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3093:28: ( (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:1: (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:1: (otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3094:3: otherlv_0= '.' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_ruleOperationCallExpression6661);
-
- newLeafNode(otherlv_0, grammarAccess.getOperationCallExpressionAccess().getFullStopKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3098:1: ( (lv_operationName_1_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3099:1: (lv_operationName_1_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3099:1: (lv_operationName_1_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3100:3: lv_operationName_1_0= RULE_ID
- {
- lv_operationName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationCallExpression6678);
-
- newLeafNode(lv_operationName_1_0, grammarAccess.getOperationCallExpressionAccess().getOperationNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getOperationCallExpressionRule());
- }
- setWithLastConsumed(
- current,
- "operationName",
- lv_operationName_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3116:2: ( (lv_tuple_2_0= ruleTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3117:1: (lv_tuple_2_0= ruleTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3117:1: (lv_tuple_2_0= ruleTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3118:3: lv_tuple_2_0= ruleTuple
- {
-
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getTupleTupleParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleTuple_in_ruleOperationCallExpression6704);
- lv_tuple_2_0 = ruleTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3134:2: ( (lv_suffix_3_0= ruleSuffixExpression ) )?
- int alt57 = 2;
- int LA57_0 = input.LA(1);
-
- if (((LA57_0 >= 55 && LA57_0 <= 56))) {
- alt57 = 1;
- }
- switch (alt57) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3135:1: (lv_suffix_3_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3135:1: (lv_suffix_3_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3136:3: lv_suffix_3_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getOperationCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression6725);
- lv_suffix_3_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationCallExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_3_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleOperationCallExpression"
-
-
- // $ANTLR start "entryRuleOperationCallExpressionWithoutDot"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3160:1: entryRuleOperationCallExpressionWithoutDot returns [EObject current=null] :
- // iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF ;
- public final EObject entryRuleOperationCallExpressionWithoutDot() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleOperationCallExpressionWithoutDot = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3161:2: (iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3162:2: iv_ruleOperationCallExpressionWithoutDot= ruleOperationCallExpressionWithoutDot EOF
- {
- newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotRule());
- pushFollow(FOLLOW_ruleOperationCallExpressionWithoutDot_in_entryRuleOperationCallExpressionWithoutDot6762);
- iv_ruleOperationCallExpressionWithoutDot = ruleOperationCallExpressionWithoutDot();
-
- state._fsp--;
-
- current = iv_ruleOperationCallExpressionWithoutDot;
- match(input, EOF, FOLLOW_EOF_in_entryRuleOperationCallExpressionWithoutDot6772);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleOperationCallExpressionWithoutDot"
-
-
- // $ANTLR start "ruleOperationCallExpressionWithoutDot"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3169:1: ruleOperationCallExpressionWithoutDot returns [EObject current=null] : ( ( (lv_operationName_0_0= RULE_ID
- // ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleOperationCallExpressionWithoutDot() throws RecognitionException {
- EObject current = null;
-
- Token lv_operationName_0_0 = null;
- EObject lv_tuple_1_0 = null;
-
- EObject lv_suffix_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3172:28: ( ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0=
- // ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:1: ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0=
- // ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:1: ( ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0=
- // ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:2: ( (lv_operationName_0_0= RULE_ID ) ) ( (lv_tuple_1_0= ruleTuple ) ) ( (lv_suffix_2_0=
- // ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3173:2: ( (lv_operationName_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3174:1: (lv_operationName_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3174:1: (lv_operationName_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3175:3: lv_operationName_0_0= RULE_ID
- {
- lv_operationName_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleOperationCallExpressionWithoutDot6814);
-
- newLeafNode(lv_operationName_0_0, grammarAccess.getOperationCallExpressionWithoutDotAccess().getOperationNameIDTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- setWithLastConsumed(
- current,
- "operationName",
- lv_operationName_0_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3191:2: ( (lv_tuple_1_0= ruleTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3192:1: (lv_tuple_1_0= ruleTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3192:1: (lv_tuple_1_0= ruleTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3193:3: lv_tuple_1_0= ruleTuple
- {
-
- newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getTupleTupleParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleTuple_in_ruleOperationCallExpressionWithoutDot6840);
- lv_tuple_1_0 = ruleTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- set(
- current,
- "tuple",
- lv_tuple_1_0,
- "Tuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3209:2: ( (lv_suffix_2_0= ruleSuffixExpression ) )?
- int alt58 = 2;
- int LA58_0 = input.LA(1);
-
- if (((LA58_0 >= 55 && LA58_0 <= 56))) {
- alt58 = 1;
- }
- switch (alt58) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3210:1: (lv_suffix_2_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3210:1: (lv_suffix_2_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3211:3: lv_suffix_2_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getOperationCallExpressionWithoutDotAccess().getSuffixSuffixExpressionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpressionWithoutDot6861);
- lv_suffix_2_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getOperationCallExpressionWithoutDotRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleOperationCallExpressionWithoutDot"
-
-
- // $ANTLR start "entryRulePropertyCallExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3235: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3236:2: (iv_rulePropertyCallExpression= rulePropertyCallExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3237:2: iv_rulePropertyCallExpression= rulePropertyCallExpression EOF
- {
- newCompositeNode(grammarAccess.getPropertyCallExpressionRule());
- pushFollow(FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression6898);
- iv_rulePropertyCallExpression = rulePropertyCallExpression();
-
- state._fsp--;
-
- current = iv_rulePropertyCallExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRulePropertyCallExpression6908);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRulePropertyCallExpression"
-
-
- // $ANTLR start "rulePropertyCallExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3244:1: rulePropertyCallExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_propertyName_1_0=
- // RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) ;
- public final EObject rulePropertyCallExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_propertyName_1_0 = null;
- Token otherlv_2 = null;
- Token otherlv_4 = null;
- EObject lv_index_3_0 = null;
-
- EObject lv_suffix_5_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3247:28: ( (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0=
- // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:1: (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0=
- // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:1: (otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0=
- // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3248:3: otherlv_0= '.' ( (lv_propertyName_1_0= RULE_ID ) ) (otherlv_2= '[' ( (lv_index_3_0=
- // ruleExpression ) ) otherlv_4= ']' )? ( (lv_suffix_5_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_rulePropertyCallExpression6945);
-
- newLeafNode(otherlv_0, grammarAccess.getPropertyCallExpressionAccess().getFullStopKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3252:1: ( (lv_propertyName_1_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3253:1: (lv_propertyName_1_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3253:1: (lv_propertyName_1_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3254:3: lv_propertyName_1_0= RULE_ID
- {
- lv_propertyName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_rulePropertyCallExpression6962);
-
- newLeafNode(lv_propertyName_1_0, grammarAccess.getPropertyCallExpressionAccess().getPropertyNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getPropertyCallExpressionRule());
- }
- setWithLastConsumed(
- current,
- "propertyName",
- lv_propertyName_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3270:2: (otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']' )?
- int alt59 = 2;
- int LA59_0 = input.LA(1);
-
- if ((LA59_0 == 18)) {
- int LA59_1 = input.LA(2);
-
- if (((LA59_1 >= RULE_ID && LA59_1 <= RULE_STRING) || LA59_1 == 15 || LA59_1 == 24 || (LA59_1 >= 27 && LA59_1 <= 28) || (LA59_1 >= 48 && LA59_1 <= 49) || (LA59_1 >= 52 && LA59_1 <= 54) || (LA59_1 >= 59 && LA59_1 <= 62) || (LA59_1 >= 93 && LA59_1 <= 94))) {
- alt59 = 1;
- }
- }
- switch (alt59) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3270:4: otherlv_2= '[' ( (lv_index_3_0= ruleExpression ) ) otherlv_4= ']'
- {
- otherlv_2 = (Token) match(input, 18, FOLLOW_18_in_rulePropertyCallExpression6980);
-
- newLeafNode(otherlv_2, grammarAccess.getPropertyCallExpressionAccess().getLeftSquareBracketKeyword_2_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3274:1: ( (lv_index_3_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3275:1: (lv_index_3_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3275:1: (lv_index_3_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3276:3: lv_index_3_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getIndexExpressionParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_rulePropertyCallExpression7001);
- lv_index_3_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule());
- }
- set(
- current,
- "index",
- lv_index_3_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_4 = (Token) match(input, 19, FOLLOW_19_in_rulePropertyCallExpression7013);
-
- newLeafNode(otherlv_4, grammarAccess.getPropertyCallExpressionAccess().getRightSquareBracketKeyword_2_2());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3296:3: ( (lv_suffix_5_0= ruleSuffixExpression ) )?
- int alt60 = 2;
- int LA60_0 = input.LA(1);
-
- if (((LA60_0 >= 55 && LA60_0 <= 56))) {
- alt60 = 1;
- }
- switch (alt60) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3297:1: (lv_suffix_5_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3297:1: (lv_suffix_5_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3298:3: lv_suffix_5_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getPropertyCallExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression7036);
- lv_suffix_5_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getPropertyCallExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_5_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "rulePropertyCallExpression"
-
-
- // $ANTLR start "entryRuleLinkOperationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3322:1: entryRuleLinkOperationExpression returns [EObject current=null] : iv_ruleLinkOperationExpression=
- // ruleLinkOperationExpression EOF ;
- public final EObject entryRuleLinkOperationExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLinkOperationExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3323:2: (iv_ruleLinkOperationExpression= ruleLinkOperationExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3324:2: iv_ruleLinkOperationExpression= ruleLinkOperationExpression EOF
- {
- newCompositeNode(grammarAccess.getLinkOperationExpressionRule());
- pushFollow(FOLLOW_ruleLinkOperationExpression_in_entryRuleLinkOperationExpression7073);
- iv_ruleLinkOperationExpression = ruleLinkOperationExpression();
-
- state._fsp--;
-
- current = iv_ruleLinkOperationExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationExpression7083);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLinkOperationExpression"
-
-
- // $ANTLR start "ruleLinkOperationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3331:1: ruleLinkOperationExpression returns [EObject current=null] : (otherlv_0= '.' ( (lv_kind_1_0=
- // ruleLinkOperationKind ) ) ( (lv_tuple_2_0= ruleLinkOperationTuple ) ) ) ;
- public final EObject ruleLinkOperationExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Enumerator lv_kind_1_0 = null;
-
- EObject lv_tuple_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3334:28: ( (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0=
- // ruleLinkOperationTuple ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:1: (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0= ruleLinkOperationTuple
- // ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:1: (otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0=
- // ruleLinkOperationTuple ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3335:3: otherlv_0= '.' ( (lv_kind_1_0= ruleLinkOperationKind ) ) ( (lv_tuple_2_0=
- // ruleLinkOperationTuple ) )
- {
- otherlv_0 = (Token) match(input, 55, FOLLOW_55_in_ruleLinkOperationExpression7120);
-
- newLeafNode(otherlv_0, grammarAccess.getLinkOperationExpressionAccess().getFullStopKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3339:1: ( (lv_kind_1_0= ruleLinkOperationKind ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3340:1: (lv_kind_1_0= ruleLinkOperationKind )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3340:1: (lv_kind_1_0= ruleLinkOperationKind )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3341:3: lv_kind_1_0= ruleLinkOperationKind
- {
-
- newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getKindLinkOperationKindEnumRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleLinkOperationKind_in_ruleLinkOperationExpression7141);
- lv_kind_1_0 = ruleLinkOperationKind();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule());
- }
- set(
- current,
- "kind",
- lv_kind_1_0,
- "LinkOperationKind");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3357:2: ( (lv_tuple_2_0= ruleLinkOperationTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3358:1: (lv_tuple_2_0= ruleLinkOperationTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3358:1: (lv_tuple_2_0= ruleLinkOperationTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3359:3: lv_tuple_2_0= ruleLinkOperationTuple
- {
-
- newCompositeNode(grammarAccess.getLinkOperationExpressionAccess().getTupleLinkOperationTupleParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleLinkOperationTuple_in_ruleLinkOperationExpression7162);
- lv_tuple_2_0 = ruleLinkOperationTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLinkOperationExpressionRule());
- }
- set(
- current,
- "tuple",
- lv_tuple_2_0,
- "LinkOperationTuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLinkOperationExpression"
-
-
- // $ANTLR start "entryRuleLinkOperationTuple"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3383:1: entryRuleLinkOperationTuple returns [EObject current=null] : iv_ruleLinkOperationTuple=
- // ruleLinkOperationTuple EOF ;
- public final EObject entryRuleLinkOperationTuple() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLinkOperationTuple = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3384:2: (iv_ruleLinkOperationTuple= ruleLinkOperationTuple EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3385:2: iv_ruleLinkOperationTuple= ruleLinkOperationTuple EOF
- {
- newCompositeNode(grammarAccess.getLinkOperationTupleRule());
- pushFollow(FOLLOW_ruleLinkOperationTuple_in_entryRuleLinkOperationTuple7198);
- iv_ruleLinkOperationTuple = ruleLinkOperationTuple();
-
- state._fsp--;
-
- current = iv_ruleLinkOperationTuple;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationTuple7208);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLinkOperationTuple"
-
-
- // $ANTLR start "ruleLinkOperationTuple"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3392:1: ruleLinkOperationTuple returns [EObject current=null] : (otherlv_0= '(' (
- // (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) ;
- public final EObject ruleLinkOperationTuple() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- Token otherlv_4 = null;
- EObject lv_linkOperationTupleElement_1_0 = null;
-
- EObject lv_linkOperationTupleElement_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3395:28: ( (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) )
- // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:1: (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) ) (otherlv_2=
- // ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:1: (otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) )
- // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3396:3: otherlv_0= '(' ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) )
- // (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )* otherlv_4= ')'
- {
- otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleLinkOperationTuple7245);
-
- newLeafNode(otherlv_0, grammarAccess.getLinkOperationTupleAccess().getLeftParenthesisKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3400:1: ( (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3401:1: (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3401:1: (lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3402:3: lv_linkOperationTupleElement_1_0= ruleLinkOperationTupleElement
- {
-
- newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7266);
- lv_linkOperationTupleElement_1_0 = ruleLinkOperationTupleElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule());
- }
- add(
- current,
- "linkOperationTupleElement",
- lv_linkOperationTupleElement_1_0,
- "LinkOperationTupleElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3418:2: (otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) ) )*
- loop61: do {
- int alt61 = 2;
- int LA61_0 = input.LA(1);
-
- if ((LA61_0 == 17)) {
- alt61 = 1;
- }
-
-
- switch (alt61) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3418:4: otherlv_2= ',' ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) )
- {
- otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleLinkOperationTuple7279);
-
- newLeafNode(otherlv_2, grammarAccess.getLinkOperationTupleAccess().getCommaKeyword_2_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3422:1: ( (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3423:1: (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3423:1: (lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3424:3: lv_linkOperationTupleElement_3_0= ruleLinkOperationTupleElement
- {
-
- newCompositeNode(grammarAccess.getLinkOperationTupleAccess().getLinkOperationTupleElementLinkOperationTupleElementParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7300);
- lv_linkOperationTupleElement_3_0 = ruleLinkOperationTupleElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLinkOperationTupleRule());
- }
- add(
- current,
- "linkOperationTupleElement",
- lv_linkOperationTupleElement_3_0,
- "LinkOperationTupleElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop61;
- }
- } while (true);
-
- otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleLinkOperationTuple7314);
-
- newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleAccess().getRightParenthesisKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLinkOperationTuple"
-
-
- // $ANTLR start "entryRuleLinkOperationTupleElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3452:1: entryRuleLinkOperationTupleElement returns [EObject current=null] : iv_ruleLinkOperationTupleElement=
- // ruleLinkOperationTupleElement EOF ;
- public final EObject entryRuleLinkOperationTupleElement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLinkOperationTupleElement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3453:2: (iv_ruleLinkOperationTupleElement= ruleLinkOperationTupleElement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3454:2: iv_ruleLinkOperationTupleElement= ruleLinkOperationTupleElement EOF
- {
- newCompositeNode(grammarAccess.getLinkOperationTupleElementRule());
- pushFollow(FOLLOW_ruleLinkOperationTupleElement_in_entryRuleLinkOperationTupleElement7350);
- iv_ruleLinkOperationTupleElement = ruleLinkOperationTupleElement();
-
- state._fsp--;
-
- current = iv_ruleLinkOperationTupleElement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLinkOperationTupleElement7360);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLinkOperationTupleElement"
-
-
- // $ANTLR start "ruleLinkOperationTupleElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3461:1: ruleLinkOperationTupleElement returns [EObject current=null] : ( ( (lv_objectOrRole_0_0= RULE_ID ) ) (
- // (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) ;
- public final EObject ruleLinkOperationTupleElement() throws RecognitionException {
- EObject current = null;
-
- Token lv_objectOrRole_0_0 = null;
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- Token otherlv_4 = null;
- Token lv_object_5_0 = null;
- EObject lv_roleIndex_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3464:28: ( ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) )
- // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:1: ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) )
- // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:1: ( ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression )
- // ) otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:2: ( (lv_objectOrRole_0_0= RULE_ID ) ) ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) )
- // otherlv_3= ']' )? otherlv_4= '=>' ( (lv_object_5_0= RULE_ID ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3465:2: ( (lv_objectOrRole_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3466:1: (lv_objectOrRole_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3466:1: (lv_objectOrRole_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3467:3: lv_objectOrRole_0_0= RULE_ID
- {
- lv_objectOrRole_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7402);
-
- newLeafNode(lv_objectOrRole_0_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectOrRoleIDTerminalRuleCall_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLinkOperationTupleElementRule());
- }
- setWithLastConsumed(
- current,
- "objectOrRole",
- lv_objectOrRole_0_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:2: ( (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4=
- // '=>' ( (lv_object_5_0= RULE_ID ) ) )?
- int alt63 = 2;
- int LA63_0 = input.LA(1);
-
- if ((LA63_0 == 18 || LA63_0 == 32)) {
- alt63 = 1;
- }
- switch (alt63) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:3: (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )? otherlv_4= '=>'
- // ( (lv_object_5_0= RULE_ID ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:3: (otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']' )?
- int alt62 = 2;
- int LA62_0 = input.LA(1);
-
- if ((LA62_0 == 18)) {
- alt62 = 1;
- }
- switch (alt62) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3483:5: otherlv_1= '[' ( (lv_roleIndex_2_0= ruleExpression ) ) otherlv_3= ']'
- {
- otherlv_1 = (Token) match(input, 18, FOLLOW_18_in_ruleLinkOperationTupleElement7421);
-
- newLeafNode(otherlv_1, grammarAccess.getLinkOperationTupleElementAccess().getLeftSquareBracketKeyword_1_0_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3487:1: ( (lv_roleIndex_2_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3488:1: (lv_roleIndex_2_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3488:1: (lv_roleIndex_2_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3489:3: lv_roleIndex_2_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getLinkOperationTupleElementAccess().getRoleIndexExpressionParserRuleCall_1_0_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleLinkOperationTupleElement7442);
- lv_roleIndex_2_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLinkOperationTupleElementRule());
- }
- set(
- current,
- "roleIndex",
- lv_roleIndex_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 19, FOLLOW_19_in_ruleLinkOperationTupleElement7454);
-
- newLeafNode(otherlv_3, grammarAccess.getLinkOperationTupleElementAccess().getRightSquareBracketKeyword_1_0_2());
-
-
- }
- break;
-
- }
-
- otherlv_4 = (Token) match(input, 32, FOLLOW_32_in_ruleLinkOperationTupleElement7468);
-
- newLeafNode(otherlv_4, grammarAccess.getLinkOperationTupleElementAccess().getEqualsSignGreaterThanSignKeyword_1_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3513:1: ( (lv_object_5_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3514:1: (lv_object_5_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3514:1: (lv_object_5_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3515:3: lv_object_5_0= RULE_ID
- {
- lv_object_5_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7485);
-
- newLeafNode(lv_object_5_0, grammarAccess.getLinkOperationTupleElementAccess().getObjectIDTerminalRuleCall_1_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLinkOperationTupleElementRule());
- }
- setWithLastConsumed(
- current,
- "object",
- lv_object_5_0,
- "ID");
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLinkOperationTupleElement"
-
-
- // $ANTLR start "entryRuleSequenceOperationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3539:1: entryRuleSequenceOperationExpression returns [EObject current=null] : iv_ruleSequenceOperationExpression=
- // ruleSequenceOperationExpression EOF ;
- public final EObject entryRuleSequenceOperationExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceOperationExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3540:2: (iv_ruleSequenceOperationExpression= ruleSequenceOperationExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3541:2: iv_ruleSequenceOperationExpression= ruleSequenceOperationExpression EOF
- {
- newCompositeNode(grammarAccess.getSequenceOperationExpressionRule());
- pushFollow(FOLLOW_ruleSequenceOperationExpression_in_entryRuleSequenceOperationExpression7528);
- iv_ruleSequenceOperationExpression = ruleSequenceOperationExpression();
-
- state._fsp--;
-
- current = iv_ruleSequenceOperationExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceOperationExpression7538);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceOperationExpression"
-
-
- // $ANTLR start "ruleSequenceOperationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3548:1: ruleSequenceOperationExpression returns [EObject current=null] : (otherlv_0= '->' ( (lv_operationName_1_0=
- // RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) ( (lv_suffix_3_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleSequenceOperationExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_operationName_1_0 = null;
- EObject lv_tuple_2_0 = null;
-
- EObject lv_suffix_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3551:28: ( (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:1: (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:1: (otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3552:3: otherlv_0= '->' ( (lv_operationName_1_0= RULE_ID ) ) ( (lv_tuple_2_0= ruleTuple ) ) (
- // (lv_suffix_3_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSequenceOperationExpression7575);
-
- newLeafNode(otherlv_0, grammarAccess.getSequenceOperationExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3556:1: ( (lv_operationName_1_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3557:1: (lv_operationName_1_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3557:1: (lv_operationName_1_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3558:3: lv_operationName_1_0= RULE_ID
- {
- lv_operationName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSequenceOperationExpression7592);
-
- newLeafNode(lv_operationName_1_0, grammarAccess.getSequenceOperationExpressionAccess().getOperationNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSequenceOperationExpressionRule());
- }
- setWithLastConsumed(
- current,
- "operationName",
- lv_operationName_1_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3574:2: ( (lv_tuple_2_0= ruleTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3575:1: (lv_tuple_2_0= ruleTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3575:1: (lv_tuple_2_0= ruleTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3576:3: lv_tuple_2_0= ruleTuple
- {
-
- newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getTupleTupleParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleTuple_in_ruleSequenceOperationExpression7618);
- lv_tuple_2_0 = ruleTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule());
- }
- set(
- current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3592:2: ( (lv_suffix_3_0= ruleSuffixExpression ) )?
- int alt64 = 2;
- int LA64_0 = input.LA(1);
-
- if (((LA64_0 >= 55 && LA64_0 <= 56))) {
- alt64 = 1;
- }
- switch (alt64) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3593:1: (lv_suffix_3_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3593:1: (lv_suffix_3_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3594:3: lv_suffix_3_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceOperationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSequenceOperationExpression7639);
- lv_suffix_3_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceOperationExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_3_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceOperationExpression"
-
-
- // $ANTLR start "entryRuleSequenceReductionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3618:1: entryRuleSequenceReductionExpression returns [EObject current=null] : iv_ruleSequenceReductionExpression=
- // ruleSequenceReductionExpression EOF ;
- public final EObject entryRuleSequenceReductionExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceReductionExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3619:2: (iv_ruleSequenceReductionExpression= ruleSequenceReductionExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3620:2: iv_ruleSequenceReductionExpression= ruleSequenceReductionExpression EOF
- {
- newCompositeNode(grammarAccess.getSequenceReductionExpressionRule());
- pushFollow(FOLLOW_ruleSequenceReductionExpression_in_entryRuleSequenceReductionExpression7676);
- iv_ruleSequenceReductionExpression = ruleSequenceReductionExpression();
-
- state._fsp--;
-
- current = iv_ruleSequenceReductionExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceReductionExpression7686);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceReductionExpression"
-
-
- // $ANTLR start "ruleSequenceReductionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3627:1: ruleSequenceReductionExpression returns [EObject current=null] : (otherlv_0= '->' otherlv_1= 'reduce' (
- // (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0= ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleSequenceReductionExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token lv_isOrdered_2_0 = null;
- EObject lv_behavior_3_0 = null;
-
- EObject lv_suffix_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3630:28: ( (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0=
- // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:1: (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0=
- // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:1: (otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0=
- // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3631:3: otherlv_0= '->' otherlv_1= 'reduce' ( (lv_isOrdered_2_0= 'ordered' ) )? ( (lv_behavior_3_0=
- // ruleQualifiedNameWithBinding ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSequenceReductionExpression7723);
-
- newLeafNode(otherlv_0, grammarAccess.getSequenceReductionExpressionAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- otherlv_1 = (Token) match(input, 57, FOLLOW_57_in_ruleSequenceReductionExpression7735);
-
- newLeafNode(otherlv_1, grammarAccess.getSequenceReductionExpressionAccess().getReduceKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3639:1: ( (lv_isOrdered_2_0= 'ordered' ) )?
- int alt65 = 2;
- int LA65_0 = input.LA(1);
-
- if ((LA65_0 == 20)) {
- alt65 = 1;
- }
- switch (alt65) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3640:1: (lv_isOrdered_2_0= 'ordered' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3640:1: (lv_isOrdered_2_0= 'ordered' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3641:3: lv_isOrdered_2_0= 'ordered'
- {
- lv_isOrdered_2_0 = (Token) match(input, 20, FOLLOW_20_in_ruleSequenceReductionExpression7753);
-
- newLeafNode(lv_isOrdered_2_0, grammarAccess.getSequenceReductionExpressionAccess().getIsOrderedOrderedKeyword_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSequenceReductionExpressionRule());
- }
- setWithLastConsumed(current, "isOrdered", true, "ordered");
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3654:3: ( (lv_behavior_3_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3655:1: (lv_behavior_3_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3655:1: (lv_behavior_3_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3656:3: lv_behavior_3_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getBehaviorQualifiedNameWithBindingParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleSequenceReductionExpression7788);
- lv_behavior_3_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule());
- }
- set(
- current,
- "behavior",
- lv_behavior_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3672:2: ( (lv_suffix_4_0= ruleSuffixExpression ) )?
- int alt66 = 2;
- int LA66_0 = input.LA(1);
-
- if (((LA66_0 >= 55 && LA66_0 <= 56))) {
- alt66 = 1;
- }
- switch (alt66) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3673:1: (lv_suffix_4_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3673:1: (lv_suffix_4_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3674:3: lv_suffix_4_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceReductionExpressionAccess().getSuffixSuffixExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSequenceReductionExpression7809);
- lv_suffix_4_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceReductionExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceReductionExpression"
-
-
- // $ANTLR start "entryRuleSequenceExpansionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3698:1: entryRuleSequenceExpansionExpression returns [EObject current=null] : iv_ruleSequenceExpansionExpression=
- // ruleSequenceExpansionExpression EOF ;
- public final EObject entryRuleSequenceExpansionExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceExpansionExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3699:2: (iv_ruleSequenceExpansionExpression= ruleSequenceExpansionExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3700:2: iv_ruleSequenceExpansionExpression= ruleSequenceExpansionExpression EOF
- {
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionRule());
- pushFollow(FOLLOW_ruleSequenceExpansionExpression_in_entryRuleSequenceExpansionExpression7846);
- iv_ruleSequenceExpansionExpression = ruleSequenceExpansionExpression();
-
- state._fsp--;
-
- current = iv_ruleSequenceExpansionExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceExpansionExpression7856);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceExpansionExpression"
-
-
- // $ANTLR start "ruleSequenceExpansionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3707:1: ruleSequenceExpansionExpression returns [EObject current=null] : (this_SelectOrRejectOperation_0=
- // ruleSelectOrRejectOperation | this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) ;
- public final EObject ruleSequenceExpansionExpression() throws RecognitionException {
- EObject current = null;
-
- EObject this_SelectOrRejectOperation_0 = null;
-
- EObject this_CollectOrIterateOperation_1 = null;
-
- EObject this_ForAllOrExistsOrOneOperation_2 = null;
-
- EObject this_IsUniqueOperation_3 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3710:28: ( (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation |
- // this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3711:1: (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation | this_CollectOrIterateOperation_1=
- // ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3711:1: (this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation |
- // this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation | this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation | this_IsUniqueOperation_3= ruleIsUniqueOperation )
- int alt67 = 4;
- int LA67_0 = input.LA(1);
-
- if ((LA67_0 == 56)) {
- switch (input.LA(2)) {
- case 98:
- case 99: {
- alt67 = 1;
- }
- break;
- case 100:
- case 101: {
- alt67 = 2;
- }
- break;
- case 102:
- case 103:
- case 104: {
- alt67 = 3;
- }
- break;
- case 58: {
- alt67 = 4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 67, 1, input);
-
- throw nvae;
- }
-
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 67, 0, input);
-
- throw nvae;
- }
- switch (alt67) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3712:5: this_SelectOrRejectOperation_0= ruleSelectOrRejectOperation
- {
-
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getSelectOrRejectOperationParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleSelectOrRejectOperation_in_ruleSequenceExpansionExpression7903);
- this_SelectOrRejectOperation_0 = ruleSelectOrRejectOperation();
-
- state._fsp--;
-
-
- current = this_SelectOrRejectOperation_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3722:5: this_CollectOrIterateOperation_1= ruleCollectOrIterateOperation
- {
-
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getCollectOrIterateOperationParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleCollectOrIterateOperation_in_ruleSequenceExpansionExpression7930);
- this_CollectOrIterateOperation_1 = ruleCollectOrIterateOperation();
-
- state._fsp--;
-
-
- current = this_CollectOrIterateOperation_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3732:5: this_ForAllOrExistsOrOneOperation_2= ruleForAllOrExistsOrOneOperation
- {
-
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getForAllOrExistsOrOneOperationParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperation_in_ruleSequenceExpansionExpression7957);
- this_ForAllOrExistsOrOneOperation_2 = ruleForAllOrExistsOrOneOperation();
-
- state._fsp--;
-
-
- current = this_ForAllOrExistsOrOneOperation_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3742:5: this_IsUniqueOperation_3= ruleIsUniqueOperation
- {
-
- newCompositeNode(grammarAccess.getSequenceExpansionExpressionAccess().getIsUniqueOperationParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleIsUniqueOperation_in_ruleSequenceExpansionExpression7984);
- this_IsUniqueOperation_3 = ruleIsUniqueOperation();
-
- state._fsp--;
-
-
- current = this_IsUniqueOperation_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceExpansionExpression"
-
-
- // $ANTLR start "entryRuleSelectOrRejectOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3758:1: entryRuleSelectOrRejectOperation returns [EObject current=null] : iv_ruleSelectOrRejectOperation=
- // ruleSelectOrRejectOperation EOF ;
- public final EObject entryRuleSelectOrRejectOperation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSelectOrRejectOperation = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3759:2: (iv_ruleSelectOrRejectOperation= ruleSelectOrRejectOperation EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3760:2: iv_ruleSelectOrRejectOperation= ruleSelectOrRejectOperation EOF
- {
- newCompositeNode(grammarAccess.getSelectOrRejectOperationRule());
- pushFollow(FOLLOW_ruleSelectOrRejectOperation_in_entryRuleSelectOrRejectOperation8019);
- iv_ruleSelectOrRejectOperation = ruleSelectOrRejectOperation();
-
- state._fsp--;
-
- current = iv_ruleSelectOrRejectOperation;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSelectOrRejectOperation8029);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSelectOrRejectOperation"
-
-
- // $ANTLR start "ruleSelectOrRejectOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3767:1: ruleSelectOrRejectOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0=
- // ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleSelectOrRejectOperation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_name_2_0 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- Enumerator lv_op_1_0 = null;
-
- EObject lv_expr_4_0 = null;
-
- EObject lv_suffix_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3770:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:1: (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:1: (otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3771:3: otherlv_0= '->' ( (lv_op_1_0= ruleSelectOrRejectOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleSelectOrRejectOperation8066);
-
- newLeafNode(otherlv_0, grammarAccess.getSelectOrRejectOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3775:1: ( (lv_op_1_0= ruleSelectOrRejectOperator ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3776:1: (lv_op_1_0= ruleSelectOrRejectOperator )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3776:1: (lv_op_1_0= ruleSelectOrRejectOperator )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3777:3: lv_op_1_0= ruleSelectOrRejectOperator
- {
-
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getOpSelectOrRejectOperatorEnumRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSelectOrRejectOperator_in_ruleSelectOrRejectOperation8087);
- lv_op_1_0 = ruleSelectOrRejectOperator();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- current,
- "op",
- lv_op_1_0,
- "SelectOrRejectOperator");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3793:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3794:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3794:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3795:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSelectOrRejectOperation8104);
-
- newLeafNode(lv_name_2_0, grammarAccess.getSelectOrRejectOperationAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSelectOrRejectOperationRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleSelectOrRejectOperation8121);
-
- newLeafNode(otherlv_3, grammarAccess.getSelectOrRejectOperationAccess().getLeftParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3815:1: ( (lv_expr_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3816:1: (lv_expr_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3816:1: (lv_expr_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3817:3: lv_expr_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getExprExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleSelectOrRejectOperation8142);
- lv_expr_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleSelectOrRejectOperation8154);
-
- newLeafNode(otherlv_5, grammarAccess.getSelectOrRejectOperationAccess().getRightParenthesisKeyword_5());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3837:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- int alt68 = 2;
- int LA68_0 = input.LA(1);
-
- if (((LA68_0 >= 55 && LA68_0 <= 56))) {
- alt68 = 1;
- }
- switch (alt68) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3838:1: (lv_suffix_6_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3838:1: (lv_suffix_6_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3839:3: lv_suffix_6_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getSelectOrRejectOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleSelectOrRejectOperation8175);
- lv_suffix_6_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSelectOrRejectOperationRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSelectOrRejectOperation"
-
-
- // $ANTLR start "entryRuleCollectOrIterateOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3863:1: entryRuleCollectOrIterateOperation returns [EObject current=null] : iv_ruleCollectOrIterateOperation=
- // ruleCollectOrIterateOperation EOF ;
- public final EObject entryRuleCollectOrIterateOperation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleCollectOrIterateOperation = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3864:2: (iv_ruleCollectOrIterateOperation= ruleCollectOrIterateOperation EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3865:2: iv_ruleCollectOrIterateOperation= ruleCollectOrIterateOperation EOF
- {
- newCompositeNode(grammarAccess.getCollectOrIterateOperationRule());
- pushFollow(FOLLOW_ruleCollectOrIterateOperation_in_entryRuleCollectOrIterateOperation8212);
- iv_ruleCollectOrIterateOperation = ruleCollectOrIterateOperation();
-
- state._fsp--;
-
- current = iv_ruleCollectOrIterateOperation;
- match(input, EOF, FOLLOW_EOF_in_entryRuleCollectOrIterateOperation8222);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleCollectOrIterateOperation"
-
-
- // $ANTLR start "ruleCollectOrIterateOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3872:1: ruleCollectOrIterateOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0=
- // ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleCollectOrIterateOperation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_name_2_0 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- Enumerator lv_op_1_0 = null;
-
- EObject lv_expr_4_0 = null;
-
- EObject lv_suffix_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3875:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:1: (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:1: (otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3876:3: otherlv_0= '->' ( (lv_op_1_0= ruleCollectOrIterateOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleCollectOrIterateOperation8259);
-
- newLeafNode(otherlv_0, grammarAccess.getCollectOrIterateOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3880:1: ( (lv_op_1_0= ruleCollectOrIterateOperator ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3881:1: (lv_op_1_0= ruleCollectOrIterateOperator )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3881:1: (lv_op_1_0= ruleCollectOrIterateOperator )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3882:3: lv_op_1_0= ruleCollectOrIterateOperator
- {
-
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getOpCollectOrIterateOperatorEnumRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleCollectOrIterateOperator_in_ruleCollectOrIterateOperation8280);
- lv_op_1_0 = ruleCollectOrIterateOperator();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- current,
- "op",
- lv_op_1_0,
- "CollectOrIterateOperator");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3898:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3899:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3899:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3900:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleCollectOrIterateOperation8297);
-
- newLeafNode(lv_name_2_0, grammarAccess.getCollectOrIterateOperationAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getCollectOrIterateOperationRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleCollectOrIterateOperation8314);
-
- newLeafNode(otherlv_3, grammarAccess.getCollectOrIterateOperationAccess().getLeftParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3920:1: ( (lv_expr_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3921:1: (lv_expr_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3921:1: (lv_expr_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3922:3: lv_expr_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getExprExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleCollectOrIterateOperation8335);
- lv_expr_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleCollectOrIterateOperation8347);
-
- newLeafNode(otherlv_5, grammarAccess.getCollectOrIterateOperationAccess().getRightParenthesisKeyword_5());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3942:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- int alt69 = 2;
- int LA69_0 = input.LA(1);
-
- if (((LA69_0 >= 55 && LA69_0 <= 56))) {
- alt69 = 1;
- }
- switch (alt69) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3943:1: (lv_suffix_6_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3943:1: (lv_suffix_6_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3944:3: lv_suffix_6_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getCollectOrIterateOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleCollectOrIterateOperation8368);
- lv_suffix_6_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getCollectOrIterateOperationRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleCollectOrIterateOperation"
-
-
- // $ANTLR start "entryRuleForAllOrExistsOrOneOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3968:1: entryRuleForAllOrExistsOrOneOperation returns [EObject current=null] :
- // iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF ;
- public final EObject entryRuleForAllOrExistsOrOneOperation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleForAllOrExistsOrOneOperation = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3969:2: (iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3970:2: iv_ruleForAllOrExistsOrOneOperation= ruleForAllOrExistsOrOneOperation EOF
- {
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationRule());
- pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperation_in_entryRuleForAllOrExistsOrOneOperation8405);
- iv_ruleForAllOrExistsOrOneOperation = ruleForAllOrExistsOrOneOperation();
-
- state._fsp--;
-
- current = iv_ruleForAllOrExistsOrOneOperation;
- match(input, EOF, FOLLOW_EOF_in_entryRuleForAllOrExistsOrOneOperation8415);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleForAllOrExistsOrOneOperation"
-
-
- // $ANTLR start "ruleForAllOrExistsOrOneOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3977:1: ruleForAllOrExistsOrOneOperation returns [EObject current=null] : (otherlv_0= '->' ( (lv_op_1_0=
- // ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleForAllOrExistsOrOneOperation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_name_2_0 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- Enumerator lv_op_1_0 = null;
-
- EObject lv_expr_4_0 = null;
-
- EObject lv_suffix_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3980:28: ( (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:1: (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:1: (otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3981:3: otherlv_0= '->' ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) ) ( (lv_name_2_0= RULE_ID ) )
- // otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleForAllOrExistsOrOneOperation8452);
-
- newLeafNode(otherlv_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3985:1: ( (lv_op_1_0= ruleForAllOrExistsOrOneOperator ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3986:1: (lv_op_1_0= ruleForAllOrExistsOrOneOperator )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3986:1: (lv_op_1_0= ruleForAllOrExistsOrOneOperator )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:3987:3: lv_op_1_0= ruleForAllOrExistsOrOneOperator
- {
-
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getOpForAllOrExistsOrOneOperatorEnumRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleForAllOrExistsOrOneOperator_in_ruleForAllOrExistsOrOneOperation8473);
- lv_op_1_0 = ruleForAllOrExistsOrOneOperator();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- current,
- "op",
- lv_op_1_0,
- "ForAllOrExistsOrOneOperator");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4003:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4004:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4004:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4005:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleForAllOrExistsOrOneOperation8490);
-
- newLeafNode(lv_name_2_0, grammarAccess.getForAllOrExistsOrOneOperationAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleForAllOrExistsOrOneOperation8507);
-
- newLeafNode(otherlv_3, grammarAccess.getForAllOrExistsOrOneOperationAccess().getLeftParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4025:1: ( (lv_expr_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4026:1: (lv_expr_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4026:1: (lv_expr_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4027:3: lv_expr_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getExprExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleForAllOrExistsOrOneOperation8528);
- lv_expr_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleForAllOrExistsOrOneOperation8540);
-
- newLeafNode(otherlv_5, grammarAccess.getForAllOrExistsOrOneOperationAccess().getRightParenthesisKeyword_5());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4047:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- int alt70 = 2;
- int LA70_0 = input.LA(1);
-
- if (((LA70_0 >= 55 && LA70_0 <= 56))) {
- alt70 = 1;
- }
- switch (alt70) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4048:1: (lv_suffix_6_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4048:1: (lv_suffix_6_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4049:3: lv_suffix_6_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getForAllOrExistsOrOneOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleForAllOrExistsOrOneOperation8561);
- lv_suffix_6_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForAllOrExistsOrOneOperationRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleForAllOrExistsOrOneOperation"
-
-
- // $ANTLR start "entryRuleIsUniqueOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4073:1: entryRuleIsUniqueOperation returns [EObject current=null] : iv_ruleIsUniqueOperation=
- // ruleIsUniqueOperation EOF ;
- public final EObject entryRuleIsUniqueOperation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleIsUniqueOperation = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4074:2: (iv_ruleIsUniqueOperation= ruleIsUniqueOperation EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4075:2: iv_ruleIsUniqueOperation= ruleIsUniqueOperation EOF
- {
- newCompositeNode(grammarAccess.getIsUniqueOperationRule());
- pushFollow(FOLLOW_ruleIsUniqueOperation_in_entryRuleIsUniqueOperation8598);
- iv_ruleIsUniqueOperation = ruleIsUniqueOperation();
-
- state._fsp--;
-
- current = iv_ruleIsUniqueOperation;
- match(input, EOF, FOLLOW_EOF_in_entryRuleIsUniqueOperation8608);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleIsUniqueOperation"
-
-
- // $ANTLR start "ruleIsUniqueOperation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4082:1: ruleIsUniqueOperation returns [EObject current=null] : (otherlv_0= '->' otherlv_1= 'isUnique' (
- // (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleIsUniqueOperation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token lv_name_2_0 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- EObject lv_expr_4_0 = null;
-
- EObject lv_suffix_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4085:28: ( (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' (
- // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:1: (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' ( (lv_expr_4_0=
- // ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:1: (otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' (
- // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4086:3: otherlv_0= '->' otherlv_1= 'isUnique' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '(' (
- // (lv_expr_4_0= ruleExpression ) ) otherlv_5= ')' ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 56, FOLLOW_56_in_ruleIsUniqueOperation8645);
-
- newLeafNode(otherlv_0, grammarAccess.getIsUniqueOperationAccess().getHyphenMinusGreaterThanSignKeyword_0());
-
- otherlv_1 = (Token) match(input, 58, FOLLOW_58_in_ruleIsUniqueOperation8657);
-
- newLeafNode(otherlv_1, grammarAccess.getIsUniqueOperationAccess().getIsUniqueKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4094:1: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4095:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4095:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4096:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleIsUniqueOperation8674);
-
- newLeafNode(lv_name_2_0, grammarAccess.getIsUniqueOperationAccess().getNameIDTerminalRuleCall_2_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getIsUniqueOperationRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleIsUniqueOperation8691);
-
- newLeafNode(otherlv_3, grammarAccess.getIsUniqueOperationAccess().getLeftParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4116:1: ( (lv_expr_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4117:1: (lv_expr_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4117:1: (lv_expr_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4118:3: lv_expr_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getExprExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleIsUniqueOperation8712);
- lv_expr_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule());
- }
- set(
- current,
- "expr",
- lv_expr_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleIsUniqueOperation8724);
-
- newLeafNode(otherlv_5, grammarAccess.getIsUniqueOperationAccess().getRightParenthesisKeyword_5());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4138:1: ( (lv_suffix_6_0= ruleSuffixExpression ) )?
- int alt71 = 2;
- int LA71_0 = input.LA(1);
-
- if (((LA71_0 >= 55 && LA71_0 <= 56))) {
- alt71 = 1;
- }
- switch (alt71) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4139:1: (lv_suffix_6_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4139:1: (lv_suffix_6_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4140:3: lv_suffix_6_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getIsUniqueOperationAccess().getSuffixSuffixExpressionParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleIsUniqueOperation8745);
- lv_suffix_6_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getIsUniqueOperationRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_6_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleIsUniqueOperation"
-
-
- // $ANTLR start "entryRuleValueSpecification"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4164: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.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4165:2: (iv_ruleValueSpecification= ruleValueSpecification EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4166:2: iv_ruleValueSpecification= ruleValueSpecification EOF
- {
- newCompositeNode(grammarAccess.getValueSpecificationRule());
- pushFollow(FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification8782);
- iv_ruleValueSpecification = ruleValueSpecification();
-
- state._fsp--;
-
- current = iv_ruleValueSpecification;
- match(input, EOF, FOLLOW_EOF_in_entryRuleValueSpecification8792);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleValueSpecification"
-
-
- // $ANTLR start "ruleValueSpecification"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4173:1: ruleValueSpecification returns [EObject current=null] : (this_NameExpression_0= ruleNameExpression |
- // this_LITERAL_1= ruleLITERAL | this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5=
- // ruleParenthesizedExpression | this_NullExpression_6= ruleNullExpression ) ;
- public final EObject ruleValueSpecification() throws RecognitionException {
- EObject current = null;
-
- EObject this_NameExpression_0 = null;
-
- EObject this_LITERAL_1 = null;
-
- EObject this_ThisExpression_2 = null;
-
- EObject this_SuperInvocationExpression_3 = null;
-
- EObject this_InstanceCreationExpression_4 = null;
-
- EObject this_ParenthesizedExpression_5 = null;
-
- EObject this_NullExpression_6 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4176:28: ( (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL |
- // this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression |
- // this_NullExpression_6= ruleNullExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4177:1: (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL | this_ThisExpression_2=
- // ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression | this_NullExpression_6=
- // ruleNullExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4177:1: (this_NameExpression_0= ruleNameExpression | this_LITERAL_1= ruleLITERAL |
- // this_ThisExpression_2= ruleThisExpression | this_SuperInvocationExpression_3= ruleSuperInvocationExpression | this_InstanceCreationExpression_4= ruleInstanceCreationExpression | this_ParenthesizedExpression_5= ruleParenthesizedExpression |
- // this_NullExpression_6= ruleNullExpression )
- int alt72 = 7;
- switch (input.LA(1)) {
- case RULE_ID:
- case 27:
- case 28: {
- alt72 = 1;
- }
- break;
- case RULE_INTEGERVALUE:
- case RULE_STRING:
- case 24:
- case 93:
- case 94: {
- alt72 = 2;
- }
- break;
- case 60: {
- alt72 = 3;
- }
- break;
- case 61: {
- alt72 = 4;
- }
- break;
- case 62: {
- alt72 = 5;
- }
- break;
- case 15: {
- alt72 = 6;
- }
- break;
- case 59: {
- alt72 = 7;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 72, 0, input);
-
- throw nvae;
- }
-
- switch (alt72) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4178:5: this_NameExpression_0= ruleNameExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getNameExpressionParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleNameExpression_in_ruleValueSpecification8839);
- this_NameExpression_0 = ruleNameExpression();
-
- state._fsp--;
-
-
- current = this_NameExpression_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4188:5: this_LITERAL_1= ruleLITERAL
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getLITERALParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleLITERAL_in_ruleValueSpecification8866);
- this_LITERAL_1 = ruleLITERAL();
-
- state._fsp--;
-
-
- current = this_LITERAL_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4198:5: this_ThisExpression_2= ruleThisExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getThisExpressionParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleThisExpression_in_ruleValueSpecification8893);
- this_ThisExpression_2 = ruleThisExpression();
-
- state._fsp--;
-
-
- current = this_ThisExpression_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4208:5: this_SuperInvocationExpression_3= ruleSuperInvocationExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleValueSpecification8920);
- this_SuperInvocationExpression_3 = ruleSuperInvocationExpression();
-
- state._fsp--;
-
-
- current = this_SuperInvocationExpression_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4218:5: this_InstanceCreationExpression_4= ruleInstanceCreationExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_4());
-
- pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleValueSpecification8947);
- this_InstanceCreationExpression_4 = ruleInstanceCreationExpression();
-
- state._fsp--;
-
-
- current = this_InstanceCreationExpression_4;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4228:5: this_ParenthesizedExpression_5= ruleParenthesizedExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_5());
-
- pushFollow(FOLLOW_ruleParenthesizedExpression_in_ruleValueSpecification8974);
- this_ParenthesizedExpression_5 = ruleParenthesizedExpression();
-
- state._fsp--;
-
-
- current = this_ParenthesizedExpression_5;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4238:5: this_NullExpression_6= ruleNullExpression
- {
-
- newCompositeNode(grammarAccess.getValueSpecificationAccess().getNullExpressionParserRuleCall_6());
-
- pushFollow(FOLLOW_ruleNullExpression_in_ruleValueSpecification9001);
- this_NullExpression_6 = ruleNullExpression();
-
- state._fsp--;
-
-
- current = this_NullExpression_6;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleValueSpecification"
-
-
- // $ANTLR start "entryRuleNonLiteralValueSpecification"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4254:1: entryRuleNonLiteralValueSpecification returns [EObject current=null] :
- // iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF ;
- public final EObject entryRuleNonLiteralValueSpecification() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNonLiteralValueSpecification = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4255:2: (iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4256:2: iv_ruleNonLiteralValueSpecification= ruleNonLiteralValueSpecification EOF
- {
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationRule());
- pushFollow(FOLLOW_ruleNonLiteralValueSpecification_in_entryRuleNonLiteralValueSpecification9036);
- iv_ruleNonLiteralValueSpecification = ruleNonLiteralValueSpecification();
-
- state._fsp--;
-
- current = iv_ruleNonLiteralValueSpecification;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNonLiteralValueSpecification9046);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNonLiteralValueSpecification"
-
-
- // $ANTLR start "ruleNonLiteralValueSpecification"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4263:1: ruleNonLiteralValueSpecification returns [EObject current=null] : (this_NameExpression_0=
- // ruleNameExpression | this_ParenthesizedExpression_1= ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4=
- // ruleSuperInvocationExpression ) ;
- public final EObject ruleNonLiteralValueSpecification() throws RecognitionException {
- EObject current = null;
-
- EObject this_NameExpression_0 = null;
-
- EObject this_ParenthesizedExpression_1 = null;
-
- EObject this_InstanceCreationExpression_2 = null;
-
- EObject this_ThisExpression_3 = null;
-
- EObject this_SuperInvocationExpression_4 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4266:28: ( (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1=
- // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4267:1: (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1=
- // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4267:1: (this_NameExpression_0= ruleNameExpression | this_ParenthesizedExpression_1=
- // ruleParenthesizedExpression | this_InstanceCreationExpression_2= ruleInstanceCreationExpression | this_ThisExpression_3= ruleThisExpression | this_SuperInvocationExpression_4= ruleSuperInvocationExpression )
- int alt73 = 5;
- switch (input.LA(1)) {
- case RULE_ID:
- case 27:
- case 28: {
- alt73 = 1;
- }
- break;
- case 15: {
- alt73 = 2;
- }
- break;
- case 62: {
- alt73 = 3;
- }
- break;
- case 60: {
- alt73 = 4;
- }
- break;
- case 61: {
- alt73 = 5;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 73, 0, input);
-
- throw nvae;
- }
-
- switch (alt73) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4268:5: this_NameExpression_0= ruleNameExpression
- {
-
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getNameExpressionParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleNameExpression_in_ruleNonLiteralValueSpecification9093);
- this_NameExpression_0 = ruleNameExpression();
-
- state._fsp--;
-
-
- current = this_NameExpression_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4278:5: this_ParenthesizedExpression_1= ruleParenthesizedExpression
- {
-
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getParenthesizedExpressionParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleParenthesizedExpression_in_ruleNonLiteralValueSpecification9120);
- this_ParenthesizedExpression_1 = ruleParenthesizedExpression();
-
- state._fsp--;
-
-
- current = this_ParenthesizedExpression_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4288:5: this_InstanceCreationExpression_2= ruleInstanceCreationExpression
- {
-
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getInstanceCreationExpressionParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleNonLiteralValueSpecification9147);
- this_InstanceCreationExpression_2 = ruleInstanceCreationExpression();
-
- state._fsp--;
-
-
- current = this_InstanceCreationExpression_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4298:5: this_ThisExpression_3= ruleThisExpression
- {
-
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getThisExpressionParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleThisExpression_in_ruleNonLiteralValueSpecification9174);
- this_ThisExpression_3 = ruleThisExpression();
-
- state._fsp--;
-
-
- current = this_ThisExpression_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4308:5: this_SuperInvocationExpression_4= ruleSuperInvocationExpression
- {
-
- newCompositeNode(grammarAccess.getNonLiteralValueSpecificationAccess().getSuperInvocationExpressionParserRuleCall_4());
-
- pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleNonLiteralValueSpecification9201);
- this_SuperInvocationExpression_4 = ruleSuperInvocationExpression();
-
- state._fsp--;
-
-
- current = this_SuperInvocationExpression_4;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNonLiteralValueSpecification"
-
-
- // $ANTLR start "entryRuleParenthesizedExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4324:1: entryRuleParenthesizedExpression returns [EObject current=null] : iv_ruleParenthesizedExpression=
- // ruleParenthesizedExpression EOF ;
- public final EObject entryRuleParenthesizedExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleParenthesizedExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4325:2: (iv_ruleParenthesizedExpression= ruleParenthesizedExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4326:2: iv_ruleParenthesizedExpression= ruleParenthesizedExpression EOF
- {
- newCompositeNode(grammarAccess.getParenthesizedExpressionRule());
- pushFollow(FOLLOW_ruleParenthesizedExpression_in_entryRuleParenthesizedExpression9236);
- iv_ruleParenthesizedExpression = ruleParenthesizedExpression();
-
- state._fsp--;
-
- current = iv_ruleParenthesizedExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleParenthesizedExpression9246);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleParenthesizedExpression"
-
-
- // $ANTLR start "ruleParenthesizedExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4333:1: ruleParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' ( (lv_expOrTypeCast_1_0=
- // ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) ;
- public final EObject ruleParenthesizedExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- EObject lv_expOrTypeCast_1_0 = null;
-
- EObject lv_casted_3_0 = null;
-
- EObject lv_suffix_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4336:28: ( (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0=
- // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:1: (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0=
- // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:1: (otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0=
- // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4337:3: otherlv_0= '(' ( (lv_expOrTypeCast_1_0= ruleExpression ) ) otherlv_2= ')' ( ( (lv_casted_3_0=
- // ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0= ruleSuffixExpression ) ) )?
- {
- otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleParenthesizedExpression9283);
-
- newLeafNode(otherlv_0, grammarAccess.getParenthesizedExpressionAccess().getLeftParenthesisKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4341:1: ( (lv_expOrTypeCast_1_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4342:1: (lv_expOrTypeCast_1_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4342:1: (lv_expOrTypeCast_1_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4343:3: lv_expOrTypeCast_1_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getExpOrTypeCastExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleParenthesizedExpression9304);
- lv_expOrTypeCast_1_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- current,
- "expOrTypeCast",
- lv_expOrTypeCast_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 16, FOLLOW_16_in_ruleParenthesizedExpression9316);
-
- newLeafNode(otherlv_2, grammarAccess.getParenthesizedExpressionAccess().getRightParenthesisKeyword_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:1: ( ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) ) | ( (lv_suffix_4_0=
- // ruleSuffixExpression ) ) )?
- int alt74 = 3;
- int LA74_0 = input.LA(1);
-
- if ((LA74_0 == RULE_ID || LA74_0 == 15 || (LA74_0 >= 27 && LA74_0 <= 28) || (LA74_0 >= 60 && LA74_0 <= 62))) {
- alt74 = 1;
- }
- else if (((LA74_0 >= 55 && LA74_0 <= 56))) {
- alt74 = 2;
- }
- switch (alt74) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:2: ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4363:2: ( (lv_casted_3_0= ruleNonLiteralValueSpecification ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4364:1: (lv_casted_3_0= ruleNonLiteralValueSpecification )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4364:1: (lv_casted_3_0= ruleNonLiteralValueSpecification )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4365:3: lv_casted_3_0= ruleNonLiteralValueSpecification
- {
-
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getCastedNonLiteralValueSpecificationParserRuleCall_3_0_0());
-
- pushFollow(FOLLOW_ruleNonLiteralValueSpecification_in_ruleParenthesizedExpression9338);
- lv_casted_3_0 = ruleNonLiteralValueSpecification();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- current,
- "casted",
- lv_casted_3_0,
- "NonLiteralValueSpecification");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4382:6: ( (lv_suffix_4_0= ruleSuffixExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4382:6: ( (lv_suffix_4_0= ruleSuffixExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4383:1: (lv_suffix_4_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4383:1: (lv_suffix_4_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4384:3: lv_suffix_4_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getParenthesizedExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_1_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleParenthesizedExpression9365);
- lv_suffix_4_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getParenthesizedExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleParenthesizedExpression"
-
-
- // $ANTLR start "entryRuleNullExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4408:1: entryRuleNullExpression returns [EObject current=null] : iv_ruleNullExpression= ruleNullExpression EOF ;
- public final EObject entryRuleNullExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNullExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4409:2: (iv_ruleNullExpression= ruleNullExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4410:2: iv_ruleNullExpression= ruleNullExpression EOF
- {
- newCompositeNode(grammarAccess.getNullExpressionRule());
- pushFollow(FOLLOW_ruleNullExpression_in_entryRuleNullExpression9403);
- iv_ruleNullExpression = ruleNullExpression();
-
- state._fsp--;
-
- current = iv_ruleNullExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNullExpression9413);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNullExpression"
-
-
- // $ANTLR start "ruleNullExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4417:1: ruleNullExpression returns [EObject current=null] : ( () otherlv_1= 'null' ) ;
- public final EObject ruleNullExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4420:28: ( ( () otherlv_1= 'null' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:1: ( () otherlv_1= 'null' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:1: ( () otherlv_1= 'null' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:2: () otherlv_1= 'null'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4421:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4422:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getNullExpressionAccess().getNullExpressionAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 59, FOLLOW_59_in_ruleNullExpression9459);
-
- newLeafNode(otherlv_1, grammarAccess.getNullExpressionAccess().getNullKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNullExpression"
-
-
- // $ANTLR start "entryRuleThisExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4439:1: entryRuleThisExpression returns [EObject current=null] : iv_ruleThisExpression= ruleThisExpression EOF ;
- public final EObject entryRuleThisExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleThisExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4440:2: (iv_ruleThisExpression= ruleThisExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4441:2: iv_ruleThisExpression= ruleThisExpression EOF
- {
- newCompositeNode(grammarAccess.getThisExpressionRule());
- pushFollow(FOLLOW_ruleThisExpression_in_entryRuleThisExpression9495);
- iv_ruleThisExpression = ruleThisExpression();
-
- state._fsp--;
-
- current = iv_ruleThisExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleThisExpression9505);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleThisExpression"
-
-
- // $ANTLR start "ruleThisExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4448:1: ruleThisExpression returns [EObject current=null] : ( () otherlv_1= 'this' ( (lv_suffix_2_0=
- // ruleSuffixExpression ) )? ) ;
- public final EObject ruleThisExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_suffix_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4451:28: ( ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:1: ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:1: ( () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:2: () otherlv_1= 'this' ( (lv_suffix_2_0= ruleSuffixExpression ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4452:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4453:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getThisExpressionAccess().getThisExpressionAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 60, FOLLOW_60_in_ruleThisExpression9551);
-
- newLeafNode(otherlv_1, grammarAccess.getThisExpressionAccess().getThisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4462:1: ( (lv_suffix_2_0= ruleSuffixExpression ) )?
- int alt75 = 2;
- int LA75_0 = input.LA(1);
-
- if (((LA75_0 >= 55 && LA75_0 <= 56))) {
- alt75 = 1;
- }
- switch (alt75) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4463:1: (lv_suffix_2_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4463:1: (lv_suffix_2_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4464:3: lv_suffix_2_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getThisExpressionAccess().getSuffixSuffixExpressionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleThisExpression9572);
- lv_suffix_2_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getThisExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_2_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleThisExpression"
-
-
- // $ANTLR start "entryRuleSuperInvocationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4488:1: entryRuleSuperInvocationExpression returns [EObject current=null] : iv_ruleSuperInvocationExpression=
- // ruleSuperInvocationExpression EOF ;
- public final EObject entryRuleSuperInvocationExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSuperInvocationExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4489:2: (iv_ruleSuperInvocationExpression= ruleSuperInvocationExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4490:2: iv_ruleSuperInvocationExpression= ruleSuperInvocationExpression EOF
- {
- newCompositeNode(grammarAccess.getSuperInvocationExpressionRule());
- pushFollow(FOLLOW_ruleSuperInvocationExpression_in_entryRuleSuperInvocationExpression9609);
- iv_ruleSuperInvocationExpression = ruleSuperInvocationExpression();
-
- state._fsp--;
-
- current = iv_ruleSuperInvocationExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSuperInvocationExpression9619);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSuperInvocationExpression"
-
-
- // $ANTLR start "ruleSuperInvocationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4497:1: ruleSuperInvocationExpression returns [EObject current=null] : (otherlv_0= 'super' ( (otherlv_1= '.' (
- // (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' ( (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) ;
- public final EObject ruleSuperInvocationExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token lv_className_2_0 = null;
- Token otherlv_3 = null;
- EObject lv_operationCallWithoutDot_4_0 = null;
-
- EObject lv_operationCall_5_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4500:28: ( (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:1: (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:1: (otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4501:3: otherlv_0= 'super' ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) )
- {
- otherlv_0 = (Token) match(input, 61, FOLLOW_61_in_ruleSuperInvocationExpression9656);
-
- newLeafNode(otherlv_0, grammarAccess.getSuperInvocationExpressionAccess().getSuperKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:1: ( (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) ) | ( (lv_operationCall_5_0= ruleOperationCallExpression ) ) )
- int alt76 = 2;
- int LA76_0 = input.LA(1);
-
- if ((LA76_0 == 55)) {
- int LA76_1 = input.LA(2);
-
- if ((LA76_1 == RULE_ID)) {
- int LA76_2 = input.LA(3);
-
- if ((LA76_2 == 15)) {
- alt76 = 2;
- }
- else if ((LA76_2 == 29)) {
- alt76 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 76, 2, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 76, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 76, 0, input);
-
- throw nvae;
- }
- switch (alt76) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:2: (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:2: (otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4505:4: otherlv_1= '.' ( (lv_className_2_0= RULE_ID ) ) otherlv_3= '::' (
- // (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) )
- {
- otherlv_1 = (Token) match(input, 55, FOLLOW_55_in_ruleSuperInvocationExpression9670);
-
- newLeafNode(otherlv_1, grammarAccess.getSuperInvocationExpressionAccess().getFullStopKeyword_1_0_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4509:1: ( (lv_className_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4510:1: (lv_className_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4510:1: (lv_className_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4511:3: lv_className_2_0= RULE_ID
- {
- lv_className_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleSuperInvocationExpression9687);
-
- newLeafNode(lv_className_2_0, grammarAccess.getSuperInvocationExpressionAccess().getClassNameIDTerminalRuleCall_1_0_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSuperInvocationExpressionRule());
- }
- setWithLastConsumed(
- current,
- "className",
- lv_className_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 29, FOLLOW_29_in_ruleSuperInvocationExpression9704);
-
- newLeafNode(otherlv_3, grammarAccess.getSuperInvocationExpressionAccess().getColonColonKeyword_1_0_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4531:1: ( (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4532:1: (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4532:1: (lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4533:3: lv_operationCallWithoutDot_4_0= ruleOperationCallExpressionWithoutDot
- {
-
- newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallWithoutDotOperationCallExpressionWithoutDotParserRuleCall_1_0_3_0());
-
- pushFollow(FOLLOW_ruleOperationCallExpressionWithoutDot_in_ruleSuperInvocationExpression9725);
- lv_operationCallWithoutDot_4_0 = ruleOperationCallExpressionWithoutDot();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule());
- }
- set(
- current,
- "operationCallWithoutDot",
- lv_operationCallWithoutDot_4_0,
- "OperationCallExpressionWithoutDot");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4550:6: ( (lv_operationCall_5_0= ruleOperationCallExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4550:6: ( (lv_operationCall_5_0= ruleOperationCallExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4551:1: (lv_operationCall_5_0= ruleOperationCallExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4551:1: (lv_operationCall_5_0= ruleOperationCallExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4552:3: lv_operationCall_5_0= ruleOperationCallExpression
- {
-
- newCompositeNode(grammarAccess.getSuperInvocationExpressionAccess().getOperationCallOperationCallExpressionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleOperationCallExpression_in_ruleSuperInvocationExpression9753);
- lv_operationCall_5_0 = ruleOperationCallExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSuperInvocationExpressionRule());
- }
- set(
- current,
- "operationCall",
- lv_operationCall_5_0,
- "OperationCallExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSuperInvocationExpression"
-
-
- // $ANTLR start "entryRuleInstanceCreationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4576:1: entryRuleInstanceCreationExpression returns [EObject current=null] : iv_ruleInstanceCreationExpression=
- // ruleInstanceCreationExpression EOF ;
- public final EObject entryRuleInstanceCreationExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInstanceCreationExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4577:2: (iv_ruleInstanceCreationExpression= ruleInstanceCreationExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4578:2: iv_ruleInstanceCreationExpression= ruleInstanceCreationExpression EOF
- {
- newCompositeNode(grammarAccess.getInstanceCreationExpressionRule());
- pushFollow(FOLLOW_ruleInstanceCreationExpression_in_entryRuleInstanceCreationExpression9790);
- iv_ruleInstanceCreationExpression = ruleInstanceCreationExpression();
-
- state._fsp--;
-
- current = iv_ruleInstanceCreationExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleInstanceCreationExpression9800);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleInstanceCreationExpression"
-
-
- // $ANTLR start "ruleInstanceCreationExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4585:1: ruleInstanceCreationExpression returns [EObject current=null] : (otherlv_0= 'new' ( (lv_constructor_1_0=
- // ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0= ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) ;
- public final EObject ruleInstanceCreationExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_constructor_1_0 = null;
-
- EObject lv_tuple_2_0 = null;
-
- EObject lv_sequenceConstuctionCompletion_3_0 = null;
-
- EObject lv_suffix_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4588:28: ( (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0=
- // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:1: (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0=
- // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:1: (otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0=
- // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4589:3: otherlv_0= 'new' ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_tuple_2_0=
- // ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) ) ) ( (lv_suffix_4_0= ruleSuffixExpression ) )?
- {
- otherlv_0 = (Token) match(input, 62, FOLLOW_62_in_ruleInstanceCreationExpression9837);
-
- newLeafNode(otherlv_0, grammarAccess.getInstanceCreationExpressionAccess().getNewKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4593:1: ( (lv_constructor_1_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4594:1: (lv_constructor_1_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4594:1: (lv_constructor_1_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4595:3: lv_constructor_1_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getConstructorQualifiedNameWithBindingParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleInstanceCreationExpression9858);
- lv_constructor_1_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- current,
- "constructor",
- lv_constructor_1_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:2: ( ( (lv_tuple_2_0= ruleTuple ) ) | ( (lv_sequenceConstuctionCompletion_3_0=
- // ruleSequenceConstructionCompletion ) ) )
- int alt77 = 2;
- int LA77_0 = input.LA(1);
-
- if ((LA77_0 == 15)) {
- alt77 = 1;
- }
- else if ((LA77_0 == 18 || LA77_0 == 63)) {
- alt77 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 77, 0, input);
-
- throw nvae;
- }
- switch (alt77) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:3: ( (lv_tuple_2_0= ruleTuple ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4611:3: ( (lv_tuple_2_0= ruleTuple ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4612:1: (lv_tuple_2_0= ruleTuple )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4612:1: (lv_tuple_2_0= ruleTuple )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4613:3: lv_tuple_2_0= ruleTuple
- {
-
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getTupleTupleParserRuleCall_2_0_0());
-
- pushFollow(FOLLOW_ruleTuple_in_ruleInstanceCreationExpression9880);
- lv_tuple_2_0 = ruleTuple();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- current,
- "tuple",
- lv_tuple_2_0,
- "Tuple");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4630:6: ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4630:6: ( (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4631:1: (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4631:1: (lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4632:3: lv_sequenceConstuctionCompletion_3_0= ruleSequenceConstructionCompletion
- {
-
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSequenceConstuctionCompletionSequenceConstructionCompletionParserRuleCall_2_1_0());
-
- pushFollow(FOLLOW_ruleSequenceConstructionCompletion_in_ruleInstanceCreationExpression9907);
- lv_sequenceConstuctionCompletion_3_0 = ruleSequenceConstructionCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- current,
- "sequenceConstuctionCompletion",
- lv_sequenceConstuctionCompletion_3_0,
- "SequenceConstructionCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4648:3: ( (lv_suffix_4_0= ruleSuffixExpression ) )?
- int alt78 = 2;
- int LA78_0 = input.LA(1);
-
- if (((LA78_0 >= 55 && LA78_0 <= 56))) {
- alt78 = 1;
- }
- switch (alt78) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4649:1: (lv_suffix_4_0= ruleSuffixExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4649:1: (lv_suffix_4_0= ruleSuffixExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4650:3: lv_suffix_4_0= ruleSuffixExpression
- {
-
- newCompositeNode(grammarAccess.getInstanceCreationExpressionAccess().getSuffixSuffixExpressionParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleSuffixExpression_in_ruleInstanceCreationExpression9929);
- lv_suffix_4_0 = ruleSuffixExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInstanceCreationExpressionRule());
- }
- set(
- current,
- "suffix",
- lv_suffix_4_0,
- "SuffixExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleInstanceCreationExpression"
-
-
- // $ANTLR start "entryRuleSequenceConstructionOrAccessCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4674:1: entryRuleSequenceConstructionOrAccessCompletion returns [EObject current=null] :
- // iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF ;
- public final EObject entryRuleSequenceConstructionOrAccessCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceConstructionOrAccessCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4675:2: (iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4676:2: iv_ruleSequenceConstructionOrAccessCompletion= ruleSequenceConstructionOrAccessCompletion EOF
- {
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- pushFollow(FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_entryRuleSequenceConstructionOrAccessCompletion9966);
- iv_ruleSequenceConstructionOrAccessCompletion = ruleSequenceConstructionOrAccessCompletion();
-
- state._fsp--;
-
- current = iv_ruleSequenceConstructionOrAccessCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionOrAccessCompletion9976);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceConstructionOrAccessCompletion"
-
-
- // $ANTLR start "ruleSequenceConstructionOrAccessCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4683:1: ruleSequenceConstructionOrAccessCompletion returns [EObject current=null] : ( ( (
- // (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) ;
- public final EObject ruleSequenceConstructionOrAccessCompletion() throws RecognitionException {
- EObject current = null;
-
- Token lv_multiplicityIndicator_0_0 = null;
- EObject lv_accessCompletion_1_0 = null;
-
- EObject lv_sequenceCompletion_2_0 = null;
-
- EObject lv_expression_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4686:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion
- // ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion )
- // ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0=
- // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) ) | ( (lv_expression_3_0= ruleSequenceConstructionExpression ) ) )
- int alt80 = 2;
- int LA80_0 = input.LA(1);
-
- if ((LA80_0 == 18)) {
- alt80 = 1;
- }
- else if ((LA80_0 == 63)) {
- alt80 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 80, 0, input);
-
- throw nvae;
- }
- switch (alt80) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0= ruleAccessCompletion
- // ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0=
- // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) ( ( (lv_accessCompletion_1_0=
- // ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4687:3: ( (lv_multiplicityIndicator_0_0= '[' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4688:1: (lv_multiplicityIndicator_0_0= '[' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4688:1: (lv_multiplicityIndicator_0_0= '[' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4689:3: lv_multiplicityIndicator_0_0= '['
- {
- lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleSequenceConstructionOrAccessCompletion10020);
-
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- setWithLastConsumed(current, "multiplicityIndicator", true, "[");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:2: ( ( (lv_accessCompletion_1_0= ruleAccessCompletion ) ) | ( (lv_sequenceCompletion_2_0=
- // rulePartialSequenceConstructionCompletion ) ) )
- int alt79 = 2;
- int LA79_0 = input.LA(1);
-
- if (((LA79_0 >= RULE_ID && LA79_0 <= RULE_STRING) || LA79_0 == 15 || LA79_0 == 24 || (LA79_0 >= 27 && LA79_0 <= 28) || (LA79_0 >= 48 && LA79_0 <= 49) || (LA79_0 >= 52 && LA79_0 <= 54) || (LA79_0 >= 59 && LA79_0 <= 62) || (LA79_0 >= 93 && LA79_0 <= 94))) {
- alt79 = 1;
- }
- else if ((LA79_0 == 19)) {
- alt79 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 79, 0, input);
-
- throw nvae;
- }
- switch (alt79) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:3: ( (lv_accessCompletion_1_0= ruleAccessCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4702:3: ( (lv_accessCompletion_1_0= ruleAccessCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4703:1: (lv_accessCompletion_1_0= ruleAccessCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4703:1: (lv_accessCompletion_1_0= ruleAccessCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4704:3: lv_accessCompletion_1_0= ruleAccessCompletion
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getAccessCompletionAccessCompletionParserRuleCall_0_1_0_0());
-
- pushFollow(FOLLOW_ruleAccessCompletion_in_ruleSequenceConstructionOrAccessCompletion10055);
- lv_accessCompletion_1_0 = ruleAccessCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- current,
- "accessCompletion",
- lv_accessCompletion_1_0,
- "AccessCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4721:6: ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4721:6: ( (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4722:1: (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4722:1: (lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4723:3: lv_sequenceCompletion_2_0= rulePartialSequenceConstructionCompletion
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getSequenceCompletionPartialSequenceConstructionCompletionParserRuleCall_0_1_1_0());
-
- pushFollow(FOLLOW_rulePartialSequenceConstructionCompletion_in_ruleSequenceConstructionOrAccessCompletion10082);
- lv_sequenceCompletion_2_0 = rulePartialSequenceConstructionCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- current,
- "sequenceCompletion",
- lv_sequenceCompletion_2_0,
- "PartialSequenceConstructionCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4740:6: ( (lv_expression_3_0= ruleSequenceConstructionExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4740:6: ( (lv_expression_3_0= ruleSequenceConstructionExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4741:1: (lv_expression_3_0= ruleSequenceConstructionExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4741:1: (lv_expression_3_0= ruleSequenceConstructionExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4742:3: lv_expression_3_0= ruleSequenceConstructionExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionOrAccessCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionOrAccessCompletion10111);
- lv_expression_3_0 = ruleSequenceConstructionExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionOrAccessCompletionRule());
- }
- set(
- current,
- "expression",
- lv_expression_3_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceConstructionOrAccessCompletion"
-
-
- // $ANTLR start "entryRuleAccessCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4766:1: entryRuleAccessCompletion returns [EObject current=null] : iv_ruleAccessCompletion= ruleAccessCompletion
- // EOF ;
- public final EObject entryRuleAccessCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAccessCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4767:2: (iv_ruleAccessCompletion= ruleAccessCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4768:2: iv_ruleAccessCompletion= ruleAccessCompletion EOF
- {
- newCompositeNode(grammarAccess.getAccessCompletionRule());
- pushFollow(FOLLOW_ruleAccessCompletion_in_entryRuleAccessCompletion10147);
- iv_ruleAccessCompletion = ruleAccessCompletion();
-
- state._fsp--;
-
- current = iv_ruleAccessCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAccessCompletion10157);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAccessCompletion"
-
-
- // $ANTLR start "ruleAccessCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4775:1: ruleAccessCompletion returns [EObject current=null] : ( ( (lv_accessIndex_0_0= ruleExpression ) )
- // otherlv_1= ']' ) ;
- public final EObject ruleAccessCompletion() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_accessIndex_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4778:28: ( ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:1: ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:1: ( ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:2: ( (lv_accessIndex_0_0= ruleExpression ) ) otherlv_1= ']'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4779:2: ( (lv_accessIndex_0_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4780:1: (lv_accessIndex_0_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4780:1: (lv_accessIndex_0_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4781:3: lv_accessIndex_0_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getAccessCompletionAccess().getAccessIndexExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleAccessCompletion10203);
- lv_accessIndex_0_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAccessCompletionRule());
- }
- set(
- current,
- "accessIndex",
- lv_accessIndex_0_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleAccessCompletion10215);
-
- newLeafNode(otherlv_1, grammarAccess.getAccessCompletionAccess().getRightSquareBracketKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAccessCompletion"
-
-
- // $ANTLR start "entryRulePartialSequenceConstructionCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4809:1: entryRulePartialSequenceConstructionCompletion returns [EObject current=null] :
- // iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF ;
- public final EObject entryRulePartialSequenceConstructionCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_rulePartialSequenceConstructionCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4810:2: (iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4811:2: iv_rulePartialSequenceConstructionCompletion= rulePartialSequenceConstructionCompletion EOF
- {
- newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionRule());
- pushFollow(FOLLOW_rulePartialSequenceConstructionCompletion_in_entryRulePartialSequenceConstructionCompletion10251);
- iv_rulePartialSequenceConstructionCompletion = rulePartialSequenceConstructionCompletion();
-
- state._fsp--;
-
- current = iv_rulePartialSequenceConstructionCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRulePartialSequenceConstructionCompletion10261);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRulePartialSequenceConstructionCompletion"
-
-
- // $ANTLR start "rulePartialSequenceConstructionCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4818:1: rulePartialSequenceConstructionCompletion returns [EObject current=null] : (otherlv_0= ']' (
- // (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) ;
- public final EObject rulePartialSequenceConstructionCompletion() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_expression_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4821:28: ( (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:1: (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:1: (otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4822:3: otherlv_0= ']' ( (lv_expression_1_0= ruleSequenceConstructionExpression ) )
- {
- otherlv_0 = (Token) match(input, 19, FOLLOW_19_in_rulePartialSequenceConstructionCompletion10298);
-
- newLeafNode(otherlv_0, grammarAccess.getPartialSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4826:1: ( (lv_expression_1_0= ruleSequenceConstructionExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4827:1: (lv_expression_1_0= ruleSequenceConstructionExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4827:1: (lv_expression_1_0= ruleSequenceConstructionExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4828:3: lv_expression_1_0= ruleSequenceConstructionExpression
- {
-
- newCompositeNode(grammarAccess.getPartialSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_rulePartialSequenceConstructionCompletion10319);
- lv_expression_1_0 = ruleSequenceConstructionExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getPartialSequenceConstructionCompletionRule());
- }
- set(
- current,
- "expression",
- lv_expression_1_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "rulePartialSequenceConstructionCompletion"
-
-
- // $ANTLR start "entryRuleSequenceConstructionCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4852:1: entryRuleSequenceConstructionCompletion returns [EObject current=null] :
- // iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF ;
- public final EObject entryRuleSequenceConstructionCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceConstructionCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4853:2: (iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4854:2: iv_ruleSequenceConstructionCompletion= ruleSequenceConstructionCompletion EOF
- {
- newCompositeNode(grammarAccess.getSequenceConstructionCompletionRule());
- pushFollow(FOLLOW_ruleSequenceConstructionCompletion_in_entryRuleSequenceConstructionCompletion10355);
- iv_ruleSequenceConstructionCompletion = ruleSequenceConstructionCompletion();
-
- state._fsp--;
-
- current = iv_ruleSequenceConstructionCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionCompletion10365);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceConstructionCompletion"
-
-
- // $ANTLR start "ruleSequenceConstructionCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4861:1: ruleSequenceConstructionCompletion returns [EObject current=null] : ( ( ( (lv_multiplicityIndicator_0_0=
- // '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0= ruleSequenceConstructionExpression ) ) ) ;
- public final EObject ruleSequenceConstructionCompletion() throws RecognitionException {
- EObject current = null;
-
- Token lv_multiplicityIndicator_0_0 = null;
- Token otherlv_1 = null;
- EObject lv_expression_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4864:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0=
- // ruleSequenceConstructionExpression ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0=
- // ruleSequenceConstructionExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0=
- // ruleSequenceConstructionExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_expression_2_0=
- // ruleSequenceConstructionExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )?
- int alt81 = 2;
- int LA81_0 = input.LA(1);
-
- if ((LA81_0 == 18)) {
- alt81 = 1;
- }
- switch (alt81) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4865:3: ( (lv_multiplicityIndicator_0_0= '[' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4866:1: (lv_multiplicityIndicator_0_0= '[' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4866:1: (lv_multiplicityIndicator_0_0= '[' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4867:3: lv_multiplicityIndicator_0_0= '['
- {
- lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleSequenceConstructionCompletion10409);
-
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getSequenceConstructionCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getSequenceConstructionCompletionRule());
- }
- setWithLastConsumed(current, "multiplicityIndicator", true, "[");
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleSequenceConstructionCompletion10434);
-
- newLeafNode(otherlv_1, grammarAccess.getSequenceConstructionCompletionAccess().getRightSquareBracketKeyword_0_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4884:3: ( (lv_expression_2_0= ruleSequenceConstructionExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4885:1: (lv_expression_2_0= ruleSequenceConstructionExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4885:1: (lv_expression_2_0= ruleSequenceConstructionExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4886:3: lv_expression_2_0= ruleSequenceConstructionExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionCompletionAccess().getExpressionSequenceConstructionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionCompletion10457);
- lv_expression_2_0 = ruleSequenceConstructionExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionCompletionRule());
- }
- set(
- current,
- "expression",
- lv_expression_2_0,
- "SequenceConstructionExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceConstructionCompletion"
-
-
- // $ANTLR start "entryRuleSequenceConstructionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4910:1: entryRuleSequenceConstructionExpression returns [EObject current=null] :
- // iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF ;
- public final EObject entryRuleSequenceConstructionExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceConstructionExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4911:2: (iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4912:2: iv_ruleSequenceConstructionExpression= ruleSequenceConstructionExpression EOF
- {
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionRule());
- pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_entryRuleSequenceConstructionExpression10493);
- iv_ruleSequenceConstructionExpression = ruleSequenceConstructionExpression();
-
- state._fsp--;
-
- current = iv_ruleSequenceConstructionExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceConstructionExpression10503);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceConstructionExpression"
-
-
- // $ANTLR start "ruleSequenceConstructionExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4919:1: ruleSequenceConstructionExpression returns [EObject current=null] : (otherlv_0= '{' (
- // (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) ;
- public final EObject ruleSequenceConstructionExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- Token otherlv_4 = null;
- Token otherlv_6 = null;
- EObject lv_sequenceElement_1_0 = null;
-
- EObject lv_sequenceElement_3_0 = null;
-
- EObject lv_rangeUpper_5_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4922:28: ( (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' (
- // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:1: (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' (
- // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:1: (otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' (
- // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4923:3: otherlv_0= '{' ( (lv_sequenceElement_1_0= ruleSequenceElement ) ) ( (otherlv_2= ',' (
- // (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) ) ) otherlv_6= '}'
- {
- otherlv_0 = (Token) match(input, 63, FOLLOW_63_in_ruleSequenceConstructionExpression10540);
-
- newLeafNode(otherlv_0, grammarAccess.getSequenceConstructionExpressionAccess().getLeftCurlyBracketKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4927:1: ( (lv_sequenceElement_1_0= ruleSequenceElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4928:1: (lv_sequenceElement_1_0= ruleSequenceElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4928:1: (lv_sequenceElement_1_0= ruleSequenceElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4929:3: lv_sequenceElement_1_0= ruleSequenceElement
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10561);
- lv_sequenceElement_1_0 = ruleSequenceElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- add(
- current,
- "sequenceElement",
- lv_sequenceElement_1_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:2: ( (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )* | (otherlv_4= '..'
- // ( (lv_rangeUpper_5_0= ruleExpression ) ) ) )
- int alt83 = 2;
- int LA83_0 = input.LA(1);
-
- if ((LA83_0 == 17 || LA83_0 == 64)) {
- alt83 = 1;
- }
- else if ((LA83_0 == 23)) {
- alt83 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 83, 0, input);
-
- throw nvae;
- }
- switch (alt83) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:3: (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:3: (otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) ) )*
- loop82: do {
- int alt82 = 2;
- int LA82_0 = input.LA(1);
-
- if ((LA82_0 == 17)) {
- alt82 = 1;
- }
-
-
- switch (alt82) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4945:5: otherlv_2= ',' ( (lv_sequenceElement_3_0= ruleSequenceElement ) )
- {
- otherlv_2 = (Token) match(input, 17, FOLLOW_17_in_ruleSequenceConstructionExpression10575);
-
- newLeafNode(otherlv_2, grammarAccess.getSequenceConstructionExpressionAccess().getCommaKeyword_2_0_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4949:1: ( (lv_sequenceElement_3_0= ruleSequenceElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4950:1: (lv_sequenceElement_3_0= ruleSequenceElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4950:1: (lv_sequenceElement_3_0= ruleSequenceElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4951:3: lv_sequenceElement_3_0= ruleSequenceElement
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getSequenceElementSequenceElementParserRuleCall_2_0_1_0());
-
- pushFollow(FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10596);
- lv_sequenceElement_3_0 = ruleSequenceElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- add(
- current,
- "sequenceElement",
- lv_sequenceElement_3_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop82;
- }
- } while (true);
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:6: (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:6: (otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4968:8: otherlv_4= '..' ( (lv_rangeUpper_5_0= ruleExpression ) )
- {
- otherlv_4 = (Token) match(input, 23, FOLLOW_23_in_ruleSequenceConstructionExpression10617);
-
- newLeafNode(otherlv_4, grammarAccess.getSequenceConstructionExpressionAccess().getFullStopFullStopKeyword_2_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4972:1: ( (lv_rangeUpper_5_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4973:1: (lv_rangeUpper_5_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4973:1: (lv_rangeUpper_5_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:4974:3: lv_rangeUpper_5_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceConstructionExpressionAccess().getRangeUpperExpressionParserRuleCall_2_1_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleSequenceConstructionExpression10638);
- lv_rangeUpper_5_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequenceConstructionExpressionRule());
- }
- set(
- current,
- "rangeUpper",
- lv_rangeUpper_5_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_6 = (Token) match(input, 64, FOLLOW_64_in_ruleSequenceConstructionExpression10652);
-
- newLeafNode(otherlv_6, grammarAccess.getSequenceConstructionExpressionAccess().getRightCurlyBracketKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceConstructionExpression"
-
-
- // $ANTLR start "entryRuleSequenceElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5002:1: entryRuleSequenceElement returns [EObject current=null] : iv_ruleSequenceElement= ruleSequenceElement EOF
- // ;
- public final EObject entryRuleSequenceElement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequenceElement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5003:2: (iv_ruleSequenceElement= ruleSequenceElement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5004:2: iv_ruleSequenceElement= ruleSequenceElement EOF
- {
- newCompositeNode(grammarAccess.getSequenceElementRule());
- pushFollow(FOLLOW_ruleSequenceElement_in_entryRuleSequenceElement10688);
- iv_ruleSequenceElement = ruleSequenceElement();
-
- state._fsp--;
-
- current = iv_ruleSequenceElement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequenceElement10698);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequenceElement"
-
-
- // $ANTLR start "ruleSequenceElement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5011:1: ruleSequenceElement returns [EObject current=null] : (this_Expression_0= ruleExpression |
- // this_SequenceConstructionExpression_1= ruleSequenceConstructionExpression ) ;
- public final EObject ruleSequenceElement() throws RecognitionException {
- EObject current = null;
-
- EObject this_Expression_0 = null;
-
- EObject this_SequenceConstructionExpression_1 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5014:28: ( (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1=
- // ruleSequenceConstructionExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5015:1: (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1=
- // ruleSequenceConstructionExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5015:1: (this_Expression_0= ruleExpression | this_SequenceConstructionExpression_1=
- // ruleSequenceConstructionExpression )
- int alt84 = 2;
- int LA84_0 = input.LA(1);
-
- if (((LA84_0 >= RULE_ID && LA84_0 <= RULE_STRING) || LA84_0 == 15 || LA84_0 == 24 || (LA84_0 >= 27 && LA84_0 <= 28) || (LA84_0 >= 48 && LA84_0 <= 49) || (LA84_0 >= 52 && LA84_0 <= 54) || (LA84_0 >= 59 && LA84_0 <= 62) || (LA84_0 >= 93 && LA84_0 <= 94))) {
- alt84 = 1;
- }
- else if ((LA84_0 == 63)) {
- alt84 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 84, 0, input);
-
- throw nvae;
- }
- switch (alt84) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5016:5: this_Expression_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceElementAccess().getExpressionParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleSequenceElement10745);
- this_Expression_0 = ruleExpression();
-
- state._fsp--;
-
-
- current = this_Expression_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5026:5: this_SequenceConstructionExpression_1= ruleSequenceConstructionExpression
- {
-
- newCompositeNode(grammarAccess.getSequenceElementAccess().getSequenceConstructionExpressionParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceElement10772);
- this_SequenceConstructionExpression_1 = ruleSequenceConstructionExpression();
-
- state._fsp--;
-
-
- current = this_SequenceConstructionExpression_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequenceElement"
-
-
- // $ANTLR start "entryRuleClassExtentExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5042:1: entryRuleClassExtentExpression returns [EObject current=null] : iv_ruleClassExtentExpression=
- // ruleClassExtentExpression EOF ;
- public final EObject entryRuleClassExtentExpression() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassExtentExpression = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5043:2: (iv_ruleClassExtentExpression= ruleClassExtentExpression EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5044:2: iv_ruleClassExtentExpression= ruleClassExtentExpression EOF
- {
- newCompositeNode(grammarAccess.getClassExtentExpressionRule());
- pushFollow(FOLLOW_ruleClassExtentExpression_in_entryRuleClassExtentExpression10807);
- iv_ruleClassExtentExpression = ruleClassExtentExpression();
-
- state._fsp--;
-
- current = iv_ruleClassExtentExpression;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassExtentExpression10817);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassExtentExpression"
-
-
- // $ANTLR start "ruleClassExtentExpression"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5051:1: ruleClassExtentExpression returns [EObject current=null] : ( () otherlv_1= '.' otherlv_2= 'allInstances'
- // otherlv_3= '(' otherlv_4= ')' ) ;
- public final EObject ruleClassExtentExpression() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_2 = null;
- Token otherlv_3 = null;
- Token otherlv_4 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5054:28: ( ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:1: ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:1: ( () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:2: () otherlv_1= '.' otherlv_2= 'allInstances' otherlv_3= '(' otherlv_4= ')'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5055:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5056:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getClassExtentExpressionAccess().getClassExtentExpressionAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 55, FOLLOW_55_in_ruleClassExtentExpression10863);
-
- newLeafNode(otherlv_1, grammarAccess.getClassExtentExpressionAccess().getFullStopKeyword_1());
-
- otherlv_2 = (Token) match(input, 65, FOLLOW_65_in_ruleClassExtentExpression10875);
-
- newLeafNode(otherlv_2, grammarAccess.getClassExtentExpressionAccess().getAllInstancesKeyword_2());
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleClassExtentExpression10887);
-
- newLeafNode(otherlv_3, grammarAccess.getClassExtentExpressionAccess().getLeftParenthesisKeyword_3());
-
- otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleClassExtentExpression10899);
-
- newLeafNode(otherlv_4, grammarAccess.getClassExtentExpressionAccess().getRightParenthesisKeyword_4());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassExtentExpression"
-
-
- // $ANTLR start "entryRuleBlock"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5085:1: entryRuleBlock returns [EObject current=null] : iv_ruleBlock= ruleBlock EOF ;
- public final EObject entryRuleBlock() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleBlock = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5086:2: (iv_ruleBlock= ruleBlock EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5087:2: iv_ruleBlock= ruleBlock EOF
- {
- newCompositeNode(grammarAccess.getBlockRule());
- pushFollow(FOLLOW_ruleBlock_in_entryRuleBlock10935);
- iv_ruleBlock = ruleBlock();
-
- state._fsp--;
-
- current = iv_ruleBlock;
- match(input, EOF, FOLLOW_EOF_in_entryRuleBlock10945);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleBlock"
-
-
- // $ANTLR start "ruleBlock"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5094:1: ruleBlock returns [EObject current=null] : (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence )
- // )? otherlv_3= '}' ) ;
- public final EObject ruleBlock() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_3 = null;
- EObject lv_sequence_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5097:28: ( (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:1: (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:1: (otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5098:3: otherlv_0= '{' () ( (lv_sequence_2_0= ruleStatementSequence ) )? otherlv_3= '}'
- {
- otherlv_0 = (Token) match(input, 63, FOLLOW_63_in_ruleBlock10982);
-
- newLeafNode(otherlv_0, grammarAccess.getBlockAccess().getLeftCurlyBracketKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5102:1: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5103:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getBlockAccess().getBlockAction_1(),
- current);
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5108:2: ( (lv_sequence_2_0= ruleStatementSequence ) )?
- int alt85 = 2;
- int LA85_0 = input.LA(1);
-
- if ((LA85_0 == RULE_ID || (LA85_0 >= RULE_ML_COMMENT && LA85_0 <= RULE_SL_COMMENT) || LA85_0 == 12 || (LA85_0 >= 27 && LA85_0 <= 28) || (LA85_0 >= 60 && LA85_0 <= 63) || LA85_0 == 66 || (LA85_0 >= 69 && LA85_0 <= 70) || LA85_0 == 72
- || LA85_0 == 75 || (LA85_0 >= 78 && LA85_0 <= 80) || (LA85_0 >= 82 && LA85_0 <= 85))) {
- alt85 = 1;
- }
- switch (alt85) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5109:1: (lv_sequence_2_0= ruleStatementSequence )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5109:1: (lv_sequence_2_0= ruleStatementSequence )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5110:3: lv_sequence_2_0= ruleStatementSequence
- {
-
- newCompositeNode(grammarAccess.getBlockAccess().getSequenceStatementSequenceParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleStatementSequence_in_ruleBlock11012);
- lv_sequence_2_0 = ruleStatementSequence();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getBlockRule());
- }
- set(
- current,
- "sequence",
- lv_sequence_2_0,
- "StatementSequence");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3 = (Token) match(input, 64, FOLLOW_64_in_ruleBlock11025);
-
- newLeafNode(otherlv_3, grammarAccess.getBlockAccess().getRightCurlyBracketKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleBlock"
-
-
- // $ANTLR start "entryRuleStatementSequence"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5138:1: entryRuleStatementSequence returns [EObject current=null] : iv_ruleStatementSequence=
- // ruleStatementSequence EOF ;
- public final EObject entryRuleStatementSequence() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleStatementSequence = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5139:2: (iv_ruleStatementSequence= ruleStatementSequence EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5140:2: iv_ruleStatementSequence= ruleStatementSequence EOF
- {
- newCompositeNode(grammarAccess.getStatementSequenceRule());
- pushFollow(FOLLOW_ruleStatementSequence_in_entryRuleStatementSequence11061);
- iv_ruleStatementSequence = ruleStatementSequence();
-
- state._fsp--;
-
- current = iv_ruleStatementSequence;
- match(input, EOF, FOLLOW_EOF_in_entryRuleStatementSequence11071);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleStatementSequence"
-
-
- // $ANTLR start "ruleStatementSequence"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5147:1: ruleStatementSequence returns [EObject current=null] : ( (lv_statements_0_0= ruleDocumentedStatement ) )+
- // ;
- public final EObject ruleStatementSequence() throws RecognitionException {
- EObject current = null;
-
- EObject lv_statements_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5150:28: ( ( (lv_statements_0_0= ruleDocumentedStatement ) )+ )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5151:1: ( (lv_statements_0_0= ruleDocumentedStatement ) )+
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5151:1: ( (lv_statements_0_0= ruleDocumentedStatement ) )+
- int cnt86 = 0;
- loop86: do {
- int alt86 = 2;
- int LA86_0 = input.LA(1);
-
- if ((LA86_0 == RULE_ID || (LA86_0 >= RULE_ML_COMMENT && LA86_0 <= RULE_SL_COMMENT) || LA86_0 == 12 || (LA86_0 >= 27 && LA86_0 <= 28) || (LA86_0 >= 60 && LA86_0 <= 63) || LA86_0 == 66 || (LA86_0 >= 69 && LA86_0 <= 70) || LA86_0 == 72
- || LA86_0 == 75 || (LA86_0 >= 78 && LA86_0 <= 80) || (LA86_0 >= 82 && LA86_0 <= 85))) {
- alt86 = 1;
- }
-
-
- switch (alt86) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5152:1: (lv_statements_0_0= ruleDocumentedStatement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5152:1: (lv_statements_0_0= ruleDocumentedStatement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5153:3: lv_statements_0_0= ruleDocumentedStatement
- {
-
- newCompositeNode(grammarAccess.getStatementSequenceAccess().getStatementsDocumentedStatementParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleDocumentedStatement_in_ruleStatementSequence11116);
- lv_statements_0_0 = ruleDocumentedStatement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getStatementSequenceRule());
- }
- add(
- current,
- "statements",
- lv_statements_0_0,
- "DocumentedStatement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default:
- if (cnt86 >= 1) {
- break loop86;
- }
- EarlyExitException eee =
- new EarlyExitException(86, input);
- throw eee;
- }
- cnt86++;
- } while (true);
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleStatementSequence"
-
-
- // $ANTLR start "entryRuleDocumentedStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5177:1: entryRuleDocumentedStatement returns [EObject current=null] : iv_ruleDocumentedStatement=
- // ruleDocumentedStatement EOF ;
- public final EObject entryRuleDocumentedStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleDocumentedStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5178:2: (iv_ruleDocumentedStatement= ruleDocumentedStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5179:2: iv_ruleDocumentedStatement= ruleDocumentedStatement EOF
- {
- newCompositeNode(grammarAccess.getDocumentedStatementRule());
- pushFollow(FOLLOW_ruleDocumentedStatement_in_entryRuleDocumentedStatement11152);
- iv_ruleDocumentedStatement = ruleDocumentedStatement();
-
- state._fsp--;
-
- current = iv_ruleDocumentedStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleDocumentedStatement11162);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleDocumentedStatement"
-
-
- // $ANTLR start "ruleDocumentedStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5186:1: ruleDocumentedStatement returns [EObject current=null] : ( ( ( (lv_comment_0_1= RULE_ML_COMMENT |
- // lv_comment_0_2= RULE_SL_COMMENT ) ) )? ( (lv_statement_1_0= ruleStatement ) ) ) ;
- public final EObject ruleDocumentedStatement() throws RecognitionException {
- EObject current = null;
-
- Token lv_comment_0_1 = null;
- Token lv_comment_0_2 = null;
- EObject lv_statement_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5189:28: ( ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? (
- // (lv_statement_1_0= ruleStatement ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:1: ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? (
- // (lv_statement_1_0= ruleStatement ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:1: ( ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? (
- // (lv_statement_1_0= ruleStatement ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:2: ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )? (
- // (lv_statement_1_0= ruleStatement ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5190:2: ( ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) ) )?
- int alt88 = 2;
- int LA88_0 = input.LA(1);
-
- if (((LA88_0 >= RULE_ML_COMMENT && LA88_0 <= RULE_SL_COMMENT))) {
- alt88 = 1;
- }
- switch (alt88) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5191:1: ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5191:1: ( (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5192:1: (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5192:1: (lv_comment_0_1= RULE_ML_COMMENT | lv_comment_0_2= RULE_SL_COMMENT )
- int alt87 = 2;
- int LA87_0 = input.LA(1);
-
- if ((LA87_0 == RULE_ML_COMMENT)) {
- alt87 = 1;
- }
- else if ((LA87_0 == RULE_SL_COMMENT)) {
- alt87 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 87, 0, input);
-
- throw nvae;
- }
- switch (alt87) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5193:3: lv_comment_0_1= RULE_ML_COMMENT
- {
- lv_comment_0_1 = (Token) match(input, RULE_ML_COMMENT, FOLLOW_RULE_ML_COMMENT_in_ruleDocumentedStatement11206);
-
- newLeafNode(lv_comment_0_1, grammarAccess.getDocumentedStatementAccess().getCommentML_COMMENTTerminalRuleCall_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- current,
- "comment",
- lv_comment_0_1,
- "ML_COMMENT");
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5208:8: lv_comment_0_2= RULE_SL_COMMENT
- {
- lv_comment_0_2 = (Token) match(input, RULE_SL_COMMENT, FOLLOW_RULE_SL_COMMENT_in_ruleDocumentedStatement11226);
-
- newLeafNode(lv_comment_0_2, grammarAccess.getDocumentedStatementAccess().getCommentSL_COMMENTTerminalRuleCall_0_0_1());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getDocumentedStatementRule());
- }
- setWithLastConsumed(
- current,
- "comment",
- lv_comment_0_2,
- "SL_COMMENT");
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5226:3: ( (lv_statement_1_0= ruleStatement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5227:1: (lv_statement_1_0= ruleStatement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5227:1: (lv_statement_1_0= ruleStatement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5228:3: lv_statement_1_0= ruleStatement
- {
-
- newCompositeNode(grammarAccess.getDocumentedStatementAccess().getStatementStatementParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleStatement_in_ruleDocumentedStatement11256);
- lv_statement_1_0 = ruleStatement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getDocumentedStatementRule());
- }
- set(
- current,
- "statement",
- lv_statement_1_0,
- "Statement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleDocumentedStatement"
-
-
- // $ANTLR start "entryRuleInlineStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5252:1: entryRuleInlineStatement returns [EObject current=null] : iv_ruleInlineStatement= ruleInlineStatement EOF
- // ;
- public final EObject entryRuleInlineStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInlineStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5253:2: (iv_ruleInlineStatement= ruleInlineStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5254:2: iv_ruleInlineStatement= ruleInlineStatement EOF
- {
- newCompositeNode(grammarAccess.getInlineStatementRule());
- pushFollow(FOLLOW_ruleInlineStatement_in_entryRuleInlineStatement11292);
- iv_ruleInlineStatement = ruleInlineStatement();
-
- state._fsp--;
-
- current = iv_ruleInlineStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleInlineStatement11302);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleInlineStatement"
-
-
- // $ANTLR start "ruleInlineStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5261:1: ruleInlineStatement returns [EObject current=null] : (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '('
- // ( (lv_langageName_3_0= RULE_ID ) ) otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) ;
- public final EObject ruleInlineStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token otherlv_2 = null;
- Token lv_langageName_3_0 = null;
- Token otherlv_4 = null;
- Token lv_body_5_0 = null;
- Token otherlv_6 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5264:28: ( (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) )
- // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:1: (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) ) otherlv_4=
- // ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:1: (otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) )
- // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5265:3: otherlv_0= '/*@' otherlv_1= 'inline' otherlv_2= '(' ( (lv_langageName_3_0= RULE_ID ) )
- // otherlv_4= ')' ( (lv_body_5_0= RULE_STRING ) ) otherlv_6= '*/'
- {
- otherlv_0 = (Token) match(input, 66, FOLLOW_66_in_ruleInlineStatement11339);
-
- newLeafNode(otherlv_0, grammarAccess.getInlineStatementAccess().getSolidusAsteriskCommercialAtKeyword_0());
-
- otherlv_1 = (Token) match(input, 67, FOLLOW_67_in_ruleInlineStatement11351);
-
- newLeafNode(otherlv_1, grammarAccess.getInlineStatementAccess().getInlineKeyword_1());
-
- otherlv_2 = (Token) match(input, 15, FOLLOW_15_in_ruleInlineStatement11363);
-
- newLeafNode(otherlv_2, grammarAccess.getInlineStatementAccess().getLeftParenthesisKeyword_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5277:1: ( (lv_langageName_3_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5278:1: (lv_langageName_3_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5278:1: (lv_langageName_3_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5279:3: lv_langageName_3_0= RULE_ID
- {
- lv_langageName_3_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleInlineStatement11380);
-
- newLeafNode(lv_langageName_3_0, grammarAccess.getInlineStatementAccess().getLangageNameIDTerminalRuleCall_3_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getInlineStatementRule());
- }
- setWithLastConsumed(
- current,
- "langageName",
- lv_langageName_3_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_4 = (Token) match(input, 16, FOLLOW_16_in_ruleInlineStatement11397);
-
- newLeafNode(otherlv_4, grammarAccess.getInlineStatementAccess().getRightParenthesisKeyword_4());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5299:1: ( (lv_body_5_0= RULE_STRING ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5300:1: (lv_body_5_0= RULE_STRING )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5300:1: (lv_body_5_0= RULE_STRING )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5301:3: lv_body_5_0= RULE_STRING
- {
- lv_body_5_0 = (Token) match(input, RULE_STRING, FOLLOW_RULE_STRING_in_ruleInlineStatement11414);
-
- newLeafNode(lv_body_5_0, grammarAccess.getInlineStatementAccess().getBodySTRINGTerminalRuleCall_5_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getInlineStatementRule());
- }
- setWithLastConsumed(
- current,
- "body",
- lv_body_5_0,
- "STRING");
-
-
- }
-
-
- }
-
- otherlv_6 = (Token) match(input, 68, FOLLOW_68_in_ruleInlineStatement11431);
-
- newLeafNode(otherlv_6, grammarAccess.getInlineStatementAccess().getAsteriskSolidusKeyword_6());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleInlineStatement"
-
-
- // $ANTLR start "entryRuleAnnotatedStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5329:1: entryRuleAnnotatedStatement returns [EObject current=null] : iv_ruleAnnotatedStatement=
- // ruleAnnotatedStatement EOF ;
- public final EObject entryRuleAnnotatedStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAnnotatedStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5330:2: (iv_ruleAnnotatedStatement= ruleAnnotatedStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5331:2: iv_ruleAnnotatedStatement= ruleAnnotatedStatement EOF
- {
- newCompositeNode(grammarAccess.getAnnotatedStatementRule());
- pushFollow(FOLLOW_ruleAnnotatedStatement_in_entryRuleAnnotatedStatement11467);
- iv_ruleAnnotatedStatement = ruleAnnotatedStatement();
-
- state._fsp--;
-
- current = iv_ruleAnnotatedStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAnnotatedStatement11477);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAnnotatedStatement"
-
-
- // $ANTLR start "ruleAnnotatedStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5338:1: ruleAnnotatedStatement returns [EObject current=null] : (otherlv_0= '//@' ( (lv_annotation_1_0=
- // ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) ) ) ;
- public final EObject ruleAnnotatedStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_annotation_1_0 = null;
-
- EObject lv_statement_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5341:28: ( (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement )
- // ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:1: (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement ) )
- // )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:1: (otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement
- // ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5342:3: otherlv_0= '//@' ( (lv_annotation_1_0= ruleAnnotation ) ) ( (lv_statement_2_0= ruleStatement )
- // )
- {
- otherlv_0 = (Token) match(input, 69, FOLLOW_69_in_ruleAnnotatedStatement11514);
-
- newLeafNode(otherlv_0, grammarAccess.getAnnotatedStatementAccess().getSolidusSolidusCommercialAtKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5346:1: ( (lv_annotation_1_0= ruleAnnotation ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5347:1: (lv_annotation_1_0= ruleAnnotation )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5347:1: (lv_annotation_1_0= ruleAnnotation )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5348:3: lv_annotation_1_0= ruleAnnotation
- {
-
- newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getAnnotationAnnotationParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleAnnotation_in_ruleAnnotatedStatement11535);
- lv_annotation_1_0 = ruleAnnotation();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule());
- }
- set(
- current,
- "annotation",
- lv_annotation_1_0,
- "Annotation");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5364:2: ( (lv_statement_2_0= ruleStatement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5365:1: (lv_statement_2_0= ruleStatement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5365:1: (lv_statement_2_0= ruleStatement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5366:3: lv_statement_2_0= ruleStatement
- {
-
- newCompositeNode(grammarAccess.getAnnotatedStatementAccess().getStatementStatementParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleStatement_in_ruleAnnotatedStatement11556);
- lv_statement_2_0 = ruleStatement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAnnotatedStatementRule());
- }
- set(
- current,
- "statement",
- lv_statement_2_0,
- "Statement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAnnotatedStatement"
-
-
- // $ANTLR start "entryRuleStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5390:1: entryRuleStatement returns [EObject current=null] : iv_ruleStatement= ruleStatement EOF ;
- public final EObject entryRuleStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5391:2: (iv_ruleStatement= ruleStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5392:2: iv_ruleStatement= ruleStatement EOF
- {
- newCompositeNode(grammarAccess.getStatementRule());
- pushFollow(FOLLOW_ruleStatement_in_entryRuleStatement11592);
- iv_ruleStatement = ruleStatement();
-
- state._fsp--;
-
- current = iv_ruleStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleStatement11602);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleStatement"
-
-
- // $ANTLR start "ruleStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5399:1: ruleStatement returns [EObject current=null] : (this_AnnotatedStatement_0= ruleAnnotatedStatement |
- // this_InlineStatement_1= ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement |
- // this_SwitchStatement_6= ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11=
- // ruleReturnStatement | this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement |
- // this_SuperInvocationStatement_15= ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) ;
- public final EObject ruleStatement() throws RecognitionException {
- EObject current = null;
-
- EObject this_AnnotatedStatement_0 = null;
-
- EObject this_InlineStatement_1 = null;
-
- EObject this_BlockStatement_2 = null;
-
- EObject this_EmptyStatement_3 = null;
-
- EObject this_LocalNameDeclarationStatement_4 = null;
-
- EObject this_IfStatement_5 = null;
-
- EObject this_SwitchStatement_6 = null;
-
- EObject this_WhileStatement_7 = null;
-
- EObject this_DoStatement_8 = null;
-
- EObject this_ForStatement_9 = null;
-
- EObject this_BreakStatement_10 = null;
-
- EObject this_ReturnStatement_11 = null;
-
- EObject this_AcceptStatement_12 = null;
-
- EObject this_ClassifyStatement_13 = null;
-
- EObject this_InvocationOrAssignementOrDeclarationStatement_14 = null;
-
- EObject this_SuperInvocationStatement_15 = null;
-
- EObject this_ThisInvocationStatement_16 = null;
-
- EObject this_InstanceCreationInvocationStatement_17 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5402:28: ( (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1=
- // ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | this_SwitchStatement_6=
- // ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= ruleReturnStatement |
- // this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | this_SuperInvocationStatement_15=
- // ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5403:1: (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1= ruleInlineStatement |
- // this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement | this_SwitchStatement_6= ruleSwitchStatement |
- // this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11= ruleReturnStatement | this_AcceptStatement_12=
- // ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement | this_SuperInvocationStatement_15= ruleSuperInvocationStatement |
- // this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5403:1: (this_AnnotatedStatement_0= ruleAnnotatedStatement | this_InlineStatement_1=
- // ruleInlineStatement | this_BlockStatement_2= ruleBlockStatement | this_EmptyStatement_3= ruleEmptyStatement | this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement | this_IfStatement_5= ruleIfStatement |
- // this_SwitchStatement_6= ruleSwitchStatement | this_WhileStatement_7= ruleWhileStatement | this_DoStatement_8= ruleDoStatement | this_ForStatement_9= ruleForStatement | this_BreakStatement_10= ruleBreakStatement | this_ReturnStatement_11=
- // ruleReturnStatement | this_AcceptStatement_12= ruleAcceptStatement | this_ClassifyStatement_13= ruleClassifyStatement | this_InvocationOrAssignementOrDeclarationStatement_14= ruleInvocationOrAssignementOrDeclarationStatement |
- // this_SuperInvocationStatement_15= ruleSuperInvocationStatement | this_ThisInvocationStatement_16= ruleThisInvocationStatement | this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement )
- int alt89 = 18;
- switch (input.LA(1)) {
- case 69: {
- alt89 = 1;
- }
- break;
- case 66: {
- alt89 = 2;
- }
- break;
- case 63: {
- alt89 = 3;
- }
- break;
- case 12: {
- alt89 = 4;
- }
- break;
- case 70: {
- alt89 = 5;
- }
- break;
- case 72: {
- alt89 = 6;
- }
- break;
- case 75: {
- alt89 = 7;
- }
- break;
- case 78: {
- alt89 = 8;
- }
- break;
- case 79: {
- alt89 = 9;
- }
- break;
- case 80: {
- alt89 = 10;
- }
- break;
- case 82: {
- alt89 = 11;
- }
- break;
- case 83: {
- alt89 = 12;
- }
- break;
- case 84: {
- alt89 = 13;
- }
- break;
- case 85: {
- alt89 = 14;
- }
- break;
- case RULE_ID:
- case 27:
- case 28: {
- alt89 = 15;
- }
- break;
- case 61: {
- alt89 = 16;
- }
- break;
- case 60: {
- alt89 = 17;
- }
- break;
- case 62: {
- alt89 = 18;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 89, 0, input);
-
- throw nvae;
- }
-
- switch (alt89) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5404:5: this_AnnotatedStatement_0= ruleAnnotatedStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getAnnotatedStatementParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleAnnotatedStatement_in_ruleStatement11649);
- this_AnnotatedStatement_0 = ruleAnnotatedStatement();
-
- state._fsp--;
-
-
- current = this_AnnotatedStatement_0;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5414:5: this_InlineStatement_1= ruleInlineStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getInlineStatementParserRuleCall_1());
-
- pushFollow(FOLLOW_ruleInlineStatement_in_ruleStatement11676);
- this_InlineStatement_1 = ruleInlineStatement();
-
- state._fsp--;
-
-
- current = this_InlineStatement_1;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5424:5: this_BlockStatement_2= ruleBlockStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getBlockStatementParserRuleCall_2());
-
- pushFollow(FOLLOW_ruleBlockStatement_in_ruleStatement11703);
- this_BlockStatement_2 = ruleBlockStatement();
-
- state._fsp--;
-
-
- current = this_BlockStatement_2;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5434:5: this_EmptyStatement_3= ruleEmptyStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getEmptyStatementParserRuleCall_3());
-
- pushFollow(FOLLOW_ruleEmptyStatement_in_ruleStatement11730);
- this_EmptyStatement_3 = ruleEmptyStatement();
-
- state._fsp--;
-
-
- current = this_EmptyStatement_3;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5444:5: this_LocalNameDeclarationStatement_4= ruleLocalNameDeclarationStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getLocalNameDeclarationStatementParserRuleCall_4());
-
- pushFollow(FOLLOW_ruleLocalNameDeclarationStatement_in_ruleStatement11757);
- this_LocalNameDeclarationStatement_4 = ruleLocalNameDeclarationStatement();
-
- state._fsp--;
-
-
- current = this_LocalNameDeclarationStatement_4;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5454:5: this_IfStatement_5= ruleIfStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getIfStatementParserRuleCall_5());
-
- pushFollow(FOLLOW_ruleIfStatement_in_ruleStatement11784);
- this_IfStatement_5 = ruleIfStatement();
-
- state._fsp--;
-
-
- current = this_IfStatement_5;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5464:5: this_SwitchStatement_6= ruleSwitchStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getSwitchStatementParserRuleCall_6());
-
- pushFollow(FOLLOW_ruleSwitchStatement_in_ruleStatement11811);
- this_SwitchStatement_6 = ruleSwitchStatement();
-
- state._fsp--;
-
-
- current = this_SwitchStatement_6;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5474:5: this_WhileStatement_7= ruleWhileStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getWhileStatementParserRuleCall_7());
-
- pushFollow(FOLLOW_ruleWhileStatement_in_ruleStatement11838);
- this_WhileStatement_7 = ruleWhileStatement();
-
- state._fsp--;
-
-
- current = this_WhileStatement_7;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5484:5: this_DoStatement_8= ruleDoStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getDoStatementParserRuleCall_8());
-
- pushFollow(FOLLOW_ruleDoStatement_in_ruleStatement11865);
- this_DoStatement_8 = ruleDoStatement();
-
- state._fsp--;
-
-
- current = this_DoStatement_8;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5494:5: this_ForStatement_9= ruleForStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getForStatementParserRuleCall_9());
-
- pushFollow(FOLLOW_ruleForStatement_in_ruleStatement11892);
- this_ForStatement_9 = ruleForStatement();
-
- state._fsp--;
-
-
- current = this_ForStatement_9;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5504:5: this_BreakStatement_10= ruleBreakStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getBreakStatementParserRuleCall_10());
-
- pushFollow(FOLLOW_ruleBreakStatement_in_ruleStatement11919);
- this_BreakStatement_10 = ruleBreakStatement();
-
- state._fsp--;
-
-
- current = this_BreakStatement_10;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 12:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5514:5: this_ReturnStatement_11= ruleReturnStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getReturnStatementParserRuleCall_11());
-
- pushFollow(FOLLOW_ruleReturnStatement_in_ruleStatement11946);
- this_ReturnStatement_11 = ruleReturnStatement();
-
- state._fsp--;
-
-
- current = this_ReturnStatement_11;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 13:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5524:5: this_AcceptStatement_12= ruleAcceptStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getAcceptStatementParserRuleCall_12());
-
- pushFollow(FOLLOW_ruleAcceptStatement_in_ruleStatement11973);
- this_AcceptStatement_12 = ruleAcceptStatement();
-
- state._fsp--;
-
-
- current = this_AcceptStatement_12;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 14:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5534:5: this_ClassifyStatement_13= ruleClassifyStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getClassifyStatementParserRuleCall_13());
-
- pushFollow(FOLLOW_ruleClassifyStatement_in_ruleStatement12000);
- this_ClassifyStatement_13 = ruleClassifyStatement();
-
- state._fsp--;
-
-
- current = this_ClassifyStatement_13;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 15:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5544:5: this_InvocationOrAssignementOrDeclarationStatement_14=
- // ruleInvocationOrAssignementOrDeclarationStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getInvocationOrAssignementOrDeclarationStatementParserRuleCall_14());
-
- pushFollow(FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_ruleStatement12027);
- this_InvocationOrAssignementOrDeclarationStatement_14 = ruleInvocationOrAssignementOrDeclarationStatement();
-
- state._fsp--;
-
-
- current = this_InvocationOrAssignementOrDeclarationStatement_14;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 16:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5554:5: this_SuperInvocationStatement_15= ruleSuperInvocationStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getSuperInvocationStatementParserRuleCall_15());
-
- pushFollow(FOLLOW_ruleSuperInvocationStatement_in_ruleStatement12054);
- this_SuperInvocationStatement_15 = ruleSuperInvocationStatement();
-
- state._fsp--;
-
-
- current = this_SuperInvocationStatement_15;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 17:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5564:5: this_ThisInvocationStatement_16= ruleThisInvocationStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getThisInvocationStatementParserRuleCall_16());
-
- pushFollow(FOLLOW_ruleThisInvocationStatement_in_ruleStatement12081);
- this_ThisInvocationStatement_16 = ruleThisInvocationStatement();
-
- state._fsp--;
-
-
- current = this_ThisInvocationStatement_16;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
- case 18:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5574:5: this_InstanceCreationInvocationStatement_17= ruleInstanceCreationInvocationStatement
- {
-
- newCompositeNode(grammarAccess.getStatementAccess().getInstanceCreationInvocationStatementParserRuleCall_17());
-
- pushFollow(FOLLOW_ruleInstanceCreationInvocationStatement_in_ruleStatement12108);
- this_InstanceCreationInvocationStatement_17 = ruleInstanceCreationInvocationStatement();
-
- state._fsp--;
-
-
- current = this_InstanceCreationInvocationStatement_17;
- afterParserOrEnumRuleCall();
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleStatement"
-
-
- // $ANTLR start "entryRuleAnnotation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5590:1: entryRuleAnnotation returns [EObject current=null] : iv_ruleAnnotation= ruleAnnotation EOF ;
- public final EObject entryRuleAnnotation() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAnnotation = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5591:2: (iv_ruleAnnotation= ruleAnnotation EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5592:2: iv_ruleAnnotation= ruleAnnotation EOF
- {
- newCompositeNode(grammarAccess.getAnnotationRule());
- pushFollow(FOLLOW_ruleAnnotation_in_entryRuleAnnotation12143);
- iv_ruleAnnotation = ruleAnnotation();
-
- state._fsp--;
-
- current = iv_ruleAnnotation;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAnnotation12153);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAnnotation"
-
-
- // $ANTLR start "ruleAnnotation"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5599:1: ruleAnnotation returns [EObject current=null] : ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' (
- // (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) ;
- public final EObject ruleAnnotation() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token lv_args_2_0 = null;
- Token otherlv_3 = null;
- Token lv_args_4_0 = null;
- Token otherlv_5 = null;
- Enumerator lv_kind_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5602:28: ( ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) )
- // (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:1: ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3=
- // ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:1: ( ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) )
- // (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:2: ( (lv_kind_0_0= ruleAnnotationKind ) ) (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3=
- // ',' ( (lv_args_4_0= RULE_ID ) ) )* otherlv_5= ')' )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5603:2: ( (lv_kind_0_0= ruleAnnotationKind ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5604:1: (lv_kind_0_0= ruleAnnotationKind )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5604:1: (lv_kind_0_0= ruleAnnotationKind )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5605:3: lv_kind_0_0= ruleAnnotationKind
- {
-
- newCompositeNode(grammarAccess.getAnnotationAccess().getKindAnnotationKindEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAnnotationKind_in_ruleAnnotation12199);
- lv_kind_0_0 = ruleAnnotationKind();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAnnotationRule());
- }
- set(
- current,
- "kind",
- lv_kind_0_0,
- "AnnotationKind");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5621:2: (otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )*
- // otherlv_5= ')' )?
- int alt91 = 2;
- int LA91_0 = input.LA(1);
-
- if ((LA91_0 == 15)) {
- alt91 = 1;
- }
- switch (alt91) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5621:4: otherlv_1= '(' ( (lv_args_2_0= RULE_ID ) ) (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )*
- // otherlv_5= ')'
- {
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleAnnotation12212);
-
- newLeafNode(otherlv_1, grammarAccess.getAnnotationAccess().getLeftParenthesisKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5625:1: ( (lv_args_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5626:1: (lv_args_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5626:1: (lv_args_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5627:3: lv_args_2_0= RULE_ID
- {
- lv_args_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAnnotation12229);
-
- newLeafNode(lv_args_2_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getAnnotationRule());
- }
- addWithLastConsumed(
- current,
- "args",
- lv_args_2_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5643:2: (otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) ) )*
- loop90: do {
- int alt90 = 2;
- int LA90_0 = input.LA(1);
-
- if ((LA90_0 == 17)) {
- alt90 = 1;
- }
-
-
- switch (alt90) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5643:4: otherlv_3= ',' ( (lv_args_4_0= RULE_ID ) )
- {
- otherlv_3 = (Token) match(input, 17, FOLLOW_17_in_ruleAnnotation12247);
-
- newLeafNode(otherlv_3, grammarAccess.getAnnotationAccess().getCommaKeyword_1_2_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5647:1: ( (lv_args_4_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5648:1: (lv_args_4_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5648:1: (lv_args_4_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5649:3: lv_args_4_0= RULE_ID
- {
- lv_args_4_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAnnotation12264);
-
- newLeafNode(lv_args_4_0, grammarAccess.getAnnotationAccess().getArgsIDTerminalRuleCall_1_2_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getAnnotationRule());
- }
- addWithLastConsumed(
- current,
- "args",
- lv_args_4_0,
- "ID");
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop90;
- }
- } while (true);
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleAnnotation12283);
-
- newLeafNode(otherlv_5, grammarAccess.getAnnotationAccess().getRightParenthesisKeyword_1_3());
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAnnotation"
-
-
- // $ANTLR start "entryRuleBlockStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5677:1: entryRuleBlockStatement returns [EObject current=null] : iv_ruleBlockStatement= ruleBlockStatement EOF ;
- public final EObject entryRuleBlockStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleBlockStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5678:2: (iv_ruleBlockStatement= ruleBlockStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5679:2: iv_ruleBlockStatement= ruleBlockStatement EOF
- {
- newCompositeNode(grammarAccess.getBlockStatementRule());
- pushFollow(FOLLOW_ruleBlockStatement_in_entryRuleBlockStatement12321);
- iv_ruleBlockStatement = ruleBlockStatement();
-
- state._fsp--;
-
- current = iv_ruleBlockStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleBlockStatement12331);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleBlockStatement"
-
-
- // $ANTLR start "ruleBlockStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5686:1: ruleBlockStatement returns [EObject current=null] : ( (lv_block_0_0= ruleBlock ) ) ;
- public final EObject ruleBlockStatement() throws RecognitionException {
- EObject current = null;
-
- EObject lv_block_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5689:28: ( ( (lv_block_0_0= ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5690:1: ( (lv_block_0_0= ruleBlock ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5690:1: ( (lv_block_0_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5691:1: (lv_block_0_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5691:1: (lv_block_0_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5692:3: lv_block_0_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getBlockStatementAccess().getBlockBlockParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleBlockStatement12376);
- lv_block_0_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getBlockStatementRule());
- }
- set(
- current,
- "block",
- lv_block_0_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleBlockStatement"
-
-
- // $ANTLR start "entryRuleEmptyStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5716:1: entryRuleEmptyStatement returns [EObject current=null] : iv_ruleEmptyStatement= ruleEmptyStatement EOF ;
- public final EObject entryRuleEmptyStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleEmptyStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5717:2: (iv_ruleEmptyStatement= ruleEmptyStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5718:2: iv_ruleEmptyStatement= ruleEmptyStatement EOF
- {
- newCompositeNode(grammarAccess.getEmptyStatementRule());
- pushFollow(FOLLOW_ruleEmptyStatement_in_entryRuleEmptyStatement12411);
- iv_ruleEmptyStatement = ruleEmptyStatement();
-
- state._fsp--;
-
- current = iv_ruleEmptyStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleEmptyStatement12421);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleEmptyStatement"
-
-
- // $ANTLR start "ruleEmptyStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5725:1: ruleEmptyStatement returns [EObject current=null] : ( () otherlv_1= ';' ) ;
- public final EObject ruleEmptyStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5728:28: ( ( () otherlv_1= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:1: ( () otherlv_1= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:1: ( () otherlv_1= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:2: () otherlv_1= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5729:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5730:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getEmptyStatementAccess().getEmptyStatementAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleEmptyStatement12467);
-
- newLeafNode(otherlv_1, grammarAccess.getEmptyStatementAccess().getSemicolonKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleEmptyStatement"
-
-
- // $ANTLR start "entryRuleLocalNameDeclarationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5747:1: entryRuleLocalNameDeclarationStatement returns [EObject current=null] :
- // iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF ;
- public final EObject entryRuleLocalNameDeclarationStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLocalNameDeclarationStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5748:2: (iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5749:2: iv_ruleLocalNameDeclarationStatement= ruleLocalNameDeclarationStatement EOF
- {
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementRule());
- pushFollow(FOLLOW_ruleLocalNameDeclarationStatement_in_entryRuleLocalNameDeclarationStatement12503);
- iv_ruleLocalNameDeclarationStatement = ruleLocalNameDeclarationStatement();
-
- state._fsp--;
-
- current = iv_ruleLocalNameDeclarationStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLocalNameDeclarationStatement12513);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLocalNameDeclarationStatement"
-
-
- // $ANTLR start "ruleLocalNameDeclarationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5756:1: ruleLocalNameDeclarationStatement returns [EObject current=null] : (otherlv_0= 'let' ( (lv_varName_1_0=
- // RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0= ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) ;
- public final EObject ruleLocalNameDeclarationStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token lv_varName_1_0 = null;
- Token otherlv_2 = null;
- Token lv_multiplicityIndicator_4_0 = null;
- Token otherlv_5 = null;
- Token otherlv_6 = null;
- Token otherlv_8 = null;
- EObject lv_type_3_0 = null;
-
- EObject lv_init_7_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5759:28: ( (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0=
- // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:1: (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0=
- // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:1: (otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0=
- // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5760:3: otherlv_0= 'let' ( (lv_varName_1_0= RULE_ID ) ) otherlv_2= ':' ( (lv_type_3_0=
- // ruleQualifiedNameWithBinding ) ) ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )? otherlv_6= '=' ( (lv_init_7_0= ruleSequenceElement ) ) otherlv_8= ';'
- {
- otherlv_0 = (Token) match(input, 70, FOLLOW_70_in_ruleLocalNameDeclarationStatement12550);
-
- newLeafNode(otherlv_0, grammarAccess.getLocalNameDeclarationStatementAccess().getLetKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5764:1: ( (lv_varName_1_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5765:1: (lv_varName_1_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5765:1: (lv_varName_1_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5766:3: lv_varName_1_0= RULE_ID
- {
- lv_varName_1_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLocalNameDeclarationStatement12567);
-
- newLeafNode(lv_varName_1_0, grammarAccess.getLocalNameDeclarationStatementAccess().getVarNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- setWithLastConsumed(
- current,
- "varName",
- lv_varName_1_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleLocalNameDeclarationStatement12584);
-
- newLeafNode(otherlv_2, grammarAccess.getLocalNameDeclarationStatementAccess().getColonKeyword_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5786:1: ( (lv_type_3_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5787:1: (lv_type_3_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5787:1: (lv_type_3_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5788:3: lv_type_3_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getTypeQualifiedNameWithBindingParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleLocalNameDeclarationStatement12605);
- lv_type_3_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- set(
- current,
- "type",
- lv_type_3_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:2: ( ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']' )?
- int alt92 = 2;
- int LA92_0 = input.LA(1);
-
- if ((LA92_0 == 18)) {
- alt92 = 1;
- }
- switch (alt92) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:3: ( (lv_multiplicityIndicator_4_0= '[' ) ) otherlv_5= ']'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5804:3: ( (lv_multiplicityIndicator_4_0= '[' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5805:1: (lv_multiplicityIndicator_4_0= '[' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5805:1: (lv_multiplicityIndicator_4_0= '[' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5806:3: lv_multiplicityIndicator_4_0= '['
- {
- lv_multiplicityIndicator_4_0 = (Token) match(input, 18, FOLLOW_18_in_ruleLocalNameDeclarationStatement12624);
-
- newLeafNode(lv_multiplicityIndicator_4_0, grammarAccess.getLocalNameDeclarationStatementAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_4_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- setWithLastConsumed(current, "multiplicityIndicator", true, "[");
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 19, FOLLOW_19_in_ruleLocalNameDeclarationStatement12649);
-
- newLeafNode(otherlv_5, grammarAccess.getLocalNameDeclarationStatementAccess().getRightSquareBracketKeyword_4_1());
-
-
- }
- break;
-
- }
-
- otherlv_6 = (Token) match(input, 71, FOLLOW_71_in_ruleLocalNameDeclarationStatement12663);
-
- newLeafNode(otherlv_6, grammarAccess.getLocalNameDeclarationStatementAccess().getEqualsSignKeyword_5());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5827:1: ( (lv_init_7_0= ruleSequenceElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5828:1: (lv_init_7_0= ruleSequenceElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5828:1: (lv_init_7_0= ruleSequenceElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5829:3: lv_init_7_0= ruleSequenceElement
- {
-
- newCompositeNode(grammarAccess.getLocalNameDeclarationStatementAccess().getInitSequenceElementParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSequenceElement_in_ruleLocalNameDeclarationStatement12684);
- lv_init_7_0 = ruleSequenceElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLocalNameDeclarationStatementRule());
- }
- set(
- current,
- "init",
- lv_init_7_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_8 = (Token) match(input, 12, FOLLOW_12_in_ruleLocalNameDeclarationStatement12696);
-
- newLeafNode(otherlv_8, grammarAccess.getLocalNameDeclarationStatementAccess().getSemicolonKeyword_7());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLocalNameDeclarationStatement"
-
-
- // $ANTLR start "entryRuleIfStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5857:1: entryRuleIfStatement returns [EObject current=null] : iv_ruleIfStatement= ruleIfStatement EOF ;
- public final EObject entryRuleIfStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleIfStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5858:2: (iv_ruleIfStatement= ruleIfStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5859:2: iv_ruleIfStatement= ruleIfStatement EOF
- {
- newCompositeNode(grammarAccess.getIfStatementRule());
- pushFollow(FOLLOW_ruleIfStatement_in_entryRuleIfStatement12732);
- iv_ruleIfStatement = ruleIfStatement();
-
- state._fsp--;
-
- current = iv_ruleIfStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleIfStatement12742);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleIfStatement"
-
-
- // $ANTLR start "ruleIfStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5866:1: ruleIfStatement returns [EObject current=null] : (otherlv_0= 'if' ( (lv_sequentialClausses_1_0=
- // ruleSequentialClauses ) ) ( (lv_finalClause_2_0= ruleFinalClause ) )? ) ;
- public final EObject ruleIfStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_sequentialClausses_1_0 = null;
-
- EObject lv_finalClause_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5869:28: ( (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0=
- // ruleFinalClause ) )? ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:1: (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0=
- // ruleFinalClause ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:1: (otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) (
- // (lv_finalClause_2_0= ruleFinalClause ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5870:3: otherlv_0= 'if' ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) ) ( (lv_finalClause_2_0=
- // ruleFinalClause ) )?
- {
- otherlv_0 = (Token) match(input, 72, FOLLOW_72_in_ruleIfStatement12779);
-
- newLeafNode(otherlv_0, grammarAccess.getIfStatementAccess().getIfKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5874:1: ( (lv_sequentialClausses_1_0= ruleSequentialClauses ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5875:1: (lv_sequentialClausses_1_0= ruleSequentialClauses )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5875:1: (lv_sequentialClausses_1_0= ruleSequentialClauses )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5876:3: lv_sequentialClausses_1_0= ruleSequentialClauses
- {
-
- newCompositeNode(grammarAccess.getIfStatementAccess().getSequentialClaussesSequentialClausesParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequentialClauses_in_ruleIfStatement12800);
- lv_sequentialClausses_1_0 = ruleSequentialClauses();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getIfStatementRule());
- }
- set(
- current,
- "sequentialClausses",
- lv_sequentialClausses_1_0,
- "SequentialClauses");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5892:2: ( (lv_finalClause_2_0= ruleFinalClause ) )?
- int alt93 = 2;
- int LA93_0 = input.LA(1);
-
- if ((LA93_0 == 73)) {
- alt93 = 1;
- }
- switch (alt93) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5893:1: (lv_finalClause_2_0= ruleFinalClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5893:1: (lv_finalClause_2_0= ruleFinalClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5894:3: lv_finalClause_2_0= ruleFinalClause
- {
-
- newCompositeNode(grammarAccess.getIfStatementAccess().getFinalClauseFinalClauseParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleFinalClause_in_ruleIfStatement12821);
- lv_finalClause_2_0 = ruleFinalClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getIfStatementRule());
- }
- set(
- current,
- "finalClause",
- lv_finalClause_2_0,
- "FinalClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleIfStatement"
-
-
- // $ANTLR start "entryRuleSequentialClauses"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5918:1: entryRuleSequentialClauses returns [EObject current=null] : iv_ruleSequentialClauses=
- // ruleSequentialClauses EOF ;
- public final EObject entryRuleSequentialClauses() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSequentialClauses = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5919:2: (iv_ruleSequentialClauses= ruleSequentialClauses EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5920:2: iv_ruleSequentialClauses= ruleSequentialClauses EOF
- {
- newCompositeNode(grammarAccess.getSequentialClausesRule());
- pushFollow(FOLLOW_ruleSequentialClauses_in_entryRuleSequentialClauses12858);
- iv_ruleSequentialClauses = ruleSequentialClauses();
-
- state._fsp--;
-
- current = iv_ruleSequentialClauses;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSequentialClauses12868);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSequentialClauses"
-
-
- // $ANTLR start "ruleSequentialClauses"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5927:1: ruleSequentialClauses returns [EObject current=null] : ( ( (lv_conccurentClauses_0_0=
- // ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) ;
- public final EObject ruleSequentialClauses() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_2 = null;
- EObject lv_conccurentClauses_0_0 = null;
-
- EObject lv_conccurentClauses_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5930:28: ( ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' (
- // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:1: ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' (
- // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:1: ( ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' (
- // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:2: ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) ) (otherlv_1= 'else' otherlv_2= 'if' (
- // (lv_conccurentClauses_3_0= ruleConcurrentClauses ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5931:2: ( (lv_conccurentClauses_0_0= ruleConcurrentClauses ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5932:1: (lv_conccurentClauses_0_0= ruleConcurrentClauses )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5932:1: (lv_conccurentClauses_0_0= ruleConcurrentClauses )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5933:3: lv_conccurentClauses_0_0= ruleConcurrentClauses
- {
-
- newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12914);
- lv_conccurentClauses_0_0 = ruleConcurrentClauses();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequentialClausesRule());
- }
- add(
- current,
- "conccurentClauses",
- lv_conccurentClauses_0_0,
- "ConcurrentClauses");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5949:2: (otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) )
- // )*
- loop94: do {
- int alt94 = 2;
- int LA94_0 = input.LA(1);
-
- if ((LA94_0 == 73)) {
- int LA94_1 = input.LA(2);
-
- if ((LA94_1 == 72)) {
- alt94 = 1;
- }
-
-
- }
-
-
- switch (alt94) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5949:4: otherlv_1= 'else' otherlv_2= 'if' ( (lv_conccurentClauses_3_0= ruleConcurrentClauses )
- // )
- {
- otherlv_1 = (Token) match(input, 73, FOLLOW_73_in_ruleSequentialClauses12927);
-
- newLeafNode(otherlv_1, grammarAccess.getSequentialClausesAccess().getElseKeyword_1_0());
-
- otherlv_2 = (Token) match(input, 72, FOLLOW_72_in_ruleSequentialClauses12939);
-
- newLeafNode(otherlv_2, grammarAccess.getSequentialClausesAccess().getIfKeyword_1_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5957:1: ( (lv_conccurentClauses_3_0= ruleConcurrentClauses ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5958:1: (lv_conccurentClauses_3_0= ruleConcurrentClauses )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5958:1: (lv_conccurentClauses_3_0= ruleConcurrentClauses )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5959:3: lv_conccurentClauses_3_0= ruleConcurrentClauses
- {
-
- newCompositeNode(grammarAccess.getSequentialClausesAccess().getConccurentClausesConcurrentClausesParserRuleCall_1_2_0());
-
- pushFollow(FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12960);
- lv_conccurentClauses_3_0 = ruleConcurrentClauses();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSequentialClausesRule());
- }
- add(
- current,
- "conccurentClauses",
- lv_conccurentClauses_3_0,
- "ConcurrentClauses");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop94;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSequentialClauses"
-
-
- // $ANTLR start "entryRuleConcurrentClauses"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5983:1: entryRuleConcurrentClauses returns [EObject current=null] : iv_ruleConcurrentClauses=
- // ruleConcurrentClauses EOF ;
- public final EObject entryRuleConcurrentClauses() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleConcurrentClauses = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5984:2: (iv_ruleConcurrentClauses= ruleConcurrentClauses EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5985:2: iv_ruleConcurrentClauses= ruleConcurrentClauses EOF
- {
- newCompositeNode(grammarAccess.getConcurrentClausesRule());
- pushFollow(FOLLOW_ruleConcurrentClauses_in_entryRuleConcurrentClauses12998);
- iv_ruleConcurrentClauses = ruleConcurrentClauses();
-
- state._fsp--;
-
- current = iv_ruleConcurrentClauses;
- match(input, EOF, FOLLOW_EOF_in_entryRuleConcurrentClauses13008);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleConcurrentClauses"
-
-
- // $ANTLR start "ruleConcurrentClauses"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5992:1: ruleConcurrentClauses returns [EObject current=null] : ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) )
- // (otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) ;
- public final EObject ruleConcurrentClauses() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_2 = null;
- EObject lv_nonFinalClause_0_0 = null;
-
- EObject lv_nonFinalClause_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5995:28: ( ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' (
- // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:1: ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' (
- // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:1: ( ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' (
- // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:2: ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) ) (otherlv_1= 'or' otherlv_2= 'if' (
- // (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5996:2: ( (lv_nonFinalClause_0_0= ruleNonFinalClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5997:1: (lv_nonFinalClause_0_0= ruleNonFinalClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5997:1: (lv_nonFinalClause_0_0= ruleNonFinalClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:5998:3: lv_nonFinalClause_0_0= ruleNonFinalClause
- {
-
- newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13054);
- lv_nonFinalClause_0_0 = ruleNonFinalClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConcurrentClausesRule());
- }
- add(
- current,
- "nonFinalClause",
- lv_nonFinalClause_0_0,
- "NonFinalClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6014:2: (otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) ) )*
- loop95: do {
- int alt95 = 2;
- int LA95_0 = input.LA(1);
-
- if ((LA95_0 == 74)) {
- alt95 = 1;
- }
-
-
- switch (alt95) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6014:4: otherlv_1= 'or' otherlv_2= 'if' ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) )
- {
- otherlv_1 = (Token) match(input, 74, FOLLOW_74_in_ruleConcurrentClauses13067);
-
- newLeafNode(otherlv_1, grammarAccess.getConcurrentClausesAccess().getOrKeyword_1_0());
-
- otherlv_2 = (Token) match(input, 72, FOLLOW_72_in_ruleConcurrentClauses13079);
-
- newLeafNode(otherlv_2, grammarAccess.getConcurrentClausesAccess().getIfKeyword_1_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6022:1: ( (lv_nonFinalClause_3_0= ruleNonFinalClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6023:1: (lv_nonFinalClause_3_0= ruleNonFinalClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6023:1: (lv_nonFinalClause_3_0= ruleNonFinalClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6024:3: lv_nonFinalClause_3_0= ruleNonFinalClause
- {
-
- newCompositeNode(grammarAccess.getConcurrentClausesAccess().getNonFinalClauseNonFinalClauseParserRuleCall_1_2_0());
-
- pushFollow(FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13100);
- lv_nonFinalClause_3_0 = ruleNonFinalClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getConcurrentClausesRule());
- }
- add(
- current,
- "nonFinalClause",
- lv_nonFinalClause_3_0,
- "NonFinalClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop95;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleConcurrentClauses"
-
-
- // $ANTLR start "entryRuleNonFinalClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6048:1: entryRuleNonFinalClause returns [EObject current=null] : iv_ruleNonFinalClause= ruleNonFinalClause EOF ;
- public final EObject entryRuleNonFinalClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNonFinalClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6049:2: (iv_ruleNonFinalClause= ruleNonFinalClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6050:2: iv_ruleNonFinalClause= ruleNonFinalClause EOF
- {
- newCompositeNode(grammarAccess.getNonFinalClauseRule());
- pushFollow(FOLLOW_ruleNonFinalClause_in_entryRuleNonFinalClause13138);
- iv_ruleNonFinalClause = ruleNonFinalClause();
-
- state._fsp--;
-
- current = iv_ruleNonFinalClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNonFinalClause13148);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNonFinalClause"
-
-
- // $ANTLR start "ruleNonFinalClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6057:1: ruleNonFinalClause returns [EObject current=null] : (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression )
- // ) otherlv_2= ')' ( (lv_block_3_0= ruleBlock ) ) ) ;
- public final EObject ruleNonFinalClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- EObject lv_condition_1_0 = null;
-
- EObject lv_block_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6060:28: ( (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0=
- // ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:1: (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0= ruleBlock
- // ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:1: (otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0=
- // ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6061:3: otherlv_0= '(' ( (lv_condition_1_0= ruleExpression ) ) otherlv_2= ')' ( (lv_block_3_0=
- // ruleBlock ) )
- {
- otherlv_0 = (Token) match(input, 15, FOLLOW_15_in_ruleNonFinalClause13185);
-
- newLeafNode(otherlv_0, grammarAccess.getNonFinalClauseAccess().getLeftParenthesisKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6065:1: ( (lv_condition_1_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6066:1: (lv_condition_1_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6066:1: (lv_condition_1_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6067:3: lv_condition_1_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getNonFinalClauseAccess().getConditionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleNonFinalClause13206);
- lv_condition_1_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNonFinalClauseRule());
- }
- set(
- current,
- "condition",
- lv_condition_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 16, FOLLOW_16_in_ruleNonFinalClause13218);
-
- newLeafNode(otherlv_2, grammarAccess.getNonFinalClauseAccess().getRightParenthesisKeyword_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6087:1: ( (lv_block_3_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6088:1: (lv_block_3_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6088:1: (lv_block_3_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6089:3: lv_block_3_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getNonFinalClauseAccess().getBlockBlockParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleNonFinalClause13239);
- lv_block_3_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNonFinalClauseRule());
- }
- set(
- current,
- "block",
- lv_block_3_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNonFinalClause"
-
-
- // $ANTLR start "entryRuleFinalClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6113:1: entryRuleFinalClause returns [EObject current=null] : iv_ruleFinalClause= ruleFinalClause EOF ;
- public final EObject entryRuleFinalClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleFinalClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6114:2: (iv_ruleFinalClause= ruleFinalClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6115:2: iv_ruleFinalClause= ruleFinalClause EOF
- {
- newCompositeNode(grammarAccess.getFinalClauseRule());
- pushFollow(FOLLOW_ruleFinalClause_in_entryRuleFinalClause13275);
- iv_ruleFinalClause = ruleFinalClause();
-
- state._fsp--;
-
- current = iv_ruleFinalClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleFinalClause13285);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleFinalClause"
-
-
- // $ANTLR start "ruleFinalClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6122:1: ruleFinalClause returns [EObject current=null] : (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) ;
- public final EObject ruleFinalClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_block_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6125:28: ( (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:1: (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:1: (otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6126:3: otherlv_0= 'else' ( (lv_block_1_0= ruleBlock ) )
- {
- otherlv_0 = (Token) match(input, 73, FOLLOW_73_in_ruleFinalClause13322);
-
- newLeafNode(otherlv_0, grammarAccess.getFinalClauseAccess().getElseKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6130:1: ( (lv_block_1_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6131:1: (lv_block_1_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6131:1: (lv_block_1_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6132:3: lv_block_1_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getFinalClauseAccess().getBlockBlockParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleFinalClause13343);
- lv_block_1_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getFinalClauseRule());
- }
- set(
- current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleFinalClause"
-
-
- // $ANTLR start "entryRuleSwitchStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6156:1: entryRuleSwitchStatement returns [EObject current=null] : iv_ruleSwitchStatement= ruleSwitchStatement EOF
- // ;
- public final EObject entryRuleSwitchStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSwitchStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6157:2: (iv_ruleSwitchStatement= ruleSwitchStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6158:2: iv_ruleSwitchStatement= ruleSwitchStatement EOF
- {
- newCompositeNode(grammarAccess.getSwitchStatementRule());
- pushFollow(FOLLOW_ruleSwitchStatement_in_entryRuleSwitchStatement13379);
- iv_ruleSwitchStatement = ruleSwitchStatement();
-
- state._fsp--;
-
- current = iv_ruleSwitchStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchStatement13389);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSwitchStatement"
-
-
- // $ANTLR start "ruleSwitchStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6165:1: ruleSwitchStatement returns [EObject current=null] : (otherlv_0= 'switch' otherlv_1= '(' (
- // (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')' otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) ;
- public final EObject ruleSwitchStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- Token otherlv_4 = null;
- Token otherlv_7 = null;
- EObject lv_expression_2_0 = null;
-
- EObject lv_switchClause_5_0 = null;
-
- EObject lv_defaultClause_6_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6168:28: ( (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')'
- // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:1: (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')'
- // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:1: (otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')'
- // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6169:3: otherlv_0= 'switch' otherlv_1= '(' ( (lv_expression_2_0= ruleExpression ) ) otherlv_3= ')'
- // otherlv_4= '{' ( (lv_switchClause_5_0= ruleSwitchClause ) )* ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )? otherlv_7= '}'
- {
- otherlv_0 = (Token) match(input, 75, FOLLOW_75_in_ruleSwitchStatement13426);
-
- newLeafNode(otherlv_0, grammarAccess.getSwitchStatementAccess().getSwitchKeyword_0());
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleSwitchStatement13438);
-
- newLeafNode(otherlv_1, grammarAccess.getSwitchStatementAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6177:1: ( (lv_expression_2_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6178:1: (lv_expression_2_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6178:1: (lv_expression_2_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6179:3: lv_expression_2_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getExpressionExpressionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleSwitchStatement13459);
- lv_expression_2_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- set(
- current,
- "expression",
- lv_expression_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleSwitchStatement13471);
-
- newLeafNode(otherlv_3, grammarAccess.getSwitchStatementAccess().getRightParenthesisKeyword_3());
-
- otherlv_4 = (Token) match(input, 63, FOLLOW_63_in_ruleSwitchStatement13483);
-
- newLeafNode(otherlv_4, grammarAccess.getSwitchStatementAccess().getLeftCurlyBracketKeyword_4());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6203:1: ( (lv_switchClause_5_0= ruleSwitchClause ) )*
- loop96: do {
- int alt96 = 2;
- int LA96_0 = input.LA(1);
-
- if ((LA96_0 == 76)) {
- alt96 = 1;
- }
-
-
- switch (alt96) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6204:1: (lv_switchClause_5_0= ruleSwitchClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6204:1: (lv_switchClause_5_0= ruleSwitchClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6205:3: lv_switchClause_5_0= ruleSwitchClause
- {
-
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getSwitchClauseSwitchClauseParserRuleCall_5_0());
-
- pushFollow(FOLLOW_ruleSwitchClause_in_ruleSwitchStatement13504);
- lv_switchClause_5_0 = ruleSwitchClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- add(
- current,
- "switchClause",
- lv_switchClause_5_0,
- "SwitchClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default:
- break loop96;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6221:3: ( (lv_defaultClause_6_0= ruleSwitchDefaultClause ) )?
- int alt97 = 2;
- int LA97_0 = input.LA(1);
-
- if ((LA97_0 == 77)) {
- alt97 = 1;
- }
- switch (alt97) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6222:1: (lv_defaultClause_6_0= ruleSwitchDefaultClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6222:1: (lv_defaultClause_6_0= ruleSwitchDefaultClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6223:3: lv_defaultClause_6_0= ruleSwitchDefaultClause
- {
-
- newCompositeNode(grammarAccess.getSwitchStatementAccess().getDefaultClauseSwitchDefaultClauseParserRuleCall_6_0());
-
- pushFollow(FOLLOW_ruleSwitchDefaultClause_in_ruleSwitchStatement13526);
- lv_defaultClause_6_0 = ruleSwitchDefaultClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchStatementRule());
- }
- set(
- current,
- "defaultClause",
- lv_defaultClause_6_0,
- "SwitchDefaultClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_7 = (Token) match(input, 64, FOLLOW_64_in_ruleSwitchStatement13539);
-
- newLeafNode(otherlv_7, grammarAccess.getSwitchStatementAccess().getRightCurlyBracketKeyword_7());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSwitchStatement"
-
-
- // $ANTLR start "entryRuleSwitchClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6251:1: entryRuleSwitchClause returns [EObject current=null] : iv_ruleSwitchClause= ruleSwitchClause EOF ;
- public final EObject entryRuleSwitchClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSwitchClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6252:2: (iv_ruleSwitchClause= ruleSwitchClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6253:2: iv_ruleSwitchClause= ruleSwitchClause EOF
- {
- newCompositeNode(grammarAccess.getSwitchClauseRule());
- pushFollow(FOLLOW_ruleSwitchClause_in_entryRuleSwitchClause13575);
- iv_ruleSwitchClause = ruleSwitchClause();
-
- state._fsp--;
-
- current = iv_ruleSwitchClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchClause13585);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSwitchClause"
-
-
- // $ANTLR start "ruleSwitchClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6260:1: ruleSwitchClause returns [EObject current=null] : ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) (
- // (lv_switchCase_1_0= ruleSwitchCase ) )* ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) ;
- public final EObject ruleSwitchClause() throws RecognitionException {
- EObject current = null;
-
- EObject lv_switchCase_0_0 = null;
-
- EObject lv_switchCase_1_0 = null;
-
- EObject lv_statementSequence_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6263:28: ( ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* (
- // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:1: ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* (
- // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:1: ( ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* (
- // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:2: ( (lv_switchCase_0_0= ruleSwitchCase ) ) ( (lv_switchCase_1_0= ruleSwitchCase ) )* (
- // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6264:2: ( (lv_switchCase_0_0= ruleSwitchCase ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6265:1: (lv_switchCase_0_0= ruleSwitchCase )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6265:1: (lv_switchCase_0_0= ruleSwitchCase )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6266:3: lv_switchCase_0_0= ruleSwitchCase
- {
-
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleSwitchCase_in_ruleSwitchClause13631);
- lv_switchCase_0_0 = ruleSwitchCase();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- add(
- current,
- "switchCase",
- lv_switchCase_0_0,
- "SwitchCase");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6282:2: ( (lv_switchCase_1_0= ruleSwitchCase ) )*
- loop98: do {
- int alt98 = 2;
- int LA98_0 = input.LA(1);
-
- if ((LA98_0 == 76)) {
- alt98 = 1;
- }
-
-
- switch (alt98) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6283:1: (lv_switchCase_1_0= ruleSwitchCase )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6283:1: (lv_switchCase_1_0= ruleSwitchCase )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6284:3: lv_switchCase_1_0= ruleSwitchCase
- {
-
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getSwitchCaseSwitchCaseParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSwitchCase_in_ruleSwitchClause13652);
- lv_switchCase_1_0 = ruleSwitchCase();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- add(
- current,
- "switchCase",
- lv_switchCase_1_0,
- "SwitchCase");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default:
- break loop98;
- }
- } while (true);
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6300:3: ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6301:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6301:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6302:3: lv_statementSequence_2_0= ruleNonEmptyStatementSequence
- {
-
- newCompositeNode(grammarAccess.getSwitchClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchClause13674);
- lv_statementSequence_2_0 = ruleNonEmptyStatementSequence();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchClauseRule());
- }
- set(
- current,
- "statementSequence",
- lv_statementSequence_2_0,
- "NonEmptyStatementSequence");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSwitchClause"
-
-
- // $ANTLR start "entryRuleSwitchCase"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6326:1: entryRuleSwitchCase returns [EObject current=null] : iv_ruleSwitchCase= ruleSwitchCase EOF ;
- public final EObject entryRuleSwitchCase() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSwitchCase = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6327:2: (iv_ruleSwitchCase= ruleSwitchCase EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6328:2: iv_ruleSwitchCase= ruleSwitchCase EOF
- {
- newCompositeNode(grammarAccess.getSwitchCaseRule());
- pushFollow(FOLLOW_ruleSwitchCase_in_entryRuleSwitchCase13710);
- iv_ruleSwitchCase = ruleSwitchCase();
-
- state._fsp--;
-
- current = iv_ruleSwitchCase;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchCase13720);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSwitchCase"
-
-
- // $ANTLR start "ruleSwitchCase"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6335:1: ruleSwitchCase returns [EObject current=null] : (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression )
- // ) otherlv_2= ':' ) ;
- public final EObject ruleSwitchCase() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- EObject lv_expression_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6338:28: ( (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:1: (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:1: (otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6339:3: otherlv_0= 'case' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ':'
- {
- otherlv_0 = (Token) match(input, 76, FOLLOW_76_in_ruleSwitchCase13757);
-
- newLeafNode(otherlv_0, grammarAccess.getSwitchCaseAccess().getCaseKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6343:1: ( (lv_expression_1_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6344:1: (lv_expression_1_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6344:1: (lv_expression_1_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6345:3: lv_expression_1_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getSwitchCaseAccess().getExpressionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleSwitchCase13778);
- lv_expression_1_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchCaseRule());
- }
- set(
- current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 14, FOLLOW_14_in_ruleSwitchCase13790);
-
- newLeafNode(otherlv_2, grammarAccess.getSwitchCaseAccess().getColonKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSwitchCase"
-
-
- // $ANTLR start "entryRuleSwitchDefaultClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6373:1: entryRuleSwitchDefaultClause returns [EObject current=null] : iv_ruleSwitchDefaultClause=
- // ruleSwitchDefaultClause EOF ;
- public final EObject entryRuleSwitchDefaultClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSwitchDefaultClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6374:2: (iv_ruleSwitchDefaultClause= ruleSwitchDefaultClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6375:2: iv_ruleSwitchDefaultClause= ruleSwitchDefaultClause EOF
- {
- newCompositeNode(grammarAccess.getSwitchDefaultClauseRule());
- pushFollow(FOLLOW_ruleSwitchDefaultClause_in_entryRuleSwitchDefaultClause13826);
- iv_ruleSwitchDefaultClause = ruleSwitchDefaultClause();
-
- state._fsp--;
-
- current = iv_ruleSwitchDefaultClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSwitchDefaultClause13836);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSwitchDefaultClause"
-
-
- // $ANTLR start "ruleSwitchDefaultClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6382:1: ruleSwitchDefaultClause returns [EObject current=null] : (otherlv_0= 'default' otherlv_1= ':' (
- // (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) ) ) ;
- public final EObject ruleSwitchDefaultClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- EObject lv_statementSequence_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6385:28: ( (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence
- // ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:1: (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence )
- // ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:1: (otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0=
- // ruleNonEmptyStatementSequence ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6386:3: otherlv_0= 'default' otherlv_1= ':' ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence
- // ) )
- {
- otherlv_0 = (Token) match(input, 77, FOLLOW_77_in_ruleSwitchDefaultClause13873);
-
- newLeafNode(otherlv_0, grammarAccess.getSwitchDefaultClauseAccess().getDefaultKeyword_0());
-
- otherlv_1 = (Token) match(input, 14, FOLLOW_14_in_ruleSwitchDefaultClause13885);
-
- newLeafNode(otherlv_1, grammarAccess.getSwitchDefaultClauseAccess().getColonKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6394:1: ( (lv_statementSequence_2_0= ruleNonEmptyStatementSequence ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6395:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6395:1: (lv_statementSequence_2_0= ruleNonEmptyStatementSequence )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6396:3: lv_statementSequence_2_0= ruleNonEmptyStatementSequence
- {
-
- newCompositeNode(grammarAccess.getSwitchDefaultClauseAccess().getStatementSequenceNonEmptyStatementSequenceParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchDefaultClause13906);
- lv_statementSequence_2_0 = ruleNonEmptyStatementSequence();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSwitchDefaultClauseRule());
- }
- set(
- current,
- "statementSequence",
- lv_statementSequence_2_0,
- "NonEmptyStatementSequence");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSwitchDefaultClause"
-
-
- // $ANTLR start "entryRuleNonEmptyStatementSequence"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6420:1: entryRuleNonEmptyStatementSequence returns [EObject current=null] : iv_ruleNonEmptyStatementSequence=
- // ruleNonEmptyStatementSequence EOF ;
- public final EObject entryRuleNonEmptyStatementSequence() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleNonEmptyStatementSequence = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6421:2: (iv_ruleNonEmptyStatementSequence= ruleNonEmptyStatementSequence EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6422:2: iv_ruleNonEmptyStatementSequence= ruleNonEmptyStatementSequence EOF
- {
- newCompositeNode(grammarAccess.getNonEmptyStatementSequenceRule());
- pushFollow(FOLLOW_ruleNonEmptyStatementSequence_in_entryRuleNonEmptyStatementSequence13942);
- iv_ruleNonEmptyStatementSequence = ruleNonEmptyStatementSequence();
-
- state._fsp--;
-
- current = iv_ruleNonEmptyStatementSequence;
- match(input, EOF, FOLLOW_EOF_in_entryRuleNonEmptyStatementSequence13952);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleNonEmptyStatementSequence"
-
-
- // $ANTLR start "ruleNonEmptyStatementSequence"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6429:1: ruleNonEmptyStatementSequence returns [EObject current=null] : ( (lv_statement_0_0=
- // ruleDocumentedStatement ) )+ ;
- public final EObject ruleNonEmptyStatementSequence() throws RecognitionException {
- EObject current = null;
-
- EObject lv_statement_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6432:28: ( ( (lv_statement_0_0= ruleDocumentedStatement ) )+ )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6433:1: ( (lv_statement_0_0= ruleDocumentedStatement ) )+
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6433:1: ( (lv_statement_0_0= ruleDocumentedStatement ) )+
- int cnt99 = 0;
- loop99: do {
- int alt99 = 2;
- int LA99_0 = input.LA(1);
-
- if ((LA99_0 == RULE_ID || (LA99_0 >= RULE_ML_COMMENT && LA99_0 <= RULE_SL_COMMENT) || LA99_0 == 12 || (LA99_0 >= 27 && LA99_0 <= 28) || (LA99_0 >= 60 && LA99_0 <= 63) || LA99_0 == 66 || (LA99_0 >= 69 && LA99_0 <= 70) || LA99_0 == 72
- || LA99_0 == 75 || (LA99_0 >= 78 && LA99_0 <= 80) || (LA99_0 >= 82 && LA99_0 <= 85))) {
- alt99 = 1;
- }
-
-
- switch (alt99) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6434:1: (lv_statement_0_0= ruleDocumentedStatement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6434:1: (lv_statement_0_0= ruleDocumentedStatement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6435:3: lv_statement_0_0= ruleDocumentedStatement
- {
-
- newCompositeNode(grammarAccess.getNonEmptyStatementSequenceAccess().getStatementDocumentedStatementParserRuleCall_0());
-
- pushFollow(FOLLOW_ruleDocumentedStatement_in_ruleNonEmptyStatementSequence13997);
- lv_statement_0_0 = ruleDocumentedStatement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getNonEmptyStatementSequenceRule());
- }
- add(
- current,
- "statement",
- lv_statement_0_0,
- "DocumentedStatement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- default:
- if (cnt99 >= 1) {
- break loop99;
- }
- EarlyExitException eee =
- new EarlyExitException(99, input);
- throw eee;
- }
- cnt99++;
- } while (true);
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleNonEmptyStatementSequence"
-
-
- // $ANTLR start "entryRuleWhileStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6459:1: entryRuleWhileStatement returns [EObject current=null] : iv_ruleWhileStatement= ruleWhileStatement EOF ;
- public final EObject entryRuleWhileStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleWhileStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6460:2: (iv_ruleWhileStatement= ruleWhileStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6461:2: iv_ruleWhileStatement= ruleWhileStatement EOF
- {
- newCompositeNode(grammarAccess.getWhileStatementRule());
- pushFollow(FOLLOW_ruleWhileStatement_in_entryRuleWhileStatement14033);
- iv_ruleWhileStatement = ruleWhileStatement();
-
- state._fsp--;
-
- current = iv_ruleWhileStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleWhileStatement14043);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleWhileStatement"
-
-
- // $ANTLR start "ruleWhileStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6468:1: ruleWhileStatement returns [EObject current=null] : (otherlv_0= 'while' otherlv_1= '(' (
- // (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' ( (lv_block_4_0= ruleBlock ) ) ) ;
- public final EObject ruleWhileStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- EObject lv_condition_2_0 = null;
-
- EObject lv_block_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6471:28: ( (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:1: (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:1: (otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6472:3: otherlv_0= 'while' otherlv_1= '(' ( (lv_condition_2_0= ruleExpression ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) )
- {
- otherlv_0 = (Token) match(input, 78, FOLLOW_78_in_ruleWhileStatement14080);
-
- newLeafNode(otherlv_0, grammarAccess.getWhileStatementAccess().getWhileKeyword_0());
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleWhileStatement14092);
-
- newLeafNode(otherlv_1, grammarAccess.getWhileStatementAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6480:1: ( (lv_condition_2_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6481:1: (lv_condition_2_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6481:1: (lv_condition_2_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6482:3: lv_condition_2_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getWhileStatementAccess().getConditionExpressionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleWhileStatement14113);
- lv_condition_2_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getWhileStatementRule());
- }
- set(
- current,
- "condition",
- lv_condition_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleWhileStatement14125);
-
- newLeafNode(otherlv_3, grammarAccess.getWhileStatementAccess().getRightParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6502:1: ( (lv_block_4_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6503:1: (lv_block_4_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6503:1: (lv_block_4_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6504:3: lv_block_4_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getWhileStatementAccess().getBlockBlockParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleWhileStatement14146);
- lv_block_4_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getWhileStatementRule());
- }
- set(
- current,
- "block",
- lv_block_4_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleWhileStatement"
-
-
- // $ANTLR start "entryRuleDoStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6528:1: entryRuleDoStatement returns [EObject current=null] : iv_ruleDoStatement= ruleDoStatement EOF ;
- public final EObject entryRuleDoStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleDoStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6529:2: (iv_ruleDoStatement= ruleDoStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6530:2: iv_ruleDoStatement= ruleDoStatement EOF
- {
- newCompositeNode(grammarAccess.getDoStatementRule());
- pushFollow(FOLLOW_ruleDoStatement_in_entryRuleDoStatement14182);
- iv_ruleDoStatement = ruleDoStatement();
-
- state._fsp--;
-
- current = iv_ruleDoStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleDoStatement14192);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleDoStatement"
-
-
- // $ANTLR start "ruleDoStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6537:1: ruleDoStatement returns [EObject current=null] : (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) )
- // otherlv_2= 'while' otherlv_3= '(' ( (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) ;
- public final EObject ruleDoStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- Token otherlv_6 = null;
- EObject lv_block_1_0 = null;
-
- EObject lv_condition_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6540:28: ( (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' (
- // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:1: (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' (
- // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:1: (otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' (
- // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6541:3: otherlv_0= 'do' ( (lv_block_1_0= ruleBlock ) ) otherlv_2= 'while' otherlv_3= '(' (
- // (lv_condition_4_0= ruleExpression ) ) otherlv_5= ')' otherlv_6= ';'
- {
- otherlv_0 = (Token) match(input, 79, FOLLOW_79_in_ruleDoStatement14229);
-
- newLeafNode(otherlv_0, grammarAccess.getDoStatementAccess().getDoKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6545:1: ( (lv_block_1_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6546:1: (lv_block_1_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6546:1: (lv_block_1_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6547:3: lv_block_1_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getDoStatementAccess().getBlockBlockParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleDoStatement14250);
- lv_block_1_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getDoStatementRule());
- }
- set(
- current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 78, FOLLOW_78_in_ruleDoStatement14262);
-
- newLeafNode(otherlv_2, grammarAccess.getDoStatementAccess().getWhileKeyword_2());
-
- otherlv_3 = (Token) match(input, 15, FOLLOW_15_in_ruleDoStatement14274);
-
- newLeafNode(otherlv_3, grammarAccess.getDoStatementAccess().getLeftParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6571:1: ( (lv_condition_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6572:1: (lv_condition_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6572:1: (lv_condition_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6573:3: lv_condition_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getDoStatementAccess().getConditionExpressionParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleDoStatement14295);
- lv_condition_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getDoStatementRule());
- }
- set(
- current,
- "condition",
- lv_condition_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleDoStatement14307);
-
- newLeafNode(otherlv_5, grammarAccess.getDoStatementAccess().getRightParenthesisKeyword_5());
-
- otherlv_6 = (Token) match(input, 12, FOLLOW_12_in_ruleDoStatement14319);
-
- newLeafNode(otherlv_6, grammarAccess.getDoStatementAccess().getSemicolonKeyword_6());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleDoStatement"
-
-
- // $ANTLR start "entryRuleForStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6605:1: entryRuleForStatement returns [EObject current=null] : iv_ruleForStatement= ruleForStatement EOF ;
- public final EObject entryRuleForStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleForStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6606:2: (iv_ruleForStatement= ruleForStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6607:2: iv_ruleForStatement= ruleForStatement EOF
- {
- newCompositeNode(grammarAccess.getForStatementRule());
- pushFollow(FOLLOW_ruleForStatement_in_entryRuleForStatement14355);
- iv_ruleForStatement = ruleForStatement();
-
- state._fsp--;
-
- current = iv_ruleForStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleForStatement14365);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleForStatement"
-
-
- // $ANTLR start "ruleForStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6614:1: ruleForStatement returns [EObject current=null] : (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0=
- // ruleForControl ) ) otherlv_3= ')' ( (lv_block_4_0= ruleBlock ) ) ) ;
- public final EObject ruleForStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- EObject lv_control_2_0 = null;
-
- EObject lv_block_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6617:28: ( (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:1: (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:1: (otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6618:3: otherlv_0= 'for' otherlv_1= '(' ( (lv_control_2_0= ruleForControl ) ) otherlv_3= ')' (
- // (lv_block_4_0= ruleBlock ) )
- {
- otherlv_0 = (Token) match(input, 80, FOLLOW_80_in_ruleForStatement14402);
-
- newLeafNode(otherlv_0, grammarAccess.getForStatementAccess().getForKeyword_0());
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleForStatement14414);
-
- newLeafNode(otherlv_1, grammarAccess.getForStatementAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6626:1: ( (lv_control_2_0= ruleForControl ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6627:1: (lv_control_2_0= ruleForControl )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6627:1: (lv_control_2_0= ruleForControl )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6628:3: lv_control_2_0= ruleForControl
- {
-
- newCompositeNode(grammarAccess.getForStatementAccess().getControlForControlParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleForControl_in_ruleForStatement14435);
- lv_control_2_0 = ruleForControl();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForStatementRule());
- }
- set(
- current,
- "control",
- lv_control_2_0,
- "ForControl");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 16, FOLLOW_16_in_ruleForStatement14447);
-
- newLeafNode(otherlv_3, grammarAccess.getForStatementAccess().getRightParenthesisKeyword_3());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6648:1: ( (lv_block_4_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6649:1: (lv_block_4_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6649:1: (lv_block_4_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6650:3: lv_block_4_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getForStatementAccess().getBlockBlockParserRuleCall_4_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleForStatement14468);
- lv_block_4_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForStatementRule());
- }
- set(
- current,
- "block",
- lv_block_4_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleForStatement"
-
-
- // $ANTLR start "entryRuleForControl"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6674:1: entryRuleForControl returns [EObject current=null] : iv_ruleForControl= ruleForControl EOF ;
- public final EObject entryRuleForControl() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleForControl = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6675:2: (iv_ruleForControl= ruleForControl EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6676:2: iv_ruleForControl= ruleForControl EOF
- {
- newCompositeNode(grammarAccess.getForControlRule());
- pushFollow(FOLLOW_ruleForControl_in_entryRuleForControl14504);
- iv_ruleForControl = ruleForControl();
-
- state._fsp--;
-
- current = iv_ruleForControl;
- match(input, EOF, FOLLOW_EOF_in_entryRuleForControl14514);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleForControl"
-
-
- // $ANTLR start "ruleForControl"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6683:1: ruleForControl returns [EObject current=null] : ( ( (lv_loopVariableDefinition_0_0=
- // ruleLoopVariableDefinition ) ) (otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) ;
- public final EObject ruleForControl() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_loopVariableDefinition_0_0 = null;
-
- EObject lv_loopVariableDefinition_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6686:28: ( ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' (
- // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:1: ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' (
- // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:1: ( ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' (
- // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:2: ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) ) (otherlv_1= ',' (
- // (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6687:2: ( (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6688:1: (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6688:1: (lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6689:3: lv_loopVariableDefinition_0_0= ruleLoopVariableDefinition
- {
-
- newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14560);
- lv_loopVariableDefinition_0_0 = ruleLoopVariableDefinition();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForControlRule());
- }
- add(
- current,
- "loopVariableDefinition",
- lv_loopVariableDefinition_0_0,
- "LoopVariableDefinition");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6705:2: (otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) ) )*
- loop100: do {
- int alt100 = 2;
- int LA100_0 = input.LA(1);
-
- if ((LA100_0 == 17)) {
- alt100 = 1;
- }
-
-
- switch (alt100) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6705:4: otherlv_1= ',' ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) )
- {
- otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleForControl14573);
-
- newLeafNode(otherlv_1, grammarAccess.getForControlAccess().getCommaKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6709:1: ( (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6710:1: (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6710:1: (lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6711:3: lv_loopVariableDefinition_2_0= ruleLoopVariableDefinition
- {
-
- newCompositeNode(grammarAccess.getForControlAccess().getLoopVariableDefinitionLoopVariableDefinitionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14594);
- lv_loopVariableDefinition_2_0 = ruleLoopVariableDefinition();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getForControlRule());
- }
- add(
- current,
- "loopVariableDefinition",
- lv_loopVariableDefinition_2_0,
- "LoopVariableDefinition");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop100;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleForControl"
-
-
- // $ANTLR start "entryRuleLoopVariableDefinition"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6735:1: entryRuleLoopVariableDefinition returns [EObject current=null] : iv_ruleLoopVariableDefinition=
- // ruleLoopVariableDefinition EOF ;
- public final EObject entryRuleLoopVariableDefinition() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleLoopVariableDefinition = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6736:2: (iv_ruleLoopVariableDefinition= ruleLoopVariableDefinition EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6737:2: iv_ruleLoopVariableDefinition= ruleLoopVariableDefinition EOF
- {
- newCompositeNode(grammarAccess.getLoopVariableDefinitionRule());
- pushFollow(FOLLOW_ruleLoopVariableDefinition_in_entryRuleLoopVariableDefinition14632);
- iv_ruleLoopVariableDefinition = ruleLoopVariableDefinition();
-
- state._fsp--;
-
- current = iv_ruleLoopVariableDefinition;
- match(input, EOF, FOLLOW_EOF_in_entryRuleLoopVariableDefinition14642);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleLoopVariableDefinition"
-
-
- // $ANTLR start "ruleLoopVariableDefinition"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6744:1: ruleLoopVariableDefinition returns [EObject current=null] : ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1=
- // 'in' ( (lv_expression1_2_0= ruleExpression ) ) (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) ;
- public final EObject ruleLoopVariableDefinition() throws RecognitionException {
- EObject current = null;
-
- Token lv_name_0_0 = null;
- Token otherlv_1 = null;
- Token otherlv_3 = null;
- Token lv_name_6_0 = null;
- Token otherlv_7 = null;
- EObject lv_expression1_2_0 = null;
-
- EObject lv_expression2_4_0 = null;
-
- EObject lv_type_5_0 = null;
-
- EObject lv_expression_8_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6747:28: ( ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:1: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:1: ( ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? ) | ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':' ( (lv_expression_8_0= ruleExpression ) ) ) )
- int alt102 = 2;
- int LA102_0 = input.LA(1);
-
- if ((LA102_0 == RULE_ID)) {
- int LA102_1 = input.LA(2);
-
- if ((LA102_1 == 81)) {
- alt102 = 1;
- }
- else if ((LA102_1 == RULE_ID || (LA102_1 >= 29 && LA102_1 <= 30))) {
- alt102 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 102, 1, input);
-
- throw nvae;
- }
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 102, 0, input);
-
- throw nvae;
- }
- switch (alt102) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:2: ( ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:3: ( (lv_name_0_0= RULE_ID ) ) otherlv_1= 'in' ( (lv_expression1_2_0= ruleExpression ) )
- // (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6748:3: ( (lv_name_0_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6749:1: (lv_name_0_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6749:1: (lv_name_0_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6750:3: lv_name_0_0= RULE_ID
- {
- lv_name_0_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14685);
-
- newLeafNode(lv_name_0_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLoopVariableDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_0_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 81, FOLLOW_81_in_ruleLoopVariableDefinition14702);
-
- newLeafNode(otherlv_1, grammarAccess.getLoopVariableDefinitionAccess().getInKeyword_0_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6770:1: ( (lv_expression1_2_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6771:1: (lv_expression1_2_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6771:1: (lv_expression1_2_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6772:3: lv_expression1_2_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression1ExpressionParserRuleCall_0_2_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14723);
- lv_expression1_2_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- current,
- "expression1",
- lv_expression1_2_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6788:2: (otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) ) )?
- int alt101 = 2;
- int LA101_0 = input.LA(1);
-
- if ((LA101_0 == 23)) {
- alt101 = 1;
- }
- switch (alt101) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6788:4: otherlv_3= '..' ( (lv_expression2_4_0= ruleExpression ) )
- {
- otherlv_3 = (Token) match(input, 23, FOLLOW_23_in_ruleLoopVariableDefinition14736);
-
- newLeafNode(otherlv_3, grammarAccess.getLoopVariableDefinitionAccess().getFullStopFullStopKeyword_0_3_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6792:1: ( (lv_expression2_4_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6793:1: (lv_expression2_4_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6793:1: (lv_expression2_4_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6794:3: lv_expression2_4_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpression2ExpressionParserRuleCall_0_3_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14757);
- lv_expression2_4_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- current,
- "expression2",
- lv_expression2_4_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:6: ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7= ':'
- // ( (lv_expression_8_0= ruleExpression ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:6: ( ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7=
- // ':' ( (lv_expression_8_0= ruleExpression ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:7: ( (lv_type_5_0= ruleQualifiedNameWithBinding ) ) ( (lv_name_6_0= RULE_ID ) ) otherlv_7=
- // ':' ( (lv_expression_8_0= ruleExpression ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6811:7: ( (lv_type_5_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6812:1: (lv_type_5_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6812:1: (lv_type_5_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6813:3: lv_type_5_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getTypeQualifiedNameWithBindingParserRuleCall_1_0_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleLoopVariableDefinition14788);
- lv_type_5_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- current,
- "type",
- lv_type_5_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6829:2: ( (lv_name_6_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6830:1: (lv_name_6_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6830:1: (lv_name_6_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6831:3: lv_name_6_0= RULE_ID
- {
- lv_name_6_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14805);
-
- newLeafNode(lv_name_6_0, grammarAccess.getLoopVariableDefinitionAccess().getNameIDTerminalRuleCall_1_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getLoopVariableDefinitionRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_6_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_7 = (Token) match(input, 14, FOLLOW_14_in_ruleLoopVariableDefinition14822);
-
- newLeafNode(otherlv_7, grammarAccess.getLoopVariableDefinitionAccess().getColonKeyword_1_2());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6851:1: ( (lv_expression_8_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6852:1: (lv_expression_8_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6852:1: (lv_expression_8_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6853:3: lv_expression_8_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getLoopVariableDefinitionAccess().getExpressionExpressionParserRuleCall_1_3_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14843);
- lv_expression_8_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getLoopVariableDefinitionRule());
- }
- set(
- current,
- "expression",
- lv_expression_8_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLoopVariableDefinition"
-
-
- // $ANTLR start "entryRuleBreakStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6877:1: entryRuleBreakStatement returns [EObject current=null] : iv_ruleBreakStatement= ruleBreakStatement EOF ;
- public final EObject entryRuleBreakStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleBreakStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6878:2: (iv_ruleBreakStatement= ruleBreakStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6879:2: iv_ruleBreakStatement= ruleBreakStatement EOF
- {
- newCompositeNode(grammarAccess.getBreakStatementRule());
- pushFollow(FOLLOW_ruleBreakStatement_in_entryRuleBreakStatement14880);
- iv_ruleBreakStatement = ruleBreakStatement();
-
- state._fsp--;
-
- current = iv_ruleBreakStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleBreakStatement14890);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleBreakStatement"
-
-
- // $ANTLR start "ruleBreakStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6886:1: ruleBreakStatement returns [EObject current=null] : ( () otherlv_1= 'break' otherlv_2= ';' ) ;
- public final EObject ruleBreakStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_2 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6889:28: ( ( () otherlv_1= 'break' otherlv_2= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:1: ( () otherlv_1= 'break' otherlv_2= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:1: ( () otherlv_1= 'break' otherlv_2= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:2: () otherlv_1= 'break' otherlv_2= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6890:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6891:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getBreakStatementAccess().getBreakStatementAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 82, FOLLOW_82_in_ruleBreakStatement14936);
-
- newLeafNode(otherlv_1, grammarAccess.getBreakStatementAccess().getBreakKeyword_1());
-
- otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleBreakStatement14948);
-
- newLeafNode(otherlv_2, grammarAccess.getBreakStatementAccess().getSemicolonKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleBreakStatement"
-
-
- // $ANTLR start "entryRuleReturnStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6912:1: entryRuleReturnStatement returns [EObject current=null] : iv_ruleReturnStatement= ruleReturnStatement EOF
- // ;
- public final EObject entryRuleReturnStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleReturnStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6913:2: (iv_ruleReturnStatement= ruleReturnStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6914:2: iv_ruleReturnStatement= ruleReturnStatement EOF
- {
- newCompositeNode(grammarAccess.getReturnStatementRule());
- pushFollow(FOLLOW_ruleReturnStatement_in_entryRuleReturnStatement14984);
- iv_ruleReturnStatement = ruleReturnStatement();
-
- state._fsp--;
-
- current = iv_ruleReturnStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleReturnStatement14994);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleReturnStatement"
-
-
- // $ANTLR start "ruleReturnStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6921:1: ruleReturnStatement returns [EObject current=null] : (otherlv_0= 'return' ( (lv_expression_1_0=
- // ruleExpression ) ) otherlv_2= ';' ) ;
- public final EObject ruleReturnStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_2 = null;
- EObject lv_expression_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6924:28: ( (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:1: (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:1: (otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6925:3: otherlv_0= 'return' ( (lv_expression_1_0= ruleExpression ) ) otherlv_2= ';'
- {
- otherlv_0 = (Token) match(input, 83, FOLLOW_83_in_ruleReturnStatement15031);
-
- newLeafNode(otherlv_0, grammarAccess.getReturnStatementAccess().getReturnKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6929:1: ( (lv_expression_1_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6930:1: (lv_expression_1_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6930:1: (lv_expression_1_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6931:3: lv_expression_1_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getReturnStatementAccess().getExpressionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleReturnStatement15052);
- lv_expression_1_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getReturnStatementRule());
- }
- set(
- current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleReturnStatement15064);
-
- newLeafNode(otherlv_2, grammarAccess.getReturnStatementAccess().getSemicolonKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleReturnStatement"
-
-
- // $ANTLR start "entryRuleAcceptStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6959:1: entryRuleAcceptStatement returns [EObject current=null] : iv_ruleAcceptStatement= ruleAcceptStatement EOF
- // ;
- public final EObject entryRuleAcceptStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAcceptStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6960:2: (iv_ruleAcceptStatement= ruleAcceptStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6961:2: iv_ruleAcceptStatement= ruleAcceptStatement EOF
- {
- newCompositeNode(grammarAccess.getAcceptStatementRule());
- pushFollow(FOLLOW_ruleAcceptStatement_in_entryRuleAcceptStatement15100);
- iv_ruleAcceptStatement = ruleAcceptStatement();
-
- state._fsp--;
-
- current = iv_ruleAcceptStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptStatement15110);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAcceptStatement"
-
-
- // $ANTLR start "ruleAcceptStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6968:1: ruleAcceptStatement returns [EObject current=null] : ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (
- // (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) ;
- public final EObject ruleAcceptStatement() throws RecognitionException {
- EObject current = null;
-
- EObject lv_clause_0_0 = null;
-
- EObject lv_simpleAccept_1_0 = null;
-
- EObject lv_compoundAccept_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6971:28: ( ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0=
- // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0=
- // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0=
- // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:2: ( (lv_clause_0_0= ruleAcceptClause ) ) ( ( (lv_simpleAccept_1_0=
- // ruleSimpleAcceptStatementCompletion ) ) | ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6972:2: ( (lv_clause_0_0= ruleAcceptClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6973:1: (lv_clause_0_0= ruleAcceptClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6973:1: (lv_clause_0_0= ruleAcceptClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6974:3: lv_clause_0_0= ruleAcceptClause
- {
-
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getClauseAcceptClauseParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAcceptClause_in_ruleAcceptStatement15156);
- lv_clause_0_0 = ruleAcceptClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- current,
- "clause",
- lv_clause_0_0,
- "AcceptClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:2: ( ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) ) | (
- // (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) ) )
- int alt103 = 2;
- int LA103_0 = input.LA(1);
-
- if ((LA103_0 == 12)) {
- alt103 = 1;
- }
- else if ((LA103_0 == 63)) {
- alt103 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 103, 0, input);
-
- throw nvae;
- }
- switch (alt103) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:3: ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6990:3: ( (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6991:1: (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6991:1: (lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:6992:3: lv_simpleAccept_1_0= ruleSimpleAcceptStatementCompletion
- {
-
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getSimpleAcceptSimpleAcceptStatementCompletionParserRuleCall_1_0_0());
-
- pushFollow(FOLLOW_ruleSimpleAcceptStatementCompletion_in_ruleAcceptStatement15178);
- lv_simpleAccept_1_0 = ruleSimpleAcceptStatementCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- current,
- "simpleAccept",
- lv_simpleAccept_1_0,
- "SimpleAcceptStatementCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7009:6: ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7009:6: ( (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7010:1: (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7010:1: (lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7011:3: lv_compoundAccept_2_0= ruleCompoundAcceptStatementCompletion
- {
-
- newCompositeNode(grammarAccess.getAcceptStatementAccess().getCompoundAcceptCompoundAcceptStatementCompletionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleCompoundAcceptStatementCompletion_in_ruleAcceptStatement15205);
- lv_compoundAccept_2_0 = ruleCompoundAcceptStatementCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptStatementRule());
- }
- set(
- current,
- "compoundAccept",
- lv_compoundAccept_2_0,
- "CompoundAcceptStatementCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAcceptStatement"
-
-
- // $ANTLR start "entryRuleSimpleAcceptStatementCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7035:1: entryRuleSimpleAcceptStatementCompletion returns [EObject current=null] :
- // iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF ;
- public final EObject entryRuleSimpleAcceptStatementCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSimpleAcceptStatementCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7036:2: (iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7037:2: iv_ruleSimpleAcceptStatementCompletion= ruleSimpleAcceptStatementCompletion EOF
- {
- newCompositeNode(grammarAccess.getSimpleAcceptStatementCompletionRule());
- pushFollow(FOLLOW_ruleSimpleAcceptStatementCompletion_in_entryRuleSimpleAcceptStatementCompletion15242);
- iv_ruleSimpleAcceptStatementCompletion = ruleSimpleAcceptStatementCompletion();
-
- state._fsp--;
-
- current = iv_ruleSimpleAcceptStatementCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSimpleAcceptStatementCompletion15252);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSimpleAcceptStatementCompletion"
-
-
- // $ANTLR start "ruleSimpleAcceptStatementCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7044:1: ruleSimpleAcceptStatementCompletion returns [EObject current=null] : ( () otherlv_1= ';' ) ;
- public final EObject ruleSimpleAcceptStatementCompletion() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7047:28: ( ( () otherlv_1= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:1: ( () otherlv_1= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:1: ( () otherlv_1= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:2: () otherlv_1= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7048:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7049:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getSimpleAcceptStatementCompletionAccess().getSimpleAcceptStatementCompletionAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleSimpleAcceptStatementCompletion15298);
-
- newLeafNode(otherlv_1, grammarAccess.getSimpleAcceptStatementCompletionAccess().getSemicolonKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSimpleAcceptStatementCompletion"
-
-
- // $ANTLR start "entryRuleCompoundAcceptStatementCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7066:1: entryRuleCompoundAcceptStatementCompletion returns [EObject current=null] :
- // iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF ;
- public final EObject entryRuleCompoundAcceptStatementCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleCompoundAcceptStatementCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7067:2: (iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7068:2: iv_ruleCompoundAcceptStatementCompletion= ruleCompoundAcceptStatementCompletion EOF
- {
- newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionRule());
- pushFollow(FOLLOW_ruleCompoundAcceptStatementCompletion_in_entryRuleCompoundAcceptStatementCompletion15334);
- iv_ruleCompoundAcceptStatementCompletion = ruleCompoundAcceptStatementCompletion();
-
- state._fsp--;
-
- current = iv_ruleCompoundAcceptStatementCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleCompoundAcceptStatementCompletion15344);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleCompoundAcceptStatementCompletion"
-
-
- // $ANTLR start "ruleCompoundAcceptStatementCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7075:1: ruleCompoundAcceptStatementCompletion returns [EObject current=null] : ( ( (lv_block_0_0= ruleBlock ) )
- // (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* ) ;
- public final EObject ruleCompoundAcceptStatementCompletion() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_block_0_0 = null;
-
- EObject lv_acceptBlock_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7078:28: ( ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )*
- // ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:1: ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:1: ( ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) )
- // )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:2: ( (lv_block_0_0= ruleBlock ) ) (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7079:2: ( (lv_block_0_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7080:1: (lv_block_0_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7080:1: (lv_block_0_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7081:3: lv_block_0_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getBlockBlockParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleCompoundAcceptStatementCompletion15390);
- lv_block_0_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule());
- }
- set(
- current,
- "block",
- lv_block_0_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7097:2: (otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) ) )*
- loop104: do {
- int alt104 = 2;
- int LA104_0 = input.LA(1);
-
- if ((LA104_0 == 74)) {
- alt104 = 1;
- }
-
-
- switch (alt104) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7097:4: otherlv_1= 'or' ( (lv_acceptBlock_2_0= ruleAcceptBlock ) )
- {
- otherlv_1 = (Token) match(input, 74, FOLLOW_74_in_ruleCompoundAcceptStatementCompletion15403);
-
- newLeafNode(otherlv_1, grammarAccess.getCompoundAcceptStatementCompletionAccess().getOrKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7101:1: ( (lv_acceptBlock_2_0= ruleAcceptBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7102:1: (lv_acceptBlock_2_0= ruleAcceptBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7102:1: (lv_acceptBlock_2_0= ruleAcceptBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7103:3: lv_acceptBlock_2_0= ruleAcceptBlock
- {
-
- newCompositeNode(grammarAccess.getCompoundAcceptStatementCompletionAccess().getAcceptBlockAcceptBlockParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleAcceptBlock_in_ruleCompoundAcceptStatementCompletion15424);
- lv_acceptBlock_2_0 = ruleAcceptBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getCompoundAcceptStatementCompletionRule());
- }
- add(
- current,
- "acceptBlock",
- lv_acceptBlock_2_0,
- "AcceptBlock");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop104;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleCompoundAcceptStatementCompletion"
-
-
- // $ANTLR start "entryRuleAcceptBlock"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7127:1: entryRuleAcceptBlock returns [EObject current=null] : iv_ruleAcceptBlock= ruleAcceptBlock EOF ;
- public final EObject entryRuleAcceptBlock() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAcceptBlock = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7128:2: (iv_ruleAcceptBlock= ruleAcceptBlock EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7129:2: iv_ruleAcceptBlock= ruleAcceptBlock EOF
- {
- newCompositeNode(grammarAccess.getAcceptBlockRule());
- pushFollow(FOLLOW_ruleAcceptBlock_in_entryRuleAcceptBlock15462);
- iv_ruleAcceptBlock = ruleAcceptBlock();
-
- state._fsp--;
-
- current = iv_ruleAcceptBlock;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptBlock15472);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAcceptBlock"
-
-
- // $ANTLR start "ruleAcceptBlock"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7136:1: ruleAcceptBlock returns [EObject current=null] : ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0=
- // ruleBlock ) ) ) ;
- public final EObject ruleAcceptBlock() throws RecognitionException {
- EObject current = null;
-
- EObject lv_clause_0_0 = null;
-
- EObject lv_block_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7139:28: ( ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:1: ( ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:2: ( (lv_clause_0_0= ruleAcceptClause ) ) ( (lv_block_1_0= ruleBlock ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7140:2: ( (lv_clause_0_0= ruleAcceptClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7141:1: (lv_clause_0_0= ruleAcceptClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7141:1: (lv_clause_0_0= ruleAcceptClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7142:3: lv_clause_0_0= ruleAcceptClause
- {
-
- newCompositeNode(grammarAccess.getAcceptBlockAccess().getClauseAcceptClauseParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAcceptClause_in_ruleAcceptBlock15518);
- lv_clause_0_0 = ruleAcceptClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptBlockRule());
- }
- set(
- current,
- "clause",
- lv_clause_0_0,
- "AcceptClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7158:2: ( (lv_block_1_0= ruleBlock ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7159:1: (lv_block_1_0= ruleBlock )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7159:1: (lv_block_1_0= ruleBlock )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7160:3: lv_block_1_0= ruleBlock
- {
-
- newCompositeNode(grammarAccess.getAcceptBlockAccess().getBlockBlockParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleBlock_in_ruleAcceptBlock15539);
- lv_block_1_0 = ruleBlock();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptBlockRule());
- }
- set(
- current,
- "block",
- lv_block_1_0,
- "Block");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAcceptBlock"
-
-
- // $ANTLR start "entryRuleAcceptClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7184:1: entryRuleAcceptClause returns [EObject current=null] : iv_ruleAcceptClause= ruleAcceptClause EOF ;
- public final EObject entryRuleAcceptClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAcceptClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7185:2: (iv_ruleAcceptClause= ruleAcceptClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7186:2: iv_ruleAcceptClause= ruleAcceptClause EOF
- {
- newCompositeNode(grammarAccess.getAcceptClauseRule());
- pushFollow(FOLLOW_ruleAcceptClause_in_entryRuleAcceptClause15575);
- iv_ruleAcceptClause = ruleAcceptClause();
-
- state._fsp--;
-
- current = iv_ruleAcceptClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAcceptClause15585);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAcceptClause"
-
-
- // $ANTLR start "ruleAcceptClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7193:1: ruleAcceptClause returns [EObject current=null] : (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0=
- // RULE_ID ) ) otherlv_3= ':' )? ( (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) ;
- public final EObject ruleAcceptClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_1 = null;
- Token lv_name_2_0 = null;
- Token otherlv_3 = null;
- Token otherlv_5 = null;
- EObject lv_qualifiedNameList_4_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7196:28: ( (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? (
- // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:1: (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? (
- // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:1: (otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? (
- // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7197:3: otherlv_0= 'accept' otherlv_1= '(' ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )? (
- // (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) ) otherlv_5= ')'
- {
- otherlv_0 = (Token) match(input, 84, FOLLOW_84_in_ruleAcceptClause15622);
-
- newLeafNode(otherlv_0, grammarAccess.getAcceptClauseAccess().getAcceptKeyword_0());
-
- otherlv_1 = (Token) match(input, 15, FOLLOW_15_in_ruleAcceptClause15634);
-
- newLeafNode(otherlv_1, grammarAccess.getAcceptClauseAccess().getLeftParenthesisKeyword_1());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:1: ( ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':' )?
- int alt105 = 2;
- int LA105_0 = input.LA(1);
-
- if ((LA105_0 == RULE_ID)) {
- int LA105_1 = input.LA(2);
-
- if ((LA105_1 == 14)) {
- alt105 = 1;
- }
- }
- switch (alt105) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:2: ( (lv_name_2_0= RULE_ID ) ) otherlv_3= ':'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7205:2: ( (lv_name_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7206:1: (lv_name_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7206:1: (lv_name_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7207:3: lv_name_2_0= RULE_ID
- {
- lv_name_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleAcceptClause15652);
-
- newLeafNode(lv_name_2_0, grammarAccess.getAcceptClauseAccess().getNameIDTerminalRuleCall_2_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getAcceptClauseRule());
- }
- setWithLastConsumed(
- current,
- "name",
- lv_name_2_0,
- "ID");
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 14, FOLLOW_14_in_ruleAcceptClause15669);
-
- newLeafNode(otherlv_3, grammarAccess.getAcceptClauseAccess().getColonKeyword_2_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7227:3: ( (lv_qualifiedNameList_4_0= ruleQualifiedNameList ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7228:1: (lv_qualifiedNameList_4_0= ruleQualifiedNameList )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7228:1: (lv_qualifiedNameList_4_0= ruleQualifiedNameList )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7229:3: lv_qualifiedNameList_4_0= ruleQualifiedNameList
- {
-
- newCompositeNode(grammarAccess.getAcceptClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_3_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleAcceptClause15692);
- lv_qualifiedNameList_4_0 = ruleQualifiedNameList();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAcceptClauseRule());
- }
- set(
- current,
- "qualifiedNameList",
- lv_qualifiedNameList_4_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_5 = (Token) match(input, 16, FOLLOW_16_in_ruleAcceptClause15704);
-
- newLeafNode(otherlv_5, grammarAccess.getAcceptClauseAccess().getRightParenthesisKeyword_4());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAcceptClause"
-
-
- // $ANTLR start "entryRuleClassifyStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7257:1: entryRuleClassifyStatement returns [EObject current=null] : iv_ruleClassifyStatement=
- // ruleClassifyStatement EOF ;
- public final EObject entryRuleClassifyStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassifyStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7258:2: (iv_ruleClassifyStatement= ruleClassifyStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7259:2: iv_ruleClassifyStatement= ruleClassifyStatement EOF
- {
- newCompositeNode(grammarAccess.getClassifyStatementRule());
- pushFollow(FOLLOW_ruleClassifyStatement_in_entryRuleClassifyStatement15740);
- iv_ruleClassifyStatement = ruleClassifyStatement();
-
- state._fsp--;
-
- current = iv_ruleClassifyStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassifyStatement15750);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassifyStatement"
-
-
- // $ANTLR start "ruleClassifyStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7266:1: ruleClassifyStatement returns [EObject current=null] : (otherlv_0= 'classify' ( (lv_expression_1_0=
- // ruleExpression ) ) ( (lv_clause_2_0= ruleClassificationClause ) ) otherlv_3= ';' ) ;
- public final EObject ruleClassifyStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- Token otherlv_3 = null;
- EObject lv_expression_1_0 = null;
-
- EObject lv_clause_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7269:28: ( (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0=
- // ruleClassificationClause ) ) otherlv_3= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:1: (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0=
- // ruleClassificationClause ) ) otherlv_3= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:1: (otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0=
- // ruleClassificationClause ) ) otherlv_3= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7270:3: otherlv_0= 'classify' ( (lv_expression_1_0= ruleExpression ) ) ( (lv_clause_2_0=
- // ruleClassificationClause ) ) otherlv_3= ';'
- {
- otherlv_0 = (Token) match(input, 85, FOLLOW_85_in_ruleClassifyStatement15787);
-
- newLeafNode(otherlv_0, grammarAccess.getClassifyStatementAccess().getClassifyKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7274:1: ( (lv_expression_1_0= ruleExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7275:1: (lv_expression_1_0= ruleExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7275:1: (lv_expression_1_0= ruleExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7276:3: lv_expression_1_0= ruleExpression
- {
-
- newCompositeNode(grammarAccess.getClassifyStatementAccess().getExpressionExpressionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleExpression_in_ruleClassifyStatement15808);
- lv_expression_1_0 = ruleExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassifyStatementRule());
- }
- set(
- current,
- "expression",
- lv_expression_1_0,
- "Expression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7292:2: ( (lv_clause_2_0= ruleClassificationClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7293:1: (lv_clause_2_0= ruleClassificationClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7293:1: (lv_clause_2_0= ruleClassificationClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7294:3: lv_clause_2_0= ruleClassificationClause
- {
-
- newCompositeNode(grammarAccess.getClassifyStatementAccess().getClauseClassificationClauseParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleClassificationClause_in_ruleClassifyStatement15829);
- lv_clause_2_0 = ruleClassificationClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassifyStatementRule());
- }
- set(
- current,
- "clause",
- lv_clause_2_0,
- "ClassificationClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_3 = (Token) match(input, 12, FOLLOW_12_in_ruleClassifyStatement15841);
-
- newLeafNode(otherlv_3, grammarAccess.getClassifyStatementAccess().getSemicolonKeyword_3());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassifyStatement"
-
-
- // $ANTLR start "entryRuleClassificationClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7322:1: entryRuleClassificationClause returns [EObject current=null] : iv_ruleClassificationClause=
- // ruleClassificationClause EOF ;
- public final EObject entryRuleClassificationClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassificationClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7323:2: (iv_ruleClassificationClause= ruleClassificationClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7324:2: iv_ruleClassificationClause= ruleClassificationClause EOF
- {
- newCompositeNode(grammarAccess.getClassificationClauseRule());
- pushFollow(FOLLOW_ruleClassificationClause_in_entryRuleClassificationClause15877);
- iv_ruleClassificationClause = ruleClassificationClause();
-
- state._fsp--;
-
- current = iv_ruleClassificationClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationClause15887);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassificationClause"
-
-
- // $ANTLR start "ruleClassificationClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7331:1: ruleClassificationClause returns [EObject current=null] : ( ( ( (lv_classifyFromClause_0_0=
- // ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0= ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) ;
- public final EObject ruleClassificationClause() throws RecognitionException {
- EObject current = null;
-
- EObject lv_classifyFromClause_0_0 = null;
-
- EObject lv_classifyToClause_1_0 = null;
-
- EObject lv_reclassyAllClause_2_0 = null;
-
- EObject lv_classifyToClause_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7334:28: ( ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0=
- // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:1: ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0=
- // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:1: ( ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0=
- // ruleClassificationToClause ) )? ) | ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0= ruleClassificationToClause ) ) ) )
- int alt108 = 2;
- int LA108_0 = input.LA(1);
-
- if ((LA108_0 == 86)) {
- int LA108_1 = input.LA(2);
-
- if ((LA108_1 == 24)) {
- alt108 = 2;
- }
- else if ((LA108_1 == RULE_ID)) {
- alt108 = 1;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 108, 1, input);
-
- throw nvae;
- }
- }
- else if ((LA108_0 == 87)) {
- alt108 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 108, 0, input);
-
- throw nvae;
- }
- switch (alt108) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:2: ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0=
- // ruleClassificationToClause ) )? )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:2: ( ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) (
- // (lv_classifyToClause_1_0= ruleClassificationToClause ) )? )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:3: ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) ) ( (lv_classifyToClause_1_0=
- // ruleClassificationToClause ) )?
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7335:3: ( (lv_classifyFromClause_0_0= ruleClassificationFromClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7336:1: (lv_classifyFromClause_0_0= ruleClassificationFromClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7336:1: (lv_classifyFromClause_0_0= ruleClassificationFromClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7337:3: lv_classifyFromClause_0_0= ruleClassificationFromClause
- {
-
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyFromClauseClassificationFromClauseParserRuleCall_0_0_0());
-
- pushFollow(FOLLOW_ruleClassificationFromClause_in_ruleClassificationClause15934);
- lv_classifyFromClause_0_0 = ruleClassificationFromClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- current,
- "classifyFromClause",
- lv_classifyFromClause_0_0,
- "ClassificationFromClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7353:2: ( (lv_classifyToClause_1_0= ruleClassificationToClause ) )?
- int alt106 = 2;
- int LA106_0 = input.LA(1);
-
- if ((LA106_0 == 87)) {
- alt106 = 1;
- }
- switch (alt106) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7354:1: (lv_classifyToClause_1_0= ruleClassificationToClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7354:1: (lv_classifyToClause_1_0= ruleClassificationToClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7355:3: lv_classifyToClause_1_0= ruleClassificationToClause
- {
-
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_0_1_0());
-
- pushFollow(FOLLOW_ruleClassificationToClause_in_ruleClassificationClause15955);
- lv_classifyToClause_1_0 = ruleClassificationToClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- current,
- "classifyToClause",
- lv_classifyToClause_1_0,
- "ClassificationToClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:6: ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0=
- // ruleClassificationToClause ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:6: ( ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0=
- // ruleClassificationToClause ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:7: ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )? ( (lv_classifyToClause_3_0=
- // ruleClassificationToClause ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7372:7: ( (lv_reclassyAllClause_2_0= ruleReclassifyAllClause ) )?
- int alt107 = 2;
- int LA107_0 = input.LA(1);
-
- if ((LA107_0 == 86)) {
- alt107 = 1;
- }
- switch (alt107) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7373:1: (lv_reclassyAllClause_2_0= ruleReclassifyAllClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7373:1: (lv_reclassyAllClause_2_0= ruleReclassifyAllClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7374:3: lv_reclassyAllClause_2_0= ruleReclassifyAllClause
- {
-
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getReclassyAllClauseReclassifyAllClauseParserRuleCall_1_0_0());
-
- pushFollow(FOLLOW_ruleReclassifyAllClause_in_ruleClassificationClause15985);
- lv_reclassyAllClause_2_0 = ruleReclassifyAllClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- current,
- "reclassyAllClause",
- lv_reclassyAllClause_2_0,
- "ReclassifyAllClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7390:3: ( (lv_classifyToClause_3_0= ruleClassificationToClause ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7391:1: (lv_classifyToClause_3_0= ruleClassificationToClause )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7391:1: (lv_classifyToClause_3_0= ruleClassificationToClause )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7392:3: lv_classifyToClause_3_0= ruleClassificationToClause
- {
-
- newCompositeNode(grammarAccess.getClassificationClauseAccess().getClassifyToClauseClassificationToClauseParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleClassificationToClause_in_ruleClassificationClause16007);
- lv_classifyToClause_3_0 = ruleClassificationToClause();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationClauseRule());
- }
- set(
- current,
- "classifyToClause",
- lv_classifyToClause_3_0,
- "ClassificationToClause");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassificationClause"
-
-
- // $ANTLR start "entryRuleClassificationFromClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7416:1: entryRuleClassificationFromClause returns [EObject current=null] : iv_ruleClassificationFromClause=
- // ruleClassificationFromClause EOF ;
- public final EObject entryRuleClassificationFromClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassificationFromClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7417:2: (iv_ruleClassificationFromClause= ruleClassificationFromClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7418:2: iv_ruleClassificationFromClause= ruleClassificationFromClause EOF
- {
- newCompositeNode(grammarAccess.getClassificationFromClauseRule());
- pushFollow(FOLLOW_ruleClassificationFromClause_in_entryRuleClassificationFromClause16044);
- iv_ruleClassificationFromClause = ruleClassificationFromClause();
-
- state._fsp--;
-
- current = iv_ruleClassificationFromClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationFromClause16054);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassificationFromClause"
-
-
- // $ANTLR start "ruleClassificationFromClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7425:1: ruleClassificationFromClause returns [EObject current=null] : (otherlv_0= 'from' (
- // (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) ;
- public final EObject ruleClassificationFromClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_qualifiedNameList_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7428:28: ( (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:1: (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:1: (otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7429:3: otherlv_0= 'from' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) )
- {
- otherlv_0 = (Token) match(input, 86, FOLLOW_86_in_ruleClassificationFromClause16091);
-
- newLeafNode(otherlv_0, grammarAccess.getClassificationFromClauseAccess().getFromKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7433:1: ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7434:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7434:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7435:3: lv_qualifiedNameList_1_0= ruleQualifiedNameList
- {
-
- newCompositeNode(grammarAccess.getClassificationFromClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleClassificationFromClause16112);
- lv_qualifiedNameList_1_0 = ruleQualifiedNameList();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationFromClauseRule());
- }
- set(
- current,
- "qualifiedNameList",
- lv_qualifiedNameList_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassificationFromClause"
-
-
- // $ANTLR start "entryRuleClassificationToClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7459:1: entryRuleClassificationToClause returns [EObject current=null] : iv_ruleClassificationToClause=
- // ruleClassificationToClause EOF ;
- public final EObject entryRuleClassificationToClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleClassificationToClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7460:2: (iv_ruleClassificationToClause= ruleClassificationToClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7461:2: iv_ruleClassificationToClause= ruleClassificationToClause EOF
- {
- newCompositeNode(grammarAccess.getClassificationToClauseRule());
- pushFollow(FOLLOW_ruleClassificationToClause_in_entryRuleClassificationToClause16148);
- iv_ruleClassificationToClause = ruleClassificationToClause();
-
- state._fsp--;
-
- current = iv_ruleClassificationToClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleClassificationToClause16158);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleClassificationToClause"
-
-
- // $ANTLR start "ruleClassificationToClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7468:1: ruleClassificationToClause returns [EObject current=null] : (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0=
- // ruleQualifiedNameList ) ) ) ;
- public final EObject ruleClassificationToClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_0 = null;
- EObject lv_qualifiedNameList_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7471:28: ( (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:1: (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:1: (otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7472:3: otherlv_0= 'to' ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) )
- {
- otherlv_0 = (Token) match(input, 87, FOLLOW_87_in_ruleClassificationToClause16195);
-
- newLeafNode(otherlv_0, grammarAccess.getClassificationToClauseAccess().getToKeyword_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7476:1: ( (lv_qualifiedNameList_1_0= ruleQualifiedNameList ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7477:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7477:1: (lv_qualifiedNameList_1_0= ruleQualifiedNameList )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7478:3: lv_qualifiedNameList_1_0= ruleQualifiedNameList
- {
-
- newCompositeNode(grammarAccess.getClassificationToClauseAccess().getQualifiedNameListQualifiedNameListParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameList_in_ruleClassificationToClause16216);
- lv_qualifiedNameList_1_0 = ruleQualifiedNameList();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getClassificationToClauseRule());
- }
- set(
- current,
- "qualifiedNameList",
- lv_qualifiedNameList_1_0,
- "QualifiedNameList");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleClassificationToClause"
-
-
- // $ANTLR start "entryRuleReclassifyAllClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7502:1: entryRuleReclassifyAllClause returns [EObject current=null] : iv_ruleReclassifyAllClause=
- // ruleReclassifyAllClause EOF ;
- public final EObject entryRuleReclassifyAllClause() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleReclassifyAllClause = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7503:2: (iv_ruleReclassifyAllClause= ruleReclassifyAllClause EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7504:2: iv_ruleReclassifyAllClause= ruleReclassifyAllClause EOF
- {
- newCompositeNode(grammarAccess.getReclassifyAllClauseRule());
- pushFollow(FOLLOW_ruleReclassifyAllClause_in_entryRuleReclassifyAllClause16252);
- iv_ruleReclassifyAllClause = ruleReclassifyAllClause();
-
- state._fsp--;
-
- current = iv_ruleReclassifyAllClause;
- match(input, EOF, FOLLOW_EOF_in_entryRuleReclassifyAllClause16262);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleReclassifyAllClause"
-
-
- // $ANTLR start "ruleReclassifyAllClause"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7511:1: ruleReclassifyAllClause returns [EObject current=null] : ( () otherlv_1= 'from' otherlv_2= '*' ) ;
- public final EObject ruleReclassifyAllClause() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- Token otherlv_2 = null;
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7514:28: ( ( () otherlv_1= 'from' otherlv_2= '*' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:1: ( () otherlv_1= 'from' otherlv_2= '*' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:1: ( () otherlv_1= 'from' otherlv_2= '*' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:2: () otherlv_1= 'from' otherlv_2= '*'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7515:2: ()
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7516:5:
- {
-
- current = forceCreateModelElement(
- grammarAccess.getReclassifyAllClauseAccess().getReclassifyAllClauseAction_0(),
- current);
-
-
- }
-
- otherlv_1 = (Token) match(input, 86, FOLLOW_86_in_ruleReclassifyAllClause16308);
-
- newLeafNode(otherlv_1, grammarAccess.getReclassifyAllClauseAccess().getFromKeyword_1());
-
- otherlv_2 = (Token) match(input, 24, FOLLOW_24_in_ruleReclassifyAllClause16320);
-
- newLeafNode(otherlv_2, grammarAccess.getReclassifyAllClauseAccess().getAsteriskKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleReclassifyAllClause"
-
-
- // $ANTLR start "entryRuleQualifiedNameList"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7537:1: entryRuleQualifiedNameList returns [EObject current=null] : iv_ruleQualifiedNameList=
- // ruleQualifiedNameList EOF ;
- public final EObject entryRuleQualifiedNameList() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleQualifiedNameList = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7538:2: (iv_ruleQualifiedNameList= ruleQualifiedNameList EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7539:2: iv_ruleQualifiedNameList= ruleQualifiedNameList EOF
- {
- newCompositeNode(grammarAccess.getQualifiedNameListRule());
- pushFollow(FOLLOW_ruleQualifiedNameList_in_entryRuleQualifiedNameList16356);
- iv_ruleQualifiedNameList = ruleQualifiedNameList();
-
- state._fsp--;
-
- current = iv_ruleQualifiedNameList;
- match(input, EOF, FOLLOW_EOF_in_entryRuleQualifiedNameList16366);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleQualifiedNameList"
-
-
- // $ANTLR start "ruleQualifiedNameList"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7546:1: ruleQualifiedNameList returns [EObject current=null] : ( ( (lv_qualifiedName_0_0=
- // ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) ;
- public final EObject ruleQualifiedNameList() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv_qualifiedName_0_0 = null;
-
- EObject lv_qualifiedName_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7549:28: ( ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' (
- // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:1: ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' (
- // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:1: ( ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' (
- // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )* )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:2: ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) ) (otherlv_1= ',' (
- // (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )*
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7550:2: ( (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7551:1: (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7551:1: (lv_qualifiedName_0_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7552:3: lv_qualifiedName_0_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16412);
- lv_qualifiedName_0_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNameListRule());
- }
- add(
- current,
- "qualifiedName",
- lv_qualifiedName_0_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7568:2: (otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) ) )*
- loop109: do {
- int alt109 = 2;
- int LA109_0 = input.LA(1);
-
- if ((LA109_0 == 17)) {
- alt109 = 1;
- }
-
-
- switch (alt109) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7568:4: otherlv_1= ',' ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) )
- {
- otherlv_1 = (Token) match(input, 17, FOLLOW_17_in_ruleQualifiedNameList16425);
-
- newLeafNode(otherlv_1, grammarAccess.getQualifiedNameListAccess().getCommaKeyword_1_0());
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7572:1: ( (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7573:1: (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7573:1: (lv_qualifiedName_2_0= ruleQualifiedNameWithBinding )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7574:3: lv_qualifiedName_2_0= ruleQualifiedNameWithBinding
- {
-
- newCompositeNode(grammarAccess.getQualifiedNameListAccess().getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16446);
- lv_qualifiedName_2_0 = ruleQualifiedNameWithBinding();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getQualifiedNameListRule());
- }
- add(
- current,
- "qualifiedName",
- lv_qualifiedName_2_0,
- "QualifiedNameWithBinding");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- default:
- break loop109;
- }
- } while (true);
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleQualifiedNameList"
-
-
- // $ANTLR start "entryRuleInvocationOrAssignementOrDeclarationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7598:1: entryRuleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null] :
- // iv_ruleInvocationOrAssignementOrDeclarationStatement= ruleInvocationOrAssignementOrDeclarationStatement EOF ;
- public final EObject entryRuleInvocationOrAssignementOrDeclarationStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInvocationOrAssignementOrDeclarationStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7599:2: (iv_ruleInvocationOrAssignementOrDeclarationStatement=
- // ruleInvocationOrAssignementOrDeclarationStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7600:2: iv_ruleInvocationOrAssignementOrDeclarationStatement=
- // ruleInvocationOrAssignementOrDeclarationStatement EOF
- {
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- pushFollow(FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_entryRuleInvocationOrAssignementOrDeclarationStatement16484);
- iv_ruleInvocationOrAssignementOrDeclarationStatement = ruleInvocationOrAssignementOrDeclarationStatement();
-
- state._fsp--;
-
- current = iv_ruleInvocationOrAssignementOrDeclarationStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleInvocationOrAssignementOrDeclarationStatement16494);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleInvocationOrAssignementOrDeclarationStatement"
-
-
- // $ANTLR start "ruleInvocationOrAssignementOrDeclarationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7607:1: ruleInvocationOrAssignementOrDeclarationStatement returns [EObject current=null] : ( (
- // (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) ;
- public final EObject ruleInvocationOrAssignementOrDeclarationStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_3 = null;
- EObject lv_typePart_OR_assignedPart_OR_invocationPart_0_0 = null;
-
- EObject lv_variableDeclarationCompletion_1_0 = null;
-
- EObject lv_assignmentCompletion_2_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7610:28: ( ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( (
- // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:1: ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( (
- // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:1: ( ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( (
- // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:2: ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) ) ( (
- // (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )? otherlv_3= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7611:2: ( (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7612:1: (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7612:1: (lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7613:3: lv_typePart_OR_assignedPart_OR_invocationPart_0_0= ruleNameExpression
- {
-
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getTypePart_OR_assignedPart_OR_invocationPartNameExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleNameExpression_in_ruleInvocationOrAssignementOrDeclarationStatement16540);
- lv_typePart_OR_assignedPart_OR_invocationPart_0_0 = ruleNameExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- current,
- "typePart_OR_assignedPart_OR_invocationPart",
- lv_typePart_OR_assignedPart_OR_invocationPart_0_0,
- "NameExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:2: ( ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) ) | (
- // (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) ) )?
- int alt110 = 3;
- int LA110_0 = input.LA(1);
-
- if ((LA110_0 == RULE_ID || LA110_0 == 18)) {
- alt110 = 1;
- }
- else if ((LA110_0 == 71 || (LA110_0 >= 109 && LA110_0 <= 119))) {
- alt110 = 2;
- }
- switch (alt110) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:3: ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7629:3: ( (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7630:1: (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7630:1: (lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7631:3: lv_variableDeclarationCompletion_1_0= ruleVariableDeclarationCompletion
- {
-
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getVariableDeclarationCompletionVariableDeclarationCompletionParserRuleCall_1_0_0());
-
- pushFollow(FOLLOW_ruleVariableDeclarationCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16562);
- lv_variableDeclarationCompletion_1_0 = ruleVariableDeclarationCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- current,
- "variableDeclarationCompletion",
- lv_variableDeclarationCompletion_1_0,
- "VariableDeclarationCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7648:6: ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7648:6: ( (lv_assignmentCompletion_2_0= ruleAssignmentCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7649:1: (lv_assignmentCompletion_2_0= ruleAssignmentCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7649:1: (lv_assignmentCompletion_2_0= ruleAssignmentCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7650:3: lv_assignmentCompletion_2_0= ruleAssignmentCompletion
- {
-
- newCompositeNode(grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_1_0());
-
- pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16589);
- lv_assignmentCompletion_2_0 = ruleAssignmentCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInvocationOrAssignementOrDeclarationStatementRule());
- }
- set(
- current,
- "assignmentCompletion",
- lv_assignmentCompletion_2_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_3 = (Token) match(input, 12, FOLLOW_12_in_ruleInvocationOrAssignementOrDeclarationStatement16603);
-
- newLeafNode(otherlv_3, grammarAccess.getInvocationOrAssignementOrDeclarationStatementAccess().getSemicolonKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleInvocationOrAssignementOrDeclarationStatement"
-
-
- // $ANTLR start "entryRuleSuperInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7678:1: entryRuleSuperInvocationStatement returns [EObject current=null] : iv_ruleSuperInvocationStatement=
- // ruleSuperInvocationStatement EOF ;
- public final EObject entryRuleSuperInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleSuperInvocationStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7679:2: (iv_ruleSuperInvocationStatement= ruleSuperInvocationStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7680:2: iv_ruleSuperInvocationStatement= ruleSuperInvocationStatement EOF
- {
- newCompositeNode(grammarAccess.getSuperInvocationStatementRule());
- pushFollow(FOLLOW_ruleSuperInvocationStatement_in_entryRuleSuperInvocationStatement16639);
- iv_ruleSuperInvocationStatement = ruleSuperInvocationStatement();
-
- state._fsp--;
-
- current = iv_ruleSuperInvocationStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleSuperInvocationStatement16649);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleSuperInvocationStatement"
-
-
- // $ANTLR start "ruleSuperInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7687:1: ruleSuperInvocationStatement returns [EObject current=null] : ( ( (lv__super_0_0=
- // ruleSuperInvocationExpression ) ) otherlv_1= ';' ) ;
- public final EObject ruleSuperInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv__super_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7690:28: ( ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:1: ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:1: ( ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:2: ( (lv__super_0_0= ruleSuperInvocationExpression ) ) otherlv_1= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7691:2: ( (lv__super_0_0= ruleSuperInvocationExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7692:1: (lv__super_0_0= ruleSuperInvocationExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7692:1: (lv__super_0_0= ruleSuperInvocationExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7693:3: lv__super_0_0= ruleSuperInvocationExpression
- {
-
- newCompositeNode(grammarAccess.getSuperInvocationStatementAccess().get_superSuperInvocationExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleSuperInvocationExpression_in_ruleSuperInvocationStatement16695);
- lv__super_0_0 = ruleSuperInvocationExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getSuperInvocationStatementRule());
- }
- set(
- current,
- "_super",
- lv__super_0_0,
- "SuperInvocationExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleSuperInvocationStatement16707);
-
- newLeafNode(otherlv_1, grammarAccess.getSuperInvocationStatementAccess().getSemicolonKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSuperInvocationStatement"
-
-
- // $ANTLR start "entryRuleThisInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7721:1: entryRuleThisInvocationStatement returns [EObject current=null] : iv_ruleThisInvocationStatement=
- // ruleThisInvocationStatement EOF ;
- public final EObject entryRuleThisInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleThisInvocationStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7722:2: (iv_ruleThisInvocationStatement= ruleThisInvocationStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7723:2: iv_ruleThisInvocationStatement= ruleThisInvocationStatement EOF
- {
- newCompositeNode(grammarAccess.getThisInvocationStatementRule());
- pushFollow(FOLLOW_ruleThisInvocationStatement_in_entryRuleThisInvocationStatement16743);
- iv_ruleThisInvocationStatement = ruleThisInvocationStatement();
-
- state._fsp--;
-
- current = iv_ruleThisInvocationStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleThisInvocationStatement16753);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleThisInvocationStatement"
-
-
- // $ANTLR start "ruleThisInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7730:1: ruleThisInvocationStatement returns [EObject current=null] : ( ( (lv__this_0_0= ruleThisExpression ) ) (
- // (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) )? otherlv_2= ';' ) ;
- public final EObject ruleThisInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_2 = null;
- EObject lv__this_0_0 = null;
-
- EObject lv_assignmentCompletion_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7733:28: ( ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0=
- // ruleAssignmentCompletion ) )? otherlv_2= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:1: ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0= ruleAssignmentCompletion
- // ) )? otherlv_2= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:1: ( ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0=
- // ruleAssignmentCompletion ) )? otherlv_2= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:2: ( (lv__this_0_0= ruleThisExpression ) ) ( (lv_assignmentCompletion_1_0=
- // ruleAssignmentCompletion ) )? otherlv_2= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7734:2: ( (lv__this_0_0= ruleThisExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7735:1: (lv__this_0_0= ruleThisExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7735:1: (lv__this_0_0= ruleThisExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7736:3: lv__this_0_0= ruleThisExpression
- {
-
- newCompositeNode(grammarAccess.getThisInvocationStatementAccess().get_thisThisExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleThisExpression_in_ruleThisInvocationStatement16799);
- lv__this_0_0 = ruleThisExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule());
- }
- set(
- current,
- "_this",
- lv__this_0_0,
- "ThisExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7752:2: ( (lv_assignmentCompletion_1_0= ruleAssignmentCompletion ) )?
- int alt111 = 2;
- int LA111_0 = input.LA(1);
-
- if ((LA111_0 == 71 || (LA111_0 >= 109 && LA111_0 <= 119))) {
- alt111 = 1;
- }
- switch (alt111) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7753:1: (lv_assignmentCompletion_1_0= ruleAssignmentCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7753:1: (lv_assignmentCompletion_1_0= ruleAssignmentCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7754:3: lv_assignmentCompletion_1_0= ruleAssignmentCompletion
- {
-
- newCompositeNode(grammarAccess.getThisInvocationStatementAccess().getAssignmentCompletionAssignmentCompletionParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleThisInvocationStatement16820);
- lv_assignmentCompletion_1_0 = ruleAssignmentCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getThisInvocationStatementRule());
- }
- set(
- current,
- "assignmentCompletion",
- lv_assignmentCompletion_1_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
- break;
-
- }
-
- otherlv_2 = (Token) match(input, 12, FOLLOW_12_in_ruleThisInvocationStatement16833);
-
- newLeafNode(otherlv_2, grammarAccess.getThisInvocationStatementAccess().getSemicolonKeyword_2());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleThisInvocationStatement"
-
-
- // $ANTLR start "entryRuleInstanceCreationInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7782:1: entryRuleInstanceCreationInvocationStatement returns [EObject current=null] :
- // iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF ;
- public final EObject entryRuleInstanceCreationInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleInstanceCreationInvocationStatement = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7783:2: (iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7784:2: iv_ruleInstanceCreationInvocationStatement= ruleInstanceCreationInvocationStatement EOF
- {
- newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementRule());
- pushFollow(FOLLOW_ruleInstanceCreationInvocationStatement_in_entryRuleInstanceCreationInvocationStatement16869);
- iv_ruleInstanceCreationInvocationStatement = ruleInstanceCreationInvocationStatement();
-
- state._fsp--;
-
- current = iv_ruleInstanceCreationInvocationStatement;
- match(input, EOF, FOLLOW_EOF_in_entryRuleInstanceCreationInvocationStatement16879);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleInstanceCreationInvocationStatement"
-
-
- // $ANTLR start "ruleInstanceCreationInvocationStatement"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7791:1: ruleInstanceCreationInvocationStatement returns [EObject current=null] : ( ( (lv__new_0_0=
- // ruleInstanceCreationExpression ) ) otherlv_1= ';' ) ;
- public final EObject ruleInstanceCreationInvocationStatement() throws RecognitionException {
- EObject current = null;
-
- Token otherlv_1 = null;
- EObject lv__new_0_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7794:28: ( ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:1: ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:1: ( ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:2: ( (lv__new_0_0= ruleInstanceCreationExpression ) ) otherlv_1= ';'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7795:2: ( (lv__new_0_0= ruleInstanceCreationExpression ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7796:1: (lv__new_0_0= ruleInstanceCreationExpression )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7796:1: (lv__new_0_0= ruleInstanceCreationExpression )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7797:3: lv__new_0_0= ruleInstanceCreationExpression
- {
-
- newCompositeNode(grammarAccess.getInstanceCreationInvocationStatementAccess().get_newInstanceCreationExpressionParserRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleInstanceCreationExpression_in_ruleInstanceCreationInvocationStatement16925);
- lv__new_0_0 = ruleInstanceCreationExpression();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getInstanceCreationInvocationStatementRule());
- }
- set(
- current,
- "_new",
- lv__new_0_0,
- "InstanceCreationExpression");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 12, FOLLOW_12_in_ruleInstanceCreationInvocationStatement16937);
-
- newLeafNode(otherlv_1, grammarAccess.getInstanceCreationInvocationStatementAccess().getSemicolonKeyword_1());
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleInstanceCreationInvocationStatement"
-
-
- // $ANTLR start "entryRuleVariableDeclarationCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7825:1: entryRuleVariableDeclarationCompletion returns [EObject current=null] :
- // iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF ;
- public final EObject entryRuleVariableDeclarationCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleVariableDeclarationCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7826:2: (iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7827:2: iv_ruleVariableDeclarationCompletion= ruleVariableDeclarationCompletion EOF
- {
- newCompositeNode(grammarAccess.getVariableDeclarationCompletionRule());
- pushFollow(FOLLOW_ruleVariableDeclarationCompletion_in_entryRuleVariableDeclarationCompletion16973);
- iv_ruleVariableDeclarationCompletion = ruleVariableDeclarationCompletion();
-
- state._fsp--;
-
- current = iv_ruleVariableDeclarationCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleVariableDeclarationCompletion16983);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleVariableDeclarationCompletion"
-
-
- // $ANTLR start "ruleVariableDeclarationCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7834:1: ruleVariableDeclarationCompletion returns [EObject current=null] : ( ( ( (lv_multiplicityIndicator_0_0=
- // '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) ;
- public final EObject ruleVariableDeclarationCompletion() throws RecognitionException {
- EObject current = null;
-
- Token lv_multiplicityIndicator_0_0 = null;
- Token otherlv_1 = null;
- Token lv_variableName_2_0 = null;
- EObject lv_initValue_3_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7837:28: ( ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID
- // ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID ) )
- // ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:1: ( ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID
- // ) ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )? ( (lv_variableName_2_0= RULE_ID )
- // ) ( (lv_initValue_3_0= ruleAssignmentCompletion ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:2: ( ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']' )?
- int alt112 = 2;
- int LA112_0 = input.LA(1);
-
- if ((LA112_0 == 18)) {
- alt112 = 1;
- }
- switch (alt112) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:3: ( (lv_multiplicityIndicator_0_0= '[' ) ) otherlv_1= ']'
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7838:3: ( (lv_multiplicityIndicator_0_0= '[' ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7839:1: (lv_multiplicityIndicator_0_0= '[' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7839:1: (lv_multiplicityIndicator_0_0= '[' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7840:3: lv_multiplicityIndicator_0_0= '['
- {
- lv_multiplicityIndicator_0_0 = (Token) match(input, 18, FOLLOW_18_in_ruleVariableDeclarationCompletion17027);
-
- newLeafNode(lv_multiplicityIndicator_0_0, grammarAccess.getVariableDeclarationCompletionAccess().getMultiplicityIndicatorLeftSquareBracketKeyword_0_0_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule());
- }
- setWithLastConsumed(current, "multiplicityIndicator", true, "[");
-
-
- }
-
-
- }
-
- otherlv_1 = (Token) match(input, 19, FOLLOW_19_in_ruleVariableDeclarationCompletion17052);
-
- newLeafNode(otherlv_1, grammarAccess.getVariableDeclarationCompletionAccess().getRightSquareBracketKeyword_0_1());
-
-
- }
- break;
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7857:3: ( (lv_variableName_2_0= RULE_ID ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7858:1: (lv_variableName_2_0= RULE_ID )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7858:1: (lv_variableName_2_0= RULE_ID )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7859:3: lv_variableName_2_0= RULE_ID
- {
- lv_variableName_2_0 = (Token) match(input, RULE_ID, FOLLOW_RULE_ID_in_ruleVariableDeclarationCompletion17071);
-
- newLeafNode(lv_variableName_2_0, grammarAccess.getVariableDeclarationCompletionAccess().getVariableNameIDTerminalRuleCall_1_0());
-
-
- if (current == null) {
- current = createModelElement(grammarAccess.getVariableDeclarationCompletionRule());
- }
- setWithLastConsumed(
- current,
- "variableName",
- lv_variableName_2_0,
- "ID");
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7875:2: ( (lv_initValue_3_0= ruleAssignmentCompletion ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7876:1: (lv_initValue_3_0= ruleAssignmentCompletion )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7876:1: (lv_initValue_3_0= ruleAssignmentCompletion )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7877:3: lv_initValue_3_0= ruleAssignmentCompletion
- {
-
- newCompositeNode(grammarAccess.getVariableDeclarationCompletionAccess().getInitValueAssignmentCompletionParserRuleCall_2_0());
-
- pushFollow(FOLLOW_ruleAssignmentCompletion_in_ruleVariableDeclarationCompletion17097);
- lv_initValue_3_0 = ruleAssignmentCompletion();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getVariableDeclarationCompletionRule());
- }
- set(
- current,
- "initValue",
- lv_initValue_3_0,
- "AssignmentCompletion");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleVariableDeclarationCompletion"
-
-
- // $ANTLR start "entryRuleAssignmentCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7901:1: entryRuleAssignmentCompletion returns [EObject current=null] : iv_ruleAssignmentCompletion=
- // ruleAssignmentCompletion EOF ;
- public final EObject entryRuleAssignmentCompletion() throws RecognitionException {
- EObject current = null;
-
- EObject iv_ruleAssignmentCompletion = null;
-
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7902:2: (iv_ruleAssignmentCompletion= ruleAssignmentCompletion EOF )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7903:2: iv_ruleAssignmentCompletion= ruleAssignmentCompletion EOF
- {
- newCompositeNode(grammarAccess.getAssignmentCompletionRule());
- pushFollow(FOLLOW_ruleAssignmentCompletion_in_entryRuleAssignmentCompletion17133);
- iv_ruleAssignmentCompletion = ruleAssignmentCompletion();
-
- state._fsp--;
-
- current = iv_ruleAssignmentCompletion;
- match(input, EOF, FOLLOW_EOF_in_entryRuleAssignmentCompletion17143);
-
- }
-
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "entryRuleAssignmentCompletion"
-
-
- // $ANTLR start "ruleAssignmentCompletion"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7910:1: ruleAssignmentCompletion returns [EObject current=null] : ( ( (lv_op_0_0= ruleAssignmentOperator ) ) (
- // (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) ;
- public final EObject ruleAssignmentCompletion() throws RecognitionException {
- EObject current = null;
-
- Enumerator lv_op_0_0 = null;
-
- EObject lv_rightHandSide_1_0 = null;
-
-
- enterRule();
-
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7913:28: ( ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:1: ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:1: ( ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:2: ( (lv_op_0_0= ruleAssignmentOperator ) ) ( (lv_rightHandSide_1_0= ruleSequenceElement ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7914:2: ( (lv_op_0_0= ruleAssignmentOperator ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7915:1: (lv_op_0_0= ruleAssignmentOperator )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7915:1: (lv_op_0_0= ruleAssignmentOperator )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7916:3: lv_op_0_0= ruleAssignmentOperator
- {
-
- newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getOpAssignmentOperatorEnumRuleCall_0_0());
-
- pushFollow(FOLLOW_ruleAssignmentOperator_in_ruleAssignmentCompletion17189);
- lv_op_0_0 = ruleAssignmentOperator();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule());
- }
- set(
- current,
- "op",
- lv_op_0_0,
- "AssignmentOperator");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7932:2: ( (lv_rightHandSide_1_0= ruleSequenceElement ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7933:1: (lv_rightHandSide_1_0= ruleSequenceElement )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7933:1: (lv_rightHandSide_1_0= ruleSequenceElement )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7934:3: lv_rightHandSide_1_0= ruleSequenceElement
- {
-
- newCompositeNode(grammarAccess.getAssignmentCompletionAccess().getRightHandSideSequenceElementParserRuleCall_1_0());
-
- pushFollow(FOLLOW_ruleSequenceElement_in_ruleAssignmentCompletion17210);
- lv_rightHandSide_1_0 = ruleSequenceElement();
-
- state._fsp--;
-
-
- if (current == null) {
- current = createModelElementForParent(grammarAccess.getAssignmentCompletionRule());
- }
- set(
- current,
- "rightHandSide",
- lv_rightHandSide_1_0,
- "SequenceElement");
- afterParserOrEnumRuleCall();
-
-
- }
-
-
- }
-
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAssignmentCompletion"
-
-
- // $ANTLR start "ruleVisibilityIndicator"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7958:1: ruleVisibilityIndicator returns [Enumerator current=null] : ( (enumLiteral_0= 'public' ) | (enumLiteral_1=
- // 'private' ) | (enumLiteral_2= 'protected' ) ) ;
- public final Enumerator ruleVisibilityIndicator() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7960:28: ( ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:1: ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:1: ( (enumLiteral_0= 'public' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) )
- int alt113 = 3;
- switch (input.LA(1)) {
- case 88: {
- alt113 = 1;
- }
- break;
- case 89: {
- alt113 = 2;
- }
- break;
- case 90: {
- alt113 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 113, 0, input);
-
- throw nvae;
- }
-
- switch (alt113) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:2: (enumLiteral_0= 'public' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:2: (enumLiteral_0= 'public' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7961:4: enumLiteral_0= 'public'
- {
- enumLiteral_0 = (Token) match(input, 88, FOLLOW_88_in_ruleVisibilityIndicator17260);
-
- current = grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getVisibilityIndicatorAccess().getPUBLICEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:6: (enumLiteral_1= 'private' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:6: (enumLiteral_1= 'private' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7967:8: enumLiteral_1= 'private'
- {
- enumLiteral_1 = (Token) match(input, 89, FOLLOW_89_in_ruleVisibilityIndicator17277);
-
- current = grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getVisibilityIndicatorAccess().getPRIVATEEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:6: (enumLiteral_2= 'protected' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:6: (enumLiteral_2= 'protected' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7973:8: enumLiteral_2= 'protected'
- {
- enumLiteral_2 = (Token) match(input, 90, FOLLOW_90_in_ruleVisibilityIndicator17294);
-
- current = grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getVisibilityIndicatorAccess().getPROTECTEDEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleVisibilityIndicator"
-
-
- // $ANTLR start "ruleParameterDirection"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7983:1: ruleParameterDirection returns [Enumerator current=null] : ( (enumLiteral_0= 'in' ) | (enumLiteral_1=
- // 'out' ) | (enumLiteral_2= 'inout' ) ) ;
- public final Enumerator ruleParameterDirection() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7985:28: ( ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:1: ( (enumLiteral_0= 'in' ) | (enumLiteral_1= 'out' ) | (enumLiteral_2= 'inout' ) )
- int alt114 = 3;
- switch (input.LA(1)) {
- case 81: {
- alt114 = 1;
- }
- break;
- case 91: {
- alt114 = 2;
- }
- break;
- case 92: {
- alt114 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 114, 0, input);
-
- throw nvae;
- }
-
- switch (alt114) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:2: (enumLiteral_0= 'in' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:2: (enumLiteral_0= 'in' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7986:4: enumLiteral_0= 'in'
- {
- enumLiteral_0 = (Token) match(input, 81, FOLLOW_81_in_ruleParameterDirection17339);
-
- current = grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getParameterDirectionAccess().getINEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:6: (enumLiteral_1= 'out' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:6: (enumLiteral_1= 'out' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7992:8: enumLiteral_1= 'out'
- {
- enumLiteral_1 = (Token) match(input, 91, FOLLOW_91_in_ruleParameterDirection17356);
-
- current = grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getParameterDirectionAccess().getOUTEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:6: (enumLiteral_2= 'inout' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:6: (enumLiteral_2= 'inout' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:7998:8: enumLiteral_2= 'inout'
- {
- enumLiteral_2 = (Token) match(input, 92, FOLLOW_92_in_ruleParameterDirection17373);
-
- current = grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getParameterDirectionAccess().getINOUTEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleParameterDirection"
-
-
- // $ANTLR start "ruleBooleanValue"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8008:1: ruleBooleanValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false'
- // ) ) ;
- public final Enumerator ruleBooleanValue() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8010:28: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:1: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) )
- int alt115 = 2;
- int LA115_0 = input.LA(1);
-
- if ((LA115_0 == 93)) {
- alt115 = 1;
- }
- else if ((LA115_0 == 94)) {
- alt115 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 115, 0, input);
-
- throw nvae;
- }
- switch (alt115) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:2: (enumLiteral_0= 'true' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:2: (enumLiteral_0= 'true' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8011:4: enumLiteral_0= 'true'
- {
- enumLiteral_0 = (Token) match(input, 93, FOLLOW_93_in_ruleBooleanValue17418);
-
- current = grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getBooleanValueAccess().getTRUEEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:6: (enumLiteral_1= 'false' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:6: (enumLiteral_1= 'false' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8017:8: enumLiteral_1= 'false'
- {
- enumLiteral_1 = (Token) match(input, 94, FOLLOW_94_in_ruleBooleanValue17435);
-
- current = grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getBooleanValueAccess().getFALSEEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleBooleanValue"
-
-
- // $ANTLR start "ruleLinkOperationKind"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8027:1: ruleLinkOperationKind returns [Enumerator current=null] : ( (enumLiteral_0= 'createLink' ) |
- // (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= 'clearAssoc' ) ) ;
- public final Enumerator ruleLinkOperationKind() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8029:28: ( ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2=
- // 'clearAssoc' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:1: ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2= 'clearAssoc'
- // ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:1: ( (enumLiteral_0= 'createLink' ) | (enumLiteral_1= 'destroyLink' ) | (enumLiteral_2=
- // 'clearAssoc' ) )
- int alt116 = 3;
- switch (input.LA(1)) {
- case 95: {
- alt116 = 1;
- }
- break;
- case 96: {
- alt116 = 2;
- }
- break;
- case 97: {
- alt116 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 116, 0, input);
-
- throw nvae;
- }
-
- switch (alt116) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:2: (enumLiteral_0= 'createLink' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:2: (enumLiteral_0= 'createLink' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8030:4: enumLiteral_0= 'createLink'
- {
- enumLiteral_0 = (Token) match(input, 95, FOLLOW_95_in_ruleLinkOperationKind17480);
-
- current = grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getLinkOperationKindAccess().getCREATEEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:6: (enumLiteral_1= 'destroyLink' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:6: (enumLiteral_1= 'destroyLink' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8036:8: enumLiteral_1= 'destroyLink'
- {
- enumLiteral_1 = (Token) match(input, 96, FOLLOW_96_in_ruleLinkOperationKind17497);
-
- current = grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getLinkOperationKindAccess().getDESTROYEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:6: (enumLiteral_2= 'clearAssoc' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:6: (enumLiteral_2= 'clearAssoc' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8042:8: enumLiteral_2= 'clearAssoc'
- {
- enumLiteral_2 = (Token) match(input, 97, FOLLOW_97_in_ruleLinkOperationKind17514);
-
- current = grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getLinkOperationKindAccess().getCLEAREnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleLinkOperationKind"
-
-
- // $ANTLR start "ruleSelectOrRejectOperator"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8052:1: ruleSelectOrRejectOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'select' ) |
- // (enumLiteral_1= 'reject' ) ) ;
- public final Enumerator ruleSelectOrRejectOperator() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8054:28: ( ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:1: ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:1: ( (enumLiteral_0= 'select' ) | (enumLiteral_1= 'reject' ) )
- int alt117 = 2;
- int LA117_0 = input.LA(1);
-
- if ((LA117_0 == 98)) {
- alt117 = 1;
- }
- else if ((LA117_0 == 99)) {
- alt117 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 117, 0, input);
-
- throw nvae;
- }
- switch (alt117) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:2: (enumLiteral_0= 'select' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:2: (enumLiteral_0= 'select' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8055:4: enumLiteral_0= 'select'
- {
- enumLiteral_0 = (Token) match(input, 98, FOLLOW_98_in_ruleSelectOrRejectOperator17559);
-
- current = grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getSelectOrRejectOperatorAccess().getSELECTEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:6: (enumLiteral_1= 'reject' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:6: (enumLiteral_1= 'reject' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8061:8: enumLiteral_1= 'reject'
- {
- enumLiteral_1 = (Token) match(input, 99, FOLLOW_99_in_ruleSelectOrRejectOperator17576);
-
- current = grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getSelectOrRejectOperatorAccess().getREJECTEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleSelectOrRejectOperator"
-
-
- // $ANTLR start "ruleCollectOrIterateOperator"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8071:1: ruleCollectOrIterateOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'collect' ) |
- // (enumLiteral_1= 'iterate' ) ) ;
- public final Enumerator ruleCollectOrIterateOperator() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8073:28: ( ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:1: ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:1: ( (enumLiteral_0= 'collect' ) | (enumLiteral_1= 'iterate' ) )
- int alt118 = 2;
- int LA118_0 = input.LA(1);
-
- if ((LA118_0 == 100)) {
- alt118 = 1;
- }
- else if ((LA118_0 == 101)) {
- alt118 = 2;
- }
- else {
- NoViableAltException nvae =
- new NoViableAltException("", 118, 0, input);
-
- throw nvae;
- }
- switch (alt118) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:2: (enumLiteral_0= 'collect' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:2: (enumLiteral_0= 'collect' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8074:4: enumLiteral_0= 'collect'
- {
- enumLiteral_0 = (Token) match(input, 100, FOLLOW_100_in_ruleCollectOrIterateOperator17621);
-
- current = grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getCollectOrIterateOperatorAccess().getCOLLECTEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:6: (enumLiteral_1= 'iterate' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:6: (enumLiteral_1= 'iterate' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8080:8: enumLiteral_1= 'iterate'
- {
- enumLiteral_1 = (Token) match(input, 101, FOLLOW_101_in_ruleCollectOrIterateOperator17638);
-
- current = grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getCollectOrIterateOperatorAccess().getITERATEEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleCollectOrIterateOperator"
-
-
- // $ANTLR start "ruleForAllOrExistsOrOneOperator"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8090:1: ruleForAllOrExistsOrOneOperator returns [Enumerator current=null] : ( (enumLiteral_0= 'forAll' ) |
- // (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) ;
- public final Enumerator ruleForAllOrExistsOrOneOperator() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8092:28: ( ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:1: ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:1: ( (enumLiteral_0= 'forAll' ) | (enumLiteral_1= 'exists' ) | (enumLiteral_2= 'one' ) )
- int alt119 = 3;
- switch (input.LA(1)) {
- case 102: {
- alt119 = 1;
- }
- break;
- case 103: {
- alt119 = 2;
- }
- break;
- case 104: {
- alt119 = 3;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 119, 0, input);
-
- throw nvae;
- }
-
- switch (alt119) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:2: (enumLiteral_0= 'forAll' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:2: (enumLiteral_0= 'forAll' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8093:4: enumLiteral_0= 'forAll'
- {
- enumLiteral_0 = (Token) match(input, 102, FOLLOW_102_in_ruleForAllOrExistsOrOneOperator17683);
-
- current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getFORALLEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:6: (enumLiteral_1= 'exists' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:6: (enumLiteral_1= 'exists' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8099:8: enumLiteral_1= 'exists'
- {
- enumLiteral_1 = (Token) match(input, 103, FOLLOW_103_in_ruleForAllOrExistsOrOneOperator17700);
-
- current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getEXISTSEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:6: (enumLiteral_2= 'one' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:6: (enumLiteral_2= 'one' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8105:8: enumLiteral_2= 'one'
- {
- enumLiteral_2 = (Token) match(input, 104, FOLLOW_104_in_ruleForAllOrExistsOrOneOperator17717);
-
- current = grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getForAllOrExistsOrOneOperatorAccess().getONEEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleForAllOrExistsOrOneOperator"
-
-
- // $ANTLR start "ruleAnnotationKind"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8115:1: ruleAnnotationKind returns [Enumerator current=null] : ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1=
- // 'determined' ) | (enumLiteral_2= 'assured' ) | (enumLiteral_3= 'parallel' ) ) ;
- public final Enumerator ruleAnnotationKind() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
- Token enumLiteral_3 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8117:28: ( ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' ) |
- // (enumLiteral_3= 'parallel' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:1: ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' ) |
- // (enumLiteral_3= 'parallel' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:1: ( (enumLiteral_0= 'isolated' ) | (enumLiteral_1= 'determined' ) | (enumLiteral_2= 'assured' )
- // | (enumLiteral_3= 'parallel' ) )
- int alt120 = 4;
- switch (input.LA(1)) {
- case 105: {
- alt120 = 1;
- }
- break;
- case 106: {
- alt120 = 2;
- }
- break;
- case 107: {
- alt120 = 3;
- }
- break;
- case 108: {
- alt120 = 4;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 120, 0, input);
-
- throw nvae;
- }
-
- switch (alt120) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:2: (enumLiteral_0= 'isolated' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:2: (enumLiteral_0= 'isolated' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8118:4: enumLiteral_0= 'isolated'
- {
- enumLiteral_0 = (Token) match(input, 105, FOLLOW_105_in_ruleAnnotationKind17762);
-
- current = grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAnnotationKindAccess().getISOLATEDEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:6: (enumLiteral_1= 'determined' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:6: (enumLiteral_1= 'determined' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8124:8: enumLiteral_1= 'determined'
- {
- enumLiteral_1 = (Token) match(input, 106, FOLLOW_106_in_ruleAnnotationKind17779);
-
- current = grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAnnotationKindAccess().getDETERMINEDEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:6: (enumLiteral_2= 'assured' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:6: (enumLiteral_2= 'assured' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8130:8: enumLiteral_2= 'assured'
- {
- enumLiteral_2 = (Token) match(input, 107, FOLLOW_107_in_ruleAnnotationKind17796);
-
- current = grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAnnotationKindAccess().getASSUREDEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:6: (enumLiteral_3= 'parallel' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:6: (enumLiteral_3= 'parallel' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8136:8: enumLiteral_3= 'parallel'
- {
- enumLiteral_3 = (Token) match(input, 108, FOLLOW_108_in_ruleAnnotationKind17813);
-
- current = grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAnnotationKindAccess().getPARALLELEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAnnotationKind"
-
-
- // $ANTLR start "ruleAssignmentOperator"
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8146:1: ruleAssignmentOperator returns [Enumerator current=null] : ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+='
- // ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11=
- // '>>>=' ) ) ;
- public final Enumerator ruleAssignmentOperator() throws RecognitionException {
- Enumerator current = null;
-
- Token enumLiteral_0 = null;
- Token enumLiteral_1 = null;
- Token enumLiteral_2 = null;
- Token enumLiteral_3 = null;
- Token enumLiteral_4 = null;
- Token enumLiteral_5 = null;
- Token enumLiteral_6 = null;
- Token enumLiteral_7 = null;
- Token enumLiteral_8 = null;
- Token enumLiteral_9 = null;
- Token enumLiteral_10 = null;
- Token enumLiteral_11 = null;
-
- enterRule();
- try {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8148:28: ( ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3=
- // '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) ) )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:1: ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3= '*=' )
- // | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:1: ( (enumLiteral_0= '=' ) | (enumLiteral_1= '+=' ) | (enumLiteral_2= '-=' ) | (enumLiteral_3=
- // '*=' ) | (enumLiteral_4= '%=' ) | (enumLiteral_5= '/=' ) | (enumLiteral_6= '&=' ) | (enumLiteral_7= '|=' ) | (enumLiteral_8= '^=' ) | (enumLiteral_9= '<<=' ) | (enumLiteral_10= '>>=' ) | (enumLiteral_11= '>>>=' ) )
- int alt121 = 12;
- switch (input.LA(1)) {
- case 71: {
- alt121 = 1;
- }
- break;
- case 109: {
- alt121 = 2;
- }
- break;
- case 110: {
- alt121 = 3;
- }
- break;
- case 111: {
- alt121 = 4;
- }
- break;
- case 112: {
- alt121 = 5;
- }
- break;
- case 113: {
- alt121 = 6;
- }
- break;
- case 114: {
- alt121 = 7;
- }
- break;
- case 115: {
- alt121 = 8;
- }
- break;
- case 116: {
- alt121 = 9;
- }
- break;
- case 117: {
- alt121 = 10;
- }
- break;
- case 118: {
- alt121 = 11;
- }
- break;
- case 119: {
- alt121 = 12;
- }
- break;
- default:
- NoViableAltException nvae =
- new NoViableAltException("", 121, 0, input);
-
- throw nvae;
- }
-
- switch (alt121) {
- case 1:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:2: (enumLiteral_0= '=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:2: (enumLiteral_0= '=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8149:4: enumLiteral_0= '='
- {
- enumLiteral_0 = (Token) match(input, 71, FOLLOW_71_in_ruleAssignmentOperator17858);
-
- current = grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_0, grammarAccess.getAssignmentOperatorAccess().getASSIGNEnumLiteralDeclaration_0());
-
-
- }
-
-
- }
- break;
- case 2:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:6: (enumLiteral_1= '+=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:6: (enumLiteral_1= '+=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8155:8: enumLiteral_1= '+='
- {
- enumLiteral_1 = (Token) match(input, 109, FOLLOW_109_in_ruleAssignmentOperator17875);
-
- current = grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_1, grammarAccess.getAssignmentOperatorAccess().getPLUSASSIGNEnumLiteralDeclaration_1());
-
-
- }
-
-
- }
- break;
- case 3:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:6: (enumLiteral_2= '-=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:6: (enumLiteral_2= '-=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8161:8: enumLiteral_2= '-='
- {
- enumLiteral_2 = (Token) match(input, 110, FOLLOW_110_in_ruleAssignmentOperator17892);
-
- current = grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_2, grammarAccess.getAssignmentOperatorAccess().getMINUSASSIGNEnumLiteralDeclaration_2());
-
-
- }
-
-
- }
- break;
- case 4:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:6: (enumLiteral_3= '*=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:6: (enumLiteral_3= '*=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8167:8: enumLiteral_3= '*='
- {
- enumLiteral_3 = (Token) match(input, 111, FOLLOW_111_in_ruleAssignmentOperator17909);
-
- current = grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_3, grammarAccess.getAssignmentOperatorAccess().getMULTASSIGNEnumLiteralDeclaration_3());
-
-
- }
-
-
- }
- break;
- case 5:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:6: (enumLiteral_4= '%=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:6: (enumLiteral_4= '%=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8173:8: enumLiteral_4= '%='
- {
- enumLiteral_4 = (Token) match(input, 112, FOLLOW_112_in_ruleAssignmentOperator17926);
-
- current = grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_4, grammarAccess.getAssignmentOperatorAccess().getMODASSIGNEnumLiteralDeclaration_4());
-
-
- }
-
-
- }
- break;
- case 6:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:6: (enumLiteral_5= '/=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:6: (enumLiteral_5= '/=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8179:8: enumLiteral_5= '/='
- {
- enumLiteral_5 = (Token) match(input, 113, FOLLOW_113_in_ruleAssignmentOperator17943);
-
- current = grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_5, grammarAccess.getAssignmentOperatorAccess().getDIVASSIGNEnumLiteralDeclaration_5());
-
-
- }
-
-
- }
- break;
- case 7:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:6: (enumLiteral_6= '&=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:6: (enumLiteral_6= '&=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8185:8: enumLiteral_6= '&='
- {
- enumLiteral_6 = (Token) match(input, 114, FOLLOW_114_in_ruleAssignmentOperator17960);
-
- current = grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_6, grammarAccess.getAssignmentOperatorAccess().getANDASSIGNEnumLiteralDeclaration_6());
-
-
- }
-
-
- }
- break;
- case 8:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:6: (enumLiteral_7= '|=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:6: (enumLiteral_7= '|=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8191:8: enumLiteral_7= '|='
- {
- enumLiteral_7 = (Token) match(input, 115, FOLLOW_115_in_ruleAssignmentOperator17977);
-
- current = grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_7, grammarAccess.getAssignmentOperatorAccess().getORASSIGNEnumLiteralDeclaration_7());
-
-
- }
-
-
- }
- break;
- case 9:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:6: (enumLiteral_8= '^=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:6: (enumLiteral_8= '^=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8197:8: enumLiteral_8= '^='
- {
- enumLiteral_8 = (Token) match(input, 116, FOLLOW_116_in_ruleAssignmentOperator17994);
-
- current = grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_8, grammarAccess.getAssignmentOperatorAccess().getXORASSIGNEnumLiteralDeclaration_8());
-
-
- }
-
-
- }
- break;
- case 10:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:6: (enumLiteral_9= '<<=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:6: (enumLiteral_9= '<<=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8203:8: enumLiteral_9= '<<='
- {
- enumLiteral_9 = (Token) match(input, 117, FOLLOW_117_in_ruleAssignmentOperator18011);
-
- current = grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_9, grammarAccess.getAssignmentOperatorAccess().getLSHIFTASSIGNEnumLiteralDeclaration_9());
-
-
- }
-
-
- }
- break;
- case 11:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:6: (enumLiteral_10= '>>=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:6: (enumLiteral_10= '>>=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8209:8: enumLiteral_10= '>>='
- {
- enumLiteral_10 = (Token) match(input, 118, FOLLOW_118_in_ruleAssignmentOperator18028);
-
- current = grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_10, grammarAccess.getAssignmentOperatorAccess().getRSHIFTASSIGNEnumLiteralDeclaration_10());
-
-
- }
-
-
- }
- break;
- case 12:
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:6: (enumLiteral_11= '>>>=' )
- {
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:6: (enumLiteral_11= '>>>=' )
- // ../org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/parser/antlr/internal/InternalOperation.g:8215:8: enumLiteral_11= '>>>='
- {
- enumLiteral_11 = (Token) match(input, 119, FOLLOW_119_in_ruleAssignmentOperator18045);
-
- current = grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11().getEnumLiteral().getInstance();
- newLeafNode(enumLiteral_11, grammarAccess.getAssignmentOperatorAccess().getURSHIFTASSIGNEnumLiteralDeclaration_11());
-
-
- }
-
-
- }
- break;
-
- }
-
-
- }
-
- leaveRule();
- }
-
- catch (RecognitionException re) {
- recover(input, re);
- appendSkippedTokens();
- } finally {
- }
- return current;
- }
-
- // $ANTLR end "ruleAssignmentOperator"
-
- // Delegated rules
-
-
- protected DFA56 dfa56 = new DFA56(this);
- static final String DFA56_eotS =
- "\13\uffff";
- static final String DFA56_eofS =
- "\3\uffff\1\12\7\uffff";
- static final String DFA56_minS =
- "\1\67\3\4\7\uffff";
- static final String DFA56_maxS =
- "\1\70\1\141\1\150\1\167\7\uffff";
- static final String DFA56_acceptS =
- "\4\uffff\1\3\1\7\1\4\1\6\1\5\1\1\1\2";
- static final String DFA56_specialS =
- "\13\uffff}>";
- static final String[] DFA56_transitionS = {
- "\1\1\1\2",
- "\1\3\74\uffff\1\5\35\uffff\3\4",
- "\1\6\64\uffff\1\10\1\7\47\uffff\7\7",
- "\1\12\7\uffff\1\12\1\uffff\1\12\1\11\4\12\3\uffff\2\12\5\uffff" +
- "\2\12\1\uffff\23\12\3\uffff\2\12\7\uffff\1\12\6\uffff\1\12\16" +
- "\uffff\2\12\25\uffff\13\12",
- "",
- "",
- "",
- "",
- "",
- "",
- ""
- };
-
- static final short[] DFA56_eot = DFA.unpackEncodedString(DFA56_eotS);
- static final short[] DFA56_eof = DFA.unpackEncodedString(DFA56_eofS);
- static final char[] DFA56_min = DFA.unpackEncodedStringToUnsignedChars(DFA56_minS);
- static final char[] DFA56_max = DFA.unpackEncodedStringToUnsignedChars(DFA56_maxS);
- static final short[] DFA56_accept = DFA.unpackEncodedString(DFA56_acceptS);
- static final short[] DFA56_special = DFA.unpackEncodedString(DFA56_specialS);
- static final short[][] DFA56_transition;
-
- static {
- int numStates = DFA56_transitionS.length;
- DFA56_transition = new short[numStates][];
- for (int i = 0; i < numStates; i++) {
- DFA56_transition[i] = DFA.unpackEncodedString(DFA56_transitionS[i]);
- }
- }
-
- class DFA56 extends DFA {
-
- public DFA56(BaseRecognizer recognizer) {
- this.recognizer = recognizer;
- this.decisionNumber = 56;
- this.eot = DFA56_eot;
- this.eof = DFA56_eof;
- this.min = DFA56_min;
- this.max = DFA56_max;
- this.accept = DFA56_accept;
- this.special = DFA56_special;
- this.transition = DFA56_transition;
- }
-
- @Override
- public String getDescription() {
- return "3004:1: (this_OperationCallExpression_0= ruleOperationCallExpression | this_PropertyCallExpression_1= rulePropertyCallExpression | this_LinkOperationExpression_2= ruleLinkOperationExpression | this_SequenceOperationExpression_3= ruleSequenceOperationExpression | this_SequenceReductionExpression_4= ruleSequenceReductionExpression | this_SequenceExpansionExpression_5= ruleSequenceExpansionExpression | this_ClassExtentExpression_6= ruleClassExtentExpression )";
- }
- }
-
-
- public static final BitSet FOLLOW_ruleOperationDefinitionOrStub_in_entryRuleOperationDefinitionOrStub75 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleOperationDefinitionOrStub85 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationDeclaration_in_ruleOperationDefinitionOrStub131 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleOperationDefinitionOrStub144 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleOperationDefinitionOrStub171 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationDeclaration_in_entryRuleOperationDeclaration208 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleOperationDeclaration218 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleVisibilityIndicator_in_ruleOperationDeclaration264 = new BitSet(new long[] { 0x0000000000002010L });
- public static final BitSet FOLLOW_13_in_ruleOperationDeclaration283 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleOperationDeclaration314 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleFormalParameters_in_ruleOperationDeclaration340 = new BitSet(new long[] { 0x0000000004004002L });
- public static final BitSet FOLLOW_14_in_ruleOperationDeclaration353 = new BitSet(new long[] { 0x0000000002000010L });
- public static final BitSet FOLLOW_ruleTypePart_in_ruleOperationDeclaration374 = new BitSet(new long[] { 0x0000000004000002L });
- public static final BitSet FOLLOW_ruleRedefinitionClause_in_ruleOperationDeclaration397 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleFormalParameters_in_entryRuleFormalParameters434 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameters444 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleFormalParameters490 = new BitSet(new long[] { 0x0000000000010000L, 0x0000000018020000L });
- public static final BitSet FOLLOW_ruleFormalParameterList_in_ruleFormalParameters511 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleFormalParameters524 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleFormalParameterList_in_entryRuleFormalParameterList560 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameterList570 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleFormalParameter_in_ruleFormalParameterList616 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_17_in_ruleFormalParameterList629 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000018020000L });
- public static final BitSet FOLLOW_ruleFormalParameter_in_ruleFormalParameterList650 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_ruleFormalParameter_in_entryRuleFormalParameter688 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleFormalParameter698 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleParameterDirection_in_ruleFormalParameter744 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleFormalParameter761 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleFormalParameter778 = new BitSet(new long[] { 0x0000000002000010L });
- public static final BitSet FOLLOW_ruleTypePart_in_ruleFormalParameter799 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTypePart_in_entryRuleTypePart835 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTypePart845 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTypeName_in_ruleTypePart891 = new BitSet(new long[] { 0x0000000000040002L });
- public static final BitSet FOLLOW_ruleMultiplicity_in_ruleTypePart912 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleMultiplicity_in_entryRuleMultiplicity949 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicity959 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_18_in_ruleMultiplicity1005 = new BitSet(new long[] { 0x0000000001080020L });
- public static final BitSet FOLLOW_ruleMultiplicityRange_in_ruleMultiplicity1026 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleMultiplicity1039 = new BitSet(new long[] { 0x0000000000700002L });
- public static final BitSet FOLLOW_20_in_ruleMultiplicity1059 = new BitSet(new long[] { 0x0000000000200002L });
- public static final BitSet FOLLOW_21_in_ruleMultiplicity1090 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_21_in_ruleMultiplicity1130 = new BitSet(new long[] { 0x0000000000100002L });
- public static final BitSet FOLLOW_20_in_ruleMultiplicity1161 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_22_in_ruleMultiplicity1200 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleMultiplicityRange_in_entryRuleMultiplicityRange1251 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicityRange1261 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1308 = new BitSet(new long[] { 0x0000000000800000L });
- public static final BitSet FOLLOW_23_in_ruleMultiplicityRange1320 = new BitSet(new long[] { 0x0000000001000020L });
- public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_ruleMultiplicityRange1343 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNUMBER_LITERAL_WITHOUT_SUFFIX_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1379 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL_WITHOUT_SUFFIX1389 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1436 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_ruleNUMBER_LITERAL_WITHOUT_SUFFIX1463 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleINTEGER_LITERAL_WITHOUT_SUFFIX_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1498 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleINTEGER_LITERAL_WITHOUT_SUFFIX1508 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL_WITHOUT_SUFFIX1549 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1589 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL_WITHOUT_SUFFIX1599 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_24_in_ruleUNLIMITED_LITERAL_WITHOUT_SUFFIX1641 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTypeName_in_entryRuleTypeName1689 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTypeName1699 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleTypeName1755 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_25_in_ruleTypeName1773 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleRedefinitionClause_in_entryRuleRedefinitionClause1810 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleRedefinitionClause1820 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_26_in_ruleRedefinitionClause1857 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleRedefinitionClause1878 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLITERAL_in_entryRuleLITERAL1916 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLITERAL1926 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBOOLEAN_LITERAL_in_ruleLITERAL1973 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_ruleLITERAL2000 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSTRING_LITERAL_in_ruleLITERAL2027 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBOOLEAN_LITERAL_in_entryRuleBOOLEAN_LITERAL2062 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleBOOLEAN_LITERAL2072 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBooleanValue_in_ruleBOOLEAN_LITERAL2118 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleBOOLEAN_LITERAL2139 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNUMBER_LITERAL_in_entryRuleNUMBER_LITERAL2176 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNUMBER_LITERAL2186 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleINTEGER_LITERAL_in_ruleNUMBER_LITERAL2233 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_in_ruleNUMBER_LITERAL2260 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleINTEGER_LITERAL_in_entryRuleINTEGER_LITERAL2295 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleINTEGER_LITERAL2305 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_INTEGERVALUE_in_ruleINTEGER_LITERAL2347 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleINTEGER_LITERAL2373 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUNLIMITED_LITERAL_in_entryRuleUNLIMITED_LITERAL2410 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleUNLIMITED_LITERAL2420 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_24_in_ruleUNLIMITED_LITERAL2463 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleUNLIMITED_LITERAL2497 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSTRING_LITERAL_in_entryRuleSTRING_LITERAL2534 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSTRING_LITERAL2544 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleSTRING_LITERAL2586 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSTRING_LITERAL2612 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNameExpression_in_entryRuleNameExpression2649 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNameExpression2659 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_27_in_ruleNameExpression2706 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_28_in_ruleNameExpression2735 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2772 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleNameExpression2790 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNamePath_in_ruleNameExpression2824 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleNameExpression2842 = new BitSet(new long[] { 0x8180000018048002L });
- public static final BitSet FOLLOW_ruleTuple_in_ruleNameExpression2869 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_ruleNameExpression2896 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_27_in_ruleNameExpression2922 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_28_in_ruleNameExpression2951 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleNameExpression2992 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNamePath_in_entryRuleQualifiedNamePath3029 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNamePath3039 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUnqualifiedName_in_ruleQualifiedNamePath3085 = new BitSet(new long[] { 0x0000000020000000L });
- public static final BitSet FOLLOW_29_in_ruleQualifiedNamePath3097 = new BitSet(new long[] { 0x0000000000000012L });
- public static final BitSet FOLLOW_ruleUnqualifiedName_in_entryRuleUnqualifiedName3134 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleUnqualifiedName3144 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleUnqualifiedName3186 = new BitSet(new long[] { 0x0000000040000002L });
- public static final BitSet FOLLOW_ruleTemplateBinding_in_ruleUnqualifiedName3212 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTemplateBinding_in_entryRuleTemplateBinding3249 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTemplateBinding3259 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_30_in_ruleTemplateBinding3296 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3317 = new BitSet(new long[] { 0x0000000080020000L });
- public static final BitSet FOLLOW_17_in_ruleTemplateBinding3330 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_ruleTemplateBinding3351 = new BitSet(new long[] { 0x0000000080020000L });
- public static final BitSet FOLLOW_31_in_ruleTemplateBinding3365 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNamedTemplateBinding_in_entryRuleNamedTemplateBinding3401 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNamedTemplateBinding3411 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleNamedTemplateBinding3453 = new BitSet(new long[] { 0x0000000100000000L });
- public static final BitSet FOLLOW_32_in_ruleNamedTemplateBinding3470 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleNamedTemplateBinding3491 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_entryRuleQualifiedNameWithBinding3527 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameWithBinding3537 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleQualifiedNameWithBinding3579 = new BitSet(new long[] { 0x0000000060000002L });
- public static final BitSet FOLLOW_ruleTemplateBinding_in_ruleQualifiedNameWithBinding3605 = new BitSet(new long[] { 0x0000000020000002L });
- public static final BitSet FOLLOW_29_in_ruleQualifiedNameWithBinding3619 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameWithBinding3640 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTuple_in_entryRuleTuple3678 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTuple3688 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleTuple3734 = new BitSet(new long[] { 0x7873000019018070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleTupleElement_in_ruleTuple3756 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_17_in_ruleTuple3769 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleTupleElement_in_ruleTuple3790 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_16_in_ruleTuple3806 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleTupleElement_in_entryRuleTupleElement3842 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleTupleElement3852 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleTupleElement3897 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleExpression_in_entryRuleExpression3932 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleExpression3942 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleExpression3988 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConditionalTestExpression_in_entryRuleConditionalTestExpression4022 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConditionalTestExpression4032 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConditionalOrExpression_in_ruleConditionalTestExpression4078 = new BitSet(new long[] { 0x0000000200000002L });
- public static final BitSet FOLLOW_33_in_ruleConditionalTestExpression4091 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4112 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleConditionalTestExpression4124 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleConditionalTestExpression_in_ruleConditionalTestExpression4145 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConditionalOrExpression_in_entryRuleConditionalOrExpression4183 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConditionalOrExpression4193 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4239 = new BitSet(new long[] { 0x0000000400000002L });
- public static final BitSet FOLLOW_34_in_ruleConditionalOrExpression4252 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleConditionalAndExpression_in_ruleConditionalOrExpression4273 = new BitSet(new long[] { 0x0000000400000002L });
- public static final BitSet FOLLOW_ruleConditionalAndExpression_in_entryRuleConditionalAndExpression4311 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConditionalAndExpression4321 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4367 = new BitSet(new long[] { 0x0000000800000002L });
- public static final BitSet FOLLOW_35_in_ruleConditionalAndExpression4380 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_ruleConditionalAndExpression4401 = new BitSet(new long[] { 0x0000000800000002L });
- public static final BitSet FOLLOW_ruleInclusiveOrExpression_in_entryRuleInclusiveOrExpression4439 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleInclusiveOrExpression4449 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4495 = new BitSet(new long[] { 0x0000001000000002L });
- public static final BitSet FOLLOW_36_in_ruleInclusiveOrExpression4508 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_ruleInclusiveOrExpression4529 = new BitSet(new long[] { 0x0000001000000002L });
- public static final BitSet FOLLOW_ruleExclusiveOrExpression_in_entryRuleExclusiveOrExpression4567 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleExclusiveOrExpression4577 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4623 = new BitSet(new long[] { 0x0000002000000002L });
- public static final BitSet FOLLOW_37_in_ruleExclusiveOrExpression4636 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleAndExpression_in_ruleExclusiveOrExpression4657 = new BitSet(new long[] { 0x0000002000000002L });
- public static final BitSet FOLLOW_ruleAndExpression_in_entryRuleAndExpression4695 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAndExpression4705 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndExpression4751 = new BitSet(new long[] { 0x0000004000000002L });
- public static final BitSet FOLLOW_38_in_ruleAndExpression4764 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleEqualityExpression_in_ruleAndExpression4785 = new BitSet(new long[] { 0x0000004000000002L });
- public static final BitSet FOLLOW_ruleEqualityExpression_in_entryRuleEqualityExpression4823 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleEqualityExpression4833 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4879 = new BitSet(new long[] { 0x0000018000000002L });
- public static final BitSet FOLLOW_39_in_ruleEqualityExpression4900 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_40_in_ruleEqualityExpression4929 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleClassificationExpression_in_ruleEqualityExpression4966 = new BitSet(new long[] { 0x0000018000000002L });
- public static final BitSet FOLLOW_ruleClassificationExpression_in_entryRuleClassificationExpression5004 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassificationExpression5014 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleRelationalExpression_in_ruleClassificationExpression5060 = new BitSet(new long[] { 0x0000060000000002L });
- public static final BitSet FOLLOW_41_in_ruleClassificationExpression5081 = new BitSet(new long[] { 0x0000000018000010L });
- public static final BitSet FOLLOW_42_in_ruleClassificationExpression5110 = new BitSet(new long[] { 0x0000000018000010L });
- public static final BitSet FOLLOW_ruleNameExpression_in_ruleClassificationExpression5147 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleRelationalExpression_in_entryRuleRelationalExpression5185 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleRelationalExpression5195 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5241 = new BitSet(new long[] { 0x00001800C0000002L });
- public static final BitSet FOLLOW_30_in_ruleRelationalExpression5262 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_31_in_ruleRelationalExpression5291 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_43_in_ruleRelationalExpression5320 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_44_in_ruleRelationalExpression5349 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleShiftExpression_in_ruleRelationalExpression5386 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleShiftExpression_in_entryRuleShiftExpression5424 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleShiftExpression5434 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5480 = new BitSet(new long[] { 0x0000E00000000002L });
- public static final BitSet FOLLOW_45_in_ruleShiftExpression5501 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_46_in_ruleShiftExpression5530 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_47_in_ruleShiftExpression5559 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleAdditiveExpression_in_ruleShiftExpression5596 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAdditiveExpression_in_entryRuleAdditiveExpression5634 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAdditiveExpression5644 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5690 = new BitSet(new long[] { 0x0003000000000002L });
- public static final BitSet FOLLOW_48_in_ruleAdditiveExpression5711 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_49_in_ruleAdditiveExpression5740 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_ruleAdditiveExpression5777 = new BitSet(new long[] { 0x0003000000000002L });
- public static final BitSet FOLLOW_ruleMultiplicativeExpression_in_entryRuleMultiplicativeExpression5815 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleMultiplicativeExpression5825 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5871 = new BitSet(new long[] { 0x000C000001000002L });
- public static final BitSet FOLLOW_24_in_ruleMultiplicativeExpression5892 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_50_in_ruleMultiplicativeExpression5921 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_51_in_ruleMultiplicativeExpression5950 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleUnaryExpression_in_ruleMultiplicativeExpression5987 = new BitSet(new long[] { 0x000C000001000002L });
- public static final BitSet FOLLOW_ruleUnaryExpression_in_entryRuleUnaryExpression6025 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleUnaryExpression6035 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_52_in_ruleUnaryExpression6080 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_49_in_ruleUnaryExpression6109 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_48_in_ruleUnaryExpression6138 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_53_in_ruleUnaryExpression6167 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_54_in_ruleUnaryExpression6196 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_rulePrimaryExpression_in_ruleUnaryExpression6234 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_rulePrimaryExpression_in_entryRulePrimaryExpression6270 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRulePrimaryExpression6280 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleValueSpecification_in_rulePrimaryExpression6325 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_entryRuleSuffixExpression6360 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSuffixExpression6370 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuffixExpression6417 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_rulePropertyCallExpression_in_ruleSuffixExpression6444 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLinkOperationExpression_in_ruleSuffixExpression6471 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceOperationExpression_in_ruleSuffixExpression6498 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceReductionExpression_in_ruleSuffixExpression6525 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceExpansionExpression_in_ruleSuffixExpression6552 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassExtentExpression_in_ruleSuffixExpression6579 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationCallExpression_in_entryRuleOperationCallExpression6614 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpression6624 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_55_in_ruleOperationCallExpression6661 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpression6678 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleTuple_in_ruleOperationCallExpression6704 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpression6725 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationCallExpressionWithoutDot_in_entryRuleOperationCallExpressionWithoutDot6762 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleOperationCallExpressionWithoutDot6772 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleOperationCallExpressionWithoutDot6814 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleTuple_in_ruleOperationCallExpressionWithoutDot6840 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleOperationCallExpressionWithoutDot6861 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_rulePropertyCallExpression_in_entryRulePropertyCallExpression6898 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRulePropertyCallExpression6908 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_55_in_rulePropertyCallExpression6945 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_rulePropertyCallExpression6962 = new BitSet(new long[] { 0x0180000000040002L });
- public static final BitSet FOLLOW_18_in_rulePropertyCallExpression6980 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_rulePropertyCallExpression7001 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_rulePropertyCallExpression7013 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_rulePropertyCallExpression7036 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLinkOperationExpression_in_entryRuleLinkOperationExpression7073 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationExpression7083 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_55_in_ruleLinkOperationExpression7120 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000380000000L });
- public static final BitSet FOLLOW_ruleLinkOperationKind_in_ruleLinkOperationExpression7141 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleLinkOperationTuple_in_ruleLinkOperationExpression7162 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLinkOperationTuple_in_entryRuleLinkOperationTuple7198 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationTuple7208 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleLinkOperationTuple7245 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7266 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_17_in_ruleLinkOperationTuple7279 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_ruleLinkOperationTuple7300 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_16_in_ruleLinkOperationTuple7314 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLinkOperationTupleElement_in_entryRuleLinkOperationTupleElement7350 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLinkOperationTupleElement7360 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7402 = new BitSet(new long[] { 0x0000000100040002L });
- public static final BitSet FOLLOW_18_in_ruleLinkOperationTupleElement7421 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleLinkOperationTupleElement7442 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleLinkOperationTupleElement7454 = new BitSet(new long[] { 0x0000000100000000L });
- public static final BitSet FOLLOW_32_in_ruleLinkOperationTupleElement7468 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleLinkOperationTupleElement7485 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceOperationExpression_in_entryRuleSequenceOperationExpression7528 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceOperationExpression7538 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleSequenceOperationExpression7575 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleSequenceOperationExpression7592 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleTuple_in_ruleSequenceOperationExpression7618 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSequenceOperationExpression7639 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceReductionExpression_in_entryRuleSequenceReductionExpression7676 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceReductionExpression7686 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleSequenceReductionExpression7723 = new BitSet(new long[] { 0x0200000000000000L });
- public static final BitSet FOLLOW_57_in_ruleSequenceReductionExpression7735 = new BitSet(new long[] { 0x0000000000100010L });
- public static final BitSet FOLLOW_20_in_ruleSequenceReductionExpression7753 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleSequenceReductionExpression7788 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSequenceReductionExpression7809 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceExpansionExpression_in_entryRuleSequenceExpansionExpression7846 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceExpansionExpression7856 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSelectOrRejectOperation_in_ruleSequenceExpansionExpression7903 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCollectOrIterateOperation_in_ruleSequenceExpansionExpression7930 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperation_in_ruleSequenceExpansionExpression7957 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleIsUniqueOperation_in_ruleSequenceExpansionExpression7984 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSelectOrRejectOperation_in_entryRuleSelectOrRejectOperation8019 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSelectOrRejectOperation8029 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleSelectOrRejectOperation8066 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000C00000000L });
- public static final BitSet FOLLOW_ruleSelectOrRejectOperator_in_ruleSelectOrRejectOperation8087 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleSelectOrRejectOperation8104 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleSelectOrRejectOperation8121 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleSelectOrRejectOperation8142 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleSelectOrRejectOperation8154 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleSelectOrRejectOperation8175 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCollectOrIterateOperation_in_entryRuleCollectOrIterateOperation8212 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleCollectOrIterateOperation8222 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleCollectOrIterateOperation8259 = new BitSet(new long[] { 0x0000000000000000L, 0x0000003000000000L });
- public static final BitSet FOLLOW_ruleCollectOrIterateOperator_in_ruleCollectOrIterateOperation8280 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleCollectOrIterateOperation8297 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleCollectOrIterateOperation8314 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleCollectOrIterateOperation8335 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleCollectOrIterateOperation8347 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleCollectOrIterateOperation8368 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperation_in_entryRuleForAllOrExistsOrOneOperation8405 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleForAllOrExistsOrOneOperation8415 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleForAllOrExistsOrOneOperation8452 = new BitSet(new long[] { 0x0000000000000000L, 0x000001C000000000L });
- public static final BitSet FOLLOW_ruleForAllOrExistsOrOneOperator_in_ruleForAllOrExistsOrOneOperation8473 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleForAllOrExistsOrOneOperation8490 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleForAllOrExistsOrOneOperation8507 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleForAllOrExistsOrOneOperation8528 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleForAllOrExistsOrOneOperation8540 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleForAllOrExistsOrOneOperation8561 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleIsUniqueOperation_in_entryRuleIsUniqueOperation8598 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleIsUniqueOperation8608 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_56_in_ruleIsUniqueOperation8645 = new BitSet(new long[] { 0x0400000000000000L });
- public static final BitSet FOLLOW_58_in_ruleIsUniqueOperation8657 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleIsUniqueOperation8674 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleIsUniqueOperation8691 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleIsUniqueOperation8712 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleIsUniqueOperation8724 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleIsUniqueOperation8745 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleValueSpecification_in_entryRuleValueSpecification8782 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleValueSpecification8792 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNameExpression_in_ruleValueSpecification8839 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLITERAL_in_ruleValueSpecification8866 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisExpression_in_ruleValueSpecification8893 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleValueSpecification8920 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleValueSpecification8947 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleParenthesizedExpression_in_ruleValueSpecification8974 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNullExpression_in_ruleValueSpecification9001 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNonLiteralValueSpecification_in_entryRuleNonLiteralValueSpecification9036 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNonLiteralValueSpecification9046 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNameExpression_in_ruleNonLiteralValueSpecification9093 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleParenthesizedExpression_in_ruleNonLiteralValueSpecification9120 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleNonLiteralValueSpecification9147 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisExpression_in_ruleNonLiteralValueSpecification9174 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleNonLiteralValueSpecification9201 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleParenthesizedExpression_in_entryRuleParenthesizedExpression9236 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleParenthesizedExpression9246 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleParenthesizedExpression9283 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleParenthesizedExpression9304 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleParenthesizedExpression9316 = new BitSet(new long[] { 0x7180000018008012L });
- public static final BitSet FOLLOW_ruleNonLiteralValueSpecification_in_ruleParenthesizedExpression9338 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleParenthesizedExpression9365 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNullExpression_in_entryRuleNullExpression9403 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNullExpression9413 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_59_in_ruleNullExpression9459 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisExpression_in_entryRuleThisExpression9495 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleThisExpression9505 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_60_in_ruleThisExpression9551 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleThisExpression9572 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_entryRuleSuperInvocationExpression9609 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSuperInvocationExpression9619 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_61_in_ruleSuperInvocationExpression9656 = new BitSet(new long[] { 0x0080000000000000L });
- public static final BitSet FOLLOW_55_in_ruleSuperInvocationExpression9670 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleSuperInvocationExpression9687 = new BitSet(new long[] { 0x0000000020000000L });
- public static final BitSet FOLLOW_29_in_ruleSuperInvocationExpression9704 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleOperationCallExpressionWithoutDot_in_ruleSuperInvocationExpression9725 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleOperationCallExpression_in_ruleSuperInvocationExpression9753 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_entryRuleInstanceCreationExpression9790 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleInstanceCreationExpression9800 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_62_in_ruleInstanceCreationExpression9837 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleInstanceCreationExpression9858 = new BitSet(new long[] { 0x8000000000048000L });
- public static final BitSet FOLLOW_ruleTuple_in_ruleInstanceCreationExpression9880 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionCompletion_in_ruleInstanceCreationExpression9907 = new BitSet(new long[] { 0x0180000000000002L });
- public static final BitSet FOLLOW_ruleSuffixExpression_in_ruleInstanceCreationExpression9929 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionOrAccessCompletion_in_entryRuleSequenceConstructionOrAccessCompletion9966 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionOrAccessCompletion9976 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_18_in_ruleSequenceConstructionOrAccessCompletion10020 = new BitSet(new long[] { 0x7873000019088070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleAccessCompletion_in_ruleSequenceConstructionOrAccessCompletion10055 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_rulePartialSequenceConstructionCompletion_in_ruleSequenceConstructionOrAccessCompletion10082 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionOrAccessCompletion10111 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAccessCompletion_in_entryRuleAccessCompletion10147 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAccessCompletion10157 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleAccessCompletion10203 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleAccessCompletion10215 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_rulePartialSequenceConstructionCompletion_in_entryRulePartialSequenceConstructionCompletion10251 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRulePartialSequenceConstructionCompletion10261 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_19_in_rulePartialSequenceConstructionCompletion10298 = new BitSet(new long[] { 0x8000000000040000L });
- public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_rulePartialSequenceConstructionCompletion10319 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionCompletion_in_entryRuleSequenceConstructionCompletion10355 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionCompletion10365 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_18_in_ruleSequenceConstructionCompletion10409 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleSequenceConstructionCompletion10434 = new BitSet(new long[] { 0x8000000000040000L });
- public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceConstructionCompletion10457 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_entryRuleSequenceConstructionExpression10493 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceConstructionExpression10503 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_63_in_ruleSequenceConstructionExpression10540 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10561 = new BitSet(new long[] { 0x0000000000820000L, 0x0000000000000001L });
- public static final BitSet FOLLOW_17_in_ruleSequenceConstructionExpression10575 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleSequenceElement_in_ruleSequenceConstructionExpression10596 = new BitSet(new long[] { 0x0000000000020000L, 0x0000000000000001L });
- public static final BitSet FOLLOW_23_in_ruleSequenceConstructionExpression10617 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleSequenceConstructionExpression10638 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L });
- public static final BitSet FOLLOW_64_in_ruleSequenceConstructionExpression10652 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceElement_in_entryRuleSequenceElement10688 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequenceElement10698 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleSequenceElement10745 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequenceConstructionExpression_in_ruleSequenceElement10772 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassExtentExpression_in_entryRuleClassExtentExpression10807 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassExtentExpression10817 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_55_in_ruleClassExtentExpression10863 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000002L });
- public static final BitSet FOLLOW_65_in_ruleClassExtentExpression10875 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleClassExtentExpression10887 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleClassExtentExpression10899 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlock_in_entryRuleBlock10935 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleBlock10945 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_63_in_ruleBlock10982 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC965L });
- public static final BitSet FOLLOW_ruleStatementSequence_in_ruleBlock11012 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L });
- public static final BitSet FOLLOW_64_in_ruleBlock11025 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleStatementSequence_in_entryRuleStatementSequence11061 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleStatementSequence11071 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleDocumentedStatement_in_ruleStatementSequence11116 = new BitSet(new long[] { 0xF000000018001192L, 0x00000000003DC964L });
- public static final BitSet FOLLOW_ruleDocumentedStatement_in_entryRuleDocumentedStatement11152 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleDocumentedStatement11162 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ML_COMMENT_in_ruleDocumentedStatement11206 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L });
- public static final BitSet FOLLOW_RULE_SL_COMMENT_in_ruleDocumentedStatement11226 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L });
- public static final BitSet FOLLOW_ruleStatement_in_ruleDocumentedStatement11256 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInlineStatement_in_entryRuleInlineStatement11292 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleInlineStatement11302 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_66_in_ruleInlineStatement11339 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000008L });
- public static final BitSet FOLLOW_67_in_ruleInlineStatement11351 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleInlineStatement11363 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleInlineStatement11380 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleInlineStatement11397 = new BitSet(new long[] { 0x0000000000000040L });
- public static final BitSet FOLLOW_RULE_STRING_in_ruleInlineStatement11414 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000010L });
- public static final BitSet FOLLOW_68_in_ruleInlineStatement11431 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnnotatedStatement_in_entryRuleAnnotatedStatement11467 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAnnotatedStatement11477 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_69_in_ruleAnnotatedStatement11514 = new BitSet(new long[] { 0x0000000000000000L, 0x00001E0000000000L });
- public static final BitSet FOLLOW_ruleAnnotation_in_ruleAnnotatedStatement11535 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DC964L });
- public static final BitSet FOLLOW_ruleStatement_in_ruleAnnotatedStatement11556 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleStatement_in_entryRuleStatement11592 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleStatement11602 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnnotatedStatement_in_ruleStatement11649 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInlineStatement_in_ruleStatement11676 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlockStatement_in_ruleStatement11703 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEmptyStatement_in_ruleStatement11730 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLocalNameDeclarationStatement_in_ruleStatement11757 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleIfStatement_in_ruleStatement11784 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchStatement_in_ruleStatement11811 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleWhileStatement_in_ruleStatement11838 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleDoStatement_in_ruleStatement11865 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleForStatement_in_ruleStatement11892 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBreakStatement_in_ruleStatement11919 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleReturnStatement_in_ruleStatement11946 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAcceptStatement_in_ruleStatement11973 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassifyStatement_in_ruleStatement12000 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_ruleStatement12027 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationStatement_in_ruleStatement12054 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisInvocationStatement_in_ruleStatement12081 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationInvocationStatement_in_ruleStatement12108 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnnotation_in_entryRuleAnnotation12143 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAnnotation12153 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAnnotationKind_in_ruleAnnotation12199 = new BitSet(new long[] { 0x0000000000008002L });
- public static final BitSet FOLLOW_15_in_ruleAnnotation12212 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotation12229 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_17_in_ruleAnnotation12247 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleAnnotation12264 = new BitSet(new long[] { 0x0000000000030000L });
- public static final BitSet FOLLOW_16_in_ruleAnnotation12283 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlockStatement_in_entryRuleBlockStatement12321 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleBlockStatement12331 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleBlockStatement12376 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleEmptyStatement_in_entryRuleEmptyStatement12411 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleEmptyStatement12421 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_12_in_ruleEmptyStatement12467 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLocalNameDeclarationStatement_in_entryRuleLocalNameDeclarationStatement12503 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLocalNameDeclarationStatement12513 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_70_in_ruleLocalNameDeclarationStatement12550 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleLocalNameDeclarationStatement12567 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleLocalNameDeclarationStatement12584 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleLocalNameDeclarationStatement12605 = new BitSet(new long[] { 0x0000000000040000L, 0x0000000000000080L });
- public static final BitSet FOLLOW_18_in_ruleLocalNameDeclarationStatement12624 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleLocalNameDeclarationStatement12649 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000080L });
- public static final BitSet FOLLOW_71_in_ruleLocalNameDeclarationStatement12663 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleSequenceElement_in_ruleLocalNameDeclarationStatement12684 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleLocalNameDeclarationStatement12696 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleIfStatement_in_entryRuleIfStatement12732 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleIfStatement12742 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_72_in_ruleIfStatement12779 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleSequentialClauses_in_ruleIfStatement12800 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L });
- public static final BitSet FOLLOW_ruleFinalClause_in_ruleIfStatement12821 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSequentialClauses_in_entryRuleSequentialClauses12858 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSequentialClauses12868 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12914 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L });
- public static final BitSet FOLLOW_73_in_ruleSequentialClauses12927 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000100L });
- public static final BitSet FOLLOW_72_in_ruleSequentialClauses12939 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleConcurrentClauses_in_ruleSequentialClauses12960 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000200L });
- public static final BitSet FOLLOW_ruleConcurrentClauses_in_entryRuleConcurrentClauses12998 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleConcurrentClauses13008 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13054 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L });
- public static final BitSet FOLLOW_74_in_ruleConcurrentClauses13067 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000100L });
- public static final BitSet FOLLOW_72_in_ruleConcurrentClauses13079 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_ruleNonFinalClause_in_ruleConcurrentClauses13100 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L });
- public static final BitSet FOLLOW_ruleNonFinalClause_in_entryRuleNonFinalClause13138 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNonFinalClause13148 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_15_in_ruleNonFinalClause13185 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleNonFinalClause13206 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleNonFinalClause13218 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleNonFinalClause13239 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleFinalClause_in_entryRuleFinalClause13275 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleFinalClause13285 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_73_in_ruleFinalClause13322 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleFinalClause13343 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchStatement_in_entryRuleSwitchStatement13379 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSwitchStatement13389 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_75_in_ruleSwitchStatement13426 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleSwitchStatement13438 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleSwitchStatement13459 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleSwitchStatement13471 = new BitSet(new long[] { 0x8000000000000000L });
- public static final BitSet FOLLOW_63_in_ruleSwitchStatement13483 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000003001L });
- public static final BitSet FOLLOW_ruleSwitchClause_in_ruleSwitchStatement13504 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000003001L });
- public static final BitSet FOLLOW_ruleSwitchDefaultClause_in_ruleSwitchStatement13526 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000000001L });
- public static final BitSet FOLLOW_64_in_ruleSwitchStatement13539 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchClause_in_entryRuleSwitchClause13575 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSwitchClause13585 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchCase_in_ruleSwitchClause13631 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L });
- public static final BitSet FOLLOW_ruleSwitchCase_in_ruleSwitchClause13652 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L });
- public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchClause13674 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchCase_in_entryRuleSwitchCase13710 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSwitchCase13720 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_76_in_ruleSwitchCase13757 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleSwitchCase13778 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleSwitchCase13790 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSwitchDefaultClause_in_entryRuleSwitchDefaultClause13826 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSwitchDefaultClause13836 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_77_in_ruleSwitchDefaultClause13873 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleSwitchDefaultClause13885 = new BitSet(new long[] { 0xF000000018001190L, 0x00000000003DD964L });
- public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_ruleSwitchDefaultClause13906 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNonEmptyStatementSequence_in_entryRuleNonEmptyStatementSequence13942 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleNonEmptyStatementSequence13952 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleDocumentedStatement_in_ruleNonEmptyStatementSequence13997 = new BitSet(new long[] { 0xF000000018001192L, 0x00000000003DC964L });
- public static final BitSet FOLLOW_ruleWhileStatement_in_entryRuleWhileStatement14033 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleWhileStatement14043 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_78_in_ruleWhileStatement14080 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleWhileStatement14092 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleWhileStatement14113 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleWhileStatement14125 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleWhileStatement14146 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleDoStatement_in_entryRuleDoStatement14182 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleDoStatement14192 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_79_in_ruleDoStatement14229 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleDoStatement14250 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000004000L });
- public static final BitSet FOLLOW_78_in_ruleDoStatement14262 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleDoStatement14274 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleDoStatement14295 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleDoStatement14307 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleDoStatement14319 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleForStatement_in_entryRuleForStatement14355 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleForStatement14365 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_80_in_ruleForStatement14402 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleForStatement14414 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleForControl_in_ruleForStatement14435 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleForStatement14447 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleForStatement14468 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleForControl_in_entryRuleForControl14504 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleForControl14514 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14560 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_17_in_ruleForControl14573 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_ruleForControl14594 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_ruleLoopVariableDefinition_in_entryRuleLoopVariableDefinition14632 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleLoopVariableDefinition14642 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14685 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000020000L });
- public static final BitSet FOLLOW_81_in_ruleLoopVariableDefinition14702 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14723 = new BitSet(new long[] { 0x0000000000800002L });
- public static final BitSet FOLLOW_23_in_ruleLoopVariableDefinition14736 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14757 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleLoopVariableDefinition14788 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleLoopVariableDefinition14805 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleLoopVariableDefinition14822 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleLoopVariableDefinition14843 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBreakStatement_in_entryRuleBreakStatement14880 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleBreakStatement14890 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_82_in_ruleBreakStatement14936 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleBreakStatement14948 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleReturnStatement_in_entryRuleReturnStatement14984 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleReturnStatement14994 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_83_in_ruleReturnStatement15031 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleReturnStatement15052 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleReturnStatement15064 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAcceptStatement_in_entryRuleAcceptStatement15100 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAcceptStatement15110 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAcceptClause_in_ruleAcceptStatement15156 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleSimpleAcceptStatementCompletion_in_ruleAcceptStatement15178 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCompoundAcceptStatementCompletion_in_ruleAcceptStatement15205 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSimpleAcceptStatementCompletion_in_entryRuleSimpleAcceptStatementCompletion15242 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSimpleAcceptStatementCompletion15252 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_12_in_ruleSimpleAcceptStatementCompletion15298 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleCompoundAcceptStatementCompletion_in_entryRuleCompoundAcceptStatementCompletion15334 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleCompoundAcceptStatementCompletion15344 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleCompoundAcceptStatementCompletion15390 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L });
- public static final BitSet FOLLOW_74_in_ruleCompoundAcceptStatementCompletion15403 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000100000L });
- public static final BitSet FOLLOW_ruleAcceptBlock_in_ruleCompoundAcceptStatementCompletion15424 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000000400L });
- public static final BitSet FOLLOW_ruleAcceptBlock_in_entryRuleAcceptBlock15462 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAcceptBlock15472 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAcceptClause_in_ruleAcceptBlock15518 = new BitSet(new long[] { 0x8000000000001000L });
- public static final BitSet FOLLOW_ruleBlock_in_ruleAcceptBlock15539 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAcceptClause_in_entryRuleAcceptClause15575 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAcceptClause15585 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_84_in_ruleAcceptClause15622 = new BitSet(new long[] { 0x0000000000008000L });
- public static final BitSet FOLLOW_15_in_ruleAcceptClause15634 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleAcceptClause15652 = new BitSet(new long[] { 0x0000000000004000L });
- public static final BitSet FOLLOW_14_in_ruleAcceptClause15669 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleAcceptClause15692 = new BitSet(new long[] { 0x0000000000010000L });
- public static final BitSet FOLLOW_16_in_ruleAcceptClause15704 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassifyStatement_in_entryRuleClassifyStatement15740 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassifyStatement15750 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_85_in_ruleClassifyStatement15787 = new BitSet(new long[] { 0x7873000019008070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleExpression_in_ruleClassifyStatement15808 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000C00000L });
- public static final BitSet FOLLOW_ruleClassificationClause_in_ruleClassifyStatement15829 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleClassifyStatement15841 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassificationClause_in_entryRuleClassificationClause15877 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassificationClause15887 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassificationFromClause_in_ruleClassificationClause15934 = new BitSet(new long[] { 0x0000000000000002L, 0x0000000000C00000L });
- public static final BitSet FOLLOW_ruleClassificationToClause_in_ruleClassificationClause15955 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleReclassifyAllClause_in_ruleClassificationClause15985 = new BitSet(new long[] { 0x0000000000000000L, 0x0000000000C00000L });
- public static final BitSet FOLLOW_ruleClassificationToClause_in_ruleClassificationClause16007 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassificationFromClause_in_entryRuleClassificationFromClause16044 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassificationFromClause16054 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_86_in_ruleClassificationFromClause16091 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleClassificationFromClause16112 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleClassificationToClause_in_entryRuleClassificationToClause16148 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleClassificationToClause16158 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_87_in_ruleClassificationToClause16195 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameList_in_ruleClassificationToClause16216 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleReclassifyAllClause_in_entryRuleReclassifyAllClause16252 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleReclassifyAllClause16262 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_86_in_ruleReclassifyAllClause16308 = new BitSet(new long[] { 0x0000000001000000L });
- public static final BitSet FOLLOW_24_in_ruleReclassifyAllClause16320 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNameList_in_entryRuleQualifiedNameList16356 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleQualifiedNameList16366 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16412 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_17_in_ruleQualifiedNameList16425 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_ruleQualifiedNameWithBinding_in_ruleQualifiedNameList16446 = new BitSet(new long[] { 0x0000000000020002L });
- public static final BitSet FOLLOW_ruleInvocationOrAssignementOrDeclarationStatement_in_entryRuleInvocationOrAssignementOrDeclarationStatement16484 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleInvocationOrAssignementOrDeclarationStatement16494 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleNameExpression_in_ruleInvocationOrAssignementOrDeclarationStatement16540 = new BitSet(new long[] { 0x0000000000041010L, 0x00FFE00000000080L });
- public static final BitSet FOLLOW_ruleVariableDeclarationCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16562 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleInvocationOrAssignementOrDeclarationStatement16589 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleInvocationOrAssignementOrDeclarationStatement16603 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationStatement_in_entryRuleSuperInvocationStatement16639 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleSuperInvocationStatement16649 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleSuperInvocationExpression_in_ruleSuperInvocationStatement16695 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleSuperInvocationStatement16707 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisInvocationStatement_in_entryRuleThisInvocationStatement16743 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleThisInvocationStatement16753 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleThisExpression_in_ruleThisInvocationStatement16799 = new BitSet(new long[] { 0x0000000000001000L, 0x00FFE00000000080L });
- public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleThisInvocationStatement16820 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleThisInvocationStatement16833 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationInvocationStatement_in_entryRuleInstanceCreationInvocationStatement16869 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleInstanceCreationInvocationStatement16879 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleInstanceCreationExpression_in_ruleInstanceCreationInvocationStatement16925 = new BitSet(new long[] { 0x0000000000001000L });
- public static final BitSet FOLLOW_12_in_ruleInstanceCreationInvocationStatement16937 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleVariableDeclarationCompletion_in_entryRuleVariableDeclarationCompletion16973 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleVariableDeclarationCompletion16983 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_18_in_ruleVariableDeclarationCompletion17027 = new BitSet(new long[] { 0x0000000000080000L });
- public static final BitSet FOLLOW_19_in_ruleVariableDeclarationCompletion17052 = new BitSet(new long[] { 0x0000000000000010L });
- public static final BitSet FOLLOW_RULE_ID_in_ruleVariableDeclarationCompletion17071 = new BitSet(new long[] { 0x0000000000000000L, 0x00FFE00000000080L });
- public static final BitSet FOLLOW_ruleAssignmentCompletion_in_ruleVariableDeclarationCompletion17097 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAssignmentCompletion_in_entryRuleAssignmentCompletion17133 = new BitSet(new long[] { 0x0000000000000000L });
- public static final BitSet FOLLOW_EOF_in_entryRuleAssignmentCompletion17143 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_ruleAssignmentOperator_in_ruleAssignmentCompletion17189 = new BitSet(new long[] { 0xF873000019048070L, 0x0000000060000000L });
- public static final BitSet FOLLOW_ruleSequenceElement_in_ruleAssignmentCompletion17210 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_88_in_ruleVisibilityIndicator17260 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_89_in_ruleVisibilityIndicator17277 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_90_in_ruleVisibilityIndicator17294 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_81_in_ruleParameterDirection17339 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_91_in_ruleParameterDirection17356 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_92_in_ruleParameterDirection17373 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_93_in_ruleBooleanValue17418 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_94_in_ruleBooleanValue17435 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_95_in_ruleLinkOperationKind17480 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_96_in_ruleLinkOperationKind17497 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_97_in_ruleLinkOperationKind17514 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_98_in_ruleSelectOrRejectOperator17559 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_99_in_ruleSelectOrRejectOperator17576 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_100_in_ruleCollectOrIterateOperator17621 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_101_in_ruleCollectOrIterateOperator17638 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_102_in_ruleForAllOrExistsOrOneOperator17683 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_103_in_ruleForAllOrExistsOrOneOperator17700 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_104_in_ruleForAllOrExistsOrOneOperator17717 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_105_in_ruleAnnotationKind17762 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_106_in_ruleAnnotationKind17779 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_107_in_ruleAnnotationKind17796 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_108_in_ruleAnnotationKind17813 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_71_in_ruleAssignmentOperator17858 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_109_in_ruleAssignmentOperator17875 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_110_in_ruleAssignmentOperator17892 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_111_in_ruleAssignmentOperator17909 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_112_in_ruleAssignmentOperator17926 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_113_in_ruleAssignmentOperator17943 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_114_in_ruleAssignmentOperator17960 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_115_in_ruleAssignmentOperator17977 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_116_in_ruleAssignmentOperator17994 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_117_in_ruleAssignmentOperator18011 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_118_in_ruleAssignmentOperator18028 = new BitSet(new long[] { 0x0000000000000002L });
- public static final BitSet FOLLOW_119_in_ruleAssignmentOperator18045 = new BitSet(new long[] { 0x0000000000000002L });
-
-} \ No newline at end of file
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java
deleted file mode 100644
index c1d6523b024..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/services/OperationGrammarAccess.java
+++ /dev/null
@@ -1,2213 +0,0 @@
-/*
- * generated by Xtext
- */
-
-package org.eclipse.papyrus.operation.editor.xtext.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.*;
-
-@Singleton
-public class OperationGrammarAccess extends AbstractGrammarElementFinder {
-
-
- public class OperationDefinitionOrStubElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OperationDefinitionOrStub");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Assignment cDeclarationAssignment_0 = (Assignment) cGroup.eContents().get(0);
- private final RuleCall cDeclarationOperationDeclarationParserRuleCall_0_0 = (RuleCall) cDeclarationAssignment_0.eContents().get(0);
- private final Alternatives cAlternatives_1 = (Alternatives) cGroup.eContents().get(1);
- private final Keyword cSemicolonKeyword_1_0 = (Keyword) cAlternatives_1.eContents().get(0);
- private final Assignment cBodyAssignment_1_1 = (Assignment) cAlternatives_1.eContents().get(1);
- private final RuleCall cBodyBlockParserRuleCall_1_1_0 = (RuleCall) cBodyAssignment_1_1.eContents().get(0);
-
- // OperationDefinitionOrStub:
- // declaration=OperationDeclaration (";" | body=Block);
- public ParserRule getRule() {
- return rule;
- }
-
- // declaration=OperationDeclaration (";" | body=Block)
- public Group getGroup() {
- return cGroup;
- }
-
- // declaration=OperationDeclaration
- public Assignment getDeclarationAssignment_0() {
- return cDeclarationAssignment_0;
- }
-
- // OperationDeclaration
- public RuleCall getDeclarationOperationDeclarationParserRuleCall_0_0() {
- return cDeclarationOperationDeclarationParserRuleCall_0_0;
- }
-
- // ";" | body=Block
- public Alternatives getAlternatives_1() {
- return cAlternatives_1;
- }
-
- // ";"
- public Keyword getSemicolonKeyword_1_0() {
- return cSemicolonKeyword_1_0;
- }
-
- // body=Block
- public Assignment getBodyAssignment_1_1() {
- return cBodyAssignment_1_1;
- }
-
- // Block
- public RuleCall getBodyBlockParserRuleCall_1_1_0() {
- return cBodyBlockParserRuleCall_1_1_0;
- }
- }
-
- public class OperationDeclarationElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "OperationDeclaration");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Assignment cVisibilityIndicatorAssignment_0 = (Assignment) cGroup.eContents().get(0);
- private final RuleCall cVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0 = (RuleCall) cVisibilityIndicatorAssignment_0.eContents().get(0);
- private final Assignment cAbstractAssignment_1 = (Assignment) cGroup.eContents().get(1);
- private final Keyword cAbstractAbstractKeyword_1_0 = (Keyword) cAbstractAssignment_1.eContents().get(0);
- private final Assignment cNameAssignment_2 = (Assignment) cGroup.eContents().get(2);
- private final RuleCall cNameIDTerminalRuleCall_2_0 = (RuleCall) cNameAssignment_2.eContents().get(0);
- private final Assignment cFormalParametersAssignment_3 = (Assignment) cGroup.eContents().get(3);
- private final RuleCall cFormalParametersFormalParametersParserRuleCall_3_0 = (RuleCall) cFormalParametersAssignment_3.eContents().get(0);
- private final Group cGroup_4 = (Group) cGroup.eContents().get(4);
- private final Keyword cColonKeyword_4_0 = (Keyword) cGroup_4.eContents().get(0);
- private final Assignment cReturnTypeAssignment_4_1 = (Assignment) cGroup_4.eContents().get(1);
- private final RuleCall cReturnTypeTypePartParserRuleCall_4_1_0 = (RuleCall) cReturnTypeAssignment_4_1.eContents().get(0);
- private final Assignment cRedefinitionAssignment_5 = (Assignment) cGroup.eContents().get(5);
- private final RuleCall cRedefinitionRedefinitionClauseParserRuleCall_5_0 = (RuleCall) cRedefinitionAssignment_5.eContents().get(0);
-
- // OperationDeclaration:
- // visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- // returnType=TypePart)? redefinition=RedefinitionClause?;
- public ParserRule getRule() {
- return rule;
- }
-
- // visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- // returnType=TypePart)? redefinition=RedefinitionClause?
- public Group getGroup() {
- return cGroup;
- }
-
- // visibilityIndicator=VisibilityIndicator?
- public Assignment getVisibilityIndicatorAssignment_0() {
- return cVisibilityIndicatorAssignment_0;
- }
-
- // VisibilityIndicator
- public RuleCall getVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0() {
- return cVisibilityIndicatorVisibilityIndicatorEnumRuleCall_0_0;
- }
-
- // abstract?="abstract"?
- public Assignment getAbstractAssignment_1() {
- return cAbstractAssignment_1;
- }
-
- // "abstract"
- public Keyword getAbstractAbstractKeyword_1_0() {
- return cAbstractAbstractKeyword_1_0;
- }
-
- // name=ID
- public Assignment getNameAssignment_2() {
- return cNameAssignment_2;
- }
-
- // ID
- public RuleCall getNameIDTerminalRuleCall_2_0() {
- return cNameIDTerminalRuleCall_2_0;
- }
-
- // formalParameters=FormalParameters
- public Assignment getFormalParametersAssignment_3() {
- return cFormalParametersAssignment_3;
- }
-
- // FormalParameters
- public RuleCall getFormalParametersFormalParametersParserRuleCall_3_0() {
- return cFormalParametersFormalParametersParserRuleCall_3_0;
- }
-
- // (":" returnType=TypePart)?
- public Group getGroup_4() {
- return cGroup_4;
- }
-
- // ":"
- public Keyword getColonKeyword_4_0() {
- return cColonKeyword_4_0;
- }
-
- // returnType=TypePart
- public Assignment getReturnTypeAssignment_4_1() {
- return cReturnTypeAssignment_4_1;
- }
-
- // TypePart
- public RuleCall getReturnTypeTypePartParserRuleCall_4_1_0() {
- return cReturnTypeTypePartParserRuleCall_4_1_0;
- }
-
- // redefinition=RedefinitionClause?
- public Assignment getRedefinitionAssignment_5() {
- return cRedefinitionAssignment_5;
- }
-
- // RedefinitionClause
- public RuleCall getRedefinitionRedefinitionClauseParserRuleCall_5_0() {
- return cRedefinitionRedefinitionClauseParserRuleCall_5_0;
- }
- }
-
- public class FormalParametersElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FormalParameters");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Action cFormalParametersAction_0 = (Action) cGroup.eContents().get(0);
- private final Keyword cLeftParenthesisKeyword_1 = (Keyword) cGroup.eContents().get(1);
- private final Assignment cFormalParameterListAssignment_2 = (Assignment) cGroup.eContents().get(2);
- private final RuleCall cFormalParameterListFormalParameterListParserRuleCall_2_0 = (RuleCall) cFormalParameterListAssignment_2.eContents().get(0);
- private final Keyword cRightParenthesisKeyword_3 = (Keyword) cGroup.eContents().get(3);
-
- // FormalParameters:
- // {FormalParameters} "(" formalParameterList=FormalParameterList? ")";
- public ParserRule getRule() {
- return rule;
- }
-
- // {FormalParameters} "(" formalParameterList=FormalParameterList? ")"
- public Group getGroup() {
- return cGroup;
- }
-
- // {FormalParameters}
- public Action getFormalParametersAction_0() {
- return cFormalParametersAction_0;
- }
-
- // "("
- public Keyword getLeftParenthesisKeyword_1() {
- return cLeftParenthesisKeyword_1;
- }
-
- // formalParameterList=FormalParameterList?
- public Assignment getFormalParameterListAssignment_2() {
- return cFormalParameterListAssignment_2;
- }
-
- // FormalParameterList
- public RuleCall getFormalParameterListFormalParameterListParserRuleCall_2_0() {
- return cFormalParameterListFormalParameterListParserRuleCall_2_0;
- }
-
- // ")"
- public Keyword getRightParenthesisKeyword_3() {
- return cRightParenthesisKeyword_3;
- }
- }
-
- public class FormalParameterListElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FormalParameterList");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Assignment cFormalParameterAssignment_0 = (Assignment) cGroup.eContents().get(0);
- private final RuleCall cFormalParameterFormalParameterParserRuleCall_0_0 = (RuleCall) cFormalParameterAssignment_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 cFormalParameterAssignment_1_1 = (Assignment) cGroup_1.eContents().get(1);
- private final RuleCall cFormalParameterFormalParameterParserRuleCall_1_1_0 = (RuleCall) cFormalParameterAssignment_1_1.eContents().get(0);
-
- // FormalParameterList:
- // formalParameter+=FormalParameter ("," formalParameter+=FormalParameter)*;
- public ParserRule getRule() {
- return rule;
- }
-
- // formalParameter+=FormalParameter ("," formalParameter+=FormalParameter)*
- public Group getGroup() {
- return cGroup;
- }
-
- // formalParameter+=FormalParameter
- public Assignment getFormalParameterAssignment_0() {
- return cFormalParameterAssignment_0;
- }
-
- // FormalParameter
- public RuleCall getFormalParameterFormalParameterParserRuleCall_0_0() {
- return cFormalParameterFormalParameterParserRuleCall_0_0;
- }
-
- // ("," formalParameter+=FormalParameter)*
- public Group getGroup_1() {
- return cGroup_1;
- }
-
- // ","
- public Keyword getCommaKeyword_1_0() {
- return cCommaKeyword_1_0;
- }
-
- // formalParameter+=FormalParameter
- public Assignment getFormalParameterAssignment_1_1() {
- return cFormalParameterAssignment_1_1;
- }
-
- // FormalParameter
- public RuleCall getFormalParameterFormalParameterParserRuleCall_1_1_0() {
- return cFormalParameterFormalParameterParserRuleCall_1_1_0;
- }
- }
-
- public class FormalParameterElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "FormalParameter");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Assignment cDirectionAssignment_0 = (Assignment) cGroup.eContents().get(0);
- private final RuleCall cDirectionParameterDirectionEnumRuleCall_0_0 = (RuleCall) cDirectionAssignment_0.eContents().get(0);
- private final Assignment cNameAssignment_1 = (Assignment) cGroup.eContents().get(1);
- private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall) cNameAssignment_1.eContents().get(0);
- private final Keyword cColonKeyword_2 = (Keyword) cGroup.eContents().get(2);
- private final Assignment cTypeAssignment_3 = (Assignment) cGroup.eContents().get(3);
- private final RuleCall cTypeTypePartParserRuleCall_3_0 = (RuleCall) cTypeAssignment_3.eContents().get(0);
-
- // FormalParameter: // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection name=ID ":" type=TypePart;
- public ParserRule getRule() {
- return rule;
- }
-
- // // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection name=ID ":" type=TypePart
- public Group getGroup() {
- return cGroup;
- }
-
- // // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection
- public Assignment getDirectionAssignment_0() {
- return cDirectionAssignment_0;
- }
-
- // ParameterDirection
- public RuleCall getDirectionParameterDirectionEnumRuleCall_0_0() {
- return cDirectionParameterDirectionEnumRuleCall_0_0;
- }
-
- // name=ID
- public Assignment getNameAssignment_1() {
- return cNameAssignment_1;
- }
-
- // ID
- public RuleCall getNameIDTerminalRuleCall_1_0() {
- return cNameIDTerminalRuleCall_1_0;
- }
-
- // ":"
- public Keyword getColonKeyword_2() {
- return cColonKeyword_2;
- }
-
- // type=TypePart
- public Assignment getTypeAssignment_3() {
- return cTypeAssignment_3;
- }
-
- // TypePart
- public RuleCall getTypeTypePartParserRuleCall_3_0() {
- return cTypeTypePartParserRuleCall_3_0;
- }
- }
-
- public class TypePartElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypePart");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Assignment cTypeNameAssignment_0 = (Assignment) cGroup.eContents().get(0);
- private final RuleCall cTypeNameTypeNameParserRuleCall_0_0 = (RuleCall) cTypeNameAssignment_0.eContents().get(0);
- private final Assignment cMultiplicityAssignment_1 = (Assignment) cGroup.eContents().get(1);
- private final RuleCall cMultiplicityMultiplicityParserRuleCall_1_0 = (RuleCall) cMultiplicityAssignment_1.eContents().get(0);
-
- // TypePart:
- // typeName=TypeName multiplicity=Multiplicity?;
- public ParserRule getRule() {
- return rule;
- }
-
- // typeName=TypeName multiplicity=Multiplicity?
- public Group getGroup() {
- return cGroup;
- }
-
- // typeName=TypeName
- public Assignment getTypeNameAssignment_0() {
- return cTypeNameAssignment_0;
- }
-
- // TypeName
- public RuleCall getTypeNameTypeNameParserRuleCall_0_0() {
- return cTypeNameTypeNameParserRuleCall_0_0;
- }
-
- // multiplicity=Multiplicity?
- public Assignment getMultiplicityAssignment_1() {
- return cMultiplicityAssignment_1;
- }
-
- // Multiplicity
- public RuleCall getMultiplicityMultiplicityParserRuleCall_1_0() {
- return cMultiplicityMultiplicityParserRuleCall_1_0;
- }
- }
-
- public class MultiplicityElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "Multiplicity");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Action cMultiplicityAction_0 = (Action) cGroup.eContents().get(0);
- private final Keyword cLeftSquareBracketKeyword_1 = (Keyword) cGroup.eContents().get(1);
- private final Assignment cRangeAssignment_2 = (Assignment) cGroup.eContents().get(2);
- private final RuleCall cRangeMultiplicityRangeParserRuleCall_2_0 = (RuleCall) cRangeAssignment_2.eContents().get(0);
- private final Keyword cRightSquareBracketKeyword_3 = (Keyword) cGroup.eContents().get(3);
- private final Alternatives cAlternatives_4 = (Alternatives) cGroup.eContents().get(4);
- private final Group cGroup_4_0 = (Group) cAlternatives_4.eContents().get(0);
- private final Assignment cOrderedAssignment_4_0_0 = (Assignment) cGroup_4_0.eContents().get(0);
- private final Keyword cOrderedOrderedKeyword_4_0_0_0 = (Keyword) cOrderedAssignment_4_0_0.eContents().get(0);
- private final Assignment cNonUniqueAssignment_4_0_1 = (Assignment) cGroup_4_0.eContents().get(1);
- private final Keyword cNonUniqueNonUniqueKeyword_4_0_1_0 = (Keyword) cNonUniqueAssignment_4_0_1.eContents().get(0);
- private final Group cGroup_4_1 = (Group) cAlternatives_4.eContents().get(1);
- private final Assignment cNonUniqueAssignment_4_1_0 = (Assignment) cGroup_4_1.eContents().get(0);
- private final Keyword cNonUniqueNonUniqueKeyword_4_1_0_0 = (Keyword) cNonUniqueAssignment_4_1_0.eContents().get(0);
- private final Assignment cOrderedAssignment_4_1_1 = (Assignment) cGroup_4_1.eContents().get(1);
- private final Keyword cOrderedOrderedKeyword_4_1_1_0 = (Keyword) cOrderedAssignment_4_1_1.eContents().get(0);
- private final Assignment cSequenceAssignment_4_2 = (Assignment) cAlternatives_4.eContents().get(2);
- private final Keyword cSequenceSequenceKeyword_4_2_0 = (Keyword) cSequenceAssignment_4_2.eContents().get(0);
-
- // Multiplicity:
- // {Multiplicity} "[" range=MultiplicityRange? "]" (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique"
- // ordered?="ordered"? | sequence?="sequence")?;
- public ParserRule getRule() {
- return rule;
- }
-
- // {Multiplicity} "[" range=MultiplicityRange? "]" (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique"
- // ordered?="ordered"? | sequence?="sequence")?
- public Group getGroup() {
- return cGroup;
- }
-
- // {Multiplicity}
- public Action getMultiplicityAction_0() {
- return cMultiplicityAction_0;
- }
-
- // "["
- public Keyword getLeftSquareBracketKeyword_1() {
- return cLeftSquareBracketKeyword_1;
- }
-
- // range=MultiplicityRange?
- public Assignment getRangeAssignment_2() {
- return cRangeAssignment_2;
- }
-
- // MultiplicityRange
- public RuleCall getRangeMultiplicityRangeParserRuleCall_2_0() {
- return cRangeMultiplicityRangeParserRuleCall_2_0;
- }
-
- // "]"
- public Keyword getRightSquareBracketKeyword_3() {
- return cRightSquareBracketKeyword_3;
- }
-
- // (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique" ordered?="ordered"? | sequence?="sequence")?
- public Alternatives getAlternatives_4() {
- return cAlternatives_4;
- }
-
- // ordered?="ordered" nonUnique?="nonUnique"?
- public Group getGroup_4_0() {
- return cGroup_4_0;
- }
-
- // ordered?="ordered"
- public Assignment getOrderedAssignment_4_0_0() {
- return cOrderedAssignment_4_0_0;
- }
-
- // "ordered"
- public Keyword getOrderedOrderedKeyword_4_0_0_0() {
- return cOrderedOrderedKeyword_4_0_0_0;
- }
-
- // nonUnique?="nonUnique"?
- public Assignment getNonUniqueAssignment_4_0_1() {
- return cNonUniqueAssignment_4_0_1;
- }
-
- // "nonUnique"
- public Keyword getNonUniqueNonUniqueKeyword_4_0_1_0() {
- return cNonUniqueNonUniqueKeyword_4_0_1_0;
- }
-
- // nonUnique?="nonUnique" ordered?="ordered"?
- public Group getGroup_4_1() {
- return cGroup_4_1;
- }
-
- // nonUnique?="nonUnique"
- public Assignment getNonUniqueAssignment_4_1_0() {
- return cNonUniqueAssignment_4_1_0;
- }
-
- // "nonUnique"
- public Keyword getNonUniqueNonUniqueKeyword_4_1_0_0() {
- return cNonUniqueNonUniqueKeyword_4_1_0_0;
- }
-
- // ordered?="ordered"?
- public Assignment getOrderedAssignment_4_1_1() {
- return cOrderedAssignment_4_1_1;
- }
-
- // "ordered"
- public Keyword getOrderedOrderedKeyword_4_1_1_0() {
- return cOrderedOrderedKeyword_4_1_1_0;
- }
-
- // sequence?="sequence"
- public Assignment getSequenceAssignment_4_2() {
- return cSequenceAssignment_4_2;
- }
-
- // "sequence"
- public Keyword getSequenceSequenceKeyword_4_2_0() {
- return cSequenceSequenceKeyword_4_2_0;
- }
- }
-
- public class MultiplicityRangeElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "MultiplicityRange");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Group cGroup_0 = (Group) cGroup.eContents().get(0);
- private final Assignment cLowerAssignment_0_0 = (Assignment) cGroup_0.eContents().get(0);
- private final RuleCall cLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0 = (RuleCall) cLowerAssignment_0_0.eContents().get(0);
- private final Keyword cFullStopFullStopKeyword_0_1 = (Keyword) cGroup_0.eContents().get(1);
- private final Assignment cUpperAssignment_1 = (Assignment) cGroup.eContents().get(1);
- private final RuleCall cUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0 = (RuleCall) cUpperAssignment_1.eContents().get(0);
-
- // MultiplicityRange:
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")? upper=NUMBER_LITERAL_WITHOUT_SUFFIX;
- public ParserRule getRule() {
- return rule;
- }
-
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")? upper=NUMBER_LITERAL_WITHOUT_SUFFIX
- public Group getGroup() {
- return cGroup;
- }
-
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")?
- public Group getGroup_0() {
- return cGroup_0;
- }
-
- // lower=NUMBER_LITERAL_WITHOUT_SUFFIX
- public Assignment getLowerAssignment_0_0() {
- return cLowerAssignment_0_0;
- }
-
- // NUMBER_LITERAL_WITHOUT_SUFFIX
- public RuleCall getLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0() {
- return cLowerNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0_0_0;
- }
-
- // ".."
- public Keyword getFullStopFullStopKeyword_0_1() {
- return cFullStopFullStopKeyword_0_1;
- }
-
- // upper=NUMBER_LITERAL_WITHOUT_SUFFIX
- public Assignment getUpperAssignment_1() {
- return cUpperAssignment_1;
- }
-
- // NUMBER_LITERAL_WITHOUT_SUFFIX
- public RuleCall getUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0() {
- return cUpperNUMBER_LITERAL_WITHOUT_SUFFIXParserRuleCall_1_0;
- }
- }
-
- public class NUMBER_LITERAL_WITHOUT_SUFFIXElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "NUMBER_LITERAL_WITHOUT_SUFFIX");
- private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
- private final RuleCall cINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0 = (RuleCall) cAlternatives.eContents().get(0);
- private final RuleCall cUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1 = (RuleCall) cAlternatives.eContents().get(1);
-
- // NUMBER_LITERAL_WITHOUT_SUFFIX:
- // INTEGER_LITERAL_WITHOUT_SUFFIX | UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- public ParserRule getRule() {
- return rule;
- }
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX | UNLIMITED_LITERAL_WITHOUT_SUFFIX
- public Alternatives getAlternatives() {
- return cAlternatives;
- }
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX
- public RuleCall getINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0() {
- return cINTEGER_LITERAL_WITHOUT_SUFFIXParserRuleCall_0;
- }
-
- // UNLIMITED_LITERAL_WITHOUT_SUFFIX
- public RuleCall getUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1() {
- return cUNLIMITED_LITERAL_WITHOUT_SUFFIXParserRuleCall_1;
- }
- }
-
- public class INTEGER_LITERAL_WITHOUT_SUFFIXElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "INTEGER_LITERAL_WITHOUT_SUFFIX");
- private final Assignment cValueAssignment = (Assignment) rule.eContents().get(1);
- private final RuleCall cValueIntegerValueTerminalRuleCall_0 = (RuleCall) cValueAssignment.eContents().get(0);
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX:
- // value=IntegerValue;
- public ParserRule getRule() {
- return rule;
- }
-
- // value=IntegerValue
- public Assignment getValueAssignment() {
- return cValueAssignment;
- }
-
- // IntegerValue
- public RuleCall getValueIntegerValueTerminalRuleCall_0() {
- return cValueIntegerValueTerminalRuleCall_0;
- }
- }
-
- public class UNLIMITED_LITERAL_WITHOUT_SUFFIXElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "UNLIMITED_LITERAL_WITHOUT_SUFFIX");
- private final Assignment cValueAssignment = (Assignment) rule.eContents().get(1);
- private final Keyword cValueAsteriskKeyword_0 = (Keyword) cValueAssignment.eContents().get(0);
-
- // UNLIMITED_LITERAL_WITHOUT_SUFFIX:
- // value="*";
- public ParserRule getRule() {
- return rule;
- }
-
- // value="*"
- public Assignment getValueAssignment() {
- return cValueAssignment;
- }
-
- // "*"
- public Keyword getValueAsteriskKeyword_0() {
- return cValueAsteriskKeyword_0;
- }
- }
-
- public class TypeNameElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "TypeName");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Action cTypeNameAction_0 = (Action) cGroup.eContents().get(0);
- private final Alternatives cAlternatives_1 = (Alternatives) cGroup.eContents().get(1);
- private final Assignment cQualifiedNameAssignment_1_0 = (Assignment) cAlternatives_1.eContents().get(0);
- private final RuleCall cQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0 = (RuleCall) cQualifiedNameAssignment_1_0.eContents().get(0);
- private final Keyword cAnyKeyword_1_1 = (Keyword) cAlternatives_1.eContents().get(1);
-
- // TypeName:
- // {TypeName} (qualifiedName=QualifiedNameWithBinding | "any");
- public ParserRule getRule() {
- return rule;
- }
-
- // {TypeName} (qualifiedName=QualifiedNameWithBinding | "any")
- public Group getGroup() {
- return cGroup;
- }
-
- // {TypeName}
- public Action getTypeNameAction_0() {
- return cTypeNameAction_0;
- }
-
- // qualifiedName=QualifiedNameWithBinding | "any"
- public Alternatives getAlternatives_1() {
- return cAlternatives_1;
- }
-
- // qualifiedName=QualifiedNameWithBinding
- public Assignment getQualifiedNameAssignment_1_0() {
- return cQualifiedNameAssignment_1_0;
- }
-
- // QualifiedNameWithBinding
- public RuleCall getQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0() {
- return cQualifiedNameQualifiedNameWithBindingParserRuleCall_1_0_0;
- }
-
- // "any"
- public Keyword getAnyKeyword_1_1() {
- return cAnyKeyword_1_1;
- }
- }
-
- public class RedefinitionClauseElements extends AbstractParserRuleElementFinder {
- private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "RedefinitionClause");
- private final Group cGroup = (Group) rule.eContents().get(1);
- private final Keyword cRedefinesKeyword_0 = (Keyword) cGroup.eContents().get(0);
- private final Assignment cRedefinedOperationsAssignment_1 = (Assignment) cGroup.eContents().get(1);
- private final RuleCall cRedefinedOperationsQualifiedNameListParserRuleCall_1_0 = (RuleCall) cRedefinedOperationsAssignment_1.eContents().get(0);
-
- // RedefinitionClause:
- // "redefines" redefinedOperations=QualifiedNameList;
- public ParserRule getRule() {
- return rule;
- }
-
- // "redefines" redefinedOperations=QualifiedNameList
- public Group getGroup() {
- return cGroup;
- }
-
- // "redefines"
- public Keyword getRedefinesKeyword_0() {
- return cRedefinesKeyword_0;
- }
-
- // redefinedOperations=QualifiedNameList
- public Assignment getRedefinedOperationsAssignment_1() {
- return cRedefinedOperationsAssignment_1;
- }
-
- // QualifiedNameList
- public RuleCall getRedefinedOperationsQualifiedNameListParserRuleCall_1_0() {
- return cRedefinedOperationsQualifiedNameListParserRuleCall_1_0;
- }
- }
-
-
- public class VisibilityIndicatorElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "VisibilityIndicator");
- private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
- private final EnumLiteralDeclaration cPUBLICEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
- private final Keyword cPUBLICPublicKeyword_0_0 = (Keyword) cPUBLICEnumLiteralDeclaration_0.eContents().get(0);
- private final EnumLiteralDeclaration cPRIVATEEnumLiteralDeclaration_1 = (EnumLiteralDeclaration) cAlternatives.eContents().get(1);
- private final Keyword cPRIVATEPrivateKeyword_1_0 = (Keyword) cPRIVATEEnumLiteralDeclaration_1.eContents().get(0);
- private final EnumLiteralDeclaration cPROTECTEDEnumLiteralDeclaration_2 = (EnumLiteralDeclaration) cAlternatives.eContents().get(2);
- private final Keyword cPROTECTEDProtectedKeyword_2_0 = (Keyword) cPROTECTEDEnumLiteralDeclaration_2.eContents().get(0);
-
- // enum VisibilityIndicator:
- // PUBLIC="public" | PRIVATE="private" | PROTECTED="protected";
- public EnumRule getRule() {
- return rule;
- }
-
- // PUBLIC="public" | PRIVATE="private" | PROTECTED="protected"
- public Alternatives getAlternatives() {
- return cAlternatives;
- }
-
- // PUBLIC="public"
- public EnumLiteralDeclaration getPUBLICEnumLiteralDeclaration_0() {
- return cPUBLICEnumLiteralDeclaration_0;
- }
-
- // "public"
- public Keyword getPUBLICPublicKeyword_0_0() {
- return cPUBLICPublicKeyword_0_0;
- }
-
- // PRIVATE="private"
- public EnumLiteralDeclaration getPRIVATEEnumLiteralDeclaration_1() {
- return cPRIVATEEnumLiteralDeclaration_1;
- }
-
- // "private"
- public Keyword getPRIVATEPrivateKeyword_1_0() {
- return cPRIVATEPrivateKeyword_1_0;
- }
-
- // PROTECTED="protected"
- public EnumLiteralDeclaration getPROTECTEDEnumLiteralDeclaration_2() {
- return cPROTECTEDEnumLiteralDeclaration_2;
- }
-
- // "protected"
- public Keyword getPROTECTEDProtectedKeyword_2_0() {
- return cPROTECTEDProtectedKeyword_2_0;
- }
- }
-
- public class ParameterDirectionElements extends AbstractEnumRuleElementFinder {
- private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "ParameterDirection");
- private final Alternatives cAlternatives = (Alternatives) rule.eContents().get(1);
- private final EnumLiteralDeclaration cINEnumLiteralDeclaration_0 = (EnumLiteralDeclaration) cAlternatives.eContents().get(0);
- private final Keyword cINInKeyword_0_0 = (Keyword) cINEnumLiteralDeclaration_0.eContents().get(0);
- private final EnumLiteralDeclaration cOUTEnumLiteralDeclaration_1 = (EnumLiteralDeclaration) cAlternatives.eContents().get(1);
- private final Keyword cOUTOutKeyword_1_0 = (Keyword) cOUTEnumLiteralDeclaration_1.eContents().get(0);
- private final EnumLiteralDeclaration cINOUTEnumLiteralDeclaration_2 = (EnumLiteralDeclaration) cAlternatives.eContents().get(2);
- private final Keyword cINOUTInoutKeyword_2_0 = (Keyword) cINOUTEnumLiteralDeclaration_2.eContents().get(0);
-
- // enum ParameterDirection:
- // IN="in" | OUT="out" | INOUT="inout";
- public EnumRule getRule() {
- return rule;
- }
-
- // IN="in" | OUT="out" | INOUT="inout"
- public Alternatives getAlternatives() {
- return cAlternatives;
- }
-
- // IN="in"
- public EnumLiteralDeclaration getINEnumLiteralDeclaration_0() {
- return cINEnumLiteralDeclaration_0;
- }
-
- // "in"
- public Keyword getINInKeyword_0_0() {
- return cINInKeyword_0_0;
- }
-
- // OUT="out"
- public EnumLiteralDeclaration getOUTEnumLiteralDeclaration_1() {
- return cOUTEnumLiteralDeclaration_1;
- }
-
- // "out"
- public Keyword getOUTOutKeyword_1_0() {
- return cOUTOutKeyword_1_0;
- }
-
- // INOUT="inout"
- public EnumLiteralDeclaration getINOUTEnumLiteralDeclaration_2() {
- return cINOUTEnumLiteralDeclaration_2;
- }
-
- // "inout"
- public Keyword getINOUTInoutKeyword_2_0() {
- return cINOUTInoutKeyword_2_0;
- }
- }
-
- private OperationDefinitionOrStubElements pOperationDefinitionOrStub;
- private OperationDeclarationElements pOperationDeclaration;
- private VisibilityIndicatorElements unknownRuleVisibilityIndicator;
- private FormalParametersElements pFormalParameters;
- private FormalParameterListElements pFormalParameterList;
- private FormalParameterElements pFormalParameter;
- private TypePartElements pTypePart;
- private MultiplicityElements pMultiplicity;
- private MultiplicityRangeElements pMultiplicityRange;
- private NUMBER_LITERAL_WITHOUT_SUFFIXElements pNUMBER_LITERAL_WITHOUT_SUFFIX;
- private INTEGER_LITERAL_WITHOUT_SUFFIXElements pINTEGER_LITERAL_WITHOUT_SUFFIX;
- private UNLIMITED_LITERAL_WITHOUT_SUFFIXElements pUNLIMITED_LITERAL_WITHOUT_SUFFIX;
- private TypeNameElements pTypeName;
- private ParameterDirectionElements unknownRuleParameterDirection;
- private RedefinitionClauseElements pRedefinitionClause;
-
- private final GrammarProvider grammarProvider;
-
- private AlfGrammarAccess gaAlf;
-
- @Inject
- public OperationGrammarAccess(GrammarProvider grammarProvider,
- AlfGrammarAccess gaAlf) {
- this.grammarProvider = grammarProvider;
- this.gaAlf = gaAlf;
- }
-
- public Grammar getGrammar() {
- return grammarProvider.getGrammar(this);
- }
-
-
- public AlfGrammarAccess getAlfGrammarAccess() {
- return gaAlf;
- }
-
-
- // OperationDefinitionOrStub:
- // declaration=OperationDeclaration (";" | body=Block);
- public OperationDefinitionOrStubElements getOperationDefinitionOrStubAccess() {
- return (pOperationDefinitionOrStub != null) ? pOperationDefinitionOrStub : (pOperationDefinitionOrStub = new OperationDefinitionOrStubElements());
- }
-
- public ParserRule getOperationDefinitionOrStubRule() {
- return getOperationDefinitionOrStubAccess().getRule();
- }
-
- // OperationDeclaration:
- // visibilityIndicator=VisibilityIndicator? abstract?="abstract"? name=ID formalParameters=FormalParameters (":"
- // returnType=TypePart)? redefinition=RedefinitionClause?;
- public OperationDeclarationElements getOperationDeclarationAccess() {
- return (pOperationDeclaration != null) ? pOperationDeclaration : (pOperationDeclaration = new OperationDeclarationElements());
- }
-
- public ParserRule getOperationDeclarationRule() {
- return getOperationDeclarationAccess().getRule();
- }
-
- // enum VisibilityIndicator:
- // PUBLIC="public" | PRIVATE="private" | PROTECTED="protected";
- public VisibilityIndicatorElements getVisibilityIndicatorAccess() {
- return (unknownRuleVisibilityIndicator != null) ? unknownRuleVisibilityIndicator : (unknownRuleVisibilityIndicator = new VisibilityIndicatorElements());
- }
-
- public EnumRule getVisibilityIndicatorRule() {
- return getVisibilityIndicatorAccess().getRule();
- }
-
- // FormalParameters:
- // {FormalParameters} "(" formalParameterList=FormalParameterList? ")";
- public FormalParametersElements getFormalParametersAccess() {
- return (pFormalParameters != null) ? pFormalParameters : (pFormalParameters = new FormalParametersElements());
- }
-
- public ParserRule getFormalParametersRule() {
- return getFormalParametersAccess().getRule();
- }
-
- // FormalParameterList:
- // formalParameter+=FormalParameter ("," formalParameter+=FormalParameter)*;
- public FormalParameterListElements getFormalParameterListAccess() {
- return (pFormalParameterList != null) ? pFormalParameterList : (pFormalParameterList = new FormalParameterListElements());
- }
-
- public ParserRule getFormalParameterListRule() {
- return getFormalParameterListAccess().getRule();
- }
-
- // FormalParameter: // To be added ( <DOCUMENTATION_COMMENT> )?
- // //stereotypeAnnotations = StereotypeAnnotations
- // direction=ParameterDirection name=ID ":" type=TypePart;
- public FormalParameterElements getFormalParameterAccess() {
- return (pFormalParameter != null) ? pFormalParameter : (pFormalParameter = new FormalParameterElements());
- }
-
- public ParserRule getFormalParameterRule() {
- return getFormalParameterAccess().getRule();
- }
-
- // TypePart:
- // typeName=TypeName multiplicity=Multiplicity?;
- public TypePartElements getTypePartAccess() {
- return (pTypePart != null) ? pTypePart : (pTypePart = new TypePartElements());
- }
-
- public ParserRule getTypePartRule() {
- return getTypePartAccess().getRule();
- }
-
- // Multiplicity:
- // {Multiplicity} "[" range=MultiplicityRange? "]" (ordered?="ordered" nonUnique?="nonUnique"? | nonUnique?="nonUnique"
- // ordered?="ordered"? | sequence?="sequence")?;
- public MultiplicityElements getMultiplicityAccess() {
- return (pMultiplicity != null) ? pMultiplicity : (pMultiplicity = new MultiplicityElements());
- }
-
- public ParserRule getMultiplicityRule() {
- return getMultiplicityAccess().getRule();
- }
-
- // MultiplicityRange:
- // (lower=NUMBER_LITERAL_WITHOUT_SUFFIX "..")? upper=NUMBER_LITERAL_WITHOUT_SUFFIX;
- public MultiplicityRangeElements getMultiplicityRangeAccess() {
- return (pMultiplicityRange != null) ? pMultiplicityRange : (pMultiplicityRange = new MultiplicityRangeElements());
- }
-
- public ParserRule getMultiplicityRangeRule() {
- return getMultiplicityRangeAccess().getRule();
- }
-
- // NUMBER_LITERAL_WITHOUT_SUFFIX:
- // INTEGER_LITERAL_WITHOUT_SUFFIX | UNLIMITED_LITERAL_WITHOUT_SUFFIX;
- public NUMBER_LITERAL_WITHOUT_SUFFIXElements getNUMBER_LITERAL_WITHOUT_SUFFIXAccess() {
- return (pNUMBER_LITERAL_WITHOUT_SUFFIX != null) ? pNUMBER_LITERAL_WITHOUT_SUFFIX : (pNUMBER_LITERAL_WITHOUT_SUFFIX = new NUMBER_LITERAL_WITHOUT_SUFFIXElements());
- }
-
- public ParserRule getNUMBER_LITERAL_WITHOUT_SUFFIXRule() {
- return getNUMBER_LITERAL_WITHOUT_SUFFIXAccess().getRule();
- }
-
- // INTEGER_LITERAL_WITHOUT_SUFFIX:
- // value=IntegerValue;
- public INTEGER_LITERAL_WITHOUT_SUFFIXElements getINTEGER_LITERAL_WITHOUT_SUFFIXAccess() {
- return (pINTEGER_LITERAL_WITHOUT_SUFFIX != null) ? pINTEGER_LITERAL_WITHOUT_SUFFIX : (pINTEGER_LITERAL_WITHOUT_SUFFIX = new INTEGER_LITERAL_WITHOUT_SUFFIXElements());
- }
-
- public ParserRule getINTEGER_LITERAL_WITHOUT_SUFFIXRule() {
- return getINTEGER_LITERAL_WITHOUT_SUFFIXAccess().getRule();
- }
-
- // UNLIMITED_LITERAL_WITHOUT_SUFFIX:
- // value="*";
- public UNLIMITED_LITERAL_WITHOUT_SUFFIXElements getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess() {
- return (pUNLIMITED_LITERAL_WITHOUT_SUFFIX != null) ? pUNLIMITED_LITERAL_WITHOUT_SUFFIX : (pUNLIMITED_LITERAL_WITHOUT_SUFFIX = new UNLIMITED_LITERAL_WITHOUT_SUFFIXElements());
- }
-
- public ParserRule getUNLIMITED_LITERAL_WITHOUT_SUFFIXRule() {
- return getUNLIMITED_LITERAL_WITHOUT_SUFFIXAccess().getRule();
- }
-
- // TypeName:
- // {TypeName} (qualifiedName=QualifiedNameWithBinding | "any");
- public TypeNameElements getTypeNameAccess() {
- return (pTypeName != null) ? pTypeName : (pTypeName = new TypeNameElements());
- }
-
- public ParserRule getTypeNameRule() {
- return getTypeNameAccess().getRule();
- }
-
- // enum ParameterDirection:
- // IN="in" | OUT="out" | INOUT="inout";
- public ParameterDirectionElements getParameterDirectionAccess() {
- return (unknownRuleParameterDirection != null) ? unknownRuleParameterDirection : (unknownRuleParameterDirection = new ParameterDirectionElements());
- }
-
- public EnumRule getParameterDirectionRule() {
- return getParameterDirectionAccess().getRule();
- }
-
- // RedefinitionClause:
- // "redefines" redefinedOperations=QualifiedNameList;
- public RedefinitionClauseElements getRedefinitionClauseAccess() {
- return (pRedefinitionClause != null) ? pRedefinitionClause : (pRedefinitionClause = new RedefinitionClauseElements());
- }
-
- public ParserRule getRedefinitionClauseRule() {
- return getRedefinitionClauseAccess().getRule();
- }
-
- // / *
- // Test rule
- // * / Test:
- // ("testExpression" expression+=Expression)* ("testAssignmentExpression" assignExpression+=AssignmentCompletion)*
- // ("testStatement" statements+=Statement)* ("testBlock" block=Block);
- public AlfGrammarAccess.TestElements getTestAccess() {
- return gaAlf.getTestAccess();
- }
-
- public ParserRule getTestRule() {
- return getTestAccess().getRule();
- }
-
- // //('testStatementSequence' statement += StatementSequence)* ;
- // / *********************************
- // * PrimitiveLiterals
- // ********************************** / LITERAL:
- // BOOLEAN_LITERAL | NUMBER_LITERAL | STRING_LITERAL;
- public AlfGrammarAccess.LITERALElements getLITERALAccess() {
- return gaAlf.getLITERALAccess();
- }
-
- public ParserRule getLITERALRule() {
- return getLITERALAccess().getRule();
- }
-
- // BOOLEAN_LITERAL:
- // value=BooleanValue suffix=SuffixExpression?;
- public AlfGrammarAccess.BOOLEAN_LITERALElements getBOOLEAN_LITERALAccess() {
- return gaAlf.getBOOLEAN_LITERALAccess();
- }
-
- public ParserRule getBOOLEAN_LITERALRule() {
- return getBOOLEAN_LITERALAccess().getRule();
- }
-
- // enum BooleanValue:
- // TRUE="true" | FALSE="false";
- public AlfGrammarAccess.BooleanValueElements getBooleanValueAccess() {
- return gaAlf.getBooleanValueAccess();
- }
-
- public EnumRule getBooleanValueRule() {
- return getBooleanValueAccess().getRule();
- }
-
- // NUMBER_LITERAL:
- // INTEGER_LITERAL | UNLIMITED_LITERAL;
- public AlfGrammarAccess.NUMBER_LITERALElements getNUMBER_LITERALAccess() {
- return gaAlf.getNUMBER_LITERALAccess();
- }
-
- public ParserRule getNUMBER_LITERALRule() {
- return getNUMBER_LITERALAccess().getRule();
- }
-
- // INTEGER_LITERAL:
- // value=IntegerValue suffix=SuffixExpression?;
- public AlfGrammarAccess.INTEGER_LITERALElements getINTEGER_LITERALAccess() {
- return gaAlf.getINTEGER_LITERALAccess();
- }
-
- public ParserRule getINTEGER_LITERALRule() {
- return getINTEGER_LITERALAccess().getRule();
- }
-
- // UNLIMITED_LITERAL:
- // value="*" suffix=SuffixExpression?;
- public AlfGrammarAccess.UNLIMITED_LITERALElements getUNLIMITED_LITERALAccess() {
- return gaAlf.getUNLIMITED_LITERALAccess();
- }
-
- public ParserRule getUNLIMITED_LITERALRule() {
- return getUNLIMITED_LITERALAccess().getRule();
- }
-
- // terminal IntegerValue:
- // ("0" | "1".."9" ("_"? "0".."9")*) //DECIMAL
- // // BINARY
- // // HEX
- // // OCT
- // | ("0b" | "0B") "0".."1" ("_"? "0".."1")* | ("0x" | "0X") ("0".."9" | "a".."f" | "A".."F") ("_"? ("0".."9" | "a".."f" |
- // "A".."F"))* | "0" "_"? "0".."7" ("_"? "0".."7")*;
- public TerminalRule getIntegerValueRule() {
- return gaAlf.getIntegerValueRule();
- }
-
- // STRING_LITERAL:
- // value=STRING suffix=SuffixExpression?;
- public AlfGrammarAccess.STRING_LITERALElements getSTRING_LITERALAccess() {
- return gaAlf.getSTRING_LITERALAccess();
- }
-
- public ParserRule getSTRING_LITERALRule() {
- return getSTRING_LITERALAccess().getRule();
- }
-
- // NameExpression:
- // (prefixOp=("++" | "--") path=QualifiedNamePath? id=ID | path=QualifiedNamePath? id=ID (invocationCompletion=Tuple |
- // sequenceConstructionCompletion=SequenceConstructionOrAccessCompletion | postfixOp=("++" | "--"))?)
- // suffix=SuffixExpression?;
- public AlfGrammarAccess.NameExpressionElements getNameExpressionAccess() {
- return gaAlf.getNameExpressionAccess();
- }
-
- public ParserRule getNameExpressionRule() {
- return getNameExpressionAccess().getRule();
- }
-
- // QualifiedNamePath:
- // (namespace+=UnqualifiedName "::")+;
- public AlfGrammarAccess.QualifiedNamePathElements getQualifiedNamePathAccess() {
- return gaAlf.getQualifiedNamePathAccess();
- }
-
- public ParserRule getQualifiedNamePathRule() {
- return getQualifiedNamePathAccess().getRule();
- }
-
- // UnqualifiedName:
- // name=ID templateBinding=TemplateBinding?;
- public AlfGrammarAccess.UnqualifiedNameElements getUnqualifiedNameAccess() {
- return gaAlf.getUnqualifiedNameAccess();
- }
-
- public ParserRule getUnqualifiedNameRule() {
- return getUnqualifiedNameAccess().getRule();
- }
-
- // TemplateBinding:
- // "<" bindings+=NamedTemplateBinding ("," bindings+=NamedTemplateBinding)* ">";
- public AlfGrammarAccess.TemplateBindingElements getTemplateBindingAccess() {
- return gaAlf.getTemplateBindingAccess();
- }
-
- public ParserRule getTemplateBindingRule() {
- return getTemplateBindingAccess().getRule();
- }
-
- // NamedTemplateBinding:
- // formal=ID "=>" actual=QualifiedNameWithBinding;
- public AlfGrammarAccess.NamedTemplateBindingElements getNamedTemplateBindingAccess() {
- return gaAlf.getNamedTemplateBindingAccess();
- }
-
- public ParserRule getNamedTemplateBindingRule() {
- return getNamedTemplateBindingAccess().getRule();
- }
-
- // QualifiedNameWithBinding:
- // id=ID binding=TemplateBinding? ("::" remaining=QualifiedNameWithBinding)?;
- public AlfGrammarAccess.QualifiedNameWithBindingElements getQualifiedNameWithBindingAccess() {
- return gaAlf.getQualifiedNameWithBindingAccess();
- }
-
- public ParserRule getQualifiedNameWithBindingRule() {
- return getQualifiedNameWithBindingAccess().getRule();
- }
-
- // Tuple:
- // {Tuple} "(" (tupleElements+=TupleElement ("," tupleElements+=TupleElement)*)? ")";
- public AlfGrammarAccess.TupleElements getTupleAccess() {
- return gaAlf.getTupleAccess();
- }
-
- public ParserRule getTupleRule() {
- return getTupleAccess().getRule();
- }
-
- // TupleElement:
- // argument=Expression;
- public AlfGrammarAccess.TupleElementElements getTupleElementAccess() {
- return gaAlf.getTupleElementAccess();
- }
-
- public ParserRule getTupleElementRule() {
- return getTupleElementAccess().getRule();
- }
-
- // / **************
- // * Expressions
- // ************** / Expression:
- // ConditionalTestExpression;
- public AlfGrammarAccess.ExpressionElements getExpressionAccess() {
- return gaAlf.getExpressionAccess();
- }
-
- public ParserRule getExpressionRule() {
- return getExpressionAccess().getRule();
- }
-
- // ConditionalTestExpression:
- // exp=ConditionalOrExpression ("?" whenTrue=ConditionalTestExpression ":" whenFalse=ConditionalTestExpression)?;
- public AlfGrammarAccess.ConditionalTestExpressionElements getConditionalTestExpressionAccess() {
- return gaAlf.getConditionalTestExpressionAccess();
- }
-
- public ParserRule getConditionalTestExpressionRule() {
- return getConditionalTestExpressionAccess().getRule();
- }
-
- // ConditionalOrExpression:
- // exp+=ConditionalAndExpression ("||" exp+=ConditionalAndExpression)*;
- public AlfGrammarAccess.ConditionalOrExpressionElements getConditionalOrExpressionAccess() {
- return gaAlf.getConditionalOrExpressionAccess();
- }
-
- public ParserRule getConditionalOrExpressionRule() {
- return getConditionalOrExpressionAccess().getRule();
- }
-
- // ConditionalAndExpression:
- // exp+=InclusiveOrExpression ("&&" exp+=InclusiveOrExpression)*;
- public AlfGrammarAccess.ConditionalAndExpressionElements getConditionalAndExpressionAccess() {
- return gaAlf.getConditionalAndExpressionAccess();
- }
-
- public ParserRule getConditionalAndExpressionRule() {
- return getConditionalAndExpressionAccess().getRule();
- }
-
- // InclusiveOrExpression:
- // exp+=ExclusiveOrExpression ("|" exp+=ExclusiveOrExpression)*;
- public AlfGrammarAccess.InclusiveOrExpressionElements getInclusiveOrExpressionAccess() {
- return gaAlf.getInclusiveOrExpressionAccess();
- }
-
- public ParserRule getInclusiveOrExpressionRule() {
- return getInclusiveOrExpressionAccess().getRule();
- }
-
- // ExclusiveOrExpression:
- // exp+=AndExpression ("^" exp+=AndExpression)*;
- public AlfGrammarAccess.ExclusiveOrExpressionElements getExclusiveOrExpressionAccess() {
- return gaAlf.getExclusiveOrExpressionAccess();
- }
-
- public ParserRule getExclusiveOrExpressionRule() {
- return getExclusiveOrExpressionAccess().getRule();
- }
-
- // AndExpression:
- // exp+=EqualityExpression ("&" exp+=EqualityExpression)*;
- public AlfGrammarAccess.AndExpressionElements getAndExpressionAccess() {
- return gaAlf.getAndExpressionAccess();
- }
-
- public ParserRule getAndExpressionRule() {
- return getAndExpressionAccess().getRule();
- }
-
- // EqualityExpression:
- // exp+=ClassificationExpression (op+=("==" | "!=") exp+=ClassificationExpression)*;
- public AlfGrammarAccess.EqualityExpressionElements getEqualityExpressionAccess() {
- return gaAlf.getEqualityExpressionAccess();
- }
-
- public ParserRule getEqualityExpressionRule() {
- return getEqualityExpressionAccess().getRule();
- }
-
- // //enum EqualityOperator :
- // // EQUALS = '==' |
- // // NOT_EQUALS = '!='
- // //;
- // ClassificationExpression:
- // exp=RelationalExpression (op=("instanceof" | "hastype") typeName=NameExpression)?;
- public AlfGrammarAccess.ClassificationExpressionElements getClassificationExpressionAccess() {
- return gaAlf.getClassificationExpressionAccess();
- }
-
- public ParserRule getClassificationExpressionRule() {
- return getClassificationExpressionAccess().getRule();
- }
-
- // //enum ClassificationOperator :
- // // INSTANCEOF = 'instanceof' |
- // // HASTYPE = 'hastype'
- // //;
- // RelationalExpression:
- // left=ShiftExpression (op=("<" | ">" | "<=" | ">=") right=ShiftExpression)?;
- public AlfGrammarAccess.RelationalExpressionElements getRelationalExpressionAccess() {
- return gaAlf.getRelationalExpressionAccess();
- }
-
- public ParserRule getRelationalExpressionRule() {
- return getRelationalExpressionAccess().getRule();
- }
-
- // //RelationalOperator :
- // // LOWER = '<' |
- // // UPPER = '>' |
- // // LOWER_EQUALS = '<=' |
- // // UPPER_EQUALS = '>='
- // //;
- // ShiftExpression:
- // exp+=AdditiveExpression (op=("<<" | ">>" | ">>>") exp+=AdditiveExpression)?;
- public AlfGrammarAccess.ShiftExpressionElements getShiftExpressionAccess() {
- return gaAlf.getShiftExpressionAccess();
- }
-
- public ParserRule getShiftExpressionRule() {
- return getShiftExpressionAccess().getRule();
- }
-
- // //enum ShiftOperator :
- // // LSHIFT = '<<' |
- // // RSHIFT = '>>' |
- // // URSHIFT = '>>>'
- // //;
- // AdditiveExpression:
- // exp+=MultiplicativeExpression (op+=("+" | "-") exp+=MultiplicativeExpression)*;
- public AlfGrammarAccess.AdditiveExpressionElements getAdditiveExpressionAccess() {
- return gaAlf.getAdditiveExpressionAccess();
- }
-
- public ParserRule getAdditiveExpressionRule() {
- return getAdditiveExpressionAccess().getRule();
- }
-
- // //enum AdditiveOp :
- // // PLUS = '+' |
- // // MINUS = '-'
- // //;
- // MultiplicativeExpression:
- // exp+=UnaryExpression (op+=("*" | "/" | "%") exp+=UnaryExpression)*;
- public AlfGrammarAccess.MultiplicativeExpressionElements getMultiplicativeExpressionAccess() {
- return gaAlf.getMultiplicativeExpressionAccess();
- }
-
- public ParserRule getMultiplicativeExpressionRule() {
- return getMultiplicativeExpressionAccess().getRule();
- }
-
- // //enum MultiplicativeOp :
- // // MULT = '*' |
- // // DIV = '/' |
- // // MOD = '%'
- // //;
- // UnaryExpression:
- // op=("!" | "-" | "+" | "$" | "~")? exp=PrimaryExpression;
- public AlfGrammarAccess.UnaryExpressionElements getUnaryExpressionAccess() {
- return gaAlf.getUnaryExpressionAccess();
- }
-
- public ParserRule getUnaryExpressionRule() {
- return getUnaryExpressionAccess().getRule();
- }
-
- // //PrimaryExpression :
- // // prefix = ValueSpecification (suffix = SuffixExpression)?
- // //;
- // PrimaryExpression:
- // prefix=ValueSpecification;
- public AlfGrammarAccess.PrimaryExpressionElements getPrimaryExpressionAccess() {
- return gaAlf.getPrimaryExpressionAccess();
- }
-
- public ParserRule getPrimaryExpressionRule() {
- return getPrimaryExpressionAccess().getRule();
- }
-
- // SuffixExpression:
- // OperationCallExpression | PropertyCallExpression | LinkOperationExpression | SequenceOperationExpression |
- // SequenceReductionExpression | SequenceExpansionExpression | ClassExtentExpression;
- public AlfGrammarAccess.SuffixExpressionElements getSuffixExpressionAccess() {
- return gaAlf.getSuffixExpressionAccess();
- }
-
- public ParserRule getSuffixExpressionRule() {
- return getSuffixExpressionAccess().getRule();
- }
-
- // OperationCallExpression:
- // "." operationName=ID tuple=Tuple suffix=SuffixExpression?;
- public AlfGrammarAccess.OperationCallExpressionElements getOperationCallExpressionAccess() {
- return gaAlf.getOperationCallExpressionAccess();
- }
-
- public ParserRule getOperationCallExpressionRule() {
- return getOperationCallExpressionAccess().getRule();
- }
-
- // OperationCallExpressionWithoutDot:
- // operationName=ID tuple=Tuple suffix=SuffixExpression?;
- public AlfGrammarAccess.OperationCallExpressionWithoutDotElements getOperationCallExpressionWithoutDotAccess() {
- return gaAlf.getOperationCallExpressionWithoutDotAccess();
- }
-
- public ParserRule getOperationCallExpressionWithoutDotRule() {
- return getOperationCallExpressionWithoutDotAccess().getRule();
- }
-
- // PropertyCallExpression:
- // "." propertyName=ID ("[" index=Expression "]")? suffix=SuffixExpression?;
- public AlfGrammarAccess.PropertyCallExpressionElements getPropertyCallExpressionAccess() {
- return gaAlf.getPropertyCallExpressionAccess();
- }
-
- public ParserRule getPropertyCallExpressionRule() {
- return getPropertyCallExpressionAccess().getRule();
- }
-
- // LinkOperationExpression:
- // "." kind=LinkOperationKind tuple=LinkOperationTuple;
- public AlfGrammarAccess.LinkOperationExpressionElements getLinkOperationExpressionAccess() {
- return gaAlf.getLinkOperationExpressionAccess();
- }
-
- public ParserRule getLinkOperationExpressionRule() {
- return getLinkOperationExpressionAccess().getRule();
- }
-
- // LinkOperationTuple:
- // "(" linkOperationTupleElement+=LinkOperationTupleElement ("," linkOperationTupleElement+=LinkOperationTupleElement)*
- // ")";
- public AlfGrammarAccess.LinkOperationTupleElements getLinkOperationTupleAccess() {
- return gaAlf.getLinkOperationTupleAccess();
- }
-
- public ParserRule getLinkOperationTupleRule() {
- return getLinkOperationTupleAccess().getRule();
- }
-
- // LinkOperationTupleElement:
- // objectOrRole=ID (("[" roleIndex=Expression "]")? "=>" object=ID)?;
- public AlfGrammarAccess.LinkOperationTupleElementElements getLinkOperationTupleElementAccess() {
- return gaAlf.getLinkOperationTupleElementAccess();
- }
-
- public ParserRule getLinkOperationTupleElementRule() {
- return getLinkOperationTupleElementAccess().getRule();
- }
-
- // enum LinkOperationKind:
- // CREATE="createLink" | DESTROY="destroyLink" | CLEAR="clearAssoc";
- public AlfGrammarAccess.LinkOperationKindElements getLinkOperationKindAccess() {
- return gaAlf.getLinkOperationKindAccess();
- }
-
- public EnumRule getLinkOperationKindRule() {
- return getLinkOperationKindAccess().getRule();
- }
-
- // SequenceOperationExpression:
- // "->" operationName=ID tuple=Tuple suffix=SuffixExpression?;
- public AlfGrammarAccess.SequenceOperationExpressionElements getSequenceOperationExpressionAccess() {
- return gaAlf.getSequenceOperationExpressionAccess();
- }
-
- public ParserRule getSequenceOperationExpressionRule() {
- return getSequenceOperationExpressionAccess().getRule();
- }
-
- // SequenceReductionExpression:
- // "->" "reduce" isOrdered?="ordered"? behavior=QualifiedNameWithBinding suffix=SuffixExpression?;
- public AlfGrammarAccess.SequenceReductionExpressionElements getSequenceReductionExpressionAccess() {
- return gaAlf.getSequenceReductionExpressionAccess();
- }
-
- public ParserRule getSequenceReductionExpressionRule() {
- return getSequenceReductionExpressionAccess().getRule();
- }
-
- // SequenceExpansionExpression:
- // SelectOrRejectOperation | CollectOrIterateOperation | ForAllOrExistsOrOneOperation | IsUniqueOperation;
- public AlfGrammarAccess.SequenceExpansionExpressionElements getSequenceExpansionExpressionAccess() {
- return gaAlf.getSequenceExpansionExpressionAccess();
- }
-
- public ParserRule getSequenceExpansionExpressionRule() {
- return getSequenceExpansionExpressionAccess().getRule();
- }
-
- // SelectOrRejectOperation:
- // "->" op=SelectOrRejectOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- public AlfGrammarAccess.SelectOrRejectOperationElements getSelectOrRejectOperationAccess() {
- return gaAlf.getSelectOrRejectOperationAccess();
- }
-
- public ParserRule getSelectOrRejectOperationRule() {
- return getSelectOrRejectOperationAccess().getRule();
- }
-
- // enum SelectOrRejectOperator:
- // SELECT="select" | REJECT="reject";
- public AlfGrammarAccess.SelectOrRejectOperatorElements getSelectOrRejectOperatorAccess() {
- return gaAlf.getSelectOrRejectOperatorAccess();
- }
-
- public EnumRule getSelectOrRejectOperatorRule() {
- return getSelectOrRejectOperatorAccess().getRule();
- }
-
- // CollectOrIterateOperation:
- // "->" op=CollectOrIterateOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- public AlfGrammarAccess.CollectOrIterateOperationElements getCollectOrIterateOperationAccess() {
- return gaAlf.getCollectOrIterateOperationAccess();
- }
-
- public ParserRule getCollectOrIterateOperationRule() {
- return getCollectOrIterateOperationAccess().getRule();
- }
-
- // enum CollectOrIterateOperator:
- // COLLECT="collect" | ITERATE="iterate";
- public AlfGrammarAccess.CollectOrIterateOperatorElements getCollectOrIterateOperatorAccess() {
- return gaAlf.getCollectOrIterateOperatorAccess();
- }
-
- public EnumRule getCollectOrIterateOperatorRule() {
- return getCollectOrIterateOperatorAccess().getRule();
- }
-
- // ForAllOrExistsOrOneOperation:
- // "->" op=ForAllOrExistsOrOneOperator name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- public AlfGrammarAccess.ForAllOrExistsOrOneOperationElements getForAllOrExistsOrOneOperationAccess() {
- return gaAlf.getForAllOrExistsOrOneOperationAccess();
- }
-
- public ParserRule getForAllOrExistsOrOneOperationRule() {
- return getForAllOrExistsOrOneOperationAccess().getRule();
- }
-
- // enum ForAllOrExistsOrOneOperator:
- // FORALL="forAll" | EXISTS="exists" | ONE="one";
- public AlfGrammarAccess.ForAllOrExistsOrOneOperatorElements getForAllOrExistsOrOneOperatorAccess() {
- return gaAlf.getForAllOrExistsOrOneOperatorAccess();
- }
-
- public EnumRule getForAllOrExistsOrOneOperatorRule() {
- return getForAllOrExistsOrOneOperatorAccess().getRule();
- }
-
- // IsUniqueOperation:
- // "->" "isUnique" name=ID "(" expr=Expression ")" suffix=SuffixExpression?;
- public AlfGrammarAccess.IsUniqueOperationElements getIsUniqueOperationAccess() {
- return gaAlf.getIsUniqueOperationAccess();
- }
-
- public ParserRule getIsUniqueOperationRule() {
- return getIsUniqueOperationAccess().getRule();
- }
-
- // ValueSpecification:
- // NameExpression | LITERAL | ThisExpression | SuperInvocationExpression | InstanceCreationExpression |
- // ParenthesizedExpression | NullExpression;
- public AlfGrammarAccess.ValueSpecificationElements getValueSpecificationAccess() {
- return gaAlf.getValueSpecificationAccess();
- }
-
- public ParserRule getValueSpecificationRule() {
- return getValueSpecificationAccess().getRule();
- }
-
- // NonLiteralValueSpecification:
- // NameExpression | ParenthesizedExpression | InstanceCreationExpression | ThisExpression | SuperInvocationExpression;
- public AlfGrammarAccess.NonLiteralValueSpecificationElements getNonLiteralValueSpecificationAccess() {
- return gaAlf.getNonLiteralValueSpecificationAccess();
- }
-
- public ParserRule getNonLiteralValueSpecificationRule() {
- return getNonLiteralValueSpecificationAccess().getRule();
- }
-
- // ParenthesizedExpression:
- // "(" expOrTypeCast=Expression ")" (casted=NonLiteralValueSpecification | suffix=SuffixExpression)?;
- public AlfGrammarAccess.ParenthesizedExpressionElements getParenthesizedExpressionAccess() {
- return gaAlf.getParenthesizedExpressionAccess();
- }
-
- public ParserRule getParenthesizedExpressionRule() {
- return getParenthesizedExpressionAccess().getRule();
- }
-
- // NullExpression:
- // {NullExpression} "null";
- public AlfGrammarAccess.NullExpressionElements getNullExpressionAccess() {
- return gaAlf.getNullExpressionAccess();
- }
-
- public ParserRule getNullExpressionRule() {
- return getNullExpressionAccess().getRule();
- }
-
- // ThisExpression:
- // {ThisExpression} "this" suffix=SuffixExpression?;
- public AlfGrammarAccess.ThisExpressionElements getThisExpressionAccess() {
- return gaAlf.getThisExpressionAccess();
- }
-
- public ParserRule getThisExpressionRule() {
- return getThisExpressionAccess().getRule();
- }
-
- // SuperInvocationExpression: //{SuperInvocationExpression} 'super' ('.' qualifiedNameRoot = ID '::' qualifiedNameRemaining = NameExpression)? //(suffix = SuffixExpression) ?
- // "super" ("." className=ID "::" operationCallWithoutDot=OperationCallExpressionWithoutDot |
- // operationCall=OperationCallExpression);
- public AlfGrammarAccess.SuperInvocationExpressionElements getSuperInvocationExpressionAccess() {
- return gaAlf.getSuperInvocationExpressionAccess();
- }
-
- public ParserRule getSuperInvocationExpressionRule() {
- return getSuperInvocationExpressionAccess().getRule();
- }
-
- // InstanceCreationExpression:
- // "new" constructor=QualifiedNameWithBinding (tuple=Tuple |
- // sequenceConstuctionCompletion=SequenceConstructionCompletion) suffix=SuffixExpression?;
- public AlfGrammarAccess.InstanceCreationExpressionElements getInstanceCreationExpressionAccess() {
- return gaAlf.getInstanceCreationExpressionAccess();
- }
-
- public ParserRule getInstanceCreationExpressionRule() {
- return getInstanceCreationExpressionAccess().getRule();
- }
-
- // SequenceConstructionOrAccessCompletion:
- // multiplicityIndicator?="[" (accessCompletion=AccessCompletion |
- // sequenceCompletion=PartialSequenceConstructionCompletion) | expression=SequenceConstructionExpression;
- public AlfGrammarAccess.SequenceConstructionOrAccessCompletionElements getSequenceConstructionOrAccessCompletionAccess() {
- return gaAlf.getSequenceConstructionOrAccessCompletionAccess();
- }
-
- public ParserRule getSequenceConstructionOrAccessCompletionRule() {
- return getSequenceConstructionOrAccessCompletionAccess().getRule();
- }
-
- // AccessCompletion:
- // accessIndex=Expression "]";
- public AlfGrammarAccess.AccessCompletionElements getAccessCompletionAccess() {
- return gaAlf.getAccessCompletionAccess();
- }
-
- public ParserRule getAccessCompletionRule() {
- return getAccessCompletionAccess().getRule();
- }
-
- // PartialSequenceConstructionCompletion:
- // "]" expression=SequenceConstructionExpression;
- public AlfGrammarAccess.PartialSequenceConstructionCompletionElements getPartialSequenceConstructionCompletionAccess() {
- return gaAlf.getPartialSequenceConstructionCompletionAccess();
- }
-
- public ParserRule getPartialSequenceConstructionCompletionRule() {
- return getPartialSequenceConstructionCompletionAccess().getRule();
- }
-
- // SequenceConstructionCompletion:
- // (multiplicityIndicator?="[" "]")? expression=SequenceConstructionExpression;
- public AlfGrammarAccess.SequenceConstructionCompletionElements getSequenceConstructionCompletionAccess() {
- return gaAlf.getSequenceConstructionCompletionAccess();
- }
-
- public ParserRule getSequenceConstructionCompletionRule() {
- return getSequenceConstructionCompletionAccess().getRule();
- }
-
- // SequenceConstructionExpression:
- // "{" sequenceElement+=SequenceElement (("," sequenceElement+=SequenceElement)* | ".." rangeUpper=Expression) "}";
- public AlfGrammarAccess.SequenceConstructionExpressionElements getSequenceConstructionExpressionAccess() {
- return gaAlf.getSequenceConstructionExpressionAccess();
- }
-
- public ParserRule getSequenceConstructionExpressionRule() {
- return getSequenceConstructionExpressionAccess().getRule();
- }
-
- // SequenceElement:
- // Expression | SequenceConstructionExpression;
- public AlfGrammarAccess.SequenceElementElements getSequenceElementAccess() {
- return gaAlf.getSequenceElementAccess();
- }
-
- public ParserRule getSequenceElementRule() {
- return getSequenceElementAccess().getRule();
- }
-
- // ClassExtentExpression:
- // {ClassExtentExpression} "." "allInstances" "(" ")";
- public AlfGrammarAccess.ClassExtentExpressionElements getClassExtentExpressionAccess() {
- return gaAlf.getClassExtentExpressionAccess();
- }
-
- public ParserRule getClassExtentExpressionRule() {
- return getClassExtentExpressionAccess().getRule();
- }
-
- // / *****************
- // * Statements
- // **************** / Block:
- // "{" {Block} sequence=StatementSequence? "}";
- public AlfGrammarAccess.BlockElements getBlockAccess() {
- return gaAlf.getBlockAccess();
- }
-
- public ParserRule getBlockRule() {
- return getBlockAccess().getRule();
- }
-
- // StatementSequence:
- // statements+=DocumentedStatement+;
- public AlfGrammarAccess.StatementSequenceElements getStatementSequenceAccess() {
- return gaAlf.getStatementSequenceAccess();
- }
-
- public ParserRule getStatementSequenceRule() {
- return getStatementSequenceAccess().getRule();
- }
-
- // DocumentedStatement:
- // comment=(ML_COMMENT | SL_COMMENT)? statement=Statement;
- public AlfGrammarAccess.DocumentedStatementElements getDocumentedStatementAccess() {
- return gaAlf.getDocumentedStatementAccess();
- }
-
- public ParserRule getDocumentedStatementRule() {
- return getDocumentedStatementAccess().getRule();
- }
-
- // InlineStatement:
- // "/ *@" "inline" "(" langageName=ID ")" body=STRING "* /";
- public AlfGrammarAccess.InlineStatementElements getInlineStatementAccess() {
- return gaAlf.getInlineStatementAccess();
- }
-
- public ParserRule getInlineStatementRule() {
- return getInlineStatementAccess().getRule();
- }
-
- // AnnotatedStatement:
- // "//@" annotation= //block = Block
- // Annotation statement=Statement;
- public AlfGrammarAccess.AnnotatedStatementElements getAnnotatedStatementAccess() {
- return gaAlf.getAnnotatedStatementAccess();
- }
-
- public ParserRule getAnnotatedStatementRule() {
- return getAnnotatedStatementAccess().getRule();
- }
-
- // Statement:
- // AnnotatedStatement | InlineStatement | BlockStatement | EmptyStatement | LocalNameDeclarationStatement | IfStatement |
- // SwitchStatement | WhileStatement | DoStatement | ForStatement | BreakStatement | ReturnStatement | AcceptStatement |
- // ClassifyStatement | InvocationOrAssignementOrDeclarationStatement | SuperInvocationStatement | ThisInvocationStatement
- // | InstanceCreationInvocationStatement;
- public AlfGrammarAccess.StatementElements getStatementAccess() {
- return gaAlf.getStatementAccess();
- }
-
- public ParserRule getStatementRule() {
- return getStatementAccess().getRule();
- }
-
- // Annotation:
- // kind=AnnotationKind ("(" args+=ID ("," args+=ID)* ")")?;
- public AlfGrammarAccess.AnnotationElements getAnnotationAccess() {
- return gaAlf.getAnnotationAccess();
- }
-
- public ParserRule getAnnotationRule() {
- return getAnnotationAccess().getRule();
- }
-
- // enum AnnotationKind:
- // ISOLATED="isolated" | DETERMINED="determined" | ASSURED="assured" | PARALLEL="parallel";
- public AlfGrammarAccess.AnnotationKindElements getAnnotationKindAccess() {
- return gaAlf.getAnnotationKindAccess();
- }
-
- public EnumRule getAnnotationKindRule() {
- return getAnnotationKindAccess().getRule();
- }
-
- // BlockStatement:
- // block=Block;
- public AlfGrammarAccess.BlockStatementElements getBlockStatementAccess() {
- return gaAlf.getBlockStatementAccess();
- }
-
- public ParserRule getBlockStatementRule() {
- return getBlockStatementAccess().getRule();
- }
-
- // EmptyStatement:
- // {EmptyStatement} ";";
- public AlfGrammarAccess.EmptyStatementElements getEmptyStatementAccess() {
- return gaAlf.getEmptyStatementAccess();
- }
-
- public ParserRule getEmptyStatementRule() {
- return getEmptyStatementAccess().getRule();
- }
-
- // LocalNameDeclarationStatement:
- // "let" varName=ID ":" type=QualifiedNameWithBinding (multiplicityIndicator?="[" "]")? //'=' init = Expression ';'
- // "=" init=SequenceElement ";";
- public AlfGrammarAccess.LocalNameDeclarationStatementElements getLocalNameDeclarationStatementAccess() {
- return gaAlf.getLocalNameDeclarationStatementAccess();
- }
-
- public ParserRule getLocalNameDeclarationStatementRule() {
- return getLocalNameDeclarationStatementAccess().getRule();
- }
-
- // IfStatement:
- // "if" sequentialClausses=SequentialClauses finalClause=FinalClause?;
- public AlfGrammarAccess.IfStatementElements getIfStatementAccess() {
- return gaAlf.getIfStatementAccess();
- }
-
- public ParserRule getIfStatementRule() {
- return getIfStatementAccess().getRule();
- }
-
- // SequentialClauses:
- // conccurentClauses+=ConcurrentClauses ("else" "if" conccurentClauses+=ConcurrentClauses)*;
- public AlfGrammarAccess.SequentialClausesElements getSequentialClausesAccess() {
- return gaAlf.getSequentialClausesAccess();
- }
-
- public ParserRule getSequentialClausesRule() {
- return getSequentialClausesAccess().getRule();
- }
-
- // ConcurrentClauses:
- // nonFinalClause+=NonFinalClause ("or" "if" nonFinalClause+=NonFinalClause)*;
- public AlfGrammarAccess.ConcurrentClausesElements getConcurrentClausesAccess() {
- return gaAlf.getConcurrentClausesAccess();
- }
-
- public ParserRule getConcurrentClausesRule() {
- return getConcurrentClausesAccess().getRule();
- }
-
- // NonFinalClause:
- // "(" condition=Expression ")" block=Block;
- public AlfGrammarAccess.NonFinalClauseElements getNonFinalClauseAccess() {
- return gaAlf.getNonFinalClauseAccess();
- }
-
- public ParserRule getNonFinalClauseRule() {
- return getNonFinalClauseAccess().getRule();
- }
-
- // FinalClause:
- // "else" block=Block;
- public AlfGrammarAccess.FinalClauseElements getFinalClauseAccess() {
- return gaAlf.getFinalClauseAccess();
- }
-
- public ParserRule getFinalClauseRule() {
- return getFinalClauseAccess().getRule();
- }
-
- // SwitchStatement:
- // "switch" "(" expression=Expression ")" "{" switchClause+=SwitchClause* defaultClause=SwitchDefaultClause? "}";
- public AlfGrammarAccess.SwitchStatementElements getSwitchStatementAccess() {
- return gaAlf.getSwitchStatementAccess();
- }
-
- public ParserRule getSwitchStatementRule() {
- return getSwitchStatementAccess().getRule();
- }
-
- // SwitchClause:
- // switchCase+=SwitchCase switchCase+=SwitchCase* statementSequence=NonEmptyStatementSequence;
- public AlfGrammarAccess.SwitchClauseElements getSwitchClauseAccess() {
- return gaAlf.getSwitchClauseAccess();
- }
-
- public ParserRule getSwitchClauseRule() {
- return getSwitchClauseAccess().getRule();
- }
-
- // SwitchCase:
- // "case" expression=Expression ":";
- public AlfGrammarAccess.SwitchCaseElements getSwitchCaseAccess() {
- return gaAlf.getSwitchCaseAccess();
- }
-
- public ParserRule getSwitchCaseRule() {
- return getSwitchCaseAccess().getRule();
- }
-
- // SwitchDefaultClause:
- // "default" ":" statementSequence=NonEmptyStatementSequence;
- public AlfGrammarAccess.SwitchDefaultClauseElements getSwitchDefaultClauseAccess() {
- return gaAlf.getSwitchDefaultClauseAccess();
- }
-
- public ParserRule getSwitchDefaultClauseRule() {
- return getSwitchDefaultClauseAccess().getRule();
- }
-
- // NonEmptyStatementSequence:
- // statement+=DocumentedStatement+;
- public AlfGrammarAccess.NonEmptyStatementSequenceElements getNonEmptyStatementSequenceAccess() {
- return gaAlf.getNonEmptyStatementSequenceAccess();
- }
-
- public ParserRule getNonEmptyStatementSequenceRule() {
- return getNonEmptyStatementSequenceAccess().getRule();
- }
-
- // / * WHILE STATEMENTS * / WhileStatement:
- // "while" "(" condition=Expression ")" block=Block;
- public AlfGrammarAccess.WhileStatementElements getWhileStatementAccess() {
- return gaAlf.getWhileStatementAccess();
- }
-
- public ParserRule getWhileStatementRule() {
- return getWhileStatementAccess().getRule();
- }
-
- // / * DO STATEMENTS * / DoStatement:
- // "do" block=Block "while" "(" condition=Expression ")" ";";
- public AlfGrammarAccess.DoStatementElements getDoStatementAccess() {
- return gaAlf.getDoStatementAccess();
- }
-
- public ParserRule getDoStatementRule() {
- return getDoStatementAccess().getRule();
- }
-
- // / * FOR STATEMENTS * / ForStatement:
- // "for" "(" control=ForControl ")" block=Block;
- public AlfGrammarAccess.ForStatementElements getForStatementAccess() {
- return gaAlf.getForStatementAccess();
- }
-
- public ParserRule getForStatementRule() {
- return getForStatementAccess().getRule();
- }
-
- // ForControl:
- // loopVariableDefinition+=LoopVariableDefinition ("," loopVariableDefinition+=LoopVariableDefinition)*;
- public AlfGrammarAccess.ForControlElements getForControlAccess() {
- return gaAlf.getForControlAccess();
- }
-
- public ParserRule getForControlRule() {
- return getForControlAccess().getRule();
- }
-
- // LoopVariableDefinition:
- // name=ID "in" expression1=Expression (".." expression2=Expression)? | type=QualifiedNameWithBinding name=ID ":"
- // expression=Expression;
- public AlfGrammarAccess.LoopVariableDefinitionElements getLoopVariableDefinitionAccess() {
- return gaAlf.getLoopVariableDefinitionAccess();
- }
-
- public ParserRule getLoopVariableDefinitionRule() {
- return getLoopVariableDefinitionAccess().getRule();
- }
-
- // / * BREAK STATEMENTS * / BreakStatement:
- // {BreakStatement} "break" ";";
- public AlfGrammarAccess.BreakStatementElements getBreakStatementAccess() {
- return gaAlf.getBreakStatementAccess();
- }
-
- public ParserRule getBreakStatementRule() {
- return getBreakStatementAccess().getRule();
- }
-
- // / * RETURN STATEMENTS * / ReturnStatement:
- // "return" expression=Expression ";";
- public AlfGrammarAccess.ReturnStatementElements getReturnStatementAccess() {
- return gaAlf.getReturnStatementAccess();
- }
-
- public ParserRule getReturnStatementRule() {
- return getReturnStatementAccess().getRule();
- }
-
- // / * ACCEPT STATEMENTS * / AcceptStatement:
- // clause=AcceptClause (simpleAccept=SimpleAcceptStatementCompletion | compoundAccept=CompoundAcceptStatementCompletion);
- public AlfGrammarAccess.AcceptStatementElements getAcceptStatementAccess() {
- return gaAlf.getAcceptStatementAccess();
- }
-
- public ParserRule getAcceptStatementRule() {
- return getAcceptStatementAccess().getRule();
- }
-
- // SimpleAcceptStatementCompletion:
- // {SimpleAcceptStatementCompletion} ";";
- public AlfGrammarAccess.SimpleAcceptStatementCompletionElements getSimpleAcceptStatementCompletionAccess() {
- return gaAlf.getSimpleAcceptStatementCompletionAccess();
- }
-
- public ParserRule getSimpleAcceptStatementCompletionRule() {
- return getSimpleAcceptStatementCompletionAccess().getRule();
- }
-
- // CompoundAcceptStatementCompletion:
- // block=Block ("or" acceptBlock+=AcceptBlock)*;
- public AlfGrammarAccess.CompoundAcceptStatementCompletionElements getCompoundAcceptStatementCompletionAccess() {
- return gaAlf.getCompoundAcceptStatementCompletionAccess();
- }
-
- public ParserRule getCompoundAcceptStatementCompletionRule() {
- return getCompoundAcceptStatementCompletionAccess().getRule();
- }
-
- // AcceptBlock:
- // clause=AcceptClause block=Block;
- public AlfGrammarAccess.AcceptBlockElements getAcceptBlockAccess() {
- return gaAlf.getAcceptBlockAccess();
- }
-
- public ParserRule getAcceptBlockRule() {
- return getAcceptBlockAccess().getRule();
- }
-
- // AcceptClause:
- // "accept" "(" (name=ID ":")? qualifiedNameList=QualifiedNameList ")";
- public AlfGrammarAccess.AcceptClauseElements getAcceptClauseAccess() {
- return gaAlf.getAcceptClauseAccess();
- }
-
- public ParserRule getAcceptClauseRule() {
- return getAcceptClauseAccess().getRule();
- }
-
- // / * CLASSIFY STATEMENTS * / ClassifyStatement:
- // "classify" expression=Expression clause=ClassificationClause ";";
- public AlfGrammarAccess.ClassifyStatementElements getClassifyStatementAccess() {
- return gaAlf.getClassifyStatementAccess();
- }
-
- public ParserRule getClassifyStatementRule() {
- return getClassifyStatementAccess().getRule();
- }
-
- // ClassificationClause:
- // classifyFromClause=ClassificationFromClause classifyToClause=ClassificationToClause? |
- // reclassyAllClause=ReclassifyAllClause? classifyToClause=ClassificationToClause;
- public AlfGrammarAccess.ClassificationClauseElements getClassificationClauseAccess() {
- return gaAlf.getClassificationClauseAccess();
- }
-
- public ParserRule getClassificationClauseRule() {
- return getClassificationClauseAccess().getRule();
- }
-
- // ClassificationFromClause:
- // "from" qualifiedNameList=QualifiedNameList;
- public AlfGrammarAccess.ClassificationFromClauseElements getClassificationFromClauseAccess() {
- return gaAlf.getClassificationFromClauseAccess();
- }
-
- public ParserRule getClassificationFromClauseRule() {
- return getClassificationFromClauseAccess().getRule();
- }
-
- // ClassificationToClause:
- // "to" qualifiedNameList=QualifiedNameList;
- public AlfGrammarAccess.ClassificationToClauseElements getClassificationToClauseAccess() {
- return gaAlf.getClassificationToClauseAccess();
- }
-
- public ParserRule getClassificationToClauseRule() {
- return getClassificationToClauseAccess().getRule();
- }
-
- // ReclassifyAllClause:
- // {ReclassifyAllClause} "from" "*";
- public AlfGrammarAccess.ReclassifyAllClauseElements getReclassifyAllClauseAccess() {
- return gaAlf.getReclassifyAllClauseAccess();
- }
-
- public ParserRule getReclassifyAllClauseRule() {
- return getReclassifyAllClauseAccess().getRule();
- }
-
- // QualifiedNameList:
- // qualifiedName+=QualifiedNameWithBinding ("," qualifiedName+=QualifiedNameWithBinding)*;
- public AlfGrammarAccess.QualifiedNameListElements getQualifiedNameListAccess() {
- return gaAlf.getQualifiedNameListAccess();
- }
-
- public ParserRule getQualifiedNameListRule() {
- return getQualifiedNameListAccess().getRule();
- }
-
- // InvocationOrAssignementOrDeclarationStatement:
- // typePart_OR_assignedPart_OR_invocationPart=NameExpression (variableDeclarationCompletion=VariableDeclarationCompletion //(suffixCompletion = SuffixCompletion)?
- // | assignmentCompletion=AssignmentCompletion)? ";";
- public AlfGrammarAccess.InvocationOrAssignementOrDeclarationStatementElements getInvocationOrAssignementOrDeclarationStatementAccess() {
- return gaAlf.getInvocationOrAssignementOrDeclarationStatementAccess();
- }
-
- public ParserRule getInvocationOrAssignementOrDeclarationStatementRule() {
- return getInvocationOrAssignementOrDeclarationStatementAccess().getRule();
- }
-
- // SuperInvocationStatement:
- // _super=SuperInvocationExpression //(suffix = SuffixCompletion)? ';'
- // ";";
- public AlfGrammarAccess.SuperInvocationStatementElements getSuperInvocationStatementAccess() {
- return gaAlf.getSuperInvocationStatementAccess();
- }
-
- public ParserRule getSuperInvocationStatementRule() {
- return getSuperInvocationStatementAccess().getRule();
- }
-
- // ThisInvocationStatement: //_this = ThisExpression suffix = SuffixCompletion (assignmentCompletion = AssignmentCompletion)? ';'
- // _this=ThisExpression assignmentCompletion=AssignmentCompletion? ";";
- public AlfGrammarAccess.ThisInvocationStatementElements getThisInvocationStatementAccess() {
- return gaAlf.getThisInvocationStatementAccess();
- }
-
- public ParserRule getThisInvocationStatementRule() {
- return getThisInvocationStatementAccess().getRule();
- }
-
- // InstanceCreationInvocationStatement:
- // _new=InstanceCreationExpression //(suffix = SuffixCompletion)? ';'
- // ";";
- public AlfGrammarAccess.InstanceCreationInvocationStatementElements getInstanceCreationInvocationStatementAccess() {
- return gaAlf.getInstanceCreationInvocationStatementAccess();
- }
-
- public ParserRule getInstanceCreationInvocationStatementRule() {
- return getInstanceCreationInvocationStatementAccess().getRule();
- }
-
- // //SuffixCompletion :
- // // suffix = SuffixExpression
- // //;
- // VariableDeclarationCompletion:
- // (multiplicityIndicator?="[" "]")? variableName=ID initValue=AssignmentCompletion;
- public AlfGrammarAccess.VariableDeclarationCompletionElements getVariableDeclarationCompletionAccess() {
- return gaAlf.getVariableDeclarationCompletionAccess();
- }
-
- public ParserRule getVariableDeclarationCompletionRule() {
- return getVariableDeclarationCompletionAccess().getRule();
- }
-
- // //op=('=' | '+=' | '-=' | '*=' | '%=' | '/=' | '&=' |
- // // '|=' | '^=' | '<<=' | '>>=' | '>>>=') rightHandSide = Expression
- // AssignmentCompletion:
- // op=AssignmentOperator rightHandSide=SequenceElement;
- public AlfGrammarAccess.AssignmentCompletionElements getAssignmentCompletionAccess() {
- return gaAlf.getAssignmentCompletionAccess();
- }
-
- public ParserRule getAssignmentCompletionRule() {
- return getAssignmentCompletionAccess().getRule();
- }
-
- // enum AssignmentOperator:
- // ASSIGN="=" | PLUSASSIGN="+=" | MINUSASSIGN="-=" | MULTASSIGN="*=" | MODASSIGN="%=" | DIVASSIGN="/=" | ANDASSIGN="&=" |
- // ORASSIGN="|=" | XORASSIGN="^=" | LSHIFTASSIGN="<<=" | RSHIFTASSIGN=">>=" | URSHIFTASSIGN=">>>=";
- public AlfGrammarAccess.AssignmentOperatorElements getAssignmentOperatorAccess() {
- return gaAlf.getAssignmentOperatorAccess();
- }
-
- public EnumRule getAssignmentOperatorRule() {
- return getAssignmentOperatorAccess().getRule();
- }
-
- // / ****************
- // * Terminals
- // ***************** / //terminal DOUBLE_COLON : '::' ;
- // terminal ID:
- // ("a".."z" | "A".."Z" | "_") ("a".."z" | "A".."Z" | "_" | "0".."9")* | "\'"->"\'";
- public TerminalRule getIDRule() {
- return gaAlf.getIDRule();
- }
-
- // terminal STRING:
- // "\"" ("\\" ("b" | "t" | "n" | "f" | "r" | "\"" | "\'" | "\\") | !("\\" | "\""))* "\"";
- public TerminalRule getSTRINGRule() {
- return gaAlf.getSTRINGRule();
- }
-
- // terminal ML_COMMENT:
- // "/ *" !"@"->"* /";
- public TerminalRule getML_COMMENTRule() {
- return gaAlf.getML_COMMENTRule();
- }
-
- // //terminal IDENTIFIER : ID ;
- // //terminal IDENTIFIER : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')* | ('\'' -> '\'') ;
- // //terminal DOCUMENTATION_COMMENT : '/ *' -> '* /' ;
- // //terminal ML_COMMENT : '/°' -> '°/';
- // //terminal SL_COMMENT : '°°' !('\n'|'\r')* ('\r'? '\n')?;
- // //terminal WS : (' '|'\t'|'\r'|'\n')+; terminal SL_COMMENT:
- // "//" !("\n" | "\r" | "@")* ("\r"? "\n")?;
- public TerminalRule getSL_COMMENTRule() {
- return gaAlf.getSL_COMMENTRule();
- }
-
- // terminal INT returns ecore::EInt:
- // "0".."9"+;
- public TerminalRule getINTRule() {
- return gaAlf.getINTRule();
- }
-
- // terminal WS:
- // (" " | "\t" | "\r" | "\n")+;
- public TerminalRule getWSRule() {
- return gaAlf.getWSRule();
- }
-
- // terminal ANY_OTHER:
- // .;
- public TerminalRule getANY_OTHERRule() {
- return gaAlf.getANY_OTHERRule();
- }
-}
diff --git a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/validation/AbstractOperationJavaValidator.java b/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/validation/AbstractOperationJavaValidator.java
deleted file mode 100644
index da04b47c81e..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.operation.editor.xtext/src-gen/org/eclipse/papyrus/operation/editor/xtext/validation/AbstractOperationJavaValidator.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package org.eclipse.papyrus.operation.editor.xtext.validation;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.xtext.validation.ComposedChecks;
-
-@ComposedChecks(validators = { org.eclipse.xtext.validation.ImportUriValidator.class, org.eclipse.papyrus.alf.validation.AlfJavaValidator.class })
-public class AbstractOperationJavaValidator extends AlfJavaValidator {
-
- @Override
- protected List<EPackage> getEPackages() {
- List<EPackage> result = new ArrayList<EPackage>();
- result.add(org.eclipse.papyrus.operation.editor.xtext.operation.OperationPackage.eINSTANCE);
- return result;
- }
-
-}

Back to the top