pub struct CheckOutput<A: ASTImplementation> {
pub types: TypeStore,
pub module_contents: MapFileStore<WithPathMap>,
pub modules: HashMap<SourceId, SynthesisedModule<A::OwnedModule>>,
pub diagnostics: DiagnosticsContainer,
pub top_level_information: LocalInformation,
pub chronometer: Chronometer,
}Expand description
Used for transformers and other things after checking!!!!
Fields§
§types: TypeStore§module_contents: MapFileStore<WithPathMap>§modules: HashMap<SourceId, SynthesisedModule<A::OwnedModule>>§diagnostics: DiagnosticsContainer§top_level_information: LocalInformation§chronometer: ChronometerImplementations§
Source§impl<A: ASTImplementation> CheckOutput<A>
impl<A: ASTImplementation> CheckOutput<A>
pub fn get_type_at_position( &self, path: &str, pos: u32, debug: bool, ) -> Option<String>
pub fn get_type_at_position_with_span( &self, path: &str, pos: u32, debug: bool, ) -> Option<(String, SpanWithSource)>
pub fn get_module(&self, path: &str) -> Option<&A::OwnedModule>
pub fn empty() -> Self
Auto Trait Implementations§
impl<A> Freeze for CheckOutput<A>
impl<A> RefUnwindSafe for CheckOutput<A>
impl<A> Send for CheckOutput<A>
impl<A> Sync for CheckOutput<A>
impl<A> Unpin for CheckOutput<A>
impl<A> UnwindSafe for CheckOutput<A>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more