[][src]Trait ion_rs::SymbolTableEventHandler

pub trait SymbolTableEventHandler {
    fn on_append<'a>(
        &'a mut self,
        symbol_table: &'a SymbolTable,
        starting_id: usize
    );
fn on_reset<'a>(&'a mut self, symbol_table: &'a SymbolTable); }

Functions that will be called when the reader handles system-level events that would otherwise not be surfaced to the user level.

Required methods

fn on_append<'a>(
    &'a mut self,
    symbol_table: &'a SymbolTable,
    starting_id: usize
)

Invoked when new symbols are added to the end of the existing table.

fn on_reset<'a>(&'a mut self, symbol_table: &'a SymbolTable)

Invoked when the active symbol table is reset, potentially defining new symbols.

Loading content...

Implementors

Loading content...