pub struct SemanticAnalyzer { /* private fields */ }
Implementations§
Source§impl SemanticAnalyzer
impl SemanticAnalyzer
pub fn new(source: &str) -> Result<Self, ParseError>
pub fn analyze(&mut self) -> Result<Program, SemanticError>
Auto Trait Implementations§
impl Freeze for SemanticAnalyzer
impl RefUnwindSafe for SemanticAnalyzer
impl Send for SemanticAnalyzer
impl Sync for SemanticAnalyzer
impl Unpin for SemanticAnalyzer
impl UnwindSafe for SemanticAnalyzer
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