diff options
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/syntax/expressions/BinaryExpression.java')
-rw-r--r-- | plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/syntax/expressions/BinaryExpression.java | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/syntax/expressions/BinaryExpression.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/syntax/expressions/BinaryExpression.java deleted file mode 100644 index 8578a671e34..00000000000 --- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/syntax/expressions/BinaryExpression.java +++ /dev/null @@ -1,66 +0,0 @@ -/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- *
- * 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:
- * CEA LIST - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.alf.syntax.expressions;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.papyrus.uml.alf.syntax.common.AssignedSource;
-
-public abstract class BinaryExpression extends Expression {
-
- // Synthesized Properties
- public Expression operand1 ;
- public Expression operand2 ;
- public String operator ;
-
- // Constraints
-
- /*
- * The assignments in the operand expressions of a binary expression must be valid (as determined by the
- * validateAssignments helper operation).
- */
- public void checkBinaryExpressionOperandAssignments() {
-
- }
-
- /*
- * The operands of a binary expression must both have a multiplicity upper bound of 1.
- */
- public void checkBinaryExpressionOperandMultiplicity() {
-
- }
-
- // Helper Operations
-
- /*
- * The assignments after a binary expression include all the assignments before the expression that are not
- * reassigned in either operand expression, plus the new assignments from each of the operand expressions.
- */
- @Override
- public List<AssignedSource> updateAssignments ( ) {
- return new ArrayList<AssignedSource>() ;
- }
-
- /*
- * In general the assignments before the operand expressions of a binary expression are the same as those
- * before the binary expression and, if an assignment for a name is changed in one operand expression,
- * then the assignment for that name may not change in the other operand expression. (This is overridden
- * for conditional logical expressions.)
- */
- public boolean validateAssignments ( ) {
- return false ;
- }
-
-}
|