Struct rustc_driver::driver::CompileState
[−]
[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>,
}Unstable
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 | Unstable |
session | Unstable |
cfg | Unstable |
krate | Unstable |
crate_name | Unstable |
output_filenames | Unstable |
out_dir | Unstable |
expanded_crate | Unstable |
ast_map | Unstable |
analysis | Unstable |
tcx | Unstable |
trans | Unstable |