1 |
49598
|
stefanos.g
|
/**
|
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 |
|
|
import * as html from '../ml_parser/ast';
|
9 |
|
|
export declare function preparseElement(ast: html.Element): PreparsedElement;
|
10 |
|
|
export declare enum PreparsedElementType {
|
11 |
|
|
NG_CONTENT = 0,
|
12 |
|
|
STYLE = 1,
|
13 |
|
|
STYLESHEET = 2,
|
14 |
|
|
SCRIPT = 3,
|
15 |
|
|
OTHER = 4,
|
16 |
|
|
}
|
17 |
|
|
export declare class PreparsedElement {
|
18 |
|
|
type: PreparsedElementType;
|
19 |
|
|
selectAttr: string;
|
20 |
|
|
hrefAttr: string;
|
21 |
|
|
nonBindable: boolean;
|
22 |
|
|
projectAs: string;
|
23 |
|
|
constructor(type: PreparsedElementType, selectAttr: string, hrefAttr: string, nonBindable: boolean, projectAs: string);
|
24 |
|
|
}
|