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

Method pushCTypeRefs

src/extraction/tree-sitter.ts:3032–3042  ·  view source on GitHub ↗
(types: readonly CTypeName[], owner: Node)

Source from the content-addressed store, hash-verified

3030 }
3031
3032 private pushCTypeRefs(types: readonly CTypeName[], owner: Node): void {
3033 for (const { name, node } of types) {
3034 this.unresolvedReferences.push({
3035 fromNodeId: owner.id,
3036 referenceName: name,
3037 referenceKind: 'references',
3038 line: node.startPosition.row + 1,
3039 column: node.startPosition.column,
3040 });
3041 }
3042 }
3043
3044 /**
3045 * Extract an enum

Callers 2

extractTypeAliasMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected