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

Method emitXi18n

packages/compiler-cli/src/ngtsc/program.ts:260–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 }
259
260 private emitXi18n(): void {
261 const ctx = new MessageBundle(
262 new HtmlParser(),
263 [],
264 {},
265 this.options.i18nOutLocale ?? null,
266 this.options.i18nPreserveWhitespaceForLegacyExtraction,
267 );
268 this.compiler.xi18n(ctx);
269 i18nExtract(
270 this.options.i18nOutFormat ?? null,
271 this.options.i18nOutFile ?? null,
272 this.host,
273 this.options,
274 ctx,
275 resolve,
276 );
277 }
278
279 emit<CbEmitRes extends ts.EmitResult>(
280 opts?: api.EmitOptions<CbEmitRes> | undefined,

Callers 1

emitMethod · 0.95

Calls 2

i18nExtractFunction · 0.90
xi18nMethod · 0.65

Tested by

no test coverage detected