pub struct TypeChecker<'a> {
pub diagnostics: DiagnosticsCollector,
pub registry: &'a SymbolRegistry,
/* private fields */
}Fields§
§diagnostics: DiagnosticsCollector§registry: &'a SymbolRegistryImplementations§
Source§impl<'a> TypeChecker<'a>
impl<'a> TypeChecker<'a>
pub fn new(registry: &'a SymbolRegistry) -> Self
pub fn check_file(&mut self, file: &ScriptFile, file_path: &Path)
pub fn check_file_with_test_boundary( &mut self, file: &ScriptFile, file_path: &Path, testscript_line: Option<usize>, )
Auto Trait Implementations§
impl<'a> Forget for TypeChecker<'a>
impl<'a> Freeze for TypeChecker<'a>
impl<'a> Move for TypeChecker<'a>
impl<'a> RefUnwindSafe for TypeChecker<'a>
impl<'a> Send for TypeChecker<'a>
impl<'a> Sync for TypeChecker<'a>
impl<'a> Unpin for TypeChecker<'a>
impl<'a> UnsafeUnpin for TypeChecker<'a>
impl<'a> UnwindSafe for TypeChecker<'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