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

Method sites

src/resolution/parameter-flow.ts:236–247  ·  view source on GitHub ↗
(rows: CallSiteRow[])

Source from the content-addressed store, hash-verified

234 ) {}
235
236 private sites(rows: CallSiteRow[]): FlowSite[] {
237 const sites: FlowSite[] = [];
238 for (const row of rows) {
239 const call = this.adapter.readCall(row.refName);
240 if (!call) continue;
241 const site = row as FlowSite;
242 site.method = call.method;
243 site.receiver = call.receiver;
244 sites.push(site);
245 }
246 return sites;
247 }
248
249 /** The resolved calls that landed on `method`. */
250 private callsInto(method: FlowMethod): FlowSite[] {

Callers 4

callsIntoMethod · 0.95
callsNamedMethod · 0.95
sitesOnMethod · 0.95
callsPassingOnMethod · 0.95

Calls 2

readCallMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected