Trait celestial_hub_compass::codegen::Codegen

source ·
pub trait Codegen {
    // Required method
    fn generate(
        &self,
        ast: Vec<Statement>,
        context: &mut Context
    ) -> Result<String, String>;
}

Required Methods§

source

fn generate( &self, ast: Vec<Statement>, context: &mut Context ) -> Result<String, String>

Implementors§