Trait rustc_driver::CompilerCallsUnstable [-] [+] [src]

pub trait CompilerCalls<'a> {
    fn early_callback(&mut self, &Matches, &Registry) -> Compilation;
    fn late_callback(&mut self, &Matches, &Session, &Input, &Option<PathBuf>, &Option<PathBuf>) -> Compilation;
    fn no_input(&mut self, &Matches, &Options, &Option<PathBuf>, &Option<PathBuf>, &Registry) -> Option<(Input, Option<PathBuf>)>;
    fn build_controller(&mut self, &Session) -> CompileController<'a>;

    fn some_input(&mut self, input: Input, input_path: Option<PathBuf>) -> (Input, Option<PathBuf>) { ... }
    fn parse_pretty(&mut self, _sess: &Session, _matches: &Matches) -> Option<(PpMode, Option<UserIdentifiedItem>)> { ... }
}

Required Methods

fn early_callback(&mut self, &Matches, &Registry) -> Compilation

fn late_callback(&mut self, &Matches, &Session, &Input, &Option<PathBuf>, &Option<PathBuf>) -> Compilation

fn no_input(&mut self, &Matches, &Options, &Option<PathBuf>, &Option<PathBuf>, &Registry) -> Option<(Input, Option<PathBuf>)>

fn build_controller(&mut self, &Session) -> CompileController<'a>

Provided Methods

fn some_input(&mut self, input: Input, input_path: Option<PathBuf>) -> (Input, Option<PathBuf>)

fn parse_pretty(&mut self, _sess: &Session, _matches: &Matches) -> Option<(PpMode, Option<UserIdentifiedItem>)>

Implementors