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

Method callSite

src/ui-server/api/when.ts:121–121  ·  view source on GitHub ↗

The call as written (the whole member chain) and what it passes; null when unreadable. `callee` names the call when a position is shared.

(caller: { filePath: string; language: Language }, site: { line?: number; column?: number; callee?: string })

Source from the content-addressed store, hash-verified

119 trigger(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<SiteTrigger | null>;
120 /** The call as written (the whole member chain) and what it passes; null when unreadable. `callee` names the call when a position is shared. */
121 callSite(caller: { filePath: string; language: Language }, site: { line?: number; column?: number; callee?: string }): Promise<CallSiteText | null>;
122 /** The decorators / annotations / attributes on a definition, and on its class; null when unreadable. */
123 decorators(definition: { filePath: string; language: Language; startLine: number }): Promise<DefinitionDecorators | null>;
124 /** The declared types of the members of the class a definition belongs to, by member name; empty when unreadable. */

Callers 2

callAtFunction · 0.80
chainForFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected