refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
18 lines • 608 B
TypeScript
export interface LocationRange {
file: string;
startLine: number;
startColumn: number;
endLine: number;
endColumn: number;
}
export declare class LocationParser {
private static readonly LOCATION_REGEX;
static parseLocation(locationStr: string): LocationRange;
private static matchLocationString;
private static buildLocationRange;
private static parseColumnOrDefault;
private static parseLineOrDefault;
static isLocationFormat(input: string): boolean;
static formatLocation(location: LocationRange): string;
}
//# sourceMappingURL=location-parser.d.ts.map