Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ArrayDeclarator.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java
deleted file mode 100644 (file)
index ceb04d5..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-import java.util.List;
-
-/**
- * @author Matthieu Casanova
- */
-public class ArrayDeclarator extends AbstractVariable {
-
-  public AbstractVariable prefix;
-  public Expression var;
-
-  public ArrayDeclarator(final AbstractVariable prefix,
-                         final Expression vars,
-                         final int sourceEnd) {
-    super(prefix.sourceStart, sourceEnd);
-    this.prefix = prefix;
-    this.var = vars;
-  }
-
-  /**
-   * Return the expression as String.
-   * @return the expression
-   */
-  public String toStringExpression() {
-    final StringBuffer buff = new StringBuffer(prefix.toStringExpression());
-    buff.append('[');
-    if (var != null) {
-      buff.append(var.toStringExpression());
-    }
-    buff.append(']');
-    return buff.toString();
-  }
-
-  /**
-   * Return the name of the variable.
-   * @return the name of the functionName variable
-   */
-  public String getName() {
-    return prefix.getName();
-  }
-
-  /**
-   * Get the variables from outside (parameters, globals ...)
-   */
-  public void getOutsideVariable(final List list) {
-  }
-
-  /**
-   * get the modified variables.
-   */
-  public void getModifiedVariable(final List list) {
-    prefix.getModifiedVariable(list);
-    if (var != null) {
-      var.getModifiedVariable(list);
-    }
-  }
-
-  /**
-   * Get the variables used.
-   */
-  public void getUsedVariable(final List list) {
-    prefix.getUsedVariable(list);
-    if (var != null) {
-      var.getUsedVariable(list);
-    }
-  }
-}