package net.sourceforge.phpdt.internal.compiler.ast;
+import java.util.List;
+import java.util.ArrayList;
+
/**
* @author Matthieu Casanova
*/
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);
+ }
}