Trait miden_assembly::ModuleProvider
source · pub trait ModuleProvider {
fn get_module(&self, id: &ProcedureId) -> Option<NamedModuleAst<'_>>;
}Expand description
The module provider is now a simplified version of a module cache. It is expected to evolve to a general solution for the module lookup.
Required Methods
sourcefn get_module(&self, id: &ProcedureId) -> Option<NamedModuleAst<'_>>
fn get_module(&self, id: &ProcedureId) -> Option<NamedModuleAst<'_>>
Fetch a module AST from its ID