package odoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Odoc_parser.Loc end
type point = Odoc_parser__Loc.point = {
  1. line : int;
  2. column : int;
}
type span = Odoc_parser__Loc.span = {
  1. file : string;
  2. start : point;
  3. end_ : point;
}
val span : span list -> span
val nudge_start : int -> span -> span
type !'a with_location = 'a Odoc_parser__Loc.with_location = {
  1. location : span;
  2. value : 'a;
}
val at : span -> 'a -> 'a with_location
val location : 'a with_location -> span
val value : 'a with_location -> 'a
val map : ('a -> 'b) -> 'a with_location -> 'b with_location
val same : 'a with_location -> 'b -> 'b with_location
val set_end_as_offset_from_start : int -> span -> span
val in_string : string -> offset:int -> length:int -> span -> span
val pp : Stdlib.Format.formatter -> span -> unit
val pp_span_start : Stdlib.Format.formatter -> span -> unit
val span_equal : span -> span -> bool
OCaml

Innovation. Community. Security.