This commit is contained in:
2026-05-12 02:29:47 +02:00
parent bf304e17c9
commit 79f3558327
1358 changed files with 243486 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
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;