pub struct StaticAnalyzer { /* private fields */ }
Implementations§
Source§impl StaticAnalyzer
impl StaticAnalyzer
pub fn new(error_manager: Rc<RefCell<ErrorManager>>) -> StaticAnalyzer
Sourcepub fn bind_top_level(&mut self, name: String, ty: Type)
pub fn bind_top_level(&mut self, name: String, ty: Type)
Establishes a top-level binding for the type ty
of name
, useful for
allowing functions to call other functions or external/FFI declarations.
Auto Trait Implementations§
impl Freeze for StaticAnalyzer
impl !RefUnwindSafe for StaticAnalyzer
impl !Send for StaticAnalyzer
impl !Sync for StaticAnalyzer
impl Unpin for StaticAnalyzer
impl !UnwindSafe for StaticAnalyzer
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