Use `visit` from `ast-types` to visit AST nodes.