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
0.1.6.1+8.16.tar.gz
sha256=714e28280df575a9aac5c382bfbaee2815ee278d11782f670d220372892554a3
sha512=ba713ecfb2f1f097c0a355991f65f3b8e46453efb08ee78073d9d9504225b83208907f2c6dfa39256fb9a34bece81fccbeb05b59f6c0f0e1729221c5ef1d97b8
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
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 ~ofmt ~target ~doc (), target will have Flèche stop after the point specified there has been reached.
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)"
>