`Owner::member` of every call edge out of a file.
(file: string)
| 111 | |
| 112 | /** `Owner::member` of every call edge out of a file. */ |
| 113 | function callsFrom(file: string): string[] { |
| 114 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 115 | return cg |
| 116 | .getOutgoingEdgesFrom(ids) |
| 117 | .filter((e) => e.kind === 'calls') |
| 118 | .map((e) => cg.getNode(e.target)!.qualifiedName) |
| 119 | .sort(); |
| 120 | } |
| 121 | |
| 122 | describe('a class method reached through a subclass name', () => { |
| 123 | it('Pascal: walks the class(…) heads', () => { |
no test coverage detected