package no.hal.jex.jextest.serializer;
import com.google.inject.Inject;
import com.google.inject.Provider;
import no.hal.jex.jextest.jexTest.Instance;
import no.hal.jex.jextest.jexTest.JexTestCase;
import no.hal.jex.jextest.jexTest.JexTestPackage;
import no.hal.jex.jextest.jexTest.JexTestSequence;
import no.hal.jex.jextest.jexTest.Method;
import no.hal.jex.jextest.jexTest.ObjectTest;
import no.hal.jex.jextest.jexTest.Parameter;
import no.hal.jex.jextest.jexTest.PropertiesTest;
import no.hal.jex.jextest.jexTest.State;
import no.hal.jex.jextest.jexTest.StateFunction;
import no.hal.jex.jextest.jexTest.Transition;
import no.hal.jex.jextest.jexTest.TransitionExceptionEffect;
import no.hal.jex.jextest.jexTest.TransitionExpressionAction;
import no.hal.jex.jextest.jexTest.TransitionInputAction;
import no.hal.jex.jextest.jexTest.TransitionOutputEffect;
import no.hal.jex.jextest.jexTest.TransitionSource;
import no.hal.jex.jextest.jexTest.TransitionTargetEffect;
import no.hal.jex.jextest.services.JexTestGrammarAccess;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.xtext.common.types.JvmFormalParameter;
import org.eclipse.xtext.common.types.JvmGenericArrayTypeReference;
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.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.XReturnExpression;
import org.eclipse.xtext.xbase.XSetLiteral;
import org.eclipse.xtext.xbase.XStringLiteral;
import org.eclipse.xtext.xbase.XSwitchExpression;
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.serializer.XbaseSemanticSequencer;
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 JexTestSemanticSequencer extends XbaseSemanticSequencer {
@Inject
private JexTestGrammarAccess grammarAccess;
public void createSequence(EObject context, EObject semanticObject) {
if(semanticObject.eClass().getEPackage() == JexTestPackage.eINSTANCE) switch(semanticObject.eClass().getClassifierID()) {
case JexTestPackage.INSTANCE:
if(context == grammarAccess.getInstanceRule()) {
sequence_Instance(context, (Instance) semanticObject);
return;
}
else break;
case JexTestPackage.JEX_TEST_CASE:
if(context == grammarAccess.getJexTestCaseRule()) {
sequence_JexTestCase(context, (JexTestCase) semanticObject);
return;
}
else break;
case JexTestPackage.JEX_TEST_SEQUENCE:
if(context == grammarAccess.getJexTestSequenceRule() ||
context == grammarAccess.getStateTestContextRule()) {
sequence_JexTestSequence(context, (JexTestSequence) semanticObject);
return;
}
else break;
case JexTestPackage.METHOD:
if(context == grammarAccess.getMethodRule()) {
sequence_Method(context, (Method) semanticObject);
return;
}
else break;
case JexTestPackage.OBJECT_TEST:
if(context == grammarAccess.getObjectTestRule() ||
context == grammarAccess.getPropertiesTestOwnerRule()) {
sequence_ObjectTest(context, (ObjectTest) semanticObject);
return;
}
else break;
case JexTestPackage.PARAMETER:
if(context == grammarAccess.getParameterRule()) {
sequence_Parameter(context, (Parameter) semanticObject);
return;
}
else break;
case JexTestPackage.PROPERTIES_TEST:
if(context == grammarAccess.getPropertiesTestRule()) {
sequence_PropertiesTest(context, (PropertiesTest) semanticObject);
return;
}
else break;
case JexTestPackage.STATE:
if(context == grammarAccess.getStateRule()) {
sequence_State(context, (State) semanticObject);
return;
}
else break;
case JexTestPackage.STATE_FUNCTION:
if(context == grammarAccess.getPropertiesTestOwnerRule() ||
context == grammarAccess.getStateFunctionRule() ||
context == grammarAccess.getStateTestContextRule()) {
sequence_StateFunction(context, (StateFunction) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION:
if(context == grammarAccess.getTransitionRule()) {
sequence_Transition(context, (Transition) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_EXCEPTION_EFFECT:
if(context == grammarAccess.getTransitionEffectRule() ||
context == grammarAccess.getTransitionExceptionEffectRule()) {
sequence_TransitionExceptionEffect(context, (TransitionExceptionEffect) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_EXPRESSION_ACTION:
if(context == grammarAccess.getTransitionActionRule() ||
context == grammarAccess.getTransitionExpressionActionRule()) {
sequence_TransitionExpressionAction(context, (TransitionExpressionAction) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_INPUT_ACTION:
if(context == grammarAccess.getTransitionInputActionRule()) {
sequence_TransitionInputAction(context, (TransitionInputAction) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_OUTPUT_EFFECT:
if(context == grammarAccess.getTransitionOutputEffectRule()) {
sequence_TransitionOutputEffect(context, (TransitionOutputEffect) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_SOURCE:
if(context == grammarAccess.getTransitionSourceRule()) {
sequence_TransitionSource(context, (TransitionSource) semanticObject);
return;
}
else break;
case JexTestPackage.TRANSITION_TARGET_EFFECT:
if(context == grammarAccess.getTransitionEffectRule() ||
context == grammarAccess.getTransitionTargetEffectRule()) {
sequence_TransitionTargetEffect(context, (TransitionTargetEffect) 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_LOWER_BOUND:
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.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() == 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.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.getXExpressionInsideBlockRule() ||
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.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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.getXAdditiveExpressionRule() ||
context == grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() ||
context == grammarAccess.getXAndExpressionRule() ||
context == grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0() ||
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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.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.getXExpressionInsideBlockRule() ||
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.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.getXExpressionInsideBlockRule() ||
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.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.getXExpressionInsideBlockRule() ||
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.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:
* (type=JvmTypeReference? name=ID expr=XExpression?)
*/
protected void sequence_Instance(EObject context, Instance semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* testedClass=JvmParameterizedTypeReference
* testClassName=QName?
* description=STRING?
* url=STRING?
* importSection=XImportSection?
* ((instances+=Instance instances+=Instance*) | stateFunctions+=StateFunction | testSequences+=JexTestSequence | methods+=Method)*
* )
*/
protected void sequence_JexTestCase(EObject context, JexTestCase semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (name=ID description=STRING? (instances+=Instance instances+=Instance*)* transitions+=Transition*)
*/
protected void sequence_JexTestSequence(EObject context, JexTestSequence semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* static?='static'?
* returnType=JvmTypeReference?
* (name=ID | name=OpEquality | name=OpCompare)
* (parameters+=Parameter parameters+=Parameter*)?
* body=XExpression
* )
*/
protected void sequence_Method(EObject context, Method semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (instance=[Instance|ID]? test=PropertiesTest)
*/
protected void sequence_ObjectTest(EObject context, ObjectTest semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (type=JvmTypeReference vararg?='...'? name=ID)
*/
protected void sequence_Parameter(EObject context, Parameter semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (expressions+=XExpression*)
*/
protected void sequence_PropertiesTest(EObject context, PropertiesTest semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (type=JvmParameterizedTypeReference? name=ID description=STRING? (parameters+=Parameter parameters+=Parameter*)? test=PropertiesTest)
*/
protected void sequence_StateFunction(EObject context, StateFunction semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (name=ID? description=STRING? objectTests+=ObjectTest+)
*/
protected void sequence_State(EObject context, State semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* exceptionClass=JvmParameterizedTypeReference
*/
protected void sequence_TransitionExceptionEffect(EObject context, TransitionExceptionEffect semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, JexTestPackage.Literals.TRANSITION_EXCEPTION_EFFECT__EXCEPTION_CLASS) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, JexTestPackage.Literals.TRANSITION_EXCEPTION_EFFECT__EXCEPTION_CLASS));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getTransitionExceptionEffectAccess().getExceptionClassJvmParameterizedTypeReferenceParserRuleCall_1_0(), semanticObject.getExceptionClass());
feeder.finish();
}
/**
* Constraint:
* (expr=XExpression times=XExpression?)
*/
protected void sequence_TransitionExpressionAction(EObject context, TransitionExpressionAction semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* input=STRING
*/
protected void sequence_TransitionInputAction(EObject context, TransitionInputAction semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, JexTestPackage.Literals.TRANSITION_INPUT_ACTION__INPUT) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, JexTestPackage.Literals.TRANSITION_INPUT_ACTION__INPUT));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getTransitionInputActionAccess().getInputSTRINGTerminalRuleCall_1_0(), semanticObject.getInput());
feeder.finish();
}
/**
* Constraint:
* pattern=STRING
*/
protected void sequence_TransitionOutputEffect(EObject context, TransitionOutputEffect semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, JexTestPackage.Literals.TRANSITION_OUTPUT_EFFECT__PATTERN) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, JexTestPackage.Literals.TRANSITION_OUTPUT_EFFECT__PATTERN));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getTransitionOutputEffectAccess().getPatternSTRINGTerminalRuleCall_1_0(), semanticObject.getPattern());
feeder.finish();
}
/**
* Constraint:
* (state=State | stateRef=[State|ID])
*/
protected void sequence_TransitionSource(EObject context, TransitionSource semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (state=State | stateRef=[State|ID])
*/
protected void sequence_TransitionTargetEffect(EObject context, TransitionTargetEffect semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* (source=TransitionSource? description=STRING? actions+=TransitionAction actions+=TransitionAction* effect=TransitionEffect) |
* effect=TransitionTargetEffect
* )
*/
protected void sequence_Transition(EObject context, Transition semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
}