| /** |
| * |
| * 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.chart.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.chart.Chart; |
| import org.eclipse.osbp.xtext.chart.ChartAxis; |
| import org.eclipse.osbp.xtext.chart.ChartBar; |
| import org.eclipse.osbp.xtext.chart.ChartBubble; |
| import org.eclipse.osbp.xtext.chart.ChartDSLPackage; |
| import org.eclipse.osbp.xtext.chart.ChartDatamart; |
| import org.eclipse.osbp.xtext.chart.ChartDonut; |
| import org.eclipse.osbp.xtext.chart.ChartGauge; |
| import org.eclipse.osbp.xtext.chart.ChartHighlighter; |
| import org.eclipse.osbp.xtext.chart.ChartLegend; |
| import org.eclipse.osbp.xtext.chart.ChartLine; |
| import org.eclipse.osbp.xtext.chart.ChartModel; |
| import org.eclipse.osbp.xtext.chart.ChartNumberInterval; |
| import org.eclipse.osbp.xtext.chart.ChartPackage; |
| import org.eclipse.osbp.xtext.chart.ChartPie; |
| import org.eclipse.osbp.xtext.chart.ChartSegmentColor; |
| import org.eclipse.osbp.xtext.chart.ChartTree; |
| import org.eclipse.osbp.xtext.chart.services.ChartDSLGrammarAccess; |
| 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 ChartDSLSemanticSequencer extends XbaseWithAnnotationsSemanticSequencer { |
| |
| @Inject |
| private ChartDSLGrammarAccess grammarAccess; |
| |
| public void createSequence(EObject context, EObject semanticObject) { |
| if(semanticObject.eClass().getEPackage() == ChartDSLPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case ChartDSLPackage.CHART: |
| if(context == grammarAccess.getChartRule()) { |
| sequence_Chart(context, (Chart) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_AXIS: |
| if(context == grammarAccess.getChartAxisRule() || |
| context == grammarAccess.getChartElementRule()) { |
| sequence_ChartAxis(context, (ChartAxis) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_BAR: |
| if(context == grammarAccess.getChartBarRule() || |
| context == grammarAccess.getChartOptionRule()) { |
| sequence_ChartBar(context, (ChartBar) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_BUBBLE: |
| if(context == grammarAccess.getChartBubbleRule() || |
| context == grammarAccess.getChartOptionRule()) { |
| sequence_ChartBubble(context, (ChartBubble) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_DATAMART: |
| if(context == grammarAccess.getChartDatamartRule()) { |
| sequence_ChartDatamart(context, (ChartDatamart) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_DONUT: |
| if(context == grammarAccess.getChartDonutRule() || |
| context == grammarAccess.getChartOptionRule()) { |
| sequence_ChartDonut(context, (ChartDonut) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_GAUGE: |
| if(context == grammarAccess.getChartGaugeRule() || |
| context == grammarAccess.getChartOptionRule()) { |
| sequence_ChartGauge(context, (ChartGauge) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_HIGHLIGHTER: |
| if(context == grammarAccess.getChartElementRule() || |
| context == grammarAccess.getChartHighlighterRule()) { |
| sequence_ChartHighlighter(context, (ChartHighlighter) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_LEGEND: |
| if(context == grammarAccess.getChartElementRule() || |
| context == grammarAccess.getChartLegendRule()) { |
| sequence_ChartLegend(context, (ChartLegend) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_LINE: |
| if(context == grammarAccess.getChartLineRule() || |
| context == grammarAccess.getChartOptionRule()) { |
| sequence_ChartLine(context, (ChartLine) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_MODEL: |
| if(context == grammarAccess.getChartModelRule()) { |
| sequence_ChartModel(context, (ChartModel) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_NUMBER_INTERVAL: |
| if(context == grammarAccess.getChartIntervalRule() || |
| context == grammarAccess.getChartNumberIntervalRule()) { |
| sequence_ChartNumberInterval(context, (ChartNumberInterval) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_PACKAGE: |
| if(context == grammarAccess.getChartPackageRule()) { |
| sequence_ChartPackage(context, (ChartPackage) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_PIE: |
| if(context == grammarAccess.getChartOptionRule() || |
| context == grammarAccess.getChartPieRule()) { |
| sequence_ChartPie(context, (ChartPie) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_SEGMENT_COLOR: |
| if(context == grammarAccess.getChartRangeElementRule() || |
| context == grammarAccess.getChartSegmentColorRule()) { |
| sequence_ChartSegmentColor(context, (ChartSegmentColor) semanticObject); |
| return; |
| } |
| else break; |
| case ChartDSLPackage.CHART_TREE: |
| if(context == grammarAccess.getChartOptionRule() || |
| context == grammarAccess.getChartTreeRule()) { |
| sequence_ChartTree(context, (ChartTree) semanticObject); |
| return; |
| } |
| else break; |
| } |
| else if(semanticObject.eClass().getEPackage() == OSBPTypesPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) { |
| case OSBPTypesPackage.LIMPORT: |
| if(context == grammarAccess.getChartImportRule()) { |
| sequence_ChartImport(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: |
| * (axis=[DatamartAxis|ID] renderType=RenderTypeEnum shortLabel?='shortLabel'? angle=SignedNumber?) |
| */ |
| protected void sequence_ChartAxis(EObject context, ChartAxis semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (shadow?='shaded'? animated?='animated'? swapped?='swapped'? stacked?='stacked'?) |
| */ |
| protected void sequence_ChartBar(EObject context, ChartBar semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (((multiplier?='multiplier' multiplierValue=Number)? (gradient?='gradient' | transparent?='transparent'))?) |
| */ |
| protected void sequence_ChartBubble(EObject context, ChartBubble semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (datamartRef=[DatamartDefinition|ID] elements+=ChartElement*) |
| */ |
| protected void sequence_ChartDatamart(EObject context, ChartDatamart semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * {ChartDonut} |
| */ |
| protected void sequence_ChartDonut(EObject context, ChartDonut semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * ((labeled?='label' labelValue=STRING)? (hasTicks?='hasTicks' minValue=INT maxValue=INT)? (hasIntervals?='intervals' intervals+=ChartInterval*)?) |
| */ |
| protected void sequence_ChartGauge(EObject context, ChartGauge semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (location=TooltipLocationEnum tooltipAlways?='always'? insideChart?='inside'?) |
| */ |
| protected void sequence_ChartHighlighter(EObject context, ChartHighlighter semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * importedNamespace=ChartQualifiedNameWithWildCard |
| */ |
| protected void sequence_ChartImport(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.getChartImportAccess().getImportedNamespaceChartQualifiedNameWithWildCardParserRuleCall_1_0(), semanticObject.getImportedNamespace()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (placement=LegendPlacementEnum (toggle?='toggle' replot?='replot' toggleType=ToggleTypeEnum)?) |
| */ |
| protected void sequence_ChartLegend(EObject context, ChartLegend semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * ( |
| * animated?='animated'? |
| * showMarker?='showMarker'? |
| * trendLine?='trendLine'? |
| * (cursor?='cursor' zoom?='zoom'? tooltip?='tooltip'?)? |
| * fillToZero?='fillZero'? |
| * fillArea?='filled'? |
| * ) |
| */ |
| protected void sequence_ChartLine(EObject context, ChartLine semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * packages+=ChartPackage* |
| */ |
| protected void sequence_ChartModel(EObject context, ChartModel semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (numberIntervalValue=SignedNumber numberRange=ChartRangeElement) |
| */ |
| protected void sequence_ChartNumberInterval(EObject context, ChartNumberInterval semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ChartDSLPackage.Literals.CHART_NUMBER_INTERVAL__NUMBER_INTERVAL_VALUE) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ChartDSLPackage.Literals.CHART_NUMBER_INTERVAL__NUMBER_INTERVAL_VALUE)); |
| if(transientValues.isValueTransient(semanticObject, ChartDSLPackage.Literals.CHART_NUMBER_INTERVAL__NUMBER_RANGE) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ChartDSLPackage.Literals.CHART_NUMBER_INTERVAL__NUMBER_RANGE)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getChartNumberIntervalAccess().getNumberIntervalValueSignedNumberParserRuleCall_2_0(), semanticObject.getNumberIntervalValue()); |
| feeder.accept(grammarAccess.getChartNumberIntervalAccess().getNumberRangeChartRangeElementParserRuleCall_3_0(), semanticObject.getNumberRange()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (name=QualifiedName (imports+=ChartImport* charts+=Chart*)?) |
| */ |
| protected void sequence_ChartPackage(EObject context, ChartPackage semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (empty?='empty'?) |
| */ |
| protected void sequence_ChartPie(EObject context, ChartPie semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * rgb=STRING |
| */ |
| protected void sequence_ChartSegmentColor(EObject context, ChartSegmentColor semanticObject) { |
| if(errorAcceptor != null) { |
| if(transientValues.isValueTransient(semanticObject, ChartDSLPackage.Literals.CHART_SEGMENT_COLOR__RGB) == ValueTransient.YES) |
| errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ChartDSLPackage.Literals.CHART_SEGMENT_COLOR__RGB)); |
| } |
| INodesForEObjectProvider nodes = createNodeProvider(semanticObject); |
| SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes); |
| feeder.accept(grammarAccess.getChartSegmentColorAccess().getRgbSTRINGTerminalRuleCall_1_0(), semanticObject.getRgb()); |
| feeder.finish(); |
| } |
| |
| |
| /** |
| * Constraint: |
| * (map?='map' | collapsible?='collapsible') |
| */ |
| protected void sequence_ChartTree(EObject context, ChartTree semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| |
| |
| /** |
| * Constraint: |
| * ( |
| * name=TRANSLATABLEID |
| * (description?='described by' descriptionValue=TRANSLATABLESTRING)? |
| * charttype=ChartOption |
| * (polling?='polling' pollingTime=INT)? |
| * source=ChartDatamart? |
| * ) |
| */ |
| protected void sequence_Chart(EObject context, Chart semanticObject) { |
| genericSequencer.createSequence(context, semanticObject); |
| } |
| } |