(id: string)
| 116 | function overrides(g: CodeGraph, file: string): string[] { |
| 117 | const out: string[] = []; |
| 118 | const label = (id: string) => { |
| 119 | const n = g.getNode(id)!; |
| 120 | return `${n.isStatic ? 'static ' : ''}${n.qualifiedName}`; |
| 121 | }; |
| 122 | for (const node of g.getNodesInFile(file)) { |
| 123 | for (const e of g.getOutgoingEdges(node.id)) { |
| 124 | if (e.kind === 'calls' && e.metadata?.synthesizedBy === 'interface-impl') out.push(`${label(e.source)} -> ${label(e.target)}`); |