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.5.0.tar.gz
md5=15c22fee2131c4b3dae4258e8a4484f6
sha512=b5ab3eea5bb6af643d635781e741a7a7b217fcc33e84c2c9e3448962118a63e174569ef6069c50af2ab57508d5cef476a8cfade14957a9654b1fea16c29a08b9
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
we know if it worked but we do not have the state in this process
Source
val handle_event :
Document.document ->
event ->
state ->
Types.sentence_id option
* (Types.sentence_id * Types.sentence_checking_result) option
* state option
* eventsEvents 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 ->
Vernacstate.t * prepared_task list * state * errored_sentenceSource
type execution_result_ = {updates : (Types.sentence_id * Types.sentence_checking_result) list;vs : Vernacstate.t;events : events;exec_error : errored_sentence;
}Source
type execution_result = | Done of execution_result_| WillDo of internal Sel.Promise.t * internal Sel.Promise.state -> execution_result_
Source
val execute :
state ->
Document.document ->
Vernacstate.t ->
prepared_task ->
state * execution_resultSource
val view_task :
prepared_task ->
[ `Local of Types.sentence_id
| `Remote of
Types.sentence_id
* Types.sentence_id
* Types.sentence_id
* Types.sentence_id ]Rocq toplevels for delegation without fork
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>