package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Js_of_ocaml_compiler.Source_mapSource

Sourcetype map = {
  1. gen_line : int;
  2. gen_col : int;
  3. ori_source : int;
  4. ori_line : int;
  5. ori_col : int;
  6. ori_name : int option;
}
Sourcetype mapping = map list
Sourcetype t = {
  1. version : int;
  2. file : string;
  3. sourceroot : string option;
  4. sources : string list;
  5. sources_content : string option list option;
  6. names : string list;
  7. mappings : mapping;
}
Sourceval filter_map : t -> f:(int -> int option) -> t
Sourceval merge : t list -> t option
Sourceval mapping_of_string : string -> mapping
Sourceval string_of_mapping : mapping -> string
Sourceval empty : filename:string -> t
OCaml

Innovation. Community. Security.