source: trip-planner-front/node_modules/lines-and-columns/build/index.d.ts@ b738035

Last change on this file since b738035 was e29cc2e, checked in by Ema <ema_spirova@…>, 3 years ago

primeNG components

  • Property mode set to 100644
File size: 376 bytes
RevLine 
[6a3a178]1export declare type SourceLocation = {
2 line: number;
3 column: number;
4};
[e29cc2e]5export declare class LinesAndColumns {
[6a3a178]6 private string;
7 private offsets;
8 constructor(string: string);
9 locationForIndex(index: number): SourceLocation | null;
10 indexForLocation(location: SourceLocation): number | null;
[e29cc2e]11 private lengthOfLine;
[6a3a178]12}
[e29cc2e]13export default LinesAndColumns;
Note: See TracBrowser for help on using the repository browser.