(id: SyntaxNode | null | undefined)
| 937 | const out = new Set<string>(); |
| 938 | for (const unit of units) { |
| 939 | const bind = (id: SyntaxNode | null | undefined): void => { |
| 940 | if (id?.type !== 'identifier') return; |
| 941 | const name = getNodeText(id, source); |
| 942 | if (names.has(name)) out.add(`${unit.id}|${name}`); |
| 943 | }; |
| 944 | const declares = (n: SyntaxNode): boolean => { |
| 945 | for (let i = 0; i < n.childCount; i++) { |
| 946 | const c = n.child(i); |
no test coverage detected