pub trait ProgramConsumer {
type Output;
// Required method
fn consume_program(&mut self, input: Program) -> Self::Output;
}
Expand description
A Consumer trait for the program represented by the AST.
pub trait ProgramConsumer {
type Output;
// Required method
fn consume_program(&mut self, input: Program) -> Self::Output;
}
A Consumer trait for the program represented by the AST.