pub trait Buildable<T = HIR> {
    fn inherit(cfg: ErgConfig, shared: SharedCompilerResource) -> Self
    where
        Self: Sized
; fn build(
        &mut self,
        src: String,
        mode: &str
    ) -> Result<CompleteArtifact<T>, IncompleteArtifact<T>>; fn pop_context(&mut self) -> Option<ModuleContext>; fn get_context(&self) -> Option<&ModuleContext>; }

Required Methods§

Implementors§