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.19.tbz
sha256=1e63289d620e533615812267e96e44c1b5cd2dbdaf26cc9dc8ba00051c2b08c0
sha512=9f5e25c6974d293e7c073e65f85936ef18180692dd031c7b709d24d3eefb1955e955c6208cf02c2ac70fa12966d96bc1d43b29f55c425274802289dcf66d5eb2

doc/coq-lsp.lsp/Lsp/Io/index.html

Module Lsp.IoSource

JSON-RPC input/output

Sourceval set_log_fn : (Yojson.Safe.t -> unit) -> unit

Set the log function

Sourceval read_raw_request : in_channel -> Yojson.Safe.t option

Read a JSON-RPC request from channel

Sourceval read_request : in_channel -> Base.Message.t option

None signals EOF

Sourceexception ReadError of string
Sourceval send_json : Format.formatter -> Yojson.Safe.t -> unit

Send a JSON-RPC request to channel

Logging

Sourcemodule TraceValue : sig ... end

Trace values

Sourceval set_trace_value : TraceValue.t -> unit

Set the trace value

Sourceval logMessage : lvl:int -> message:string -> unit

Send a window/logMessage notification to the client

Sourceval logTrace : message:string -> extra:string option -> unit

Send a $/logTrace notification to the client

Sourceval trace : string -> ?extra:string -> string -> unit

log hdr ?extra message Log message to server info log with header hdr. extra will be used when trace_value is set to Verbose

Sourceval trace_object : string -> Yojson.Safe.t -> unit

Log JSON object to server info log

OCaml

Innovation. Community. Security.