refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
24 lines • 798 B
TypeScript
import { SourceFile } from 'ts-morph';
import { SelectResult } from '../types/selection-types';
interface BoundaryOptions {
regex?: string;
boundaries?: string;
[key: string]: unknown;
}
export declare class BoundaryAnalyzer {
findBoundaryMatches(sourceFile: SourceFile, options: BoundaryOptions): SelectResult[];
private prepareBoundaryContext;
private executeBoundaryMatching;
private findFunctionBoundaryMatches;
private getAllFunctions;
private filterAndFormatMatches;
private processAllFunctions;
private processFunction;
private functionMatchesPattern;
private formatFunctionResult;
private getFunctionPositions;
private getNodePositions;
private createLinePositions;
}
export {};
//# sourceMappingURL=boundary-analyzer.d.ts.map