'f'
mh-two-thousand-and-two
2024-04-12 26f2711ef9461961fb953e2b497bd314ef95e345
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { namedTypes } from "ast-types";
import { Lines } from "./lines";
type Pos = namedTypes.Position;
type Loc = namedTypes.SourceLocation;
export default class Mapping {
    sourceLines: Lines;
    sourceLoc: Loc;
    targetLoc: Loc;
    constructor(sourceLines: Lines, sourceLoc: Loc, targetLoc?: Loc);
    slice(lines: Lines, start: Pos, end?: Pos): Mapping | null;
    add(line: number, column: number): Mapping;
    subtract(line: number, column: number): Mapping;
    indent(by: number, skipFirstLine?: boolean, noNegativeColumns?: boolean): Mapping;
}
export {};