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

Method pushCTypeRefs

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

Source from the content-addressed store, hash-verified

3149 }
3150
3151 private pushCTypeRefs(types: readonly CTypeName[], owner: Node): void {
3152 for (const { name, node } of types) {
3153 this.unresolvedReferences.push({
3154 fromNodeId: owner.id,
3155 referenceName: name,
3156 referenceKind: 'references',
3157 line: node.startPosition.row + 1,
3158 column: node.startPosition.column,
3159 });
3160 }
3161 }
3162
3163 /**
3164 * Extract an enum

Callers 2

extractTypeAliasMethod · 0.95

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected