[][src]Struct llhd::assembly::Writer

pub struct Writer<'twr> { /* fields omitted */ }

Emits a module as human-readable assembly code that can be parsed again later.

Methods

impl<'twr> Writer<'twr>
[src]

pub fn new(sink: &mut dyn Write) -> Writer
[src]

Create a new assembly writer that will emit code into the provided sink.

Trait Implementations

impl<'twr> Visitor for Writer<'twr>
[src]

fn visit_module_value(&mut self, ctx: &ModuleContext, value: &ValueRef)
[src]

fn walk_module(&mut self, module: &Module)
[src]

fn walk_function(&mut self, ctx: &ModuleContext, func: &Function)
[src]

fn walk_process(&mut self, ctx: &ModuleContext, prok: &Process)
[src]

fn walk_entity(&mut self, ctx: &ModuleContext, entity: &Entity)
[src]

fn walk_arguments(&mut self, args: &[Argument])
[src]

fn walk_block(&mut self, ctx: &dyn SequentialContext, block: &Block)
[src]

Auto Trait Implementations

impl<'twr> !Send for Writer<'twr>

impl<'twr> !Sync for Writer<'twr>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]