Struct calypso_common::gcx::GlobalCtxt
source · pub struct GlobalCtxt {
pub emit: RwLock<Emitters>,
pub grcx: RwLock<GlobalReportingCtxt>,
pub sourcemgr: RwLock<SourceMgr>,
}Expand description
The global context of the Calypso compiler. Usually held in a
std::sync::Arc.
Fields§
§emit: RwLock<Emitters>Terminal emitters
grcx: RwLock<GlobalReportingCtxt>Global diagnostic reporting context
sourcemgr: RwLock<SourceMgr>Source code manager used within diagnostics