org.eclipse.xtext.xbase.serializer.AbstractXbaseSemanticSequencer Maven / Gradle / Ivy
package org.eclipse.xtext.xbase.serializer;
import com.google.inject.Inject;
import com.google.inject.Provider;
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.XtypeSemanticSequencer;
import org.eclipse.xtext.xbase.services.XbaseGrammarAccess;
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 abstract class AbstractXbaseSemanticSequencer extends XtypeSemanticSequencer {
@Inject
private XbaseGrammarAccess grammarAccess;
public void createSequence(EObject context, EObject semanticObject) {
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:
* (parameterType=JvmTypeReference name=ValidID)
*/
protected void sequence_FullJvmFormalParameter(EObject context, JvmFormalParameter semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (parameterType=JvmTypeReference? name=ValidID)
*/
protected void sequence_JvmFormalParameter(EObject context, JvmFormalParameter semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* (leftOperand=XAdditiveExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAdd] rightOperand=XMultiplicativeExpression) |
* (leftOperand=XMultiplicativeExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpMulti] rightOperand=XUnaryOperation) |
* (leftOperand=XOtherOperatorExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOther] rightOperand=XAdditiveExpression) |
* (leftOperand=XRelationalExpression_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpCompare] rightOperand=XOtherOperatorExpression) |
* (leftOperand=XEqualityExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpEquality] rightOperand=XRelationalExpression) |
* (leftOperand=XAndExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpAnd] rightOperand=XEqualityExpression) |
* (leftOperand=XOrExpression_XBinaryOperation_1_0_0_0 feature=[JvmIdentifiableElement|OpOr] rightOperand=XAndExpression) |
* (leftOperand=XAssignment_XBinaryOperation_1_1_0_0_0 feature=[JvmIdentifiableElement|OpMultiAssign] rightOperand=XAssignment)
* )
*/
protected void sequence_XAdditiveExpression_XAndExpression_XAssignment_XEqualityExpression_XMultiplicativeExpression_XOrExpression_XOtherOperatorExpression_XRelationalExpression(EObject context, XBinaryOperation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* (feature=[JvmIdentifiableElement|FeatureCallID] value=XAssignment) |
* (assignable=XMemberFeatureCall_XAssignment_1_0_0_0_0 feature=[JvmIdentifiableElement|FeatureCallID] value=XAssignment)
* )
*/
protected void sequence_XAssignment_XMemberFeatureCall(EObject context, XAssignment semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (expressions+=XExpressionInsideBlock*)
*/
protected void sequence_XBlockExpression(EObject context, XBlockExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (isTrue?='true'?)
*/
protected void sequence_XBooleanLiteral(EObject context, XBooleanLiteral semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (typeGuard=JvmTypeReference? case=XExpression? then=XExpression)
*/
protected void sequence_XCasePart(EObject context, XCasePart semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (target=XCastedExpression_XCastedExpression_1_0_0_0 type=JvmTypeReference)
*/
protected void sequence_XCastedExpression(EObject context, XCastedExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XCASTED_EXPRESSION__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XCASTED_EXPRESSION__TYPE));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XCASTED_EXPRESSION__TARGET) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XCASTED_EXPRESSION__TARGET));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), semanticObject.getTarget());
feeder.accept(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0(), semanticObject.getType());
feeder.finish();
}
/**
* Constraint:
* (declaredParam=FullJvmFormalParameter expression=XExpression)
*/
protected void sequence_XCatchClause(EObject context, XCatchClause semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XCATCH_CLAUSE__EXPRESSION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XCATCH_CLAUSE__EXPRESSION));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XCATCH_CLAUSE__DECLARED_PARAM) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XCATCH_CLAUSE__DECLARED_PARAM));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0(), semanticObject.getDeclaredParam());
feeder.accept(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0(), semanticObject.getExpression());
feeder.finish();
}
/**
* Constraint:
* (
* ((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)? explicitSyntax?='|')?
* expression=XExpressionInClosure
* )
*/
protected void sequence_XClosure(EObject context, XClosure semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* constructor=[JvmConstructor|QualifiedName]
* (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)?
* (arguments+=XShortClosure | (arguments+=XExpression arguments+=XExpression*))?
* arguments+=XClosure?
* )
*/
protected void sequence_XConstructorCall(EObject context, XConstructorCall semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (body=XExpression predicate=XExpression)
*/
protected void sequence_XDoWhileExpression(EObject context, XDoWhileExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__PREDICATE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__PREDICATE));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__BODY) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__BODY));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0(), semanticObject.getBody());
feeder.accept(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0(), semanticObject.getPredicate());
feeder.finish();
}
/**
* Constraint:
* (expressions+=XExpressionInsideBlock*)
*/
protected void sequence_XExpressionInClosure(EObject context, XBlockExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* declaringType=[JvmDeclaredType|StaticQualifier]?
* (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)?
* feature=[JvmIdentifiableElement|IdOrSuper]
* (explicitOperationCall?='(' (featureCallArguments+=XShortClosure | (featureCallArguments+=XExpression featureCallArguments+=XExpression*))?)?
* featureCallArguments+=XClosure?
* )
*/
protected void sequence_XFeatureCall(EObject context, XFeatureCall semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (declaredParam=JvmFormalParameter forExpression=XExpression eachExpression=XExpression)
*/
protected void sequence_XForLoopExpression(EObject context, XForLoopExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__FOR_EXPRESSION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__FOR_EXPRESSION));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__EACH_EXPRESSION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__EACH_EXPRESSION));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__DECLARED_PARAM) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XFOR_LOOP_EXPRESSION__DECLARED_PARAM));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_3_0(), semanticObject.getDeclaredParam());
feeder.accept(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_5_0(), semanticObject.getForExpression());
feeder.accept(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_7_0(), semanticObject.getEachExpression());
feeder.finish();
}
/**
* Constraint:
* (if=XExpression then=XExpression else=XExpression?)
*/
protected void sequence_XIfExpression(EObject context, XIfExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* ((elements+=XExpression elements+=XExpression*)?)
*/
protected void sequence_XListLiteral(EObject context, XListLiteral semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (
* memberCallTarget=XMemberFeatureCall_XMemberFeatureCall_1_1_0_0_0
* (nullSafe?='?.' | spreading?='*.')?
* (typeArguments+=JvmArgumentTypeReference typeArguments+=JvmArgumentTypeReference*)?
* feature=[JvmIdentifiableElement|FeatureCallID]
* (explicitOperationCall?='(' (memberCallArguments+=XShortClosure | (memberCallArguments+=XExpression memberCallArguments+=XExpression*))?)?
* memberCallArguments+=XClosure?
* )
*/
protected void sequence_XMemberFeatureCall(EObject context, XMemberFeatureCall semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* {XNullLiteral}
*/
protected void sequence_XNullLiteral(EObject context, XNullLiteral semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* value=Number
*/
protected void sequence_XNumberLiteral(EObject context, XNumberLiteral semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XNUMBER_LITERAL__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XNUMBER_LITERAL__VALUE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0(), semanticObject.getValue());
feeder.finish();
}
/**
* Constraint:
* (expression=XRelationalExpression_XInstanceOfExpression_1_0_0_0_0 type=JvmTypeReference)
*/
protected void sequence_XRelationalExpression(EObject context, XInstanceOfExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XINSTANCE_OF_EXPRESSION__TYPE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XINSTANCE_OF_EXPRESSION__TYPE));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XINSTANCE_OF_EXPRESSION__EXPRESSION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XINSTANCE_OF_EXPRESSION__EXPRESSION));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), semanticObject.getExpression());
feeder.accept(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0(), semanticObject.getType());
feeder.finish();
}
/**
* Constraint:
* (expression=XExpression?)
*/
protected void sequence_XReturnExpression(EObject context, XReturnExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* ((elements+=XExpression elements+=XExpression*)?)
*/
protected void sequence_XSetLiteral(EObject context, XSetLiteral semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* ((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)? explicitSyntax?='|' expression=XExpression)
*/
protected void sequence_XShortClosure(EObject context, XClosure semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* value=STRING
*/
protected void sequence_XStringLiteral(EObject context, XStringLiteral semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XSTRING_LITERAL__VALUE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XSTRING_LITERAL__VALUE));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0(), semanticObject.getValue());
feeder.finish();
}
/**
* Constraint:
* (((localVarName=ValidID? switch=XExpression) | (localVarName=ValidID switch=XExpression)) cases+=XCasePart+ default=XExpression?)
*/
protected void sequence_XSwitchExpression(EObject context, XSwitchExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* expression=XExpression
*/
protected void sequence_XThrowExpression(EObject context, XThrowExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XTHROW_EXPRESSION__EXPRESSION) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XTHROW_EXPRESSION__EXPRESSION));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0(), semanticObject.getExpression());
feeder.finish();
}
/**
* Constraint:
* (expression=XExpression ((catchClauses+=XCatchClause+ finallyExpression=XExpression?) | finallyExpression=XExpression))
*/
protected void sequence_XTryCatchFinallyExpression(EObject context, XTryCatchFinallyExpression semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (type=[JvmType|QualifiedName] arrayDimensions+=ArrayBrackets*)
*/
protected void sequence_XTypeLiteral(EObject context, XTypeLiteral semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (feature=[JvmIdentifiableElement|OpUnary] operand=XUnaryOperation)
*/
protected void sequence_XUnaryOperation(EObject context, XUnaryOperation semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (writeable?='var'? ((type=JvmTypeReference name=ValidID) | name=ValidID) right=XExpression?)
*/
protected void sequence_XVariableDeclaration(EObject context, XVariableDeclaration semanticObject) {
genericSequencer.createSequence(context, semanticObject);
}
/**
* Constraint:
* (predicate=XExpression body=XExpression)
*/
protected void sequence_XWhileExpression(EObject context, XWhileExpression semanticObject) {
if(errorAcceptor != null) {
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__PREDICATE) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__PREDICATE));
if(transientValues.isValueTransient(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__BODY) == ValueTransient.YES)
errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, XbasePackage.Literals.XABSTRACT_WHILE_EXPRESSION__BODY));
}
INodesForEObjectProvider nodes = createNodeProvider(semanticObject);
SequenceFeeder feeder = createSequencerFeeder(semanticObject, nodes);
feeder.accept(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0(), semanticObject.getPredicate());
feeder.accept(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0(), semanticObject.getBody());
feeder.finish();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy