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