Collect child paths before visiting children.
Collect child paths before visiting children.

This makes the traversal robust to modifications of ancestor path values,
such as removing a parent path while traversing that parent path.

jamestalmage/ast-types,benjamn/ast-types,benjamn/ast-types,benjamn/ast-types,marcioj/ast-types,gabelevi/ast-types,cpojer/ast-types