MCPcopy Create free account
hub / github.com/angular/angular / collect

Function collect

packages/core/src/render3/jit/module.ts:445–449  ·  view source on GitHub ↗
(annotations: any[] | null)

Source from the content-addressed store, hash-verified

443 return annotation;
444
445 function collect(annotations: any[] | null) {
446 if (annotations) {
447 annotations.forEach(readAnnotation);
448 }
449 }
450
451 function readAnnotation(decorator: {
452 type: {prototype: {ngMetadataName: string}; args: any[]};

Callers 1

getAnnotationFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected