source: trip-planner-front/node_modules/@angular/cdk/schematics/ng-update/migrations/css-selectors.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.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 */
8import * as ts from 'typescript';
9import { ResolvedResource } from '../../update-tool/component-resource-collector';
10import { Migration } from '../../update-tool/migration';
11import { CssSelectorUpgradeData } from '../data/css-selectors';
12import { UpgradeData } from '../upgrade-data';
13/**
14 * Migration that walks through every string literal, template and stylesheet in
15 * order to migrate outdated CSS selectors to the new selector.
16 */
17export declare class CssSelectorsMigration extends Migration<UpgradeData> {
18 /** Change data that upgrades to the specified target version. */
19 data: CssSelectorUpgradeData[];
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.