@sudoo/marked
Version:
JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous
18 lines (17 loc) • 605 B
TypeScript
/**
* @author WMXPY
* @namespace Debug_Snapshot
* @description Location
*/
import * as EST from "estree";
import { Trace } from "../../variable/trace/trace";
import { MarkedDebugSnapshotPosition } from "./position";
export declare class MarkedDebugSnapshotLocation {
static fromNode(node: EST.Node, trace: Trace): MarkedDebugSnapshotLocation;
private readonly _startPosition;
private readonly _endPosition;
private constructor();
get startPosition(): MarkedDebugSnapshotPosition;
get endPosition(): MarkedDebugSnapshotPosition;
sliceCodeClip(sourceCode: string): string;
}