Collect all nodes of a specific NodeType.
The AST root node
The node type to filter by
All matching nodes
Collect all nodes of a specific NodeType.