package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type line = {
  1. pos_fname : string;
  2. pos_lnum : int;
  3. pos_bol : int;
}
type t =
  1. | SameLine of {
    1. line : line;
    2. cnum_start : int;
    3. offset : int;
    }
  2. | MultiLine of {
    1. line_start : line;
    2. cnum_start : int;
    3. line_end : line;
    4. offset : int;
    }
val filename : t -> string
val line' : t -> line
val line_end' : t -> line
val cnum : t -> int
val line : t -> int
val line_end : t -> int
val column : t -> int
val dummy_line : line
val dummy : t
val create : ?last_line:line -> Lexing.position -> Lexing.position -> t
val p1 : t -> Lexing.position
val p2 : t -> Lexing.position
OCaml

Innovation. Community. Security.