Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ArgumentDeclaration.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArgumentDeclaration.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArgumentDeclaration.java
deleted file mode 100644 (file)
index 2d6f723..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-
-/**
- * An argument declaration.
- * @author Matthieu Casanova
- */
-public class ArgumentDeclaration extends VariableDeclaration {
-
-  /** The argument is a reference or not. */
-  public boolean reference;
-
-  /**
-   * Create an argument.
-   * @param name the name
-   * @param reference the variable is a reference ?
-   * @param initialization the initialization
-   * @param sourceStart the start point
-   */
-  public ArgumentDeclaration(char[] name,
-                             boolean reference,
-                             Expression initialization,
-                             int sourceStart) {
-    super(name, initialization, sourceStart);
-    this.reference = reference;
-  }
-
-  /**
-   * Create an argument.
-   * @param name the name
-   * @param reference the variable is a reference ?
-   * @param sourceStart the start point
-   */
-  public ArgumentDeclaration(char[] name,
-                             boolean reference,
-                             int sourceStart) {
-    super(name, sourceStart);
-    this.reference = reference;
-  }
-  /**
-   * Return the expression as String.
-   * @return the expression
-   */
-  public String toStringExpression() {
-    final StringBuffer buff;
-    if (reference) {
-      buff = new StringBuffer("&$");
-    } else {
-      buff = new StringBuffer("$");
-    }
-    buff.append(name);
-    if (initialization != null) {
-      buff.append(" = ");
-      buff.append(initialization.toStringExpression());
-    }
-    return buff.toString();
-  }
-}