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

Method _addTerminal

packages/compiler/src/directive_matching.ts:311–322  ·  view source on GitHub ↗
(
    map: Map<string, SelectorContext<T>[]>,
    name: string,
    selectable: SelectorContext<T>,
  )

Source from the content-addressed store, hash-verified

309 }
310
311 private _addTerminal(
312 map: Map<string, SelectorContext<T>[]>,
313 name: string,
314 selectable: SelectorContext<T>,
315 ) {
316 let terminalList = map.get(name);
317 if (!terminalList) {
318 terminalList = [];
319 map.set(name, terminalList);
320 }
321 terminalList.push(selectable);
322 }
323
324 private _addPartial(map: Map<string, SelectorMatcher<T>>, name: string): SelectorMatcher<T> {
325 let matcher = map.get(name);

Callers 1

_addSelectableMethod · 0.95

Calls 3

getMethod · 0.65
setMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected