[−][src]Trait rustc_driver::Callbacks

pub trait Callbacks {
    pub fn config(&mut self, _config: &mut Config) { ... }
pub fn after_parsing<'tcx>(
        &mut self,
        _compiler: &Compiler,
        _queries: &'tcx Queries<'tcx>
    ) -> Compilation { ... }
pub fn after_expansion<'tcx>(
        &mut self,
        _compiler: &Compiler,
        _queries: &'tcx Queries<'tcx>
    ) -> Compilation { ... }
pub fn after_analysis<'tcx>(
        &mut self,
        _compiler: &Compiler,
        _queries: &'tcx Queries<'tcx>
    ) -> Compilation { ... } }

Provided methods

pub fn config(&mut self, _config: &mut Config)[src]

Called before creating the compiler instance

pub fn after_parsing<'tcx>(
    &mut self,
    _compiler: &Compiler,
    _queries: &'tcx Queries<'tcx>
) -> Compilation
[src]

Called after parsing. Return value instructs the compiler whether to continue the compilation afterwards (defaults to Compilation::Continue)

pub fn after_expansion<'tcx>(
    &mut self,
    _compiler: &Compiler,
    _queries: &'tcx Queries<'tcx>
) -> Compilation
[src]

Called after expansion. Return value instructs the compiler whether to continue the compilation afterwards (defaults to Compilation::Continue)

pub fn after_analysis<'tcx>(
    &mut self,
    _compiler: &Compiler,
    _queries: &'tcx Queries<'tcx>
) -> Compilation
[src]

Called after analysis. Return value instructs the compiler whether to continue the compilation afterwards (defaults to Compilation::Continue)

Loading content...

Implementors

impl Callbacks for TimePassesCallbacks[src]

Loading content...