import java.util.List;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpeclipse.phpeditor.phpparser.PHPParser;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IMarker;
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 {
- PHPParser.phpExternalParse(fileToParse);
+ PHPParserSuperclass.phpExternalParse(fileToParse);
}
}
} catch (CoreException e) {
}
String input = buf.toString();
- PHPParser parser = new PHPParser(fileToParse);
+ PHPParserSuperclass parser = PHPParserManager.getParser(fileToParse);
try {
parser.parse(input);
} catch (CoreException e) {