Skip to content

Block

I store information about a block/scope. I used to be an implementation detail of Emitter, which still hard-codes some layout information.

Block__new

pub fn Block__new(int type, int id)

Block_contains_symbol

pub fn Block_contains_symbol(Block* self, char* name)

Block_drop

pub fn Block_drop(Block* self)

Block_get_symbol

pub fn Block_get_symbol(Block* self, char* name)

Block_id

pub fn Block_id(Block* self)

Block_put_symbol

pub fn Block_put_symbol(Block* self, char* name, void* symbol)

Block_symbol_count

pub fn Block_symbol_count(Block* self)

Block_type

pub fn Block_type(Block* self)