Eliminated unused classes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / Block.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Block.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Block.java
deleted file mode 100644 (file)
index ce9fd59..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package net.sourceforge.phpdt.internal.compiler.ast;
-
-/**
- * A Block is
- * {
- * statements
- * }.
- * @author Matthieu Casanova
- */
-public class Block extends Statement {
-
-  /** An array of statements inside the block. */
-  public Statement[] statements;
-
-  /**
-   * Create a block.
-   * @param statements the statements
-   * @param sourceStart starting offset
-   * @param sourceEnd ending offset
-   */
-  public Block(Statement[] statements,int sourceStart, int sourceEnd) {
-    super(sourceStart, sourceEnd);
-    this.statements = statements;
-  }
-
-  public boolean isEmptyBlock() {
-    return statements == null;
-  }
-
-  public String toString(int tab) {
-    final String s = AstNode.tabString(tab);
-    final StringBuffer buff = new StringBuffer(s);
-    buff.append("{\n"); //$NON-NLS-1$
-    if (this.statements == null) {
-      for (int i = 0; i < statements.length; i++) {
-          buff.append(statements[i].toString(tab+1)).append(";\n");//$NON-NLS-1$
-      }
-    }
-    buff.append("}\n"); //$NON-NLS-1$
-    return buff.toString();
-  }
-}