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

Function nextContextImpl

packages/core/src/render3/state.ts:739–745  ·  view source on GitHub ↗
(level: number)

Source from the content-addressed store, hash-verified

737}
738
739export function nextContextImpl<T = any>(level: number): T {
740 const contextLView = (instructionState.lFrame.contextLView = walkUpViews(
741 level,
742 instructionState.lFrame.contextLView!,
743 ));
744 return contextLView[CONTEXT] as unknown as T;
745}
746
747/**
748 * Gets the currently selected element index.

Callers 1

ɵɵnextContextFunction · 0.90

Calls 1

walkUpViewsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…