(n: SyntaxNode)
| 965 | if (names.has(name)) out.add(`${unit.id}|${name}`); |
| 966 | }; |
| 967 | const declares = (n: SyntaxNode): boolean => { |
| 968 | for (let i = 0; i < n.childCount; i++) { |
| 969 | const c = n.child(i); |
| 970 | if (c && !c.isNamed && c.type === ':=') return true; |
| 971 | } |
| 972 | return false; |
| 973 | }; |
| 974 | const stack: SyntaxNode[] = [unit]; |
| 975 | while (stack.length > 0) { |
| 976 | const n = stack.pop()!; |
no outgoing calls
no test coverage detected