MCPcopy Index your code
hub / github.com/angular/angular / driveIndexer

Method driveIndexer

packages/compiler-cli/test/ngtsc/env.ts:338–343  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

336 }
337
338 driveIndexer(): Map<DeclarationNode, IndexedComponent> {
339 const {rootNames, options} = readNgcCommandLineAndConfiguration(this.commandLineArgs);
340 const host = createCompilerHost({options});
341 const program = createProgram({rootNames, host, options});
342 return (program as NgtscProgram).getIndexedComponents();
343 }
344
345 driveDocsExtraction(entryPoint: string): DocEntry[] {
346 const {rootNames, options} = readNgcCommandLineAndConfiguration(this.commandLineArgs);

Callers 1

Calls 4

createCompilerHostFunction · 0.85
createProgramFunction · 0.50
getIndexedComponentsMethod · 0.45

Tested by

no test coverage detected