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