* The calls edges into a node, out of one, or into any node of a name, from * `callers`, with what they reached and how sure that was. Synthesized edges * carry no reference.
(of: { target: string } | { source: string } | { targetName: string }, callers: CallerFiles)
| 177 | * carry no reference. |
| 178 | */ |
| 179 | getCallEdges(of: { target: string } | { source: string } | { targetName: string }, callers: CallerFiles): CallSiteRow[] { |
| 180 | const rows = ('target' in of ? this.statement(CALLS_INTO).all(of.target) |
| 181 | : 'source' in of ? this.statement(CALLS_OUT_OF).all(of.source) |
| 182 | : this.statement(CALLS_OF_NAME).all(of.targetName)) as CallEdgeRow[]; |
| 183 | return this.toCallSites(rows, callers); |
| 184 | } |
| 185 | |
| 186 | private toCallSites(rows: CallEdgeRow[], callers: CallerFiles): CallSiteRow[] { |
| 187 | const sites: CallSiteRow[] = []; |
no test coverage detected