// add the given locations to the search path
SourceLocationListContributor contrib = new SourceLocationListContributor("reflective", searchPath);
ownEvaluator.addRascalSearchPathContributor(contrib);
try {
return ownEvaluator.parseModule(ownEvaluator.getMonitor(), loc.getURI());
} catch (IOException e) {
throw RuntimeExceptionFactory.io(values.string(e.getMessage()), null, null);
}
catch (Throwable e) {
throw RuntimeExceptionFactory.javaException(e, null, null);