(filePath: string)
| 294 | |
| 295 | const fileNodes = new Map<string, Node[]>(); |
| 296 | const nodesIn = (filePath: string): Node[] => { |
| 297 | let nodes = fileNodes.get(filePath); |
| 298 | if (!nodes) { |
| 299 | try { nodes = cg.getNodesInFile(filePath); } catch { nodes = []; } |
| 300 | fileNodes.set(filePath, nodes); |
| 301 | } |
| 302 | return nodes; |
| 303 | }; |
| 304 | /** |
| 305 | * The narrowest symbol holding `line` in `source`'s file: a call edge's |
| 306 | * source IS the caller, but a reference from a class may sit in one of its |
no test coverage detected