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" />
|
---|
2 | import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
|
---|
3 | import { MetadataReader } from '../../../src/ngtsc/metadata';
|
---|
4 | import { PartialEvaluator } from '../../../src/ngtsc/partial_evaluator';
|
---|
5 | import { ClassDeclaration, Decorator } from '../../../src/ngtsc/reflection';
|
---|
6 | import { HandlerFlags } from '../../../src/ngtsc/transform';
|
---|
7 | import { NgccReflectionHost } from '../host/ngcc_host';
|
---|
8 | import { MigrationHost } from '../migrations/migration';
|
---|
9 | import { NgccTraitCompiler } from './ngcc_trait_compiler';
|
---|
10 | /**
|
---|
11 | * The standard implementation of `MigrationHost`, which is created by the `DecorationAnalyzer`.
|
---|
12 | */
|
---|
13 | export 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.