package coq-lsp

  1. Overview
  2. Docs
Language Server Protocol native server for Coq

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.1.8.8.16.tbz
sha256=40e33157d83bf2c79791b50e31644c070803f9cba1c559ddc00d01a2d01d0f42
sha512=85bf5986091325df085e6b83056b05d37e82e2eb0f2db47bf46b0380ce23129f5d2139bf25ae75a52bff5c42868a2212bbaf6c888ce91dac55e814f146e2c89a

doc/coq-lsp.coq/Coq/Ast/index.html

Module Coq.AstSource

Sourcetype t
Sourceval loc : t -> Loc.t option
Sourceval hash : t -> int
Sourceval compare : t -> t -> int
Sourcemodule Id : sig ... end
Sourceval make_info : st:State.t -> lines:string array -> t -> Lang.Ast.Info.t list option

make_info ~st ast Compute info about a possible definition in ast, we need ~st to compute the type.

Sourceval print : t -> Pp.t

Printing

Sourceval pp_loc : ?print_file:bool -> Format.formatter -> Loc.t -> unit
Sourceval loc_to_string : ?print_file:bool -> Loc.t -> string
Sourceval marshal_in : in_channel -> t

Unused for now

Sourceval marshal_out : out_channel -> t -> unit

Internal, will go away once the Lang.t interface is ready

Sourceval ud : (Loc.t -> Loc.t) ref
OCaml

Innovation. Community. Security.