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

Function method

__tests__/react-native-bridge.test.ts:39–58  ·  view source on GitHub ↗
(
  name: string,
  language: Language,
  filePath: string,
  startLine = 10
)

Source from the content-addressed store, hash-verified

37}
38
39function method(
40 name: string,
41 language: Language,
42 filePath: string,
43 startLine = 10
44): Node {
45 return {
46 id: `${language}:${filePath}:${name}:${startLine}`,
47 kind: 'method',
48 name,
49 qualifiedName: `${filePath}::${name}`,
50 filePath,
51 language,
52 startLine,
53 endLine: startLine + 5,
54 startColumn: 0,
55 endColumn: 0,
56 updatedAt: Date.now(),
57 } as Node;
58}
59
60function ref(name: string, language: Language, filePath: string): UnresolvedRef {
61 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected