Skip to main content

descendent_bound_annotations

Function descendent_bound_annotations 

Source
pub fn descendent_bound_annotations<A>(
    expr: &BoundExpression,
    annotate: A,
) -> BoundAnnotations<A::Annotation>
Expand description

Annotate a bound expression and propagate each annotation to its ancestors.

This uses ExactBoundExpr keys to preserve the cheap identity semantics of a bound tree.