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

Function pipeDefs

packages/core/src/render3/jit/directive.ts:260–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 };
259
260 const pipeDefs = () => {
261 if (ngDevMode) {
262 for (const rawDep of imports) {
263 verifyStandaloneImport(rawDep, type);
264 }
265 }
266
267 if (!isComponent(type)) {
268 return [];
269 }
270
271 const scope = depsTracker.getStandaloneComponentScope(type, imports);
272
273 return [...scope.compilation.pipes].map((p) => getPipeDef(p)!).filter((d) => d !== null);
274 };
275
276 return {
277 directiveDefs,

Callers

nothing calls this directly

Calls 6

verifyStandaloneImportFunction · 0.90
isComponentFunction · 0.90
getPipeDefFunction · 0.90
mapMethod · 0.80
filterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…