frontend/.pnpm-store/v3/files/b7/3adfb4a32b472176d4c130a0647b78bc2efdfb3731e8912e039c0c85de4dbbe33e1664ead2bfe7e54584b59cc72709a19ee9061586fe7edcf70f01d0d94538

14 lines
376 B
Plaintext

export declare type SourceLocation = {
line: number;
column: number;
};
export declare class LinesAndColumns {
private string;
private offsets;
constructor(string: string);
locationForIndex(index: number): SourceLocation | null;
indexForLocation(location: SourceLocation): number | null;
private lengthOfLine;
}
export default LinesAndColumns;