mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
13 lines
558 B
TypeScript
13 lines
558 B
TypeScript
|
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 {};
|