Files
pyrofetes-frontend/node_modules/@angular/cdk/schematics/ng-update/migrations/attribute-selectors.d.ts
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

27 lines
1.1 KiB
TypeScript
Executable File

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import * as ts from 'typescript';
import { ResolvedResource } from '../../update-tool/component-resource-collector';
import { Migration } from '../../update-tool/migration';
import { AttributeSelectorUpgradeData } from '../data/attribute-selectors';
import { UpgradeData } from '../upgrade-data';
/**
* Migration that walks through every string literal, template and stylesheet
* in order to switch deprecated attribute selectors to the updated selector.
*/
export declare class AttributeSelectorsMigration extends Migration<UpgradeData> {
/** Required upgrade changes for specified target version. */
data: AttributeSelectorUpgradeData[];
enabled: boolean;
visitNode(node: ts.Node): void;
visitTemplate(template: ResolvedResource): void;
visitStylesheet(stylesheet: ResolvedResource): void;
private _visitStringLiteralLike;
private _replaceSelector;
}