source: trip-planner-front/node_modules/@angular/compiler-cli/ngcc/src/analysis/migration_host.d.ts

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

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/// <amd-module name="@angular/compiler-cli/ngcc/src/analysis/migration_host" />
2import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
3import { MetadataReader } from '../../../src/ngtsc/metadata';
4import { PartialEvaluator } from '../../../src/ngtsc/partial_evaluator';
5import { ClassDeclaration, Decorator } from '../../../src/ngtsc/reflection';
6import { HandlerFlags } from '../../../src/ngtsc/transform';
7import { NgccReflectionHost } from '../host/ngcc_host';
8import { MigrationHost } from '../migrations/migration';
9import { NgccTraitCompiler } from './ngcc_trait_compiler';
10/**
11 * The standard implementation of `MigrationHost`, which is created by the `DecorationAnalyzer`.
12 */
13export declare class DefaultMigrationHost implements MigrationHost {
14 readonly reflectionHost: NgccReflectionHost;
15 readonly metadata: MetadataReader;
16 readonly evaluator: PartialEvaluator;
17 private compiler;
18 private entryPointPath;
19 constructor(reflectionHost: NgccReflectionHost, metadata: MetadataReader, evaluator: PartialEvaluator, compiler: NgccTraitCompiler, entryPointPath: AbsoluteFsPath);
20 injectSyntheticDecorator(clazz: ClassDeclaration, decorator: Decorator, flags?: HandlerFlags): void;
21 getAllDecorators(clazz: ClassDeclaration): Decorator[] | null;
22 isInScope(clazz: ClassDeclaration): boolean;
23}
Note: See TracBrowser for help on using the repository browser.