MCPcopy
hub / github.com/angular/components / $process

Method $process

tools/dgeni/processors/categorizer.ts:58–72  ·  view source on GitHub ↗
(docs: DocCollection)

Source from the content-addressed store, hash-verified

56 ) {}
57
58 $process(docs: DocCollection) {
59 docs
60 .filter(doc => doc.docType === 'class' || doc.docType === 'interface')
61 .forEach(doc => this._decorateClassLikeDoc(doc));
62
63 docs
64 .filter(doc => doc.docType === 'function')
65 .forEach(doc => this._decorateFunctionExportDoc(doc));
66
67 docs.filter(doc => doc.docType === 'const').forEach(doc => this._decorateConstExportDoc(doc));
68
69 docs
70 .filter(doc => doc.docType === 'type-alias')
71 .forEach(doc => this._decorateTypeAliasExportDoc(doc));
72 }
73
74 /**
75 * Decorates all class and interface docs inside of the dgeni pipeline.

Callers

nothing calls this directly

Calls 5

_decorateClassLikeDocMethod · 0.95
filterMethod · 0.45

Tested by

no test coverage detected