pub fn find_all_in_scope<'a, F>(
expression: &'a Expression,
predicate: F,
bfs: bool,
) -> Vec<&'a Expression>Expand description
Find all expressions matching the predicate within this scope.
This does NOT traverse into subscopes.
§Arguments
expression- The root expressionpredicate- Function that returns true for matching expressionsbfs- If true, uses breadth-first search; otherwise depth-first
§Returns
A vector of matching expressions