leo_ast::passes::consumer

Trait MappingConsumer

Source
pub trait MappingConsumer {
    type Output;

    // Required method
    fn consume_mapping(&mut self, input: Mapping) -> Self::Output;
}
Expand description

A Consumer trait for mappings in the AST.

Required Associated Types§

Required Methods§

Source

fn consume_mapping(&mut self, input: Mapping) -> Self::Output

Implementors§