Trait polkavm_common::program::ParsingVisitor

source ·
pub trait ParsingVisitor<E>: InstructionVisitor<ReturnTy = Result<(), E>> {
    // Provided methods
    fn on_pre_visit(&mut self, _offset: usize, _opcode: u8) -> Self::ReturnTy { ... }
    fn on_post_visit(&mut self) -> Self::ReturnTy { ... }
}

Provided Methods§

source

fn on_pre_visit(&mut self, _offset: usize, _opcode: u8) -> Self::ReturnTy

source

fn on_post_visit(&mut self) -> Self::ReturnTy

Implementors§