1 package net.sourceforge.phpdt.internal.compiler.ast;
6 * @author Matthieu Casanova
8 public abstract class UnaryExpression extends OperatorExpression {
10 public final Expression expression;
12 protected UnaryExpression(final Expression expression, final int operator, final int sourceStart, final int sourceEnd) {
13 super(operator, sourceStart, sourceEnd);
14 this.expression = expression;
18 * Get the variables from outside (parameters, globals ...)
20 * @param list the list where we will put variables
22 public final void getOutsideVariable(final List list) {}
25 * get the modified variables.
27 * @param list the list where we will put variables
29 public final void getModifiedVariable(final List list) {
30 expression.getModifiedVariable(list);
34 * Get the variables used.
36 * @param list the list where we will put variables
38 public final void getUsedVariable(final List list) {
39 expression.getUsedVariable(list);