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 • 838 B
TypeScript
export interface LocationRange {
file: string;
startLine: number;
startColumn: number;
endLine: number;
endColumn: number;
}
export declare class LocationParser {
private static readonly LOCATION_REGEX;
private static readonly FULL_LINE_REGEX;
private static readonly TO_END_OF_LINE_REGEX;
private static readonly FROM_LINE_START_REGEX;
static parseLocation(locationStr: string): LocationRange;
private static tryParseCharacterPrecise;
private static tryParseFullLine;
private static tryParseToEndOfLine;
private static tryParseFromLineStart;
private static createLocationRange;
private static throwInvalidFormat;
static isLocationFormat(input: string): boolean;
static formatLocation(location: LocationRange): string;
}
//# sourceMappingURL=location-parser.d.ts.map