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

Function createTQuery

packages/core/src/render3/queries/query.ts:526–529  ·  view source on GitHub ↗
(tView: TView, metadata: TQueryMetadata, nodeIndex: number)

Source from the content-addressed store, hash-verified

524}
525
526export function createTQuery(tView: TView, metadata: TQueryMetadata, nodeIndex: number): void {
527 if (tView.queries === null) tView.queries = new TQueries_();
528 tView.queries.track(new TQuery_(metadata, nodeIndex));
529}
530
531export function saveContentQueryAndDirectiveIndex(tView: TView, directiveIndex: number) {
532 const tViewContentQueries = tView.contentQueries || (tView.contentQueries = []);

Callers 2

createViewQueryFunction · 0.85
createContentQueryFunction · 0.85

Calls 1

trackMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…