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.18.tbz
sha256=c68fcee8101b40a1706c74ce2ca0386311aebb79ec1a96032fb51bc8b981314f
sha512=720ca5ba4f265d942232e8c2a85bd475f03bf7a592e1b9d6dfbd8c68689275ef2224b82310578bf430ad6b192ba5430ab11a62ef2524e3859c157a9680ac391b

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

OCaml

Innovation. Community. Security.