4c74cc4e227153c8f5aa35d09ef662b742b17d12
[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     final StringBuffer buff = new StringBuffer(operatorToString());
16     buff.append(expression.toStringExpression());
17     return buff.toString();
18   }
19 }