pub trait ModuleConsumer {
type Output;
// Required method
fn consume_module(&mut self, input: Module) -> Self::Output;
}
Expand description
A Consumer trait for modules in the AST.
pub trait ModuleConsumer {
type Output;
// Required method
fn consume_module(&mut self, input: Module) -> Self::Output;
}
A Consumer trait for modules in the AST.