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

Function elementLikeEndShared

packages/core/src/render3/instructions/shared.ts:622–634  ·  view source on GitHub ↗
(tNode: TNode)

Source from the content-addressed store, hash-verified

620
621/** Shared code between instructions that indicate the end of an element. */
622export function elementLikeEndShared(tNode: TNode): TNode {
623 let currentTNode = tNode;
624
625 if (isCurrentTNodeParent()) {
626 setCurrentTNodeAsNotParent();
627 } else {
628 ngDevMode && assertHasParent(getCurrentTNode());
629 currentTNode = currentTNode.parent!;
630 setCurrentTNode(currentTNode, false);
631 }
632
633 return currentTNode;
634}
635
636///////////////////////////////
637//// Bindings & interpolations

Callers 4

ɵɵelementEndFunction · 0.90
ɵɵdomElementEndFunction · 0.90
ɵɵelementContainerEndFunction · 0.90

Calls 5

isCurrentTNodeParentFunction · 0.90
assertHasParentFunction · 0.90
getCurrentTNodeFunction · 0.90
setCurrentTNodeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…