Called if no explicit visitor function exists for a node.
(self, node: Node, *args: t.Any, **kwargs: t.Any)
| 42 | return self.generic_visit(node, *args, **kwargs) |
| 43 | |
| 44 | def generic_visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any: |
| 45 | """Called if no explicit visitor function exists for a node.""" |
| 46 | for child_node in node.iter_child_nodes(): |
| 47 | self.visit(child_node, *args, **kwargs) |
| 48 | |
| 49 | |
| 50 | class NodeTransformer(NodeVisitor): |
no test coverage detected