Files
SnowLuma/.pnpm-store/v11/files/b7/3adfb4a32b472176d4c130a0647b78bc2efdfb3731e8912e039c0c85de4dbbe33e1664ead2bfe7e54584b59cc72709a19ee9061586fe7edcf70f01d0d94538
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

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;