pub trait ProgramRepository {
// Required methods
fn read_main(&mut self) -> MainProgram;
fn read_module(
&mut self,
link_module: bool,
current_path: String,
requested_path: String,
) -> ResolvedImport;
}Expand description
Repository interface is channel for communication between compiler and code