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

Function callAt

src/ui-server/api/steps.ts:462–462  ·  view source on GitHub ↗
(caller: Node, site: { line?: number; column?: number; callee?: string })

Source from the content-addressed store, hash-verified

460 };
461 /** The call as written at a site, and what it passes — one read for both. */
462 const callAt = (caller: Node, site: { line?: number; column?: number; callee?: string }) => calls.callSite(caller, site);
463 /** A hop's position with its call's span and enclosing call, read from the tree; the bare position when unreadable. */
464 const hopAt = async (caller: Node, at: { line?: number; column?: number }, callee?: string): Promise<HopSite> => {
465 const line = at.line ?? caller.startLine;

Callers 3

hopAtFunction · 0.70
effectLinkFunction · 0.70
buildStepsFunction · 0.70

Calls 1

callSiteMethod · 0.80

Tested by

no test coverage detected