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

Function collect

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

Source from the content-addressed store, hash-verified

428 return annotation;
429
430 function collect(annotations: any[] | null) {
431 if (annotations) {
432 annotations.forEach(readAnnotation);
433 }
434 }
435
436 function readAnnotation(decorator: {
437 type: {prototype: {ngMetadataName: string}; args: any[]};

Callers 1

getAnnotationFunction · 0.85

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…