logo
pub fn visit_element_expressions(
    elem: &ElementRc,
    vis: impl FnMut(&mut Expression, Option<&str>, &dyn Fn() -> Type)
)
Expand description

This visit the binding attached to this element, but does not recurse in children elements Also does not recurse within the expressions.

This code will temporarily move the bindings or states member so it can call the visitor without maintaining a borrow on the RefCell.