Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / ClassAccess.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassAccess.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ClassAccess.java
deleted file mode 100644 (file)
index 59b2c23..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-/**
- * Any class access.
- * @author Matthieu Casanova
- */
-public class ClassAccess extends AbstractSuffixExpression {
-
-  public static final int STATIC = 0;
-  public static final int NORMAL = 1;
-
-  public Expression prefix;
-  public Expression suffix;
-  public int type;
-
-  public ClassAccess(Expression prefix,
-                     Expression suffix,
-                     int type) {
-    super(prefix.sourceStart, suffix.sourceEnd);
-    this.prefix = prefix;
-    this.suffix = suffix;
-    this.type = type;
-  }
-
-  public String toStringOperator() {
-    switch (type) {
-      case STATIC : return "::"; //$NON-NLS-1$
-      case NORMAL : return "->"; //$NON-NLS-1$
-    }
-    return "unknown operator"; //$NON-NLS-1$
-  }
-
-  /**
-   * Return the expression as String.
-   * @return the expression
-   */
-  public String toStringExpression() {
-    final StringBuffer buff = new StringBuffer();
-    buff.append(prefix);
-    buff.append(toStringOperator());
-    buff.append(suffix.toStringExpression());
-    return buff.toString();
-  }
-}