jon.recoil.org

Module Js_of_ocaml_compiler.Loc

type line = {
  1. pos_fname : string;
  2. pos_lnum : int;
  3. pos_bol : int;
}
type t =
  1. | SameLine of {
    1. line : Js_of_ocaml_compiler.Loc.line;
    2. cnum_start : int;
    3. offset : int;
    }
  2. | MultiLine of {
    1. line_start : Js_of_ocaml_compiler.Loc.line;
    2. cnum_start : int;
    3. line_end : Js_of_ocaml_compiler.Loc.line;
    4. offset : int;
    }
val filename : Js_of_ocaml_compiler.Loc.t -> string
val cnum : Js_of_ocaml_compiler.Loc.t -> int
val line : Js_of_ocaml_compiler.Loc.t -> int
val line_end : Js_of_ocaml_compiler.Loc.t -> int
val column : Js_of_ocaml_compiler.Loc.t -> int