pub struct SemaOutput {
pub functions: Vec<AnalyzedFunction>,
pub strings: Vec<String>,
pub warnings: Vec<CompileWarning>,
pub type_pool: TypeInternPool,
pub comptime_dbg_output: Vec<String>,
}Expand description
Output from semantic analysis.
Contains all analyzed functions, struct definitions, enum definitions, and any warnings generated during analysis.
Fields§
§functions: Vec<AnalyzedFunction>Analyzed functions with typed IR.
strings: Vec<String>String literals indexed by their AIR string_const index.
warnings: Vec<CompileWarning>Warnings collected during analysis.
type_pool: TypeInternPoolType intern pool (contains all types including arrays).
comptime_dbg_output: Vec<String>Lines of @dbg output collected during comptime evaluation.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SemaOutput
impl RefUnwindSafe for SemaOutput
impl Send for SemaOutput
impl Sync for SemaOutput
impl Unpin for SemaOutput
impl UnwindSafe for SemaOutput
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