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

Method visitPipe

packages/compiler/src/render3/view/t2_binder.ts:1159–1166  ·  view source on GitHub ↗
(ast: BindingPipe, context: any)

Source from the content-addressed store, hash-verified

1157 }
1158
1159 override visitPipe(ast: BindingPipe, context: any): any {
1160 this.usedPipes.add(ast.name);
1161 if (!this.scope.isDeferred) {
1162 this.eagerPipes.add(ast.name);
1163 }
1164 this.pipes.set(ast, this.scope.getEnclosingDeferBlocks());
1165 return super.visitPipe(ast, context);
1166 }
1167
1168 // These five types of AST expressions can refer to expression roots, which could be variables
1169 // or references in the current scope.

Callers

nothing calls this directly

Calls 4

addMethod · 0.65
setMethod · 0.65
visitPipeMethod · 0.65

Tested by

no test coverage detected