| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| */ |
| package org.eclipse.osbp.xtext.action.serializer; |
| |
| import com.google.inject.Inject; |
| import com.google.inject.Provider; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.osbp.dsl.semantic.common.types.LImport; |
| import org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage; |
| import org.eclipse.osbp.xtext.action.ActionButton; |
| import org.eclipse.osbp.xtext.action.ActionChart; |
| import org.eclipse.osbp.xtext.action.ActionDSLPackage; |
| import org.eclipse.osbp.xtext.action.ActionDatainterchange; |
| import org.eclipse.osbp.xtext.action.ActionDialog; |
| import org.eclipse.osbp.xtext.action.ActionGeneric; |
| import org.eclipse.osbp.xtext.action.ActionModel; |
| import org.eclipse.osbp.xtext.action.ActionPackage; |
| import org.eclipse.osbp.xtext.action.ActionParameter; |
| import org.eclipse.osbp.xtext.action.ActionReport; |
| import org.eclipse.osbp.xtext.action.ActionSelectWorkload; |
| import org.eclipse.osbp.xtext.action.ActionTask; |
| import org.eclipse.osbp.xtext.action.ActionToolbar; |
| import org.eclipse.osbp.xtext.action.ActionWorkflow; |
| import org.eclipse.osbp.xtext.action.services.ActionDSLGrammarAccess; |
| import org.eclipse.xtext.common.types.JvmFormalParameter; |
| import org.eclipse.xtext.common.types.JvmGenericArrayTypeReference; |
| import org.eclipse.xtext.common.types.JvmInnerTypeReference; |
| import org.eclipse.xtext.common.types.JvmLowerBound; |
| import org.eclipse.xtext.common.types.JvmParameterizedTypeReference; |
| import org.eclipse.xtext.common.types.JvmTypeParameter; |
| import org.eclipse.xtext.common.types.JvmUpperBound; |
| import org.eclipse.xtext.common.types.JvmWildcardTypeReference; |
| import org.eclipse.xtext.common.types.TypesPackage; |
| import org.eclipse.xtext.serializer.acceptor.ISemanticSequenceAcceptor; |
| import org.eclipse.xtext.serializer.acceptor.SequenceFeeder; |
| import org.eclipse.xtext.serializer.diagnostic.ISemanticSequencerDiagnosticProvider; |
| import org.eclipse.xtext.serializer.diagnostic.ISerializationDiagnostic.Acceptor; |
| import org.eclipse.xtext.serializer.sequencer.GenericSequencer; |
| import org.eclipse.xtext.serializer.sequencer.ISemanticNodeProvider.INodesForEObjectProvider; |
| import org.eclipse.xtext.serializer.sequencer.ISemanticSequencer; |
| import org.eclipse.xtext.serializer.sequencer.ITransientValueService; |
| import org.eclipse.xtext.serializer.sequencer.ITransientValueService.ValueTransient; |
| import org.eclipse.xtext.xbase.XAssignment; |
| import org.eclipse.xtext.xbase.XBasicForLoopExpression; |
| import org.eclipse.xtext.xbase.XBinaryOperation; |
| import org.eclipse.xtext.xbase.XBlockExpression; |
| import org.eclipse.xtext.xbase.XBooleanLiteral; |
| import org.eclipse.xtext.xbase.XCasePart; |
| import org.eclipse.xtext.xbase.XCastedExpression; |
| import org.eclipse.xtext.xbase.XCatchClause; |
| import org.eclipse.xtext.xbase.XClosure; |
| import org.eclipse.xtext.xbase.XConstructorCall; |
| import org.eclipse.xtext.xbase.XDoWhileExpression; |
| import org.eclipse.xtext.xbase.XFeatureCall; |
| import org.eclipse.xtext.xbase.XForLoopExpression; |
| import org.eclipse.xtext.xbase.XIfExpression; |
| import org.eclipse.xtext.xbase.XInstanceOfExpression; |
| import org.eclipse.xtext.xbase.XListLiteral; |
| import org.eclipse.xtext.xbase.XMemberFeatureCall; |
| import org.eclipse.xtext.xbase.XNullLiteral; |
| import org.eclipse.xtext.xbase.XNumberLiteral; |
| import org.eclipse.xtext.xbase.XPostfixOperation; |
| import org.eclipse.xtext.xbase.XReturnExpression; |
| import org.eclipse.xtext.xbase.XSetLiteral; |
| import org.eclipse.xtext.xbase.XStringLiteral; |
| import org.eclipse.xtext.xbase.XSwitchExpression; |
| import org.eclipse.xtext.xbase.XSynchronizedExpression; |
| import org.eclipse.xtext.xbase.XThrowExpression; |
| import org.eclipse.xtext.xbase.XTryCatchFinallyExpression; |
| import org.eclipse.xtext.xbase.XTypeLiteral; |
| import org.eclipse.xtext.xbase.XUnaryOperation; |
| import org.eclipse.xtext.xbase.XVariableDeclaration; |
| import org.eclipse.xtext.xbase.XWhileExpression; |
| import org.eclipse.xtext.xbase.XbasePackage; |
| import org.eclipse.xtext.xbase.annotations.serializer.XbaseWithAnnotationsSemanticSequencer; |
| import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotation; |
| import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotationElementValuePair; |
| import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotationsPackage; |
| import org.eclipse.xtext.xtype.XFunctionTypeRef; |
| import org.eclipse.xtext.xtype.XImportDeclaration; |
| import org.eclipse.xtext.xtype.XImportSection; |
| import org.eclipse.xtext.xtype.XtypePackage; |
| |
| @SuppressWarnings("all") |
| public class ActionDSLSemanticSequencer extends XbaseWithAnnotationsSemanticSequencer { |
| |
| @Inject |
| private ActionDSLGrammarAccess grammarAccess; |
| |
| public void createSequence(EObject context, EObject semanticObject) { |
| if(semanticObject.eClass().getEPackage() == ActionDSLPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case ActionDSLPackage.ACTION_BUTTON: |
| if(context == grammarAccess.getActionButtonRule()) { |
| sequence_ActionButton(context, (ActionButton) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_CHART: |
| if(context == grammarAccess.getActionChartRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionChart(context, (ActionChart) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_DATAINTERCHANGE: |
| if(context == grammarAccess.getActionDatainterchangeRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionDatainterchange(context, (ActionDatainterchange) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_DIALOG: |
| if(context == grammarAccess.getActionDialogRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionDialog(context, (ActionDialog) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_GENERIC: |
| if(context == grammarAccess.getActionGenericRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionGeneric(context, (ActionGeneric) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_MODEL: |
| if(context == grammarAccess.getActionModelRule()) { |
| sequence_ActionModel(context, (ActionModel) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_PACKAGE: |
| if(context == grammarAccess.getActionPackageRule()) { |
| sequence_ActionPackage(context, (ActionPackage) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_PARAMETER: |
| if(context == grammarAccess.getActionParameterRule()) { |
| sequence_ActionParameter(context, (ActionParameter) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_REPORT: |
| if(context == grammarAccess.getActionReportRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionReport(context, (ActionReport) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_SELECT_WORKLOAD: |
| if(context == grammarAccess.getActionSelectWorkloadRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionSelectWorkload(context, (ActionSelectWorkload) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_TASK: |
| if(context == grammarAccess.getActionTaskRule() || |
| context == grammarAccess.getActionTypeRule()) { |
| sequence_ActionTask(context, (ActionTask) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_TOOLBAR: |
| if(context == grammarAccess.getActionToolbarRule()) { |
| sequence_ActionToolbar(context, (ActionToolbar) semanticObject); |
| return; |
| } |
| else break; |
| case ActionDSLPackage.ACTION_WORKFLOW: |
| if(context == grammarAccess.getActionTypeRule() || |
| context == grammarAccess.getActionWorkflowRule()) { |
| sequence_ActionWorkflow(context, (ActionWorkflow) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == OSBPTypesPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case OSBPTypesPackage.LIMPORT: |
| if(context == grammarAccess.getActionImportRule()) { |
| sequence_ActionImport(context, (LImport) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == TypesPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case TypesPackage.JVM_FORMAL_PARAMETER: |
| if(context == grammarAccess.getFullJvmFormalParameterRule()) { |
| sequence_FullJvmFormalParameter(context, (JvmFormalParameter) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getJvmFormalParameterRule()) { |
| sequence_JvmFormalParameter(context, (JvmFormalParameter) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE: |
| if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || |
| context == grammarAccess.getJvmTypeReferenceRule() || |
| context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { |
| sequence_JvmTypeReference(context, (JvmGenericArrayTypeReference) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_INNER_TYPE_REFERENCE: |
| if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || |
| context == grammarAccess.getJvmParameterizedTypeReferenceRule() || |
| context == grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0() || |
| context == grammarAccess.getJvmTypeReferenceRule() || |
| context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { |
| sequence_JvmParameterizedTypeReference(context, (JvmInnerTypeReference) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_LOWER_BOUND: |
| if(context == grammarAccess.getJvmLowerBoundAndedRule()) { |
| sequence_JvmLowerBoundAnded(context, (JvmLowerBound) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getJvmLowerBoundRule()) { |
| sequence_JvmLowerBound(context, (JvmLowerBound) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_PARAMETERIZED_TYPE_REFERENCE: |
| if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || |
| context == grammarAccess.getJvmParameterizedTypeReferenceRule() || |
| context == grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0() || |
| context == grammarAccess.getJvmTypeReferenceRule() || |
| context == grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0()) { |
| sequence_JvmParameterizedTypeReference(context, (JvmParameterizedTypeReference) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_TYPE_PARAMETER: |
| if(context == grammarAccess.getJvmTypeParameterRule()) { |
| sequence_JvmTypeParameter(context, (JvmTypeParameter) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_UPPER_BOUND: |
| if(context == grammarAccess.getJvmUpperBoundAndedRule()) { |
| sequence_JvmUpperBoundAnded(context, (JvmUpperBound) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getJvmUpperBoundRule()) { |
| sequence_JvmUpperBound(context, (JvmUpperBound) semanticObject); |
| return; |
| } |
| else break; |
| case TypesPackage.JVM_WILDCARD_TYPE_REFERENCE: |
| if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || |
| context == grammarAccess.getJvmWildcardTypeReferenceRule()) { |
| sequence_JvmWildcardTypeReference(context, (JvmWildcardTypeReference) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == XAnnotationsPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case XAnnotationsPackage.XANNOTATION: |
| if(context == grammarAccess.getXAnnotationRule() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule()) { |
| sequence_XAnnotation(context, (XAnnotation) semanticObject); |
| return; |
| } |
| else break; |
| case XAnnotationsPackage.XANNOTATION_ELEMENT_VALUE_PAIR: |
| if(context == grammarAccess.getXAnnotationElementValuePairRule()) { |
| sequence_XAnnotationElementValuePair(context, (XAnnotationElementValuePair) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == XbasePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case XbasePackage.XASSIGNMENT: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XAssignment_XMemberFeatureCall(context, (XAssignment) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XBASIC_FOR_LOOP_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXBasicForLoopExpressionRule() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XBasicForLoopExpression(context, (XBasicForLoopExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XBINARY_OPERATION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression(context, (XBinaryOperation) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XBLOCK_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXBlockExpressionRule() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XBlockExpression(context, (XBlockExpression) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getXExpressionInClosureRule()) { |
| sequence_XExpressionInClosure(context, (XBlockExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XBOOLEAN_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXBooleanLiteralRule() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XBooleanLiteral(context, (XBooleanLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XCASE_PART: |
| if(context == grammarAccess.getXCasePartRule()) { |
| sequence_XCasePart(context, (XCasePart) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XCASTED_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XCastedExpression(context, (XCastedExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XCATCH_CLAUSE: |
| if(context == grammarAccess.getXCatchClauseRule()) { |
| sequence_XCatchClause(context, (XCatchClause) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XCLOSURE: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXClosureRule() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XClosure(context, (XClosure) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getXShortClosureRule()) { |
| sequence_XShortClosure(context, (XClosure) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XCONSTRUCTOR_CALL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXConstructorCallRule() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XConstructorCall(context, (XConstructorCall) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XDO_WHILE_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXDoWhileExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XDoWhileExpression(context, (XDoWhileExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XFEATURE_CALL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XFeatureCall(context, (XFeatureCall) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XFOR_LOOP_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXForLoopExpressionRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XForLoopExpression(context, (XForLoopExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XIF_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXIfExpressionRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XIfExpression(context, (XIfExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XINSTANCE_OF_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XRelationalExpression(context, (XInstanceOfExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XLIST_LITERAL: |
| if(context == grammarAccess.getXAnnotationElementValueOrCommaListRule()) { |
| sequence_XAnnotationElementValueOrCommaList_XListLiteral(context, (XListLiteral) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getXAnnotationElementValueRule()) { |
| sequence_XAnnotationElementValue_XListLiteral(context, (XListLiteral) semanticObject); |
| return; |
| } |
| else if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXCollectionLiteralRule() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXListLiteralRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XListLiteral(context, (XListLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XMEMBER_FEATURE_CALL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XMemberFeatureCall(context, (XMemberFeatureCall) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XNULL_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXNullLiteralRule() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XNullLiteral(context, (XNullLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XNUMBER_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXNumberLiteralRule() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XNumberLiteral(context, (XNumberLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XPOSTFIX_OPERATION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XPostfixOperation(context, (XPostfixOperation) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XRETURN_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXReturnExpressionRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XReturnExpression(context, (XReturnExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XSET_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXCollectionLiteralRule() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXSetLiteralRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XSetLiteral(context, (XSetLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XSTRING_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXStringLiteralRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XStringLiteral(context, (XStringLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XSWITCH_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXSwitchExpressionRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XSwitchExpression(context, (XSwitchExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XSYNCHRONIZED_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXSynchronizedExpressionRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XSynchronizedExpression(context, (XSynchronizedExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XTHROW_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXThrowExpressionRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XThrowExpression(context, (XThrowExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XTRY_CATCH_FINALLY_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXTryCatchFinallyExpressionRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XTryCatchFinallyExpression(context, (XTryCatchFinallyExpression) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XTYPE_LITERAL: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXLiteralRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXTypeLiteralRule() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XTypeLiteral(context, (XTypeLiteral) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XUNARY_OPERATION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule()) { |
| sequence_XUnaryOperation(context, (XUnaryOperation) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XVARIABLE_DECLARATION: |
| if(context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXVariableDeclarationRule()) { |
| sequence_XVariableDeclaration(context, (XVariableDeclaration) semanticObject); |
| return; |
| } |
| else break; |
| case XbasePackage.XWHILE_EXPRESSION: |
| if(context == grammarAccess.getXAdditiveExpressionRule() || |
| context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAndExpressionRule() || |
| context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXAnnotationElementValueRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListRule() || |
| context == grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0() || |
| context == grammarAccess.getXAnnotationOrExpressionRule() || |
| context == grammarAccess.getXAssignmentRule() || |
| context == grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXCastedExpressionRule() || |
| context == grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0() || |
| context == grammarAccess.getXEqualityExpressionRule() || |
| context == grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXExpressionRule() || |
| context == grammarAccess.getXExpressionOrVarDeclarationRule() || |
| context == grammarAccess.getXMemberFeatureCallRule() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0() || |
| context == grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0() || |
| context == grammarAccess.getXMultiplicativeExpressionRule() || |
| context == grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOrExpressionRule() || |
| context == grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXOtherOperatorExpressionRule() || |
| context == grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() || |
| context == grammarAccess.getXParenthesizedExpressionRule() || |
| context == grammarAccess.getXPostfixOperationRule() || |
| context == grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0() || |
| context == grammarAccess.getXPrimaryExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionRule() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0() || |
| context == grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0() || |
| context == grammarAccess.getXUnaryOperationRule() || |
| context == grammarAccess.getXWhileExpressionRule()) { |
| sequence_XWhileExpression(context, (XWhileExpression) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == XtypePackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case XtypePackage.XFUNCTION_TYPE_REF: |
| if(context == grammarAccess.getJvmArgumentTypeReferenceRule() || |
| context == grammarAccess.getJvmTypeReferenceRule() || |
| context == grammarAccess.getXFunctionTypeRefRule()) { |
| sequence_XFunctionTypeRef(context, (XFunctionTypeRef) semanticObject); |
| return; |
| } |
| else break; |
| case XtypePackage.XIMPORT_DECLARATION: |
| if(context == grammarAccess.getXImportDeclarationRule()) { |
| sequence_XImportDeclaration(context, (XImportDeclaration) semanticObject); |
| return; |
| } |
| else break; |
| case XtypePackage.XIMPORT_SECTION: |
| if(context == grammarAccess.getXImportSectionRule()) { |
| sequence_XImportSection(context, (XImportSection) semanticObject); |
| return; |
| } |
| else break; |
| } |
| if (errorAcceptor != null) errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context)); |
| } |
| |
| /** |
| * Constraint: |
| * ( |
| * name=TRANSLATABLEID |
| * (description?='described by' descriptionValue=TRANSLATABLESTRING)? |
| * iconURI=STRING? |
| * (group=[FunctionLibraryGroup|ID] canexecute=[FunctionLibraryFunction|ID]? executeparameter=[FunctionLibraryFunction|ID]?)? |
| * actionType=ActionType |
| * message=[MessageItem|QualifiedName]? |
| * ) |
| */ |
| protected void sequence_ActionButton(EObject context, ActionButton semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=ChartActionEnum |
| */ |
| protected void sequence_ActionChart(EObject context, ActionChart semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_CHART__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_CHART__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionChartAccess().getActionChartActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (action=DatainterchangeActionEnum dataRef=[DataInterchange|ID]) |
| */ |
| protected void sequence_ActionDatainterchange(EObject context, ActionDatainterchange semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_DATAINTERCHANGE__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_DATAINTERCHANGE__ACTION)); |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_DATAINTERCHANGE__DATA_REF) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_DATAINTERCHANGE__DATA_REF)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionDatainterchangeAccess().getActionDatainterchangeActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.accept(grammarAccess.getActionDatainterchangeAccess().getDataRefDataInterchangeIDTerminalRuleCall_2_0_1(), semanticObject.getDataRef()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=DialogActionEnum |
| */ |
| protected void sequence_ActionDialog(EObject context, ActionDialog semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_DIALOG__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_DIALOG__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionDialogAccess().getActionDialogActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=STRING |
| */ |
| protected void sequence_ActionGeneric(EObject context, ActionGeneric semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_GENERIC__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_GENERIC__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionGenericAccess().getActionSTRINGTerminalRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * importedNamespace=ActionQualifiedNameWithWildCard |
| */ |
| protected void sequence_ActionImport(EObject context, LImport semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, OSBPTypesPackage.Literals.LIMPORT__IMPORTED_NAMESPACE) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, OSBPTypesPackage.Literals.LIMPORT__IMPORTED_NAMESPACE)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionImportAccess().getImportedNamespaceActionQualifiedNameWithWildCardParserRuleCall_1_0(), semanticObject.getImportedNamespace()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * packages+=ActionPackage* |
| */ |
| protected void sequence_ActionModel(EObject context, ActionModel semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (name=QualifiedName (imports+=ActionImport* toolbars+=ActionToolbar*)?) |
| */ |
| protected void sequence_ActionPackage(EObject context, ActionPackage semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * parameter=[FunctionLibraryParameter|ID] |
| */ |
| protected void sequence_ActionParameter(EObject context, ActionParameter semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=ReportActionEnum |
| */ |
| protected void sequence_ActionReport(EObject context, ActionReport semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_REPORT__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_REPORT__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionReportAccess().getActionReportActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=SelectWorkloadActionEnum |
| */ |
| protected void sequence_ActionSelectWorkload(EObject context, ActionSelectWorkload semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_SELECT_WORKLOAD__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_SELECT_WORKLOAD__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionSelectWorkloadAccess().getActionSelectWorkloadActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=TaskActionEnum |
| */ |
| protected void sequence_ActionTask(EObject context, ActionTask semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_TASK__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_TASK__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionTaskAccess().getActionTaskActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (name=ID (description?='described by' descriptionValue=TRANSLATABLESTRING)? actions+=ActionButton*) |
| */ |
| protected void sequence_ActionToolbar(EObject context, ActionToolbar semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * action=WorkflowActionEnum |
| */ |
| protected void sequence_ActionWorkflow(EObject context, ActionWorkflow semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ActionDSLPackage.Literals.ACTION_WORKFLOW__ACTION) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ActionDSLPackage.Literals.ACTION_WORKFLOW__ACTION)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getActionWorkflowAccess().getActionWorkflowActionEnumEnumRuleCall_1_0(), semanticObject.getAction()); |
| feeder.finish(); |
| } |
| } |