MCPcopy
hub / github.com/angular/angular / computePlaceholderName

Function computePlaceholderName

packages/localize/src/utils/src/messages.ts:331–333  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

329}
330
331function computePlaceholderName(index: number) {
332 return index === 1 ? 'PH' : `PH_${index - 1}`;
333}
334
335/**
336 * Find the end of a "marked block" indicated by the first non-escaped colon.

Callers 1

parseMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…