Changes:
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / UnaryExpression.java
index fff7021..2a1a3c2 100644 (file)
@@ -1,5 +1,7 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+
 /**
  * @author Matthieu Casanova
  */
@@ -7,8 +9,28 @@ public abstract class UnaryExpression extends OperatorExpression {
 
   public Expression expression;
 
-  public UnaryExpression(Expression expression, int operator, int sourceStart, int sourceEnd) {
+  public UnaryExpression(final Expression expression, final int operator, final int sourceStart, final int sourceEnd) {
     super(operator, sourceStart, sourceEnd);
     this.expression = expression;
   }
+
+    /**
+   * Get the variables from outside (parameters, globals ...)
+   */
+  public void getOutsideVariable(final List list) {
+  }
+
+  /**
+   * get the modified variables.
+   */
+  public void getModifiedVariable(final List list) {
+    expression.getModifiedVariable(list);
+  }
+
+  /**
+   * Get the variables used.
+   */
+  public void getUsedVariable(final List list) {
+    expression.getUsedVariable(list);
+  }
 }