ascii.d.ts 558 B

123456789101112
  1. import { RangeCov } from "./types";
  2. interface ReadonlyRangeTree {
  3. readonly start: number;
  4. readonly end: number;
  5. readonly count: number;
  6. readonly children: ReadonlyRangeTree[];
  7. }
  8. export declare function emitForest(trees: ReadonlyArray<ReadonlyRangeTree>): string;
  9. export declare function emitForestLines(trees: ReadonlyArray<ReadonlyRangeTree>): string[];
  10. export declare function parseFunctionRanges(text: string, offsetMap: Map<number, number>): RangeCov[];
  11. export declare function parseOffsets(text: string): Map<number, number>;
  12. export {};