pub trait ProgramReconstructor: StatementReconstructor {
// Provided methods
fn reconstruct_program(&mut self, input: Program) -> Program { ... }
fn reconstruct_stub(&mut self, input: Stub) -> Stub { ... }
fn reconstruct_program_scope(&mut self, input: ProgramScope) -> ProgramScope { ... }
fn reconstruct_function(&mut self, input: Function) -> Function { ... }
fn reconstruct_function_stub(&mut self, input: FunctionStub) -> FunctionStub { ... }
fn reconstruct_struct(&mut self, input: Composite) -> Composite { ... }
fn reconstruct_import(&mut self, input: Program) -> Program { ... }
fn reconstruct_mapping(&mut self, input: Mapping) -> Mapping { ... }
}
Expand description
A Reconstructor trait for the program represented by the AST.