Last change
on this file 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 | */
|
---|
8 | import { HtmlParser } from '../ml_parser/html_parser';
|
---|
9 | import { InterpolationConfig } from '../ml_parser/interpolation_config';
|
---|
10 | import { ParseError } from '../parse_util';
|
---|
11 | import * as i18n from './i18n_ast';
|
---|
12 | import { Serializer } from './serializers/serializer';
|
---|
13 | /**
|
---|
14 | * A container for message extracted from the templates.
|
---|
15 | */
|
---|
16 | export 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.