Trait llhd::value::Value [] [src]

pub trait Value {
    fn id(&self) -> ValueId;
fn ty(&self) -> Type; fn name(&self) -> Option<&str> { ... }
fn is_global(&self) -> bool { ... } }

Required Methods

Get the unique ID of the value.

Get the type of the value.

Provided Methods

Get the optional name of the value.

Whether this value is global or not. Global values are considered during linking, and are visible in a module's symbol table. Local values are not, and are only visible within the surrounding context (module or unit).

Implementors