Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / FunctionCall.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FunctionCall.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/FunctionCall.java
deleted file mode 100644 (file)
index 333e918..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-import java.util.List;
-import java.util.ArrayList;
-
-/**
- * A Function call.
- * @author Matthieu Casanova
- */
-public class FunctionCall extends AbstractSuffixExpression {
-
-  /** the function name. */
-  public Expression prefix;
-
-  /** the arguments. */
-  public Expression[] args;
-
-  public FunctionCall(final Expression prefix,
-                      final Expression[] args,
-                      final int sourceEnd) {
-    super(prefix.getSourceStart(), sourceEnd);
-    this.prefix = prefix;
-    this.args = args;
-  }
-
-  /**
-   * Return the expression as String.
-   * @return the expression
-   */
-  public String toStringExpression() {
-    final StringBuffer buff = new StringBuffer(prefix.toStringExpression());
-    buff.append('(');
-    if (args != null) {
-      for (int i = 0; i < args.length; i++) {
-        final Expression arg = args[i];
-        if (i != 0) {
-          buff.append(',');
-        }
-        buff.append(arg.toStringExpression());
-      }
-    }
-    buff.append(')');
-    return buff.toString();
-  }
-
-  /**
-   * Get the variables from outside (parameters, globals ...)
-   * @return the variables from outside
-   */
-  public List getOutsideVariable() {
-    return new ArrayList(1);
-  }
-
-  /**
-   * get the modified variables.
-   * @return the variables from we change value
-   */
-  public List getModifiedVariable() {
-    if (args == null) {
-      return new ArrayList(1);
-    }
-    final ArrayList list = new ArrayList();
-    for (int i = 0; i < args.length; i++) {
-      list.addAll(args[i].getModifiedVariable());
-    }
-    return list;
-  }
-
-  /**
-   * Get the variables used.
-   * @return the variables used
-   */
-  public List getUsedVariable() {
-    final List list = prefix.getUsedVariable();
-    if (args != null) {
-      for (int i = 0; i < args.length; i++) {
-        list.addAll(args[i].getUsedVariable());
-      }
-    }
-    return list;
-  }
-}