MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / callsInto

Method callsInto

src/resolution/parameter-flow.ts:250–254  ·  view source on GitHub ↗

The resolved calls that landed on `method`.

(method: FlowMethod)

Source from the content-addressed store, hash-verified

248
249 /** The resolved calls that landed on `method`. */
250 private callsInto(method: FlowMethod): FlowSite[] {
251 let calls = this.incoming.get(method.id);
252 if (!calls) this.incoming.set(method.id, (calls = this.sites(this.queries.getCallEdges({ target: method.id }, this.methods))));
253 return calls;
254 }
255
256 /** Every call of a name, by what the graph knows of it. A failed call it never does. */
257 private callsNamed(name: string): { known: FlowSite[]; unknown: FlowSite[]; failed: FlowSite[] } {

Callers 1

flowMethod · 0.95

Calls 4

sitesMethod · 0.95
getCallEdgesMethod · 0.80
getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected