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

Method visitAll

packages/compiler/src/render3/r3_ast.ts:391–401  ·  view source on GitHub ↗
(visitor: Visitor<unknown>)

Source from the content-addressed store, hash-verified

389 }
390
391 visitAll(visitor: Visitor<unknown>): void {
392 // Visit the hydrate triggers first to match their insertion order.
393 this.visitTriggers(this.definedHydrateTriggers, this.hydrateTriggers, visitor);
394 this.visitTriggers(this.definedTriggers, this.triggers, visitor);
395 this.visitTriggers(this.definedPrefetchTriggers, this.prefetchTriggers, visitor);
396 visitAll(visitor, this.children);
397 const remainingBlocks = [this.placeholder, this.loading, this.error].filter(
398 (x) => x !== null,
399 ) as Array<Node>;
400 visitAll(visitor, remainingBlocks);
401 }
402
403 private visitTriggers(
404 keys: (keyof DeferredBlockTriggers)[],

Callers 15

visitDeferredBlockMethod · 0.45
visitExpansionCaseMethod · 0.45
visitExpansionMethod · 0.45
visitCommentMethod · 0.45
visitBlockMethod · 0.45
_visitElementLikeMethod · 0.45
toI18nMessageMethod · 0.45
visitBlockMethod · 0.45
_visitElementLikeMethod · 0.45
parseMethod · 0.45
visitElementMethod · 0.45
convertMethod · 0.45

Calls 3

visitTriggersMethod · 0.95
visitAllFunction · 0.70
filterMethod · 0.45

Tested by

no test coverage detected