package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.2.3.9.0.tbz
sha256=8776582dddfe768623870cf540ff6ba1e96a44a36e85db18ab93d238d640f92a
sha512=2837889bf99bfe715bd0e752782211a76a14aac71ed37a4fb784f4f0abe338352c9c6d8caa37daf79c036997add1cb306c523f793625b38709f3b5e245380223

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
Sourcemodule Require : sig ... end
Sourcemodule Meta : 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

OCaml

Innovation. Community. Security.