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

Method pushInheritanceRefs

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

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