Module Liquidsoap_lang.PosSource

Operations on positions (in source files).

Sourcetype t = bytes

A position.

Sourcetype pos = {
  1. fname : string;
  2. lstart : int;
  3. lstop : int;
  4. cstart : int;
  5. cstop : int;
}
Sourceval pack_offset : int
Sourceval pack : pos -> bytes
Sourceval unpack : bytes -> pos
Sourceval of_lexing_pos : (Lexing.position * Lexing.position) -> bytes
Sourceval to_string : ?prefix:string -> bytes -> string
Sourceval string_of_pos : ?prefix:string -> bytes -> string
Sourcemodule Option : sig ... end
Sourcemodule List : sig ... end