refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
23 lines • 826 B
TypeScript
import { SelectMatch } from '../../types/selection-types';
export declare class SelectPatternMatcher {
findMatches(content: string, pattern: RegExp): SelectMatch[];
private isMultilinePattern;
private findMultilineMatches;
private processMultilineMatch;
private isMatchInComment;
private getIndexFromLineColumn;
private createMultilineMatch;
private getMatchPositions;
private buildMultilineSelectMatch;
private getLineColumnFromIndex;
private extractMultilineMatchDetails;
private calculateAdjustedStartPos;
private findRegexMatches;
private processLineForMatches;
private isCommentLine;
private extractMatchesFromLine;
private createSelectMatch;
private extractMatchDetails;
private buildSelectMatch;
}
//# sourceMappingURL=pattern-matcher.d.ts.map