Skip to main content

UnitReconstructor

Trait UnitReconstructor 

Source
pub trait UnitReconstructor: AstReconstructor {
Show 17 methods // Provided methods fn reconstruct_program(&mut self, input: Program) -> Program { ... } fn reconstruct_aleo_program(&mut self, input: AleoProgram) -> AleoProgram { ... } fn reconstruct_library(&mut self, input: Library) -> Library { ... } fn reconstruct_stub(&mut self, input: Stub) -> Stub { ... } fn reconstruct_program_scope(&mut self, input: ProgramScope) -> ProgramScope { ... } fn reconstruct_module(&mut self, input: Module) -> Module { ... } fn reconstruct_interface(&mut self, input: Interface) -> Interface { ... } fn reconstruct_mapping_prototype( &mut self, input: MappingPrototype, ) -> MappingPrototype { ... } fn reconstruct_storage_variable_prototype( &mut self, input: StorageVariablePrototype, ) -> StorageVariablePrototype { ... } fn reconstruct_function_prototype( &mut self, input: FunctionPrototype, ) -> FunctionPrototype { ... } fn reconstruct_record_prototype( &mut self, input: RecordPrototype, ) -> RecordPrototype { ... } fn reconstruct_function(&mut self, input: Function) -> Function { ... } fn reconstruct_constructor(&mut self, input: Constructor) -> Constructor { ... } fn reconstruct_function_stub(&mut self, input: FunctionStub) -> FunctionStub { ... } fn reconstruct_composite(&mut self, input: Composite) -> Composite { ... } fn reconstruct_mapping(&mut self, input: Mapping) -> Mapping { ... } fn reconstruct_storage_variable( &mut self, input: StorageVariable, ) -> StorageVariable { ... }
}
Expand description

A Reconstructor trait for a compilation unit (program or library) represented by the AST.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§