descendent_annotations

Function descendent_annotations 

Source
pub fn descendent_annotations<A: AnnotationFn>(
    expr: &Expression,
    annotate: A,
) -> Annotations<'_, A::Annotation>
Expand description

Walk the expression tree and annotate each expression with zero or more annotations.

Returns a map of each expression to all annotations that any of its descendent (child) expressions are annotated with.