MCPcopy Index your code
hub / github.com/angular/angular / ɵɵdeclareLet

Function ɵɵdeclareLet

packages/core/src/render3/instructions/let_declaration.ts:27–36  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

25 * @codeGenApi
26 */
27export function ɵɵdeclareLet(index: number): typeof ɵɵdeclareLet {
28 performanceMarkFeature('NgLet');
29 const tView = getTView();
30 const lView = getLView();
31 const adjustedIndex = index + HEADER_OFFSET;
32 const tNode = getOrCreateTNode(tView, adjustedIndex, TNodeType.LetDeclaration, null, null);
33 setCurrentTNode(tNode, false);
34 store(tView, lView, adjustedIndex, UNINITIALIZED_LET);
35 return ɵɵdeclareLet;
36}
37
38/**
39 * Instruction that stores the value of a `@let` declaration on the current view.

Callers

nothing calls this directly

Calls 6

performanceMarkFeatureFunction · 0.90
getTViewFunction · 0.90
getLViewFunction · 0.90
getOrCreateTNodeFunction · 0.90
setCurrentTNodeFunction · 0.90
storeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…