(header_node)
| 13418 | module_nid = file_nid |
| 13419 | |
| 13420 | def _proc_name(header_node) -> str | None: # type: ignore[no-untyped-def] |
| 13421 | name_node = header_node.child_by_field_name("name") |
| 13422 | if name_node: |
| 13423 | return _read(name_node) |
| 13424 | for child in header_node.children: |
| 13425 | if child.type in ("identifier", "genericDot", "genericTpl"): |
| 13426 | return _read(child) |
| 13427 | return None |
| 13428 | |
| 13429 | def walk(node, parent_nid: str) -> None: # type: ignore[no-untyped-def] |
| 13430 | nonlocal module_nid |