/******************************************************************************* * Copyright (c) 2010, 2015 Willink Transformations and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * E.D.Willink - Initial API and implementation *******************************************************************************/ package org.eclipse.ocl.xtext.essentialoclcs.util; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.util.Switch; import org.eclipse.jdt.annotation.Nullable; import org.eclipse.ocl.pivot.utilities.Nameable; import org.eclipse.ocl.pivot.utilities.Pivotable; import org.eclipse.ocl.xtext.basecs.ContextLessElementCS; import org.eclipse.ocl.xtext.basecs.ElementCS; import org.eclipse.ocl.xtext.basecs.ElementRefCS; import org.eclipse.ocl.xtext.basecs.ModelElementCS; import org.eclipse.ocl.xtext.basecs.NamedElementCS; import org.eclipse.ocl.xtext.basecs.PivotableElementCS; import org.eclipse.ocl.xtext.basecs.RootCS; import org.eclipse.ocl.xtext.basecs.SpecificationCS; import org.eclipse.ocl.xtext.basecs.TypeRefCS; import org.eclipse.ocl.xtext.basecs.TypedRefCS; import org.eclipse.ocl.xtext.basecs.util.VisitableCS; import org.eclipse.ocl.xtext.essentialoclcs.*; /** * <!-- begin-user-doc --> * The <b>Switch</b> for the model's inheritance hierarchy. * It supports the call {@link #doSwitch(EObject) doSwitch(object)} * to invoke the <code>caseXXX</code> method for each class of the model, * starting with the actual class of the object * and proceeding up the inheritance hierarchy * until a non-null result is returned, * which is the result of the switch. * <!-- end-user-doc --> * @see org.eclipse.ocl.xtext.essentialoclcs.EssentialOCLCSPackage * @generated */ public class EssentialOCLCSSwitch<@Nullable T> extends Switch<T> { /** * The cached model package * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected static EssentialOCLCSPackage modelPackage; /** * Creates an instance of the switch. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EssentialOCLCSSwitch() { if (modelPackage == null) { modelPackage = EssentialOCLCSPackage.eINSTANCE; } } /** * Checks whether this is a switch for the given package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param ePackage the package in question. * @return whether this is a switch for the given package. * @generated */ @Override protected boolean isSwitchFor(EPackage ePackage) { return ePackage == modelPackage; } /** * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ @Override protected T doSwitch(int classifierID, EObject theEObject) { switch (classifierID) { case EssentialOCLCSPackage.ABSTRACT_NAME_EXP_CS: { AbstractNameExpCS abstractNameExpCS = (AbstractNameExpCS)theEObject; T result = caseAbstractNameExpCS(abstractNameExpCS); if (result == null) result = caseExpCS(abstractNameExpCS); if (result == null) result = caseModelElementCS(abstractNameExpCS); if (result == null) result = casePivotableElementCS(abstractNameExpCS); if (result == null) result = caseElementCS(abstractNameExpCS); if (result == null) result = casePivotable(abstractNameExpCS); if (result == null) result = caseVisitableCS(abstractNameExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.ASSOCIATION_CLASS_CALL_EXP_CS: { AssociationClassCallExpCS associationClassCallExpCS = (AssociationClassCallExpCS)theEObject; T result = caseAssociationClassCallExpCS(associationClassCallExpCS); if (result == null) result = caseCallExpCS(associationClassCallExpCS); if (result == null) result = caseAbstractNameExpCS(associationClassCallExpCS); if (result == null) result = caseExpCS(associationClassCallExpCS); if (result == null) result = caseModelElementCS(associationClassCallExpCS); if (result == null) result = casePivotableElementCS(associationClassCallExpCS); if (result == null) result = caseElementCS(associationClassCallExpCS); if (result == null) result = casePivotable(associationClassCallExpCS); if (result == null) result = caseVisitableCS(associationClassCallExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.BOOLEAN_LITERAL_EXP_CS: { BooleanLiteralExpCS booleanLiteralExpCS = (BooleanLiteralExpCS)theEObject; T result = caseBooleanLiteralExpCS(booleanLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(booleanLiteralExpCS); if (result == null) result = caseLiteralExpCS(booleanLiteralExpCS); if (result == null) result = caseExpCS(booleanLiteralExpCS); if (result == null) result = caseModelElementCS(booleanLiteralExpCS); if (result == null) result = casePivotableElementCS(booleanLiteralExpCS); if (result == null) result = caseElementCS(booleanLiteralExpCS); if (result == null) result = casePivotable(booleanLiteralExpCS); if (result == null) result = caseVisitableCS(booleanLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.CALL_EXP_CS: { CallExpCS callExpCS = (CallExpCS)theEObject; T result = caseCallExpCS(callExpCS); if (result == null) result = caseAbstractNameExpCS(callExpCS); if (result == null) result = caseExpCS(callExpCS); if (result == null) result = caseModelElementCS(callExpCS); if (result == null) result = casePivotableElementCS(callExpCS); if (result == null) result = caseElementCS(callExpCS); if (result == null) result = casePivotable(callExpCS); if (result == null) result = caseVisitableCS(callExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.COLLECTION_LITERAL_EXP_CS: { CollectionLiteralExpCS collectionLiteralExpCS = (CollectionLiteralExpCS)theEObject; T result = caseCollectionLiteralExpCS(collectionLiteralExpCS); if (result == null) result = caseLiteralExpCS(collectionLiteralExpCS); if (result == null) result = caseExpCS(collectionLiteralExpCS); if (result == null) result = caseModelElementCS(collectionLiteralExpCS); if (result == null) result = casePivotableElementCS(collectionLiteralExpCS); if (result == null) result = caseElementCS(collectionLiteralExpCS); if (result == null) result = casePivotable(collectionLiteralExpCS); if (result == null) result = caseVisitableCS(collectionLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.COLLECTION_LITERAL_PART_CS: { CollectionLiteralPartCS collectionLiteralPartCS = (CollectionLiteralPartCS)theEObject; T result = caseCollectionLiteralPartCS(collectionLiteralPartCS); if (result == null) result = caseModelElementCS(collectionLiteralPartCS); if (result == null) result = casePivotableElementCS(collectionLiteralPartCS); if (result == null) result = caseElementCS(collectionLiteralPartCS); if (result == null) result = casePivotable(collectionLiteralPartCS); if (result == null) result = caseVisitableCS(collectionLiteralPartCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.COLLECTION_PATTERN_CS: { CollectionPatternCS collectionPatternCS = (CollectionPatternCS)theEObject; T result = caseCollectionPatternCS(collectionPatternCS); if (result == null) result = caseTypedRefCS(collectionPatternCS); if (result == null) result = caseTypeRefCS(collectionPatternCS); if (result == null) result = caseElementRefCS(collectionPatternCS); if (result == null) result = casePivotableElementCS(collectionPatternCS); if (result == null) result = caseElementCS(collectionPatternCS); if (result == null) result = casePivotable(collectionPatternCS); if (result == null) result = caseVisitableCS(collectionPatternCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.COLLECTION_TYPE_CS: { CollectionTypeCS collectionTypeCS = (CollectionTypeCS)theEObject; T result = caseCollectionTypeCS(collectionTypeCS); if (result == null) result = caseTypedRefCS(collectionTypeCS); if (result == null) result = caseNameable(collectionTypeCS); if (result == null) result = caseTypeRefCS(collectionTypeCS); if (result == null) result = caseElementRefCS(collectionTypeCS); if (result == null) result = casePivotableElementCS(collectionTypeCS); if (result == null) result = caseElementCS(collectionTypeCS); if (result == null) result = casePivotable(collectionTypeCS); if (result == null) result = caseVisitableCS(collectionTypeCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.CONTEXT_CS: { ContextCS contextCS = (ContextCS)theEObject; T result = caseContextCS(contextCS); if (result == null) result = caseNamedElementCS(contextCS); if (result == null) result = caseRootCS(contextCS); if (result == null) result = caseModelElementCS(contextCS); if (result == null) result = caseNameable(contextCS); if (result == null) result = casePivotableElementCS(contextCS); if (result == null) result = caseElementCS(contextCS); if (result == null) result = casePivotable(contextCS); if (result == null) result = caseVisitableCS(contextCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.CURLY_BRACKETED_CLAUSE_CS: { CurlyBracketedClauseCS curlyBracketedClauseCS = (CurlyBracketedClauseCS)theEObject; T result = caseCurlyBracketedClauseCS(curlyBracketedClauseCS); if (result == null) result = caseContextLessElementCS(curlyBracketedClauseCS); if (result == null) result = caseElementCS(curlyBracketedClauseCS); if (result == null) result = caseVisitableCS(curlyBracketedClauseCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.EXP_CS: { ExpCS expCS = (ExpCS)theEObject; T result = caseExpCS(expCS); if (result == null) result = caseModelElementCS(expCS); if (result == null) result = casePivotableElementCS(expCS); if (result == null) result = caseElementCS(expCS); if (result == null) result = casePivotable(expCS); if (result == null) result = caseVisitableCS(expCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.EXP_SPECIFICATION_CS: { ExpSpecificationCS expSpecificationCS = (ExpSpecificationCS)theEObject; T result = caseExpSpecificationCS(expSpecificationCS); if (result == null) result = caseSpecificationCS(expSpecificationCS); if (result == null) result = caseModelElementCS(expSpecificationCS); if (result == null) result = casePivotableElementCS(expSpecificationCS); if (result == null) result = caseElementCS(expSpecificationCS); if (result == null) result = casePivotable(expSpecificationCS); if (result == null) result = caseVisitableCS(expSpecificationCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.IF_EXP_CS: { IfExpCS ifExpCS = (IfExpCS)theEObject; T result = caseIfExpCS(ifExpCS); if (result == null) result = caseExpCS(ifExpCS); if (result == null) result = caseModelElementCS(ifExpCS); if (result == null) result = casePivotableElementCS(ifExpCS); if (result == null) result = caseElementCS(ifExpCS); if (result == null) result = casePivotable(ifExpCS); if (result == null) result = caseVisitableCS(ifExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.IF_THEN_EXP_CS: { IfThenExpCS ifThenExpCS = (IfThenExpCS)theEObject; T result = caseIfThenExpCS(ifThenExpCS); if (result == null) result = caseExpCS(ifThenExpCS); if (result == null) result = caseModelElementCS(ifThenExpCS); if (result == null) result = casePivotableElementCS(ifThenExpCS); if (result == null) result = caseElementCS(ifThenExpCS); if (result == null) result = casePivotable(ifThenExpCS); if (result == null) result = caseVisitableCS(ifThenExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.INFIX_EXP_CS: { InfixExpCS infixExpCS = (InfixExpCS)theEObject; T result = caseInfixExpCS(infixExpCS); if (result == null) result = caseOperatorExpCS(infixExpCS); if (result == null) result = caseExpCS(infixExpCS); if (result == null) result = caseNamedElementCS(infixExpCS); if (result == null) result = caseModelElementCS(infixExpCS); if (result == null) result = caseNameable(infixExpCS); if (result == null) result = casePivotableElementCS(infixExpCS); if (result == null) result = caseElementCS(infixExpCS); if (result == null) result = casePivotable(infixExpCS); if (result == null) result = caseVisitableCS(infixExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.INVALID_LITERAL_EXP_CS: { InvalidLiteralExpCS invalidLiteralExpCS = (InvalidLiteralExpCS)theEObject; T result = caseInvalidLiteralExpCS(invalidLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(invalidLiteralExpCS); if (result == null) result = caseLiteralExpCS(invalidLiteralExpCS); if (result == null) result = caseExpCS(invalidLiteralExpCS); if (result == null) result = caseModelElementCS(invalidLiteralExpCS); if (result == null) result = casePivotableElementCS(invalidLiteralExpCS); if (result == null) result = caseElementCS(invalidLiteralExpCS); if (result == null) result = casePivotable(invalidLiteralExpCS); if (result == null) result = caseVisitableCS(invalidLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.ITERATE_CALL_EXP_CS: { IterateCallExpCS iterateCallExpCS = (IterateCallExpCS)theEObject; T result = caseIterateCallExpCS(iterateCallExpCS); if (result == null) result = caseIterationCallExpCS(iterateCallExpCS); if (result == null) result = caseCallExpCS(iterateCallExpCS); if (result == null) result = caseAbstractNameExpCS(iterateCallExpCS); if (result == null) result = caseExpCS(iterateCallExpCS); if (result == null) result = caseModelElementCS(iterateCallExpCS); if (result == null) result = casePivotableElementCS(iterateCallExpCS); if (result == null) result = caseElementCS(iterateCallExpCS); if (result == null) result = casePivotable(iterateCallExpCS); if (result == null) result = caseVisitableCS(iterateCallExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.ITERATION_CALL_EXP_CS: { IterationCallExpCS iterationCallExpCS = (IterationCallExpCS)theEObject; T result = caseIterationCallExpCS(iterationCallExpCS); if (result == null) result = caseCallExpCS(iterationCallExpCS); if (result == null) result = caseAbstractNameExpCS(iterationCallExpCS); if (result == null) result = caseExpCS(iterationCallExpCS); if (result == null) result = caseModelElementCS(iterationCallExpCS); if (result == null) result = casePivotableElementCS(iterationCallExpCS); if (result == null) result = caseElementCS(iterationCallExpCS); if (result == null) result = casePivotable(iterationCallExpCS); if (result == null) result = caseVisitableCS(iterationCallExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.LAMBDA_LITERAL_EXP_CS: { LambdaLiteralExpCS lambdaLiteralExpCS = (LambdaLiteralExpCS)theEObject; T result = caseLambdaLiteralExpCS(lambdaLiteralExpCS); if (result == null) result = caseLiteralExpCS(lambdaLiteralExpCS); if (result == null) result = caseExpCS(lambdaLiteralExpCS); if (result == null) result = caseModelElementCS(lambdaLiteralExpCS); if (result == null) result = casePivotableElementCS(lambdaLiteralExpCS); if (result == null) result = caseElementCS(lambdaLiteralExpCS); if (result == null) result = casePivotable(lambdaLiteralExpCS); if (result == null) result = caseVisitableCS(lambdaLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.LET_EXP_CS: { LetExpCS letExpCS = (LetExpCS)theEObject; T result = caseLetExpCS(letExpCS); if (result == null) result = caseExpCS(letExpCS); if (result == null) result = caseModelElementCS(letExpCS); if (result == null) result = casePivotableElementCS(letExpCS); if (result == null) result = caseElementCS(letExpCS); if (result == null) result = casePivotable(letExpCS); if (result == null) result = caseVisitableCS(letExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.LET_VARIABLE_CS: { LetVariableCS letVariableCS = (LetVariableCS)theEObject; T result = caseLetVariableCS(letVariableCS); if (result == null) result = caseExpCS(letVariableCS); if (result == null) result = caseVariableCS(letVariableCS); if (result == null) result = caseNamedElementCS(letVariableCS); if (result == null) result = caseModelElementCS(letVariableCS); if (result == null) result = casePivotableElementCS(letVariableCS); if (result == null) result = caseNameable(letVariableCS); if (result == null) result = caseElementCS(letVariableCS); if (result == null) result = casePivotable(letVariableCS); if (result == null) result = caseVisitableCS(letVariableCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.LITERAL_EXP_CS: { LiteralExpCS literalExpCS = (LiteralExpCS)theEObject; T result = caseLiteralExpCS(literalExpCS); if (result == null) result = caseExpCS(literalExpCS); if (result == null) result = caseModelElementCS(literalExpCS); if (result == null) result = casePivotableElementCS(literalExpCS); if (result == null) result = caseElementCS(literalExpCS); if (result == null) result = casePivotable(literalExpCS); if (result == null) result = caseVisitableCS(literalExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.MAP_LITERAL_EXP_CS: { MapLiteralExpCS mapLiteralExpCS = (MapLiteralExpCS)theEObject; T result = caseMapLiteralExpCS(mapLiteralExpCS); if (result == null) result = caseLiteralExpCS(mapLiteralExpCS); if (result == null) result = caseExpCS(mapLiteralExpCS); if (result == null) result = caseModelElementCS(mapLiteralExpCS); if (result == null) result = casePivotableElementCS(mapLiteralExpCS); if (result == null) result = caseElementCS(mapLiteralExpCS); if (result == null) result = casePivotable(mapLiteralExpCS); if (result == null) result = caseVisitableCS(mapLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.MAP_LITERAL_PART_CS: { MapLiteralPartCS mapLiteralPartCS = (MapLiteralPartCS)theEObject; T result = caseMapLiteralPartCS(mapLiteralPartCS); if (result == null) result = caseModelElementCS(mapLiteralPartCS); if (result == null) result = casePivotableElementCS(mapLiteralPartCS); if (result == null) result = caseElementCS(mapLiteralPartCS); if (result == null) result = casePivotable(mapLiteralPartCS); if (result == null) result = caseVisitableCS(mapLiteralPartCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.MAP_TYPE_CS: { MapTypeCS mapTypeCS = (MapTypeCS)theEObject; T result = caseMapTypeCS(mapTypeCS); if (result == null) result = caseTypedRefCS(mapTypeCS); if (result == null) result = caseNameable(mapTypeCS); if (result == null) result = caseTypeRefCS(mapTypeCS); if (result == null) result = caseElementRefCS(mapTypeCS); if (result == null) result = casePivotableElementCS(mapTypeCS); if (result == null) result = caseElementCS(mapTypeCS); if (result == null) result = casePivotable(mapTypeCS); if (result == null) result = caseVisitableCS(mapTypeCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.NAME_EXP_CS: { NameExpCS nameExpCS = (NameExpCS)theEObject; T result = caseNameExpCS(nameExpCS); if (result == null) result = caseAssociationClassCallExpCS(nameExpCS); if (result == null) result = caseShadowExpCS(nameExpCS); if (result == null) result = caseIterateCallExpCS(nameExpCS); if (result == null) result = caseOperationCallExpCS(nameExpCS); if (result == null) result = casePropertyCallExpCS(nameExpCS); if (result == null) result = caseVariableExpCS(nameExpCS); if (result == null) result = caseIterationCallExpCS(nameExpCS); if (result == null) result = caseCallExpCS(nameExpCS); if (result == null) result = caseAbstractNameExpCS(nameExpCS); if (result == null) result = caseExpCS(nameExpCS); if (result == null) result = caseModelElementCS(nameExpCS); if (result == null) result = casePivotableElementCS(nameExpCS); if (result == null) result = caseElementCS(nameExpCS); if (result == null) result = casePivotable(nameExpCS); if (result == null) result = caseVisitableCS(nameExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.NAVIGATING_ARG_CS: { NavigatingArgCS navigatingArgCS = (NavigatingArgCS)theEObject; T result = caseNavigatingArgCS(navigatingArgCS); if (result == null) result = caseModelElementCS(navigatingArgCS); if (result == null) result = casePivotableElementCS(navigatingArgCS); if (result == null) result = caseElementCS(navigatingArgCS); if (result == null) result = casePivotable(navigatingArgCS); if (result == null) result = caseVisitableCS(navigatingArgCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.NESTED_EXP_CS: { NestedExpCS nestedExpCS = (NestedExpCS)theEObject; T result = caseNestedExpCS(nestedExpCS); if (result == null) result = caseExpCS(nestedExpCS); if (result == null) result = caseModelElementCS(nestedExpCS); if (result == null) result = casePivotableElementCS(nestedExpCS); if (result == null) result = caseElementCS(nestedExpCS); if (result == null) result = casePivotable(nestedExpCS); if (result == null) result = caseVisitableCS(nestedExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.NULL_LITERAL_EXP_CS: { NullLiteralExpCS nullLiteralExpCS = (NullLiteralExpCS)theEObject; T result = caseNullLiteralExpCS(nullLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(nullLiteralExpCS); if (result == null) result = caseLiteralExpCS(nullLiteralExpCS); if (result == null) result = caseExpCS(nullLiteralExpCS); if (result == null) result = caseModelElementCS(nullLiteralExpCS); if (result == null) result = casePivotableElementCS(nullLiteralExpCS); if (result == null) result = caseElementCS(nullLiteralExpCS); if (result == null) result = casePivotable(nullLiteralExpCS); if (result == null) result = caseVisitableCS(nullLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.NUMBER_LITERAL_EXP_CS: { NumberLiteralExpCS numberLiteralExpCS = (NumberLiteralExpCS)theEObject; T result = caseNumberLiteralExpCS(numberLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(numberLiteralExpCS); if (result == null) result = caseLiteralExpCS(numberLiteralExpCS); if (result == null) result = caseExpCS(numberLiteralExpCS); if (result == null) result = caseModelElementCS(numberLiteralExpCS); if (result == null) result = casePivotableElementCS(numberLiteralExpCS); if (result == null) result = caseElementCS(numberLiteralExpCS); if (result == null) result = casePivotable(numberLiteralExpCS); if (result == null) result = caseVisitableCS(numberLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.OPERATION_CALL_EXP_CS: { OperationCallExpCS operationCallExpCS = (OperationCallExpCS)theEObject; T result = caseOperationCallExpCS(operationCallExpCS); if (result == null) result = caseCallExpCS(operationCallExpCS); if (result == null) result = caseAbstractNameExpCS(operationCallExpCS); if (result == null) result = caseExpCS(operationCallExpCS); if (result == null) result = caseModelElementCS(operationCallExpCS); if (result == null) result = casePivotableElementCS(operationCallExpCS); if (result == null) result = caseElementCS(operationCallExpCS); if (result == null) result = casePivotable(operationCallExpCS); if (result == null) result = caseVisitableCS(operationCallExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.OPERATOR_EXP_CS: { OperatorExpCS operatorExpCS = (OperatorExpCS)theEObject; T result = caseOperatorExpCS(operatorExpCS); if (result == null) result = caseExpCS(operatorExpCS); if (result == null) result = caseNamedElementCS(operatorExpCS); if (result == null) result = caseModelElementCS(operatorExpCS); if (result == null) result = caseNameable(operatorExpCS); if (result == null) result = casePivotableElementCS(operatorExpCS); if (result == null) result = caseElementCS(operatorExpCS); if (result == null) result = casePivotable(operatorExpCS); if (result == null) result = caseVisitableCS(operatorExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.PATTERN_EXP_CS: { PatternExpCS patternExpCS = (PatternExpCS)theEObject; T result = casePatternExpCS(patternExpCS); if (result == null) result = caseExpCS(patternExpCS); if (result == null) result = caseModelElementCS(patternExpCS); if (result == null) result = casePivotableElementCS(patternExpCS); if (result == null) result = caseElementCS(patternExpCS); if (result == null) result = casePivotable(patternExpCS); if (result == null) result = caseVisitableCS(patternExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.PREFIX_EXP_CS: { PrefixExpCS prefixExpCS = (PrefixExpCS)theEObject; T result = casePrefixExpCS(prefixExpCS); if (result == null) result = caseOperatorExpCS(prefixExpCS); if (result == null) result = caseExpCS(prefixExpCS); if (result == null) result = caseNamedElementCS(prefixExpCS); if (result == null) result = caseModelElementCS(prefixExpCS); if (result == null) result = caseNameable(prefixExpCS); if (result == null) result = casePivotableElementCS(prefixExpCS); if (result == null) result = caseElementCS(prefixExpCS); if (result == null) result = casePivotable(prefixExpCS); if (result == null) result = caseVisitableCS(prefixExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.PRIMITIVE_LITERAL_EXP_CS: { PrimitiveLiteralExpCS primitiveLiteralExpCS = (PrimitiveLiteralExpCS)theEObject; T result = casePrimitiveLiteralExpCS(primitiveLiteralExpCS); if (result == null) result = caseLiteralExpCS(primitiveLiteralExpCS); if (result == null) result = caseExpCS(primitiveLiteralExpCS); if (result == null) result = caseModelElementCS(primitiveLiteralExpCS); if (result == null) result = casePivotableElementCS(primitiveLiteralExpCS); if (result == null) result = caseElementCS(primitiveLiteralExpCS); if (result == null) result = casePivotable(primitiveLiteralExpCS); if (result == null) result = caseVisitableCS(primitiveLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.PROPERTY_CALL_EXP_CS: { PropertyCallExpCS propertyCallExpCS = (PropertyCallExpCS)theEObject; T result = casePropertyCallExpCS(propertyCallExpCS); if (result == null) result = caseCallExpCS(propertyCallExpCS); if (result == null) result = caseAbstractNameExpCS(propertyCallExpCS); if (result == null) result = caseExpCS(propertyCallExpCS); if (result == null) result = caseModelElementCS(propertyCallExpCS); if (result == null) result = casePivotableElementCS(propertyCallExpCS); if (result == null) result = caseElementCS(propertyCallExpCS); if (result == null) result = casePivotable(propertyCallExpCS); if (result == null) result = caseVisitableCS(propertyCallExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.ROUND_BRACKETED_CLAUSE_CS: { RoundBracketedClauseCS roundBracketedClauseCS = (RoundBracketedClauseCS)theEObject; T result = caseRoundBracketedClauseCS(roundBracketedClauseCS); if (result == null) result = caseContextLessElementCS(roundBracketedClauseCS); if (result == null) result = caseElementCS(roundBracketedClauseCS); if (result == null) result = caseVisitableCS(roundBracketedClauseCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.SELF_EXP_CS: { SelfExpCS selfExpCS = (SelfExpCS)theEObject; T result = caseSelfExpCS(selfExpCS); if (result == null) result = caseExpCS(selfExpCS); if (result == null) result = caseModelElementCS(selfExpCS); if (result == null) result = casePivotableElementCS(selfExpCS); if (result == null) result = caseElementCS(selfExpCS); if (result == null) result = casePivotable(selfExpCS); if (result == null) result = caseVisitableCS(selfExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.SHADOW_EXP_CS: { ShadowExpCS shadowExpCS = (ShadowExpCS)theEObject; T result = caseShadowExpCS(shadowExpCS); if (result == null) result = caseAbstractNameExpCS(shadowExpCS); if (result == null) result = caseExpCS(shadowExpCS); if (result == null) result = caseModelElementCS(shadowExpCS); if (result == null) result = casePivotableElementCS(shadowExpCS); if (result == null) result = caseElementCS(shadowExpCS); if (result == null) result = casePivotable(shadowExpCS); if (result == null) result = caseVisitableCS(shadowExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.SHADOW_PART_CS: { ShadowPartCS shadowPartCS = (ShadowPartCS)theEObject; T result = caseShadowPartCS(shadowPartCS); if (result == null) result = caseModelElementCS(shadowPartCS); if (result == null) result = caseNameable(shadowPartCS); if (result == null) result = casePivotableElementCS(shadowPartCS); if (result == null) result = caseElementCS(shadowPartCS); if (result == null) result = casePivotable(shadowPartCS); if (result == null) result = caseVisitableCS(shadowPartCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.SQUARE_BRACKETED_CLAUSE_CS: { SquareBracketedClauseCS squareBracketedClauseCS = (SquareBracketedClauseCS)theEObject; T result = caseSquareBracketedClauseCS(squareBracketedClauseCS); if (result == null) result = caseContextLessElementCS(squareBracketedClauseCS); if (result == null) result = caseElementCS(squareBracketedClauseCS); if (result == null) result = caseVisitableCS(squareBracketedClauseCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.STRING_LITERAL_EXP_CS: { StringLiteralExpCS stringLiteralExpCS = (StringLiteralExpCS)theEObject; T result = caseStringLiteralExpCS(stringLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(stringLiteralExpCS); if (result == null) result = caseLiteralExpCS(stringLiteralExpCS); if (result == null) result = caseExpCS(stringLiteralExpCS); if (result == null) result = caseModelElementCS(stringLiteralExpCS); if (result == null) result = casePivotableElementCS(stringLiteralExpCS); if (result == null) result = caseElementCS(stringLiteralExpCS); if (result == null) result = casePivotable(stringLiteralExpCS); if (result == null) result = caseVisitableCS(stringLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.TUPLE_LITERAL_EXP_CS: { TupleLiteralExpCS tupleLiteralExpCS = (TupleLiteralExpCS)theEObject; T result = caseTupleLiteralExpCS(tupleLiteralExpCS); if (result == null) result = caseLiteralExpCS(tupleLiteralExpCS); if (result == null) result = caseExpCS(tupleLiteralExpCS); if (result == null) result = caseModelElementCS(tupleLiteralExpCS); if (result == null) result = casePivotableElementCS(tupleLiteralExpCS); if (result == null) result = caseElementCS(tupleLiteralExpCS); if (result == null) result = casePivotable(tupleLiteralExpCS); if (result == null) result = caseVisitableCS(tupleLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.TUPLE_LITERAL_PART_CS: { TupleLiteralPartCS tupleLiteralPartCS = (TupleLiteralPartCS)theEObject; T result = caseTupleLiteralPartCS(tupleLiteralPartCS); if (result == null) result = caseVariableCS(tupleLiteralPartCS); if (result == null) result = caseNamedElementCS(tupleLiteralPartCS); if (result == null) result = caseModelElementCS(tupleLiteralPartCS); if (result == null) result = caseNameable(tupleLiteralPartCS); if (result == null) result = casePivotableElementCS(tupleLiteralPartCS); if (result == null) result = caseElementCS(tupleLiteralPartCS); if (result == null) result = casePivotable(tupleLiteralPartCS); if (result == null) result = caseVisitableCS(tupleLiteralPartCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.TYPE_LITERAL_EXP_CS: { TypeLiteralExpCS typeLiteralExpCS = (TypeLiteralExpCS)theEObject; T result = caseTypeLiteralExpCS(typeLiteralExpCS); if (result == null) result = caseLiteralExpCS(typeLiteralExpCS); if (result == null) result = caseExpCS(typeLiteralExpCS); if (result == null) result = caseModelElementCS(typeLiteralExpCS); if (result == null) result = casePivotableElementCS(typeLiteralExpCS); if (result == null) result = caseElementCS(typeLiteralExpCS); if (result == null) result = casePivotable(typeLiteralExpCS); if (result == null) result = caseVisitableCS(typeLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.TYPE_NAME_EXP_CS: { TypeNameExpCS typeNameExpCS = (TypeNameExpCS)theEObject; T result = caseTypeNameExpCS(typeNameExpCS); if (result == null) result = caseTypedRefCS(typeNameExpCS); if (result == null) result = caseTypeRefCS(typeNameExpCS); if (result == null) result = caseElementRefCS(typeNameExpCS); if (result == null) result = casePivotableElementCS(typeNameExpCS); if (result == null) result = caseElementCS(typeNameExpCS); if (result == null) result = casePivotable(typeNameExpCS); if (result == null) result = caseVisitableCS(typeNameExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.UNLIMITED_NATURAL_LITERAL_EXP_CS: { UnlimitedNaturalLiteralExpCS unlimitedNaturalLiteralExpCS = (UnlimitedNaturalLiteralExpCS)theEObject; T result = caseUnlimitedNaturalLiteralExpCS(unlimitedNaturalLiteralExpCS); if (result == null) result = casePrimitiveLiteralExpCS(unlimitedNaturalLiteralExpCS); if (result == null) result = caseLiteralExpCS(unlimitedNaturalLiteralExpCS); if (result == null) result = caseExpCS(unlimitedNaturalLiteralExpCS); if (result == null) result = caseModelElementCS(unlimitedNaturalLiteralExpCS); if (result == null) result = casePivotableElementCS(unlimitedNaturalLiteralExpCS); if (result == null) result = caseElementCS(unlimitedNaturalLiteralExpCS); if (result == null) result = casePivotable(unlimitedNaturalLiteralExpCS); if (result == null) result = caseVisitableCS(unlimitedNaturalLiteralExpCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.VARIABLE_CS: { VariableCS variableCS = (VariableCS)theEObject; T result = caseVariableCS(variableCS); if (result == null) result = caseNamedElementCS(variableCS); if (result == null) result = caseModelElementCS(variableCS); if (result == null) result = caseNameable(variableCS); if (result == null) result = casePivotableElementCS(variableCS); if (result == null) result = caseElementCS(variableCS); if (result == null) result = casePivotable(variableCS); if (result == null) result = caseVisitableCS(variableCS); if (result == null) result = defaultCase(theEObject); return result; } case EssentialOCLCSPackage.VARIABLE_EXP_CS: { VariableExpCS variableExpCS = (VariableExpCS)theEObject; T result = caseVariableExpCS(variableExpCS); if (result == null) result = caseAbstractNameExpCS(variableExpCS); if (result == null) result = caseExpCS(variableExpCS); if (result == null) result = caseModelElementCS(variableExpCS); if (result == null) result = casePivotableElementCS(variableExpCS); if (result == null) result = caseElementCS(variableExpCS); if (result == null) result = casePivotable(variableExpCS); if (result == null) result = caseVisitableCS(variableExpCS); if (result == null) result = defaultCase(theEObject); return result; } default: return defaultCase(theEObject); } } /** * Returns the result of interpreting the object as an instance of '<em>Abstract Name Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Abstract Name Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseAbstractNameExpCS(AbstractNameExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Association Class Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Association Class Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseAssociationClassCallExpCS(AssociationClassCallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Boolean Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Boolean Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseBooleanLiteralExpCS(BooleanLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCallExpCS(CallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Collection Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Collection Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCollectionLiteralExpCS(CollectionLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Collection Literal Part CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Collection Literal Part CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCollectionLiteralPartCS(CollectionLiteralPartCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Collection Pattern CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Collection Pattern CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCollectionPatternCS(CollectionPatternCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Collection Type CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Collection Type CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCollectionTypeCS(CollectionTypeCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Context CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Context CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseContextCS(ContextCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Curly Bracketed Clause CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Curly Bracketed Clause CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseCurlyBracketedClauseCS(CurlyBracketedClauseCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseExpCS(ExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Exp Specification CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Exp Specification CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseExpSpecificationCS(ExpSpecificationCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>If Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>If Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseIfExpCS(IfExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>If Then Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>If Then Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseIfThenExpCS(IfThenExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Infix Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Infix Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseInfixExpCS(InfixExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Invalid Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Invalid Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseInvalidLiteralExpCS(InvalidLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Iterate Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Iterate Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseIterateCallExpCS(IterateCallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Iteration Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Iteration Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseIterationCallExpCS(IterationCallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Lambda Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Lambda Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseLambdaLiteralExpCS(LambdaLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Let Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Let Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseLetExpCS(LetExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Let Variable CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Let Variable CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseLetVariableCS(LetVariableCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseLiteralExpCS(LiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Map Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Map Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseMapLiteralExpCS(MapLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Map Literal Part CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Map Literal Part CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseMapLiteralPartCS(MapLiteralPartCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Map Type CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Map Type CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseMapTypeCS(MapTypeCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Name Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Name Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNameExpCS(NameExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Navigating Arg CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Navigating Arg CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNavigatingArgCS(NavigatingArgCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Nested Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Nested Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNestedExpCS(NestedExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Null Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Null Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNullLiteralExpCS(NullLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Number Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Number Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNumberLiteralExpCS(NumberLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Operation Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Operation Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseOperationCallExpCS(OperationCallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Operator Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Operator Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseOperatorExpCS(OperatorExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Pattern Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Pattern Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePatternExpCS(PatternExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Prefix Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Prefix Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePrefixExpCS(PrefixExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Primitive Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Primitive Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePrimitiveLiteralExpCS(PrimitiveLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Property Call Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Property Call Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePropertyCallExpCS(PropertyCallExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Round Bracketed Clause CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Round Bracketed Clause CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseRoundBracketedClauseCS(RoundBracketedClauseCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Self Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Self Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseSelfExpCS(SelfExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Shadow Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Shadow Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseShadowExpCS(ShadowExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Shadow Part CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Shadow Part CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseShadowPartCS(ShadowPartCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Square Bracketed Clause CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Square Bracketed Clause CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseSquareBracketedClauseCS(SquareBracketedClauseCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>String Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>String Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseStringLiteralExpCS(StringLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Tuple Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Tuple Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTupleLiteralExpCS(TupleLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Tuple Literal Part CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Tuple Literal Part CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTupleLiteralPartCS(TupleLiteralPartCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Type Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Type Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTypeLiteralExpCS(TypeLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Type Name Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Type Name Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTypeNameExpCS(TypeNameExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Unlimited Natural Literal Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Unlimited Natural Literal Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseUnlimitedNaturalLiteralExpCS( UnlimitedNaturalLiteralExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Variable CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Variable CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseVariableCS(VariableCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Variable Exp CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Variable Exp CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseVariableExpCS(VariableExpCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Visitable CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Visitable CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseVisitableCS(VisitableCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Element CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Element CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseElementCS(ElementCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Pivotable</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Pivotable</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePivotable(Pivotable object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Pivotable Element CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Pivotable Element CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T casePivotableElementCS(PivotableElementCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Model Element CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Model Element CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseModelElementCS(ModelElementCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Nameable</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Nameable</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNameable(Nameable object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Named Element CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Named Element CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseNamedElementCS(NamedElementCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Element Ref CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Element Ref CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseElementRefCS(ElementRefCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Type Ref CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Type Ref CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTypeRefCS(TypeRefCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Typed Ref CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Typed Ref CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseTypedRefCS(TypedRefCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Root CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Root CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseRootCS(RootCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Context Less Element CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Context Less Element CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseContextLessElementCS(ContextLessElementCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>Specification CS</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Specification CS</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ public T caseSpecificationCS(SpecificationCS object) { return null; } /** * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. * <!-- begin-user-doc --> * This implementation returns null; * returning a non-null result will terminate the switch, but this is the last case anyway. * <!-- end-user-doc --> * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>EObject</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated */ @Override public T defaultCase(EObject object) { return null; } } //EssentialOCLCSSwitch