[−][src]Trait llhd::Value
Required methods
fn id(&self) -> ValueId
Get the unique ID of the value.
fn ty(&self) -> Type
Get the type of the value.
Provided methods
fn name(&self) -> Option<&str>
Get the optional name of the value.
fn is_global(&self) -> bool
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
impl Value for ConstKind
[src]
impl Value for ConstKind
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Argument
[src]
impl Value for Argument
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Block
[src]
impl Value for Block
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Entity
[src]
impl Value for Entity
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Function
[src]
impl Value for Function
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Inst
[src]
impl Value for Inst
fn id(&self) -> ValueId | [src] |
fn ty(&self) -> Type | [src] |
fn name(&self) -> Option<&str> | [src] |
fn is_global(&self) -> bool | [src] |
impl Value for Process
[src]
impl Value for Process