diff options
Diffstat (limited to 'plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java')
-rw-r--r-- | plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java index c0cc7449..67dc2675 100644 --- a/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java +++ b/plugins/org.eclipse.xpand3/emf-gen/org/eclipse/xpand3/expression/util/ExpressionSwitch.java @@ -2,7 +2,7 @@ * <copyright> * </copyright> * - * $Id: ExpressionSwitch.java,v 1.3 2008/03/10 08:25:35 jkohnlein Exp $ + * $Id: ExpressionSwitch.java,v 1.4 2008/03/12 09:54:30 jkohnlein Exp $ */ package org.eclipse.xpand3.expression.util; @@ -272,6 +272,14 @@ public class ExpressionSwitch<T> { if (result == null) result = defaultCase(theEObject); return result; } + case ExpressionPackage.UNARY_OPERATION: { + UnaryOperation unaryOperation = (UnaryOperation)theEObject; + T result = caseUnaryOperation(unaryOperation); + if (result == null) result = caseAbstractExpression(unaryOperation); + if (result == null) result = caseSyntaxElement(unaryOperation); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -607,6 +615,21 @@ public class ExpressionSwitch<T> { } /** + * Returns the result of interpreting the object as an instance of '<em>Unary Operation</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>Unary Operation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseUnaryOperation(UnaryOperation object) { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>Syntax Element</em>'. * <!-- begin-user-doc --> * This implementation returns null; |