(dotted: SyntaxNode)
| 5085 | // Go) so the resolver maps the dotted path to its file. Stdlib/external |
| 5086 | // modules naturally don't resolve (no `os.py` file node in the repo). |
| 5087 | const pushModuleRef = (dotted: SyntaxNode): void => { |
| 5088 | if (!importParentId) return; |
| 5089 | this.unresolvedReferences.push({ |
| 5090 | fromNodeId: importParentId, |
| 5091 | referenceName: getNodeText(dotted, this.source), |
| 5092 | referenceKind: 'imports', |
| 5093 | line: dotted.startPosition.row + 1, |
| 5094 | column: dotted.startPosition.column, |
| 5095 | }); |
| 5096 | }; |
| 5097 | for (let i = 0; i < node.namedChildCount; i++) { |
| 5098 | const child = node.namedChild(i); |
| 5099 | if (child?.type === 'dotted_name') { |
nothing calls this directly
no test coverage detected