(name: string)
| 1438 | |
| 1439 | const fn = (name: string) => cg.getNodesByKind('function').find((n) => n.name === name)!; |
| 1440 | const instTargets = (name: string) => |
| 1441 | cg |
| 1442 | .getOutgoingEdges(fn(name).id) |
| 1443 | .filter((e) => e.kind === 'instantiates') |
| 1444 | .map((e) => cg.getNode(e.target)!); |
| 1445 | |
| 1446 | // Direct-init (the issue) and brace-init both instantiate, targeting the |
| 1447 | // CLASS node — not the same-named constructor method. |
no test coverage detected