pub struct SymbolTableSync;Expand description
Bidirectional synchronization utilities.
Implementations§
Source§impl SymbolTableSync
impl SymbolTableSync
Sourcepub fn sync_with_compiler(
table: &mut SymbolTable,
compiler_bundle: &CompilerExportBundle,
) -> Result<CompilerExportBundle>
pub fn sync_with_compiler( table: &mut SymbolTable, compiler_bundle: &CompilerExportBundle, ) -> Result<CompilerExportBundle>
Synchronize a symbol table with compiler data, merging information.
This performs a two-way sync:
- Exports current symbol table state
- Imports compiler context data
- Returns the merged export bundle
Sourcepub fn validate_bundle(
table: &SymbolTable,
bundle: &CompilerExportBundle,
) -> Result<ValidationResult>
pub fn validate_bundle( table: &SymbolTable, bundle: &CompilerExportBundle, ) -> Result<ValidationResult>
Validate that a compiler bundle is compatible with a symbol table.
Checks that all referenced domains exist.
Auto Trait Implementations§
impl Freeze for SymbolTableSync
impl RefUnwindSafe for SymbolTableSync
impl Send for SymbolTableSync
impl Sync for SymbolTableSync
impl Unpin for SymbolTableSync
impl UnwindSafe for SymbolTableSync
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