package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

coq-lsp-0.1.7.8.16.tbz
sha256=6a88fdb3e42994204f5d2cbc8f4e7da2ac7cf28568a93c8455464c05d1087022
sha512=38c417cc28a3a0d5eb4305ee5239a0cda6ba425d7f22a17f8d3ec7b9baf27598f57fd9d5ee9a44584a3730b6105128f774abeaf2eb560cfc8bb612aa95fcc0b7

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.