pub trait Codegen { // Required method fn generate(&mut self, ir: &IR) -> Result<String, CodegenError>; }
Common trait for all code generators