package coq-lsp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Language Server Protocol native server for Coq
Install
dune-project
Dependency
Authors
Maintainers
Sources
coq-lsp-0.1.7.8.16.tbz
sha256=6a88fdb3e42994204f5d2cbc8f4e7da2ac7cf28568a93c8455464c05d1087022
sha512=38c417cc28a3a0d5eb4305ee5239a0cda6ba425d7f22a17f8d3ec7b9baf27598f57fd9d5ee9a44584a3730b6105128f774abeaf2eb560cfc8bb612aa95fcc0b7
doc/coq-lsp.fleche/Fleche/Doc/index.html
Module Fleche.DocSource
Source
type t = private {uri : Lang.LUri.File.t;version : int;contents : Contents.t;toc : Lang.Range.t CString.Map.t;root : Coq.State.t;nodes : Node.t list;diags_dirty : bool;completed : Completion.t;
}A Flèche document is basically a node list, which is a crude form of a meta-data map Range.t -> data, where for now data is the contents of Node.t.
Return the list of all asts in the doc
Return the list of all diags in the doc
Source
val create :
state:Coq.State.t ->
workspace:Coq.Workspace.t ->
uri:Lang.LUri.File.t ->
version:int ->
raw:string ->
(t, Loc.t) Coq.Protect.R.tCreate a new Coq document, this is cached!
Update the contents of a document, updating the right structures for incremental checking.
check ~io ~target ~doc (), check document doc, target will have Flèche stop after the point specified there has been reached. Output functions are in the io record, used to send partial updates.
save ~doc will save doc .vo file. It will fail if proofs are open, or if the document completion status is not Yes
Source
val create_failed_permanent :
state:Coq.State.t ->
uri:Lang.LUri.File.t ->
version:int ->
raw:string ->
t Contents.R.tThis is internal, to workaround the Coq multiple-docs problem
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>