package vscoq-language-server
VSCoq language server
Install
Dune Dependency
Authors
Maintainers
Sources
vscoq-language-server-2.1.7.tar.gz
md5=81c195fcbe9b23c26db9704a0b8e37f8
sha512=9b175796b231e3663b1cdd546fde898c1d19a6a4eb16671970797045e0e29acc008630634f0d15fa34a94ccc14a0c16d3851efbf0b74f3e1ac6ada1f1461f7e1
doc/vscoq-language-server.dm/Dm/ExecutionManager/index.html
Module Dm.ExecutionManager
Source
The event manager is in charge of the actual event of tasks (as defined by the scheduler), caching event states and invalidating them. It can delegate to worker processes via DelegationManager
Source
type options = {
delegation_mode : delegation_mode;
completion_options : Protocol.Settings.Completion.t;
enableDiagnostics : bool;
}
Execution state, includes the cache
Source
val invalidate :
Document.document ->
Scheduler.schedule ->
Types.sentence_id ->
state ->
state
Source
val all_errors :
state ->
(Types.sentence_id * (Loc.t option * Pp.t * Types.Quickfix.t list option))
list
Source
val shift_overview :
state ->
before:RawDocument.t ->
after:RawDocument.t ->
start:int ->
offset:int ->
state
Returns the vernac state after the sentence
Events for the main loop
Execution happens in two steps. In particular the event one takes only one task at a time to ease checking for interruption
Source
val build_tasks_for :
Document.document ->
Scheduler.schedule ->
state ->
Types.sentence_id ->
bool ->
Vernacstate.t * prepared_task list * state * Types.sentence_id option
Source
val execute :
state ->
(Vernacstate.t * events * bool) ->
prepared_task ->
state * Vernacstate.t * events * bool * errored_sentence
Source
val update_overview :
prepared_task ->
prepared_task list ->
state ->
Document.document ->
state
Coq toplevels for delegation without fork
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>