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
|
import { ɵNodeFlags as NodeFlags } from '@angular/core';
|
9
|
import { CompileDiDependencyMetadata, CompileEntryComponentMetadata } from '../compile_metadata';
|
10
|
import { CompileReflector } from '../compile_reflector';
|
11
|
import { LifecycleHooks } from '../lifecycle_reflector';
|
12
|
import * as o from '../output/output_ast';
|
13
|
import { ProviderAst } from '../template_parser/template_ast';
|
14
|
import { OutputContext } from '../util';
|
15
|
export declare function providerDef(ctx: OutputContext, providerAst: ProviderAst): {
|
16
|
providerExpr: o.Expression;
|
17
|
flags: NodeFlags;
|
18
|
depsExpr: o.Expression;
|
19
|
tokenExpr: o.Expression;
|
20
|
};
|
21
|
export declare function depDef(ctx: OutputContext, dep: CompileDiDependencyMetadata): o.Expression;
|
22
|
export declare function lifecycleHookToNodeFlag(lifecycleHook: LifecycleHooks): NodeFlags;
|
23
|
export declare function componentFactoryResolverProviderDef(reflector: CompileReflector, ctx: OutputContext, flags: NodeFlags, entryComponents: CompileEntryComponentMetadata[]): {
|
24
|
providerExpr: o.Expression;
|
25
|
flags: NodeFlags;
|
26
|
depsExpr: o.Expression;
|
27
|
tokenExpr: o.Expression;
|
28
|
};
|