Skip to main content

direct_bound_annotations

Function direct_bound_annotations 

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

Annotate each bound-expression node without propagating annotations to its ancestors.

The returned map uses ExactBoundExpr keys so lookups do not structurally hash node dtypes.