(n: SyntaxNode)
| 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); |
| 947 | if (c && !c.isNamed && c.type === ':=') return true; |
| 948 | } |
| 949 | return false; |
| 950 | }; |
| 951 | const stack: SyntaxNode[] = [unit]; |
| 952 | while (stack.length > 0) { |
| 953 | const n = stack.pop()!; |
no outgoing calls
no test coverage detected