package js_of_ocaml-compiler

  1. Overview
  2. Docs
type t = {
  1. src : string option;
  2. name : string option;
  3. col : int;
  4. line : int;
  5. idx : int;
  6. fol : bool option;
}
val zero : t
type lineinfo
val make_lineinfo_from_file : string -> lineinfo
val make_lineinfo_from_string : ?offset:t -> string -> lineinfo
val make_lineinfo_from_channel : Stdlib.in_channel -> lineinfo * string
val relative_path : lineinfo -> string -> string option
val t_of_lexbuf : lineinfo -> Stdlib.Lexing.lexbuf -> t
OCaml

Innovation. Community. Security.