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

Method pushInheritanceRefs

src/extraction/cfml-extractor.ts:321–334  ·  view source on GitHub ↗

One unresolved `extends`/`implements` ref per name in a comma-separated tag attribute.

(fromNodeId: string, list: string | undefined, kind: 'extends' | 'implements', tag: SyntaxNode)

Source from the content-addressed store, hash-verified

319
320 /** One unresolved `extends`/`implements` ref per name in a comma-separated tag attribute. */
321 private pushInheritanceRefs(fromNodeId: string, list: string | undefined, kind: 'extends' | 'implements', tag: SyntaxNode): void {
322 if (!list) return;
323 for (const name of list.split(',').map((s) => s.trim()).filter(Boolean)) {
324 this.unresolvedReferences.push({
325 fromNodeId,
326 referenceName: name,
327 referenceKind: kind,
328 filePath: this.filePath,
329 line: tag.startPosition.row + 1,
330 column: tag.startPosition.column,
331 language: this.language,
332 });
333 }
334 }
335
336 /**
337 * `<cffunction name="..." access="..." returntype="...">...</cffunction>`.

Callers 2

extractComponentMethod · 0.95
extractInterfaceTagMethod · 0.95

Calls 2

mapMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected