Source_map.Standard
type t = {
version : int;
file : string option;
sourceroot : string option;
sources : string list;
sources_content : Source_content.t option list option;
names : string list;
mappings : Mappings.t;
Left uninterpreted, since most useful operations can be performed efficiently directly on the encoded form, and a full decoding can be costly for big sourcemaps.
*)ignore_list : string list;
}
If f l
returns Some l'
, map line l
to l'
(in the generated file) in the returned debug mappings. If f l
returns None
, remove debug mappings which concern line l
of the generated file.
Merge two lists of debug mappings. The time cost of the merge is more than linear in function of the size of the input mappings.
val empty : inline_source_content:bool -> t