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

Method pushInheritanceRefs

src/extraction/cfml-extractor.ts:318–331  ·  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

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