The edges a routine makes, as `line kind:Target`, in line order.
(qualifiedName: string)
| 516 | |
| 517 | /** The edges a routine makes, as `line kind:Target`, in line order. */ |
| 518 | function edgesByLine(qualifiedName: string): string[] { |
| 519 | return graph!.getOutgoingEdges(routine(qualifiedName).id) |
| 520 | .filter((e) => e.kind === 'calls' || e.kind === 'references') |
| 521 | .map((e) => `${e.line} ${e.kind}:${graph!.getNode(e.target)!.qualifiedName}`) |
| 522 | .sort((a, b) => parseInt(a, 10) - parseInt(b, 10) || a.localeCompare(b)); |
| 523 | } |
| 524 | |
| 525 | describe('Delphi chains, method pointers, nested scopes and forward routines (#2550)', () => { |
| 526 | it('calls the method of what a constructor makes, the class\'s own or inherited', async () => { |
no test coverage detected