Trait TypeReconstructor

Source
pub trait TypeReconstructor: ExpressionReconstructor {
    // Provided methods
    fn reconstruct_type(
        &mut self,
        input: Type,
    ) -> (Type, Self::AdditionalOutput) { ... }
    fn reconstruct_array_type(
        &mut self,
        input: ArrayType,
    ) -> (Type, Self::AdditionalOutput) { ... }
    fn reconstruct_future_type(
        &mut self,
        input: FutureType,
    ) -> (Type, Self::AdditionalOutput) { ... }
    fn reconstruct_mapping_type(
        &mut self,
        input: MappingType,
    ) -> (Type, Self::AdditionalOutput) { ... }
    fn reconstruct_tuple_type(
        &mut self,
        input: TupleType,
    ) -> (Type, Self::AdditionalOutput) { ... }
}
Expand description

A Reconstructor trait for types in the AST.

Provided Methods§

Source

fn reconstruct_type(&mut self, input: Type) -> (Type, Self::AdditionalOutput)

Source

fn reconstruct_array_type( &mut self, input: ArrayType, ) -> (Type, Self::AdditionalOutput)

Source

fn reconstruct_future_type( &mut self, input: FutureType, ) -> (Type, Self::AdditionalOutput)

Source

fn reconstruct_mapping_type( &mut self, input: MappingType, ) -> (Type, Self::AdditionalOutput)

Source

fn reconstruct_tuple_type( &mut self, input: TupleType, ) -> (Type, Self::AdditionalOutput)

Implementors§