Trait debris_backends::Backend
source · pub trait Backend {
// Required method
fn generate(&self, llir: &Llir, ctx: &CompileContext) -> Directory;
}
Expand description
A Backend for debris, which has to convert LLIR
into a Directory
Required Methods§
sourcefn generate(&self, llir: &Llir, ctx: &CompileContext) -> Directory
fn generate(&self, llir: &Llir, ctx: &CompileContext) -> Directory
Converts the llir into a directory