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

Method template

packages/core/src/render3/queries/query.ts:148–157  ·  view source on GitHub ↗
(tView: TView, tNode: TNode)

Source from the content-addressed store, hash-verified

146 }
147
148 template(tView: TView, tNode: TNode): void {
149 ngDevMode &&
150 assertFirstCreatePass(
151 tView,
152 'Queries should collect results on the first template pass only',
153 );
154 for (let i = 0; i < this.queries.length; i++) {
155 this.queries[i].template(tView, tNode);
156 }
157 }
158
159 getByIndex(index: number): TQuery {
160 ngDevMode && assertIndexInRange(this.queries, index);

Callers

nothing calls this directly

Calls 2

assertFirstCreatePassFunction · 0.90
templateMethod · 0.65

Tested by

no test coverage detected