|
@@ -0,0 +1,615 @@
|
|
|
+/**
|
|
|
+ */
|
|
|
+package org.yakindu.base.expressions.expressions.util;
|
|
|
+
|
|
|
+import org.eclipse.emf.ecore.EObject;
|
|
|
+import org.eclipse.emf.ecore.EPackage;
|
|
|
+
|
|
|
+import org.eclipse.emf.ecore.util.Switch;
|
|
|
+
|
|
|
+import org.yakindu.base.expressions.expressions.*;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <!-- 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.yakindu.base.expressions.expressions.ExpressionsPackage
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+public class ExpressionsSwitch<T> extends Switch<T> {
|
|
|
+ /**
|
|
|
+ * The cached model package
|
|
|
+ * <!-- begin-user-doc -->
|
|
|
+ * <!-- end-user-doc -->
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ protected static ExpressionsPackage modelPackage;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Creates an instance of the switch.
|
|
|
+ * <!-- begin-user-doc -->
|
|
|
+ * <!-- end-user-doc -->
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public ExpressionsSwitch() {
|
|
|
+ if (modelPackage == null) {
|
|
|
+ modelPackage = ExpressionsPackage.eINSTANCE;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Checks whether this is a switch for the given package.
|
|
|
+ * <!-- begin-user-doc -->
|
|
|
+ * <!-- end-user-doc -->
|
|
|
+ * @parameter 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 ExpressionsPackage.EXPRESSION: {
|
|
|
+ Expression expression = (Expression)theEObject;
|
|
|
+ T result = caseExpression(expression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.LITERAL: {
|
|
|
+ Literal literal = (Literal)theEObject;
|
|
|
+ T result = caseLiteral(literal);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.BOOL_LITERAL: {
|
|
|
+ BoolLiteral boolLiteral = (BoolLiteral)theEObject;
|
|
|
+ T result = caseBoolLiteral(boolLiteral);
|
|
|
+ if (result == null) result = caseLiteral(boolLiteral);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.INT_LITERAL: {
|
|
|
+ IntLiteral intLiteral = (IntLiteral)theEObject;
|
|
|
+ T result = caseIntLiteral(intLiteral);
|
|
|
+ if (result == null) result = caseLiteral(intLiteral);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.REAL_LITERAL: {
|
|
|
+ RealLiteral realLiteral = (RealLiteral)theEObject;
|
|
|
+ T result = caseRealLiteral(realLiteral);
|
|
|
+ if (result == null) result = caseLiteral(realLiteral);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.HEX_LITERAL: {
|
|
|
+ HexLiteral hexLiteral = (HexLiteral)theEObject;
|
|
|
+ T result = caseHexLiteral(hexLiteral);
|
|
|
+ if (result == null) result = caseLiteral(hexLiteral);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.STRING_LITERAL: {
|
|
|
+ StringLiteral stringLiteral = (StringLiteral)theEObject;
|
|
|
+ T result = caseStringLiteral(stringLiteral);
|
|
|
+ if (result == null) result = caseLiteral(stringLiteral);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.ASSIGNMENT_EXPRESSION: {
|
|
|
+ AssignmentExpression assignmentExpression = (AssignmentExpression)theEObject;
|
|
|
+ T result = caseAssignmentExpression(assignmentExpression);
|
|
|
+ if (result == null) result = caseExpression(assignmentExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.CONDITIONAL_EXPRESSION: {
|
|
|
+ ConditionalExpression conditionalExpression = (ConditionalExpression)theEObject;
|
|
|
+ T result = caseConditionalExpression(conditionalExpression);
|
|
|
+ if (result == null) result = caseExpression(conditionalExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.LOGICAL_OR_EXPRESSION: {
|
|
|
+ LogicalOrExpression logicalOrExpression = (LogicalOrExpression)theEObject;
|
|
|
+ T result = caseLogicalOrExpression(logicalOrExpression);
|
|
|
+ if (result == null) result = caseExpression(logicalOrExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.LOGICAL_AND_EXPRESSION: {
|
|
|
+ LogicalAndExpression logicalAndExpression = (LogicalAndExpression)theEObject;
|
|
|
+ T result = caseLogicalAndExpression(logicalAndExpression);
|
|
|
+ if (result == null) result = caseExpression(logicalAndExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.LOGICAL_NOT_EXPRESSION: {
|
|
|
+ LogicalNotExpression logicalNotExpression = (LogicalNotExpression)theEObject;
|
|
|
+ T result = caseLogicalNotExpression(logicalNotExpression);
|
|
|
+ if (result == null) result = caseExpression(logicalNotExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.BITWISE_XOR_EXPRESSION: {
|
|
|
+ BitwiseXorExpression bitwiseXorExpression = (BitwiseXorExpression)theEObject;
|
|
|
+ T result = caseBitwiseXorExpression(bitwiseXorExpression);
|
|
|
+ if (result == null) result = caseExpression(bitwiseXorExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.BITWISE_OR_EXPRESSION: {
|
|
|
+ BitwiseOrExpression bitwiseOrExpression = (BitwiseOrExpression)theEObject;
|
|
|
+ T result = caseBitwiseOrExpression(bitwiseOrExpression);
|
|
|
+ if (result == null) result = caseExpression(bitwiseOrExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.BITWISE_AND_EXPRESSION: {
|
|
|
+ BitwiseAndExpression bitwiseAndExpression = (BitwiseAndExpression)theEObject;
|
|
|
+ T result = caseBitwiseAndExpression(bitwiseAndExpression);
|
|
|
+ if (result == null) result = caseExpression(bitwiseAndExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.LOGICAL_RELATION_EXPRESSION: {
|
|
|
+ LogicalRelationExpression logicalRelationExpression = (LogicalRelationExpression)theEObject;
|
|
|
+ T result = caseLogicalRelationExpression(logicalRelationExpression);
|
|
|
+ if (result == null) result = caseExpression(logicalRelationExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.SHIFT_EXPRESSION: {
|
|
|
+ ShiftExpression shiftExpression = (ShiftExpression)theEObject;
|
|
|
+ T result = caseShiftExpression(shiftExpression);
|
|
|
+ if (result == null) result = caseExpression(shiftExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.NUMERICAL_ADD_SUBTRACT_EXPRESSION: {
|
|
|
+ NumericalAddSubtractExpression numericalAddSubtractExpression = (NumericalAddSubtractExpression)theEObject;
|
|
|
+ T result = caseNumericalAddSubtractExpression(numericalAddSubtractExpression);
|
|
|
+ if (result == null) result = caseExpression(numericalAddSubtractExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.NUMERICAL_MULTIPLY_DIVIDE_EXPRESSION: {
|
|
|
+ NumericalMultiplyDivideExpression numericalMultiplyDivideExpression = (NumericalMultiplyDivideExpression)theEObject;
|
|
|
+ T result = caseNumericalMultiplyDivideExpression(numericalMultiplyDivideExpression);
|
|
|
+ if (result == null) result = caseExpression(numericalMultiplyDivideExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.NUMERICAL_UNARY_EXPRESSION: {
|
|
|
+ NumericalUnaryExpression numericalUnaryExpression = (NumericalUnaryExpression)theEObject;
|
|
|
+ T result = caseNumericalUnaryExpression(numericalUnaryExpression);
|
|
|
+ if (result == null) result = caseExpression(numericalUnaryExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.PRIMITIVE_VALUE_EXPRESSION: {
|
|
|
+ PrimitiveValueExpression primitiveValueExpression = (PrimitiveValueExpression)theEObject;
|
|
|
+ T result = casePrimitiveValueExpression(primitiveValueExpression);
|
|
|
+ if (result == null) result = caseExpression(primitiveValueExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.FEATURE_CALL: {
|
|
|
+ FeatureCall featureCall = (FeatureCall)theEObject;
|
|
|
+ T result = caseFeatureCall(featureCall);
|
|
|
+ if (result == null) result = caseExpression(featureCall);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.ELEMENT_REFERENCE_EXPRESSION: {
|
|
|
+ ElementReferenceExpression elementReferenceExpression = (ElementReferenceExpression)theEObject;
|
|
|
+ T result = caseElementReferenceExpression(elementReferenceExpression);
|
|
|
+ if (result == null) result = caseExpression(elementReferenceExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ case ExpressionsPackage.PARENTHESIZED_EXPRESSION: {
|
|
|
+ ParenthesizedExpression parenthesizedExpression = (ParenthesizedExpression)theEObject;
|
|
|
+ T result = caseParenthesizedExpression(parenthesizedExpression);
|
|
|
+ if (result == null) result = caseExpression(parenthesizedExpression);
|
|
|
+ if (result == null) result = defaultCase(theEObject);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+ default: return defaultCase(theEObject);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Expression</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>Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseExpression(Expression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Literal</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</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseLiteral(Literal object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Bool Literal</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>Bool Literal</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseBoolLiteral(BoolLiteral object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Int Literal</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>Int Literal</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseIntLiteral(IntLiteral object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Real Literal</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>Real Literal</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseRealLiteral(RealLiteral object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Hex Literal</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>Hex Literal</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseHexLiteral(HexLiteral object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>String Literal</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</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseStringLiteral(StringLiteral object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Assignment Expression</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>Assignment Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseAssignmentExpression(AssignmentExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Conditional Expression</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>Conditional Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseConditionalExpression(ConditionalExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Logical Or Expression</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>Logical Or Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseLogicalOrExpression(LogicalOrExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Logical And Expression</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>Logical And Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseLogicalAndExpression(LogicalAndExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Logical Not Expression</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>Logical Not Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseLogicalNotExpression(LogicalNotExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Bitwise Xor Expression</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>Bitwise Xor Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseBitwiseXorExpression(BitwiseXorExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Bitwise Or Expression</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>Bitwise Or Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseBitwiseOrExpression(BitwiseOrExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Bitwise And Expression</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>Bitwise And Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseBitwiseAndExpression(BitwiseAndExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Logical Relation Expression</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>Logical Relation Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseLogicalRelationExpression(LogicalRelationExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Shift Expression</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>Shift Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseShiftExpression(ShiftExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Numerical Add Subtract Expression</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>Numerical Add Subtract Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseNumericalAddSubtractExpression(NumericalAddSubtractExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Numerical Multiply Divide Expression</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>Numerical Multiply Divide Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseNumericalMultiplyDivideExpression(NumericalMultiplyDivideExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Numerical Unary Expression</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>Numerical Unary Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseNumericalUnaryExpression(NumericalUnaryExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Primitive Value Expression</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 Value Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T casePrimitiveValueExpression(PrimitiveValueExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Feature Call</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>Feature Call</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseFeatureCall(FeatureCall object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Element Reference Expression</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 Reference Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseElementReferenceExpression(ElementReferenceExpression object) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Returns the result of interpreting the object as an instance of '<em>Parenthesized Expression</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>Parenthesized Expression</em>'.
|
|
|
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
|
|
|
+ * @generated
|
|
|
+ */
|
|
|
+ public T caseParenthesizedExpression(ParenthesizedExpression 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;
|
|
|
+ }
|
|
|
+
|
|
|
+} //ExpressionsSwitch
|