(n: SyntaxNode)
| 963 | if (names.has(name)) out.add(`${unit.id}|${name}`); |
| 964 | }; |
| 965 | const declares = (n: SyntaxNode): boolean => { |
| 966 | for (const c of childrenOf(n)) { |
| 967 | if (c && !c.isNamed && c.type === ':=') return true; |
| 968 | } |
| 969 | return false; |
| 970 | }; |
| 971 | const stack: SyntaxNode[] = [unit]; |
| 972 | while (stack.length > 0) { |
| 973 | const n = stack.pop()!; |
no test coverage detected