UNPKG

@sudoo/marked

Version:

JavaScript & TypeScript code runner in JavaScript, safe with marked territory, asynchronous

15 lines (14 loc) 539 B
/** * @author WMXPY * @namespace SourceMap_LocationFinder * @description Segment */ import { TransformSourceMap } from "../declare"; import * as EST from "estree"; import { BaseSourceMapLocationFinder } from "./base"; export declare class SegmentSourceMapLocationFinder extends BaseSourceMapLocationFinder { static fromSourceMap(sourceMap: TransformSourceMap): SegmentSourceMapLocationFinder; private readonly _decoded; private constructor(); findSourceLocation(position: EST.Position, node: EST.Node): EST.Position; }