aboutsummaryrefslogtreecommitdiff
path: root/node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts')
-rw-r--r--node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts b/node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts
new file mode 100644
index 0000000..a56836d
--- /dev/null
+++ b/node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts
@@ -0,0 +1,12 @@
+import { RangeCov } from "./types";
+interface ReadonlyRangeTree {
+ readonly start: number;
+ readonly end: number;
+ readonly count: number;
+ readonly children: ReadonlyRangeTree[];
+}
+export declare function emitForest(trees: ReadonlyArray<ReadonlyRangeTree>): string;
+export declare function emitForestLines(trees: ReadonlyArray<ReadonlyRangeTree>): string[];
+export declare function parseFunctionRanges(text: string, offsetMap: Map<number, number>): RangeCov[];
+export declare function parseOffsets(text: string): Map<number, number>;
+export {};