pub struct Emitter<'a, 'p, 's, C: PcodeLoweringContext + ?Sized, S: PcodeSink + ?Sized> { /* private fields */ }Expand description
The emission pass: lowers statements one at a time into a PcodeSink.
This is emit_instruction with the statement loop handed to the
producer. A producer that resolves its source template on the fly feeds
each statement as a StmtKind over its own ExprNode, so no
instruction-wide AST exists between it and the sink.
plan must come from a Planner fed the same statements, in the same
order, over the same context.
Implementations§
Auto Trait Implementations§
impl<'a, 'p, 's, C, S> !UnwindSafe for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> Freeze for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> RefUnwindSafe for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> Send for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> Sync for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> Unpin for Emitter<'a, 'p, 's, C, S>
impl<'a, 'p, 's, C, S> UnsafeUnpin for Emitter<'a, 'p, 's, C, S>
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