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

Method visitBlock

packages/core/schematics/utils/parse_html.ts:154–161  ·  view source on GitHub ↗
(ast: Block)

Source from the content-addressed store, hash-verified

152 }
153
154 override visitBlock(ast: Block): void {
155 for (const blockParam of ast.parameters) {
156 if (this.hasPipes(blockParam.expression)) {
157 this.count++;
158 }
159 }
160 super.visitBlock(ast, null);
161 }
162
163 override visitText(ast: Text) {
164 if (this.hasPipes(ast.value)) {

Callers

nothing calls this directly

Calls 2

hasPipesMethod · 0.95
visitBlockMethod · 0.65

Tested by

no test coverage detected