MCPcopy
hub / github.com/colbymchenry/codegraph / method

Function method

__tests__/swift-objc-bridge-resolver.test.ts:33–47  ·  view source on GitHub ↗
(name: string, language: 'swift' | 'objc', filePath: string, startLine = 10)

Source from the content-addressed store, hash-verified

31}
32
33function method(name: string, language: 'swift' | 'objc', filePath: string, startLine = 10): Node {
34 return {
35 id: `${language}:${filePath}:${name}:${startLine}`,
36 kind: 'method',
37 name,
38 qualifiedName: `${filePath}::${name}`,
39 filePath,
40 language,
41 startLine,
42 endLine: startLine + 5,
43 startColumn: 0,
44 endColumn: 0,
45 updatedAt: Date.now(),
46 } as Node;
47}
48
49function ref(name: string, language: 'swift' | 'objc', filePath: string): UnresolvedRef {
50 return {

Calls

no outgoing calls

Tested by

no test coverage detected