Actio
API ReferenceFunctions

buildSourceMap

function buildSourceMap(
   ctx, 
   body, 
   options): SourceMap;

Defined in: packages/core/src/sourcemap.ts:133

Reconstruct a line-level source map from the original document and the emitted body. body must be the generated YAML without the banner.

Parameters

ctx

ParseContext

body

string

options

BuildSourceMapOptions

Returns

SourceMap

On this page