improved PHP parser
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ISourceElementRequestor.java
index c929ee1..ddf5ff8 100644 (file)
@@ -10,6 +10,8 @@
  *******************************************************************************/
 package net.sourceforge.phpdt.internal.compiler;
 
+import java.util.HashMap;
+
 import net.sourceforge.phpdt.core.compiler.IProblem;
 
 /*
@@ -51,11 +53,11 @@ public interface ISourceElementRequestor {
    *             is never included in the name.
    * @param onDemand set to true if the import is an import on demand (e.g. import java.io.*). False otherwise.
    */
-  //void acceptImport(
-  //   int declarationStart,
-  //   int declarationEnd,
-  //   char[] name,
-  //   boolean onDemand);
+  void acceptImport(
+       int declarationStart,
+       int declarationEnd,
+       char[] name,
+       boolean onDemand);
   /*
    * Table of line separator position. This table is passed once at the end
    * of the parse action, so as to allow computation of normalized ranges.