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

Method swiftExtension

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

A Swift `extension X {}` node — the index keeps it as a class, but it declares no type.

(definition: Pick<Node, 'filePath' | 'language' | 'kind' | 'startLine' | 'startColumn' | 'endLine'>)

Source from the content-addressed store, hash-verified

133 directive(definition: { filePath: string; language: Language; startLine: number }): Promise<{ file: 'server' | 'client' | null; own: boolean }>;
134 /** A Swift `extension X {}` node — the index keeps it as a class, but it declares no type. */
135 swiftExtension(definition: Pick<Node, 'filePath' | 'language' | 'kind' | 'startLine' | 'startColumn' | 'endLine'>): Promise<boolean>;
136}
137
138const JS_FAMILY: ReadonlySet<string> = new Set(['javascript', 'typescript', 'tsx', 'jsx']);

Callers 1

declaresSwiftTypeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected