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

Function createPlaceholder

packages/compiler/test/i18n/translation_bundle_spec.ts:180–188  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

178});
179
180function createPlaceholder(text: string): i18n.MessagePlaceholder {
181 const file = new ParseSourceFile(text, 'file://test');
182 const start = new ParseLocation(file, 0, 0, 0);
183 const end = new ParseLocation(file, text.length, 0, text.length);
184 return {
185 text,
186 sourceSpan: new ParseSourceSpan(start, end),
187 };
188}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…