(dotted: SyntaxNode)
| 4912 | // Go) so the resolver maps the dotted path to its file. Stdlib/external |
| 4913 | // modules naturally don't resolve (no `os.py` file node in the repo). |
| 4914 | const pushModuleRef = (dotted: SyntaxNode): void => { |
| 4915 | if (!importParentId) return; |
| 4916 | this.unresolvedReferences.push({ |
| 4917 | fromNodeId: importParentId, |
| 4918 | referenceName: getNodeText(dotted, this.source), |
| 4919 | referenceKind: 'imports', |
| 4920 | line: dotted.startPosition.row + 1, |
| 4921 | column: dotted.startPosition.column, |
| 4922 | }); |
| 4923 | }; |
| 4924 | for (let i = 0; i < node.namedChildCount; i++) { |
| 4925 | const child = node.namedChild(i); |
| 4926 | if (child?.type === 'dotted_name') { |
nothing calls this directly
no test coverage detected