`calls` callees of a function or method, as `qualifiedName`.
(cg: CodeGraph, caller: string)
| 35 | |
| 36 | /** `calls` callees of a function or method, as `qualifiedName`. */ |
| 37 | function calls(cg: CodeGraph, caller: string): string[] { |
| 38 | return cg |
| 39 | .getCallees(callable(cg, caller).id) |
| 40 | .filter((r) => r.edge.kind === 'calls') |
| 41 | .map((r) => r.node.qualifiedName) |
| 42 | .sort(); |
| 43 | } |
| 44 | |
| 45 | const lines = (...l: string[]): string => [...l, ''].join('\n'); |
| 46 |
no test coverage detected