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.4 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 | */
|
---|
8 | import * as ts from 'typescript';
|
---|
9 | import { Migration } from '../../update-tool/migration';
|
---|
10 | import { ClassNameUpgradeData } from '../data';
|
---|
11 | import { UpgradeData } from '../upgrade-data';
|
---|
12 | /**
|
---|
13 | * Migration that walks through every identifier that is part of Angular Material or thr CDK
|
---|
14 | * and replaces the outdated name with the new one if specified in the upgrade data.
|
---|
15 | */
|
---|
16 | export declare class ClassNamesMigration extends Migration<UpgradeData> {
|
---|
17 | /** Change data that upgrades to the specified target version. */
|
---|
18 | data: ClassNameUpgradeData[];
|
---|
19 | /**
|
---|
20 | * List of identifier names that have been imported from `@angular/material` or `@angular/cdk`
|
---|
21 | * in the current source file and therefore can be considered trusted.
|
---|
22 | */
|
---|
23 | trustedIdentifiers: Set<string>;
|
---|
24 | /** List of namespaces that have been imported from `@angular/material` or `@angular/cdk`. */
|
---|
25 | trustedNamespaces: Set<string>;
|
---|
26 | enabled: boolean;
|
---|
27 | visitNode(node: ts.Node): void;
|
---|
28 | /** Method that is called for every identifier inside of the specified project. */
|
---|
29 | private _visitIdentifier;
|
---|
30 | /** Creates a failure and replacement for the specified identifier. */
|
---|
31 | private _createFailureWithReplacement;
|
---|
32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.