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

Function setClass

src/resolution/frameworks/drupal.ts:375–379  ·  view source on GitHub ↗
(fqcn: string)

Source from the content-addressed store, hash-verified

373 while ((m = SERVICE_ARGUMENT.exec(text)) !== null) give(m[1]!);
374 };
375 const setClass = (fqcn: string): void => {
376 if (!current || current.signature) return;
377 current.signature = fqcn;
378 reference(current, fqcnRef(fqcn));
379 };
380
381 const lines = content.split('\n');
382 for (let i = 0; i < lines.length; i++) {

Callers 1

extractDrupalServicesFunction · 0.85

Calls 2

fqcnRefFunction · 0.85
referenceFunction · 0.70

Tested by

no test coverage detected