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

Function readCall

src/resolution/ruby-parameter-flow.ts:598–602  ·  view source on GitHub ↗
(referenceName)

Source from the content-addressed store, hash-verified

596
597 return {
598 readCall(referenceName) {
599 const dot = referenceName.lastIndexOf('.');
600 const method = dot < 0 ? referenceName : referenceName.slice(dot + 1);
601 return /^[A-Za-z_]\w*[?!]?$/.test(method) ? { method, receiver: dot < 0 ? null : referenceName.slice(0, dot) } : null;
602 },
603
604 receivers(method) {
605 const calls = new Map<string, Set<string>>();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected