pub struct Compiler { /* private fields */ }Implementations
sourceimpl Compiler
 
impl Compiler
pub fn new(strings: StringInterner) -> Self
pub fn compile_program<'a>(
    self, 
    program: impl Iterator<Item = &'a StmtMeta>
) -> Result<CompiledProgram, Vec<CompileError>>
pub fn push_stmt(&mut self, stmt: &StmtMeta)
pub fn finish(self) -> Result<CompiledProgram, Vec<CompileError>>
Auto Trait Implementations
impl !RefUnwindSafe for Compiler
impl !Send for Compiler
impl !Sync for Compiler
impl Unpin for Compiler
impl !UnwindSafe for Compiler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more