Skip to content

Commit

Permalink
added doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Nov 5, 2024
1 parent d95267f commit 417887b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

import io.usethesource.vallang.ISourceLocation;

/**
* This is a injected configuration parameter of a Rascal run-time
* environment like IRascalMonitor and IDEServices. The goal is
* to find all the file names that have the given `fileName` in
* the current run-time environment. For compiled Rascal this would
* be ClassLoader.findResources, while for the interpreter it is
* typically a search through all the roots of the source folders.
*/
public interface IResourceLocationProvider {
Set<ISourceLocation> findResources(String fileName);
}

0 comments on commit 417887b

Please sign in to comment.