pub trait CompilerInfra {
    // Required methods
    fn clone_self(&mut self) -> Box<dyn CompilerInfra>;
    fn color_print(&mut self, to_print: String, color: u64);
    fn println(&mut self, to_print: String);
    fn home_dir(&self) -> Option<String>;
    fn lines(&self, path: &str) -> Result<Vec<String>, IError>;
}

Required Methods§

source

fn clone_self(&mut self) -> Box<dyn CompilerInfra>

source

fn color_print(&mut self, to_print: String, color: u64)

source

fn println(&mut self, to_print: String)

source

fn home_dir(&self) -> Option<String>

source

fn lines(&self, path: &str) -> Result<Vec<String>, IError>

Implementors§