package coq-lsp

  1. Overview
  2. Docs

Module Info.OffsetSource

Sourcetype t = int
Sourceval in_range : ?range:Lang.Range.t -> t -> bool
Sourceval gt_range : ?range:Lang.Range.t -> t -> bool
Sourcetype 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.

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

Innovation. Community. Security.