package vsrocq-language-server
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
VSRocq language server
Install
dune-project
Dependency
Authors
Maintainers
Sources
vsrocq-language-server-2.3.0.tar.gz
md5=703240416ea0203be94095210f6a81ae
sha512=be5dd8d06743f10bb712abce99ade7c87ba44f28507e165f0c6c2efc19961ef43be88d1c2093b5e9eb881437b54a0153ab63865c1fb623e51cfed5f517babc66
doc/vsrocq-language-server.dm/Dm/ExecutionManager/index.html
Module Dm.ExecutionManagerSource
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 ->
stateSource
val all_errors :
state ->
(Types.sentence_id * (Loc.t option * Pp.t * Types.Quickfix.t list option))
listSource
val shift_overview :
state ->
before:RawDocument.t ->
after:RawDocument.t ->
start:int ->
offset:int ->
statewe know if it worked and we have the state in this process
we know if it worked but we do not have the state in this process
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 * state * prepared_task option * errored_sentenceSource
val execute :
state ->
Document.document ->
(Vernacstate.t * events * bool) ->
prepared_task ->
bool ->
prepared_task option * state * Vernacstate.t * events * errored_sentenceRocq toplevels for delegation without fork
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>