Module B00_serialk_text.Tloc

type fpath = string
val no_file : fpath
type pos = int
type line = int
type line_pos = line * pos
type t
val v : file:fpath -> sbyte:pos -> ebyte:pos -> sline:line_pos -> eline:line_pos -> t
val file : t -> fpath
val sbyte : t -> pos
val ebyte : t -> pos
val sline : t -> line_pos
val eline : t -> line_pos
val nil : t
val merge : t -> t -> t
val to_start : t -> t
val to_end : t -> t
val restart : at:t -> t -> t
val pp_ocaml : Format.formatter -> t -> unit
val pp_gnu : Format.formatter -> t -> unit
val pp : Format.formatter -> t -> unit
val pp_dump : Format.formatter -> t -> unit
val string_subrange : ?first:int -> ?last:int -> string -> string
val string_replace : start:int -> stop:int -> rep:string -> string -> string