Collect all nodes matching a predicate.
The AST root node
Filter function
All matching nodes in depth-first order
Collect all nodes matching a predicate.