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.

Required Associated Types§

Required Methods§

source

fn consume_program(&mut self, input: Program) -> Self::Output

Implementors§