pub struct ValidationEngine;Expand description
Validates refactoring results
Implementations§
Source§impl ValidationEngine
impl ValidationEngine
Sourcepub fn validate_syntax(code: &str, language: &str) -> Result<ValidationResult>
pub fn validate_syntax(code: &str, language: &str) -> Result<ValidationResult>
Validate code syntax
Sourcepub fn validate_semantics(
code: &str,
_language: &str,
) -> Result<ValidationResult>
pub fn validate_semantics( code: &str, _language: &str, ) -> Result<ValidationResult>
Validate semantic correctness
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValidationEngine
impl RefUnwindSafe for ValidationEngine
impl Send for ValidationEngine
impl Sync for ValidationEngine
impl Unpin for ValidationEngine
impl UnwindSafe for ValidationEngine
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