pub fn read_modules_from_dir(
namespace: LibraryNamespace,
dir: impl AsRef<Path>,
source_manager: &dyn SourceManager,
) -> Result<impl Iterator<Item = Box<Module>>, Report>
Expand description
Read the contents (modules) of this library from dir
, returning any errors that occur
while traversing the file system.
Errors may also be returned if traversal discovers issues with the modules, such as invalid names, etc.
Returns an iterator over all parsed modules.