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.LocSource

Sourcetype line = {
  1. pos_fname : string;
  2. pos_lnum : int;
  3. pos_bol : int;
}
Sourcetype 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;
    }
Sourceval filename : t -> string
Sourceval line' : t -> line
Sourceval line_end' : t -> line
Sourceval cnum : t -> int
Sourceval line : t -> int
Sourceval line_end : t -> int
Sourceval column : t -> int
Sourceval dummy_line : line
Sourceval dummy : t
Sourceval create : ?last_line:line -> Lexing.position -> Lexing.position -> t
OCaml

Innovation. Community. Security.