source: trip-planner-front/node_modules/@angular/compiler/src/i18n/message_bundle.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { HtmlParser } from '../ml_parser/html_parser';
9import { InterpolationConfig } from '../ml_parser/interpolation_config';
10import { ParseError } from '../parse_util';
11import * as i18n from './i18n_ast';
12import { Serializer } from './serializers/serializer';
13/**
14 * A container for message extracted from the templates.
15 */
16export declare class MessageBundle {
17 private _htmlParser;
18 private _implicitTags;
19 private _implicitAttrs;
20 private _locale;
21 private _messages;
22 constructor(_htmlParser: HtmlParser, _implicitTags: string[], _implicitAttrs: {
23 [k: string]: string[];
24 }, _locale?: string | null);
25 updateFromTemplate(html: string, url: string, interpolationConfig: InterpolationConfig): ParseError[];
26 getMessages(): i18n.Message[];
27 write(serializer: Serializer, filterSources?: (path: string) => string): string;
28}
Note: See TracBrowser for help on using the repository browser.