0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
16 lines
573 B
TypeScript
16 lines
573 B
TypeScript
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 {};
|