import java.util.ArrayList;
import java.util.List;
-import net.sourceforge.phpdt.internal.compiler.parser.Parser;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import org.eclipse.core.resources.IFile;
import org.eclipse.ui.IFileEditorInput;
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.TextEditorAction;
+import test.PHPParserSuperclass;
+import test.PHPParserManager;
/**
* Class that defines the action for parsing the current PHP file
} catch (IOException e) {
}
} else {
- Parser.phpExternalParse(fileToParse);
+ PHPParserSuperclass.phpExternalParse(fileToParse);
}
}
} catch (CoreException e) {
}
String input = buf.toString();
- Parser parser = new Parser(fileToParse);
+ PHPParserSuperclass parser = PHPParserManager.getParser(fileToParse);
try {
parser.parse(input);
} catch (CoreException e) {