Path 1: 16687 calls (1.0)

Name (16439) AssignName (234) DelName (14)

1def visit_name(self, node: nodes.Name | nodes.AssignName | nodes.DelName) -> None:
2        """Don't add the 'utils.only_required_for_messages' decorator here!
3
4        It's important that all 'Name' nodes are visited, otherwise the
5        'NamesConsumers' won't be correct.
6        """
7        stmt = node.statement(future=True)
8        if stmt.fromlineno is None:
9            # name node from an astroid built from live code, skip
10            assert not stmt.root().file.endswith(".py")
11            return
12
13        self._undefined_and_used_before_checker(node, stmt)
14        self._loopvar_name(node)