compact the dereferencing operator in the formatter
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / PostfixedUnaryExpression.java
1 package net.sourceforge.phpdt.internal.compiler.ast;
2
3 /**
4  * @author Matthieu Casanova
5  */
6 public class PostfixedUnaryExpression extends UnaryExpression {
7
8   public PostfixedUnaryExpression(final Expression expression,
9                                   final int operator,
10                                   final int sourceEnd) {
11     super(expression, operator, expression.sourceStart, sourceEnd);
12   }
13
14   public String toStringExpression() {
15     final StringBuffer buff = new StringBuffer(expression.toStringExpression());
16     buff.append(operatorToString());
17     return buff.toString();
18   }
19 }