1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import { CompilerFacade, CoreEnvironment, R3ComponentMetadataFacade, R3DeclareComponentFacade, R3DeclareDirectiveFacade, R3DeclareFactoryFacade, R3DeclareInjectableFacade, R3DeclareInjectorFacade, R3DeclareNgModuleFacade, R3DeclarePipeFacade, R3DirectiveMetadataFacade, R3FactoryDefMetadataFacade, R3InjectableMetadataFacade, R3InjectorMetadataFacade, R3NgModuleMetadataFacade, R3PipeMetadataFacade } from './compiler_facade_interface';
|
9 | import { JitEvaluator } from './output/output_jit';
|
10 | import { ParseSourceSpan } from './parse_util';
|
11 | import { ResourceLoader } from './resource_loader';
|
12 | export declare class CompilerFacadeImpl implements CompilerFacade {
|
13 | private jitEvaluator;
|
14 | FactoryTarget: any;
|
15 | ResourceLoader: typeof ResourceLoader;
|
16 | private elementSchemaRegistry;
|
17 | constructor(jitEvaluator?: JitEvaluator);
|
18 | compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3PipeMetadataFacade): any;
|
19 | compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
|
20 | compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectableMetadataFacade): any;
|
21 | compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DeclareInjectableFacade): any;
|
22 | compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectorMetadataFacade): any;
|
23 | compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
|
24 | compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3NgModuleMetadataFacade): any;
|
25 | compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
|
26 | compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DirectiveMetadataFacade): any;
|
27 | compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
|
28 | private compileDirectiveFromMeta;
|
29 | compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3ComponentMetadataFacade): any;
|
30 | compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
|
31 | private compileComponentFromMeta;
|
32 | compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
|
33 | compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
|
34 | createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
|
35 | /**
|
36 | * JIT compiles an expression and returns the result of executing that expression.
|
37 | *
|
38 | * @param def the definition which will be compiled and executed to get the value to patch
|
39 | * @param context an object map of @angular/core symbol names to symbols which will be available
|
40 | * in the context of the compiled expression
|
41 | * @param sourceUrl a URL to use for the source map of the compiled expression
|
42 | * @param preStatements a collection of statements that should be evaluated before the expression.
|
43 | */
|
44 | private jitExpression;
|
45 | }
|
46 | export declare function publishFacade(global: any): void;
|