`name -> target qualified name` for each call (or construction) the named function or method in `file` makes.
(cg: CodeGraph, file: string, qualifiedName: string)
| 41 | |
| 42 | /** `name -> target qualified name` for each call (or construction) the named function or method in `file` makes. */ |
| 43 | function callsFrom(cg: CodeGraph, file: string, qualifiedName: string): string[] { |
| 44 | return callEdgesFrom(cg, file, qualifiedName).map((e) => `${e.refName} -> ${e.target}`).sort(); |
| 45 | } |
| 46 | |
| 47 | /** Whether C++ name lookup from the calling function (not a guess by name) placed the call `refName`. */ |
| 48 | function placedByLookup(cg: CodeGraph, file: string, qualifiedName: string, refName: string): boolean { |
no test coverage detected