Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/node_modules/source-map/source-map.d.ts>SourceMapConsumer

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class SourceMapConsumer
import { SourceMapConsumer } from "https://deno.land/x/windmill@v1.226.0/node_modules/source-map/source-map.d.ts";

Constructors

new
SourceMapConsumer(rawSourceMap: RawSourceMap)

Methods

allGeneratedPositionsFor(originalPosition: MappedPosition): Position[]
eachMapping(
callback: (mapping: MappingItem) => void,
context?: any,
order?: number,
): void
generatedPositionFor(originalPosition: SourceFindPosition): LineRange
originalPositionFor(generatedPosition: FindPosition): MappedPosition
sourceContentFor(source: string, returnNullOnMissing?: boolean): string

Static Properties

GENERATED_ORDER: number
GREATEST_LOWER_BOUND: number
LEAST_UPPER_BOUND: number
ORIGINAL_ORDER: number