docs: def visit_Import(self, node):
          """Visit an import node."""
          line = self._code_lines[node.lineno - 1]
          module_name = line.split("import")[0].strip()
          for name in node.names:
              imported_name = name.name
              if name.asname:
                  imported_name = name.asname + "::" + imported_name
              self.imported_namespaces[imported_name] = module_name