pub struct ValidatedProgram {
pub rir: Rir,
pub interner: ThreadedRodeo,
pub file_paths: HashMap<FileId, String>,
}Expand description
Result of validating and generating RIR from multiple parsed files.
This is the parallel-optimized path: RIR is generated per-file in parallel,
then merged. Used by compile_multi_file_with_options.
Fields§
§rir: RirThe merged RIR from all files.
interner: ThreadedRodeoMerged interner containing all symbols from all files.
file_paths: HashMap<FileId, String>Maps FileId to source file path (for module resolution).
Auto Trait Implementations§
impl !Freeze for ValidatedProgram
impl !RefUnwindSafe for ValidatedProgram
impl Send for ValidatedProgram
impl Sync for ValidatedProgram
impl Unpin for ValidatedProgram
impl UnwindSafe for ValidatedProgram
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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