Trait GetAddress

Source
pub trait GetAddress {
    // Required method
    fn address(&self) -> Address;
}
Expand description

Trait for getting the memory address of an AST node.

Required Methods§

Source

fn address(&self) -> Address

Get the memory address of a value allocated in the arena.

Implementors§