Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ReturnStatement.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java
deleted file mode 100644 (file)
index 61e5cec..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-import java.util.List;
-
-/**
- * A return statement.
- * @author Matthieu Casanova
- */
-public final class ReturnStatement extends Statement {
-
-  private final Expression expression;
-
-  public ReturnStatement(final Expression expression, final int sourceStart, final int sourceEnd) {
-    super(sourceStart, sourceEnd);
-    this.expression = expression;
-  }
-
-  public String toString(final int tab) {
-    final String s = tabString(tab);
-    if (expression == null) {
-      return s + "return";//$NON-NLS-1$
-    }
-    return s + "return " + expression.toStringExpression();//$NON-NLS-1$
-  }
-
-  /**
-   * Get the variables from outside (parameters, globals ...)
-   *
-   * @param list the list where we will put variables
-   */
-  public void getOutsideVariable(final List list) {}
-
-  /**
-   * get the modified variables.
-   *
-   * @param list the list where we will put variables
-   */
-  public void getModifiedVariable(final List list) {
-    if (expression != null) {
-      expression.getModifiedVariable(list);
-    }
-  }
-
-  /**
-   * Get the variables used.
-   *
-   * @param list the list where we will put variables
-   */
-  public void getUsedVariable(final List list) {
-    if (expression != null) {
-        expression.getUsedVariable(list);
-    }
-  }
-}