This commit is contained in:
2026-04-29 08:30:52 -07:00
commit b053d27321
1660 changed files with 329972 additions and 0 deletions

View File

@ -0,0 +1,17 @@
declare type SourceLocation = {
start: Position;
end: Position;
};
declare type Position = {
line: number;
column: number;
};
declare class LocationTracker {
private readonly source;
private lastPosition;
private lastIndex;
constructor(source: string);
getPosition(index: number): Position;
}
export { LocationTracker, Position, SourceLocation };