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

Function getCurrentParentTNode

packages/core/src/render3/state.ts:391–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389}
390
391export function getCurrentParentTNode(): TNode | null {
392 const lFrame = instructionState.lFrame;
393 const currentTNode = lFrame.currentTNode;
394 return lFrame.isParent ? currentTNode : currentTNode!.parent;
395}
396
397export function setCurrentTNode(tNode: TNode | null, isParent: boolean) {
398 ngDevMode && tNode && assertTNodeForTView(tNode, instructionState.lFrame.tView);

Callers 4

getOrCreateTNodeFunction · 0.90
i18nStartFirstCreatePassFunction · 0.90
createTNodeAndAddOpCodeFunction · 0.90
ɵɵi18nStartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…