refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
30 lines • 1.07 kB
TypeScript
import { SourceFile } from 'ts-morph';
import { SelectResult } from '../types/selection-types';
export declare class StructuralAnalyzer {
findStructuralMatches(sourceFile: SourceFile, options: Record<string, unknown>): SelectResult[];
private prepareMatchingContext;
private collectAllMatches;
private addFieldMatches;
private addMethodMatches;
private shouldIncludeFields;
private shouldIncludeMethods;
private findASTFieldMatches;
private collectFieldsFromClasses;
private getMatchingFields;
private filterAndFormatProperties;
private processAllProperties;
private processProperty;
private propertyMatches;
private formatFieldResult;
private getPropertyPositions;
private findASTMethodMatches;
private collectMethodsFromClasses;
private getMatchingMethods;
private filterAndFormatMethods;
private processAllMethods;
private processMethod;
private methodMatches;
private formatMethodResult;
private getMethodPositions;
}
//# sourceMappingURL=structural-analyzer.d.ts.map