pub struct IncrementalValidator<'a> { /* private fields */ }Expand description
Incremental validator for symbol tables
Implementations§
Source§impl<'a> IncrementalValidator<'a>
impl<'a> IncrementalValidator<'a>
pub fn new(table: &'a SymbolTable, tracker: &'a ChangeTracker) -> Self
pub fn with_hierarchy(self, hierarchy: &'a DomainHierarchy) -> Self
pub fn with_cache(self, cache: ValidationCache) -> Self
Sourcepub fn cache(&self) -> &ValidationCache
pub fn cache(&self) -> &ValidationCache
Get the validation cache
Sourcepub fn into_cache(self) -> ValidationCache
pub fn into_cache(self) -> ValidationCache
Extract the validation cache (consumes self)
Sourcepub fn validate_incremental(&mut self) -> Result<IncrementalValidationReport>
pub fn validate_incremental(&mut self) -> Result<IncrementalValidationReport>
Perform incremental validation
Auto Trait Implementations§
impl<'a> Freeze for IncrementalValidator<'a>
impl<'a> RefUnwindSafe for IncrementalValidator<'a>
impl<'a> Send for IncrementalValidator<'a>
impl<'a> Sync for IncrementalValidator<'a>
impl<'a> Unpin for IncrementalValidator<'a>
impl<'a> UnwindSafe for IncrementalValidator<'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