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.0 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 { ResolvedResource } from '../../update-tool/component-resource-collector';
|
---|
10 | import { Migration } from '../../update-tool/migration';
|
---|
11 | import { ElementSelectorUpgradeData } from '../data/element-selectors';
|
---|
12 | import { UpgradeData } from '../upgrade-data';
|
---|
13 | /**
|
---|
14 | * Migration that walks through every string literal, template and stylesheet in order
|
---|
15 | * to migrate outdated element selectors to the new one.
|
---|
16 | */
|
---|
17 | export declare class ElementSelectorsMigration extends Migration<UpgradeData> {
|
---|
18 | /** Change data that upgrades to the specified target version. */
|
---|
19 | data: ElementSelectorUpgradeData[];
|
---|
20 | enabled: boolean;
|
---|
21 | visitNode(node: ts.Node): void;
|
---|
22 | visitTemplate(template: ResolvedResource): void;
|
---|
23 | visitStylesheet(stylesheet: ResolvedResource): void;
|
---|
24 | private _visitStringLiteralLike;
|
---|
25 | private _replaceSelector;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.