Struct rustc_driver::driver::CompileStateUnstable
[-] [+]
[src]
pub struct CompileState<'a, 'ast, 'tcx> { pub input: &'a Input, pub session: &'a Session, pub cfg: Option<&'a CrateConfig>, pub krate: Option<&'a Crate>, pub crate_name: Option<&'a str>, pub output_filenames: Option<&'a OutputFilenames>, pub out_dir: Option<&'a Path>, pub expanded_crate: Option<&'a Crate>, pub ast_map: Option<&'a Map<'ast>>, pub analysis: Option<&'a CrateAnalysis<'tcx>>, pub tcx: Option<&'a ctxt<'tcx>>, pub trans: Option<&'a CrateTranslation>, }
State that is passed to a callback. What state is available depends on when
during compilation the callback is made. See the various constructor methods
(state_*
) in the impl to see which data is provided for any given entry point.
Fields
input | |
session | |
cfg | |
krate | |
crate_name | |
output_filenames | |
out_dir | |
expanded_crate | |
ast_map | |
analysis | |
tcx | |
trans |