Trait rustc_driver::Callbacks
source · pub trait Callbacks {
fn config(&mut self, _config: &mut Config) { ... }
fn after_parsing<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation { ... }
fn after_expansion<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation { ... }
fn after_analysis<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation { ... }
}
Provided Methods
sourcefn after_parsing<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
fn after_parsing<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
Called after parsing. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to Compilation::Continue
)
sourcefn after_expansion<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
fn after_expansion<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
Called after expansion. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to Compilation::Continue
)
sourcefn after_analysis<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
fn after_analysis<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>
) -> Compilation
Called after analysis. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to Compilation::Continue
)