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

Method loops

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

The loops the site is written inside, outermost first — a run of calls that happens once per item.

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

Source from the content-addressed store, hash-verified

113 guards(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<BranchGuard[]>;
114 /** The loops the site is written inside, outermost first — a run of calls that happens once per item. */
115 loops(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<SiteLoop[]>;
116 /** What the site passes, abbreviated (`'userEmail', values.email`); null when unreadable. '' for an empty list. */
117 args(caller: { filePath: string; language: Language }, site: { line?: number; column?: number }): Promise<string | null>;
118 /** What fires the site — the JSX prop, `on*` option or runs-later call it is written under; null when nothing binds it. */

Callers 1

loopsAtFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected