Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/expressions/BinaryExpression.java')
-rw-r--r--extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/expressions/BinaryExpression.java52
1 files changed, 0 insertions, 52 deletions
diff --git a/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/expressions/BinaryExpression.java b/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/expressions/BinaryExpression.java
deleted file mode 100644
index a90f4a1c9fb..00000000000
--- a/extraplugins/alf/org.eclipse.papyrus.alf/src/org/eclipse/papyrus/alf/syntax/expressions/BinaryExpression.java
+++ /dev/null
@@ -1,52 +0,0 @@
-package org.eclipse.papyrus.alf.syntax.expressions;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.papyrus.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.
- */
- 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 ;
- }
-
-}

Back to the top