package coq-lsp

  1. Overview
  2. Docs
type t = int
val in_range : ?loc:Loc.t -> t -> bool
val gt_range : ?loc:Loc.t -> t -> bool
type offset_table = string

to_offset will help to resolve a position from for example (line,col) to an offset, but in some case requires a lookup method.

val to_offset : t -> offset_table -> int
val to_string : t -> string
OCaml

Innovation. Community. Security.