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

Method addMatch

packages/core/src/render3/queries/query.ts:313–319  ·  view source on GitHub ↗
(tNodeIdx: number, matchIdx: number)

Source from the content-addressed store, hash-verified

311 }
312
313 private addMatch(tNodeIdx: number, matchIdx: number) {
314 if (this.matches === null) {
315 this.matches = [tNodeIdx, matchIdx];
316 } else {
317 this.matches.push(tNodeIdx, matchIdx);
318 }
319 }
320}
321
322/**

Callers 2

embeddedTViewMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected