source: trip-planner-front/node_modules/@angular/compiler/src/view_compiler/type_check_compiler.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.5 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 */
8import { AotCompilerOptions } from '../aot/compiler_options';
9import { StaticReflector } from '../aot/static_reflector';
10import { StaticSymbol } from '../aot/static_symbol';
11import { CompileDirectiveMetadata, CompilePipeSummary } from '../compile_metadata';
12import { OutputContext } from '../constant_pool';
13import * as o from '../output/output_ast';
14import { TemplateAst } from '../template_parser/template_ast';
15/**
16 * Generates code that is used to type check templates.
17 */
18export declare class TypeCheckCompiler {
19 private options;
20 private reflector;
21 constructor(options: AotCompilerOptions, reflector: StaticReflector);
22 /**
23 * Important notes:
24 * - This must not produce new `import` statements, but only refer to types outside
25 * of the file via the variables provided via externalReferenceVars.
26 * This allows Typescript to reuse the old program's structure as no imports have changed.
27 * - This must not produce any exports, as this would pollute the .d.ts file
28 * and also violate the point above.
29 */
30 compileComponent(componentId: string, component: CompileDirectiveMetadata, template: TemplateAst[], usedPipes: CompilePipeSummary[], externalReferenceVars: Map<StaticSymbol, string>, ctx: OutputContext): o.Statement[];
31}
Note: See TracBrowser for help on using the repository browser.