pub trait Reconstruct {
// Required method
fn reconstruct(self, ctx: &mut ReconstructCtx<'_>) -> Self;
}Expand description
The main actor in reconstruction process.
The point of a reconstruction is to remove all potential forward references for the sake of later processing. This means that if a reconstructed expression requires some other expressions to be computed before it can be computed itself, those expressions will have a smaller index in the expression vector.
Required Methods§
sourcefn reconstruct(self, ctx: &mut ReconstructCtx<'_>) -> Self
fn reconstruct(self, ctx: &mut ReconstructCtx<'_>) -> Self
Reconstruct the value.
Object Safety§
This trait is not object safe.