1 package net.sourceforge.phpdt.internal.compiler.ast;
6 * @author Matthieu Casanova
8 public abstract class UnaryExpression extends OperatorExpression {
10 public Expression expression;
12 public 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 public void getOutsideVariable(final List list) {
24 * get the modified variables.
26 public void getModifiedVariable(final List list) {
27 expression.getModifiedVariable(list);
31 * Get the variables used.
33 public void getUsedVariable(final List list) {
34 expression.getUsedVariable(list);