- added include declarations to Outline view
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / internal / compiler / ast / CompilationUnitDeclaration.java
index a3aeef4..b21bac7 100644 (file)
@@ -32,6 +32,7 @@ public class CompilationUnitDeclaration extends AstNode implements ProblemSeveri
   //  public TypeDeclaration[] types;
   public ArrayList types;
   //public char[][] name;
+  public int[][] comments;
 
   public boolean ignoreFurtherInvestigation = false; // once pointless to investigate due to errors
   public boolean ignoreMethodBodies = false;
@@ -130,18 +131,18 @@ public class CompilationUnitDeclaration extends AstNode implements ProblemSeveri
     }
   }
 
-  public void checkUnusedImports() {
-
-    if (this.scope.imports != null) {
-      for (int i = 0, max = this.scope.imports.length; i < max; i++) {
-        ImportBinding importBinding = this.scope.imports[i];
-        ImportReference importReference = importBinding.reference;
-        if (importReference != null && !importReference.used) {
-          scope.problemReporter().unusedImport(importReference);
-        }
-      }
-    }
-  }
+//  public void checkUnusedImports() {
+//
+//    if (this.scope.imports != null) {
+//      for (int i = 0, max = this.scope.imports.length; i < max; i++) {
+//        ImportBinding importBinding = this.scope.imports[i];
+//        ImportReference importReference = importBinding.reference;
+//        if (importReference != null && !importReference.used) {
+//          scope.problemReporter().unusedImport(importReference);
+//        }
+//      }
+//    }
+//  }
 
   public CompilationResult compilationResult() {
     return compilationResult;