Project

General

Profile

1
/**
2
 * @license
3
 * Copyright Google Inc. 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
export declare enum TagContentType {
9
    RAW_TEXT = 0,
10
    ESCAPABLE_RAW_TEXT = 1,
11
    PARSABLE_DATA = 2,
12
}
13
export interface TagDefinition {
14
    closedByParent: boolean;
15
    requiredParents: {
16
        [key: string]: boolean;
17
    };
18
    parentToAdd: string;
19
    implicitNamespacePrefix: string | null;
20
    contentType: TagContentType;
21
    isVoid: boolean;
22
    ignoreFirstLf: boolean;
23
    canSelfClose: boolean;
24
    requireExtraParent(currentParent: string): boolean;
25
    isClosedByChild(name: string): boolean;
26
}
27
export declare function splitNsName(elementName: string): [string | null, string];
28
export declare function isNgContainer(tagName: string): boolean;
29
export declare function isNgContent(tagName: string): boolean;
30
export declare function isNgTemplate(tagName: string): boolean;
31
export declare function getNsPrefix(fullName: string): string;
32
export declare function getNsPrefix(fullName: null): null;
33
export declare function mergeNsAndName(prefix: string, localName: string): string;
34
export declare const NAMED_ENTITIES: {
35
    [k: string]: string;
36
};
37
export declare const NGSP_UNICODE = "";
(17-17/22)