deleted refs to org.eclipse.update.internal.ui.UpdateUIPlugin
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / BinaryExpression.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 /**
4  * @author Matthieu Casanova
5  */
6 public class BinaryExpression extends OperatorExpression {
7
8   /** The two expressions. */
9   public Expression left,right;
10
11   public BinaryExpression(Expression left,
12                           Expression right,
13                           int operator) {
14     super(operator, left.sourceStart, right.sourceEnd);
15     this.left = left;
16     this.right = right;
17   }
18
19   public String toStringExpressionNoParenthesis() {
20     final StringBuffer buff = new StringBuffer(left.toStringExpression());
21     buff.append(operatorToString());
22     buff.append(right.toStringExpression());
23     return buff.toString();
24   }
25 }