`calls` callees of a function or method, as `qualifiedName`.
(cg: CodeGraph, caller: string)
| 44 | |
| 45 | /** `calls` callees of a function or method, as `qualifiedName`. */ |
| 46 | function calls(cg: CodeGraph, caller: string): string[] { |
| 47 | return cg |
| 48 | .getCallees(callable(cg, caller).id) |
| 49 | .filter((r) => r.edge.kind === 'calls') |
| 50 | .map((r) => r.node.qualifiedName) |
| 51 | .sort(); |
| 52 | } |
| 53 | |
| 54 | const lines = (...l: string[]): string => [...l, ''].join('\n'); |
| 55 |
no test coverage detected