(id: string)
| 844 | const seen = new Set<string>(); |
| 845 | |
| 846 | const methodNameSet = (id: string): Set<string> => |
| 847 | new Set( |
| 848 | queries |
| 849 | .getOutgoingEdges(id, ['contains']) |
| 850 | .map((e) => queries.getNodeById(e.target)) |
| 851 | .filter((n): n is Node => !!n && n.kind === 'method') |
| 852 | .map((n) => n.name), |
| 853 | ); |
| 854 | |
| 855 | // Materializes GO structs only (the pass is language-gated by the caller), |
| 856 | // never the whole struct kind — that array is O(nodes) on struct-heavy |
no test coverage detected