3.x RC1 compatibility
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / PrefixedUnaryExpression.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 /**
4  * @author Matthieu Casanova
5  */
6 public class PrefixedUnaryExpression extends UnaryExpression {
7
8   public PrefixedUnaryExpression(final Expression expression,
9                                  final int operator,
10                                  final int sourceStart) {
11     super(expression, operator, sourceStart, expression.sourceEnd);
12   }
13
14   public String toStringExpression() {
15     return operatorToString() + expression.toStringExpression();
16   }
17 }