package coq-lsp

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.6.1+8.16.tar.gz
sha256=714e28280df575a9aac5c382bfbaee2815ee278d11782f670d220372892554a3
sha512=ba713ecfb2f1f097c0a355991f65f3b8e46453efb08ee78073d9d9504225b83208907f2c6dfa39256fb9a34bece81fccbeb05b59f6c0f0e1729221c5ef1d97b8

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.