package linol-lwt

  1. Overview
  2. Docs
module type IO = Linol.IO
include module type of struct include Lsp.Types end
module MarkedString = Lsp.Types.MarkedString
module DeleteFileOptions = Lsp.Types.DeleteFileOptions
module DocumentUri = Lsp.Types.DocumentUri
module DeleteFile = Lsp.Types.DeleteFile
module RenameFileOptions = Lsp.Types.RenameFileOptions
module RenameFile = Lsp.Types.RenameFile
module CreateFileOptions = Lsp.Types.CreateFileOptions
module CreateFile = Lsp.Types.CreateFile
module Position = Lsp.Types.Position
module Range = Lsp.Types.Range
module TextEdit = Lsp.Types.TextEdit
module TextDocumentIdentifier = Lsp.Types.TextDocumentIdentifier
module VersionedTextDocumentIdentifier = Lsp.Types.VersionedTextDocumentIdentifier
module TextDocumentEdit = Lsp.Types.TextDocumentEdit
module WorkspaceEdit = Lsp.Types.WorkspaceEdit
module ApplyWorkspaceEditParams = Lsp.Types.ApplyWorkspaceEditParams
module ApplyWorkspaceEditResponse = Lsp.Types.ApplyWorkspaceEditResponse
module CancelParams = Lsp.Types.CancelParams
module SelectionRangeClientCapabilities = Lsp.Types.SelectionRangeClientCapabilities
module FoldingRangeClientCapabilities = Lsp.Types.FoldingRangeClientCapabilities
module DiagnosticTag = Lsp.Types.DiagnosticTag
module PublishDiagnosticsClientCapabilities = Lsp.Types.PublishDiagnosticsClientCapabilities
module RenameClientCapabilities = Lsp.Types.RenameClientCapabilities
module DocumentOnTypeFormattingClientCapabilities = Lsp.Types.DocumentOnTypeFormattingClientCapabilities
module DocumentRangeFormattingClientCapabilities = Lsp.Types.DocumentRangeFormattingClientCapabilities
module DocumentFormattingClientCapabilities = Lsp.Types.DocumentFormattingClientCapabilities
module DocumentColorClientCapabilities = Lsp.Types.DocumentColorClientCapabilities
module DocumentLinkClientCapabilities = Lsp.Types.DocumentLinkClientCapabilities
module CodeLensClientCapabilities = Lsp.Types.CodeLensClientCapabilities
module CodeActionKind = Lsp.Types.CodeActionKind
module CodeActionClientCapabilities = Lsp.Types.CodeActionClientCapabilities
module SymbolKind = Lsp.Types.SymbolKind
module DocumentSymbolClientCapabilities = Lsp.Types.DocumentSymbolClientCapabilities
module DocumentHighlightClientCapabilities = Lsp.Types.DocumentHighlightClientCapabilities
module ReferenceClientCapabilities = Lsp.Types.ReferenceClientCapabilities
module ImplementationClientCapabilities = Lsp.Types.ImplementationClientCapabilities
module TypeDefinitionClientCapabilities = Lsp.Types.TypeDefinitionClientCapabilities
module DefinitionClientCapabilities = Lsp.Types.DefinitionClientCapabilities
module DeclarationClientCapabilities = Lsp.Types.DeclarationClientCapabilities
module MarkupKind = Lsp.Types.MarkupKind
module SignatureHelpClientCapabilities = Lsp.Types.SignatureHelpClientCapabilities
module HoverClientCapabilities = Lsp.Types.HoverClientCapabilities
module CompletionItemKind = Lsp.Types.CompletionItemKind
module CompletionItemTag = Lsp.Types.CompletionItemTag
module CompletionClientCapabilities = Lsp.Types.CompletionClientCapabilities
module TextDocumentSyncClientCapabilities = Lsp.Types.TextDocumentSyncClientCapabilities
module TextDocumentClientCapabilities = Lsp.Types.TextDocumentClientCapabilities
module ExecuteCommandClientCapabilities = Lsp.Types.ExecuteCommandClientCapabilities
module WorkspaceSymbolClientCapabilities = Lsp.Types.WorkspaceSymbolClientCapabilities
module DidChangeWatchedFilesClientCapabilities = Lsp.Types.DidChangeWatchedFilesClientCapabilities
module DidChangeConfigurationClientCapabilities = Lsp.Types.DidChangeConfigurationClientCapabilities
module FailureHandlingKind = Lsp.Types.FailureHandlingKind
module ResourceOperationKind = Lsp.Types.ResourceOperationKind
module WorkspaceEditClientCapabilities = Lsp.Types.WorkspaceEditClientCapabilities
module ClientCapabilities = Lsp.Types.ClientCapabilities
module Command = Lsp.Types.Command
module Location = Lsp.Types.Location
module DiagnosticRelatedInformation = Lsp.Types.DiagnosticRelatedInformation
module DiagnosticSeverity = Lsp.Types.DiagnosticSeverity
module Diagnostic = Lsp.Types.Diagnostic
module CodeAction = Lsp.Types.CodeAction
module CodeActionContext = Lsp.Types.CodeActionContext
module WorkDoneProgressOptions = Lsp.Types.WorkDoneProgressOptions
module CodeActionOptions = Lsp.Types.CodeActionOptions
module ProgressToken = Lsp.Types.ProgressToken
module PartialResultParams = Lsp.Types.PartialResultParams
module WorkDoneProgressParams = Lsp.Types.WorkDoneProgressParams
module CodeActionParams = Lsp.Types.CodeActionParams
module DocumentFilter = Lsp.Types.DocumentFilter
module DocumentSelector = Lsp.Types.DocumentSelector
module TextDocumentRegistrationOptions = Lsp.Types.TextDocumentRegistrationOptions
module CodeActionRegistrationOptions = Lsp.Types.CodeActionRegistrationOptions
module CodeLens = Lsp.Types.CodeLens
module CodeLensOptions = Lsp.Types.CodeLensOptions
module CodeLensParams = Lsp.Types.CodeLensParams
module CodeLensRegistrationOptions = Lsp.Types.CodeLensRegistrationOptions
module Color = Lsp.Types.Color
module ColorInformation = Lsp.Types.ColorInformation
module ColorPresentation = Lsp.Types.ColorPresentation
module ColorPresentationParams = Lsp.Types.ColorPresentationParams
module CompletionTriggerKind = Lsp.Types.CompletionTriggerKind
module CompletionContext = Lsp.Types.CompletionContext
module InsertTextFormat = Lsp.Types.InsertTextFormat
module MarkupContent = Lsp.Types.MarkupContent
module CompletionItem = Lsp.Types.CompletionItem
module CompletionList = Lsp.Types.CompletionList
module CompletionOptions = Lsp.Types.CompletionOptions
module TextDocumentPositionParams = Lsp.Types.TextDocumentPositionParams
module CompletionParams = Lsp.Types.CompletionParams
module CompletionRegistrationOptions = Lsp.Types.CompletionRegistrationOptions
module ConfigurationItem = Lsp.Types.ConfigurationItem
module ConfigurationParams = Lsp.Types.ConfigurationParams
module DeclarationOptions = Lsp.Types.DeclarationOptions
module DeclarationParams = Lsp.Types.DeclarationParams
module StaticRegistrationOptions = Lsp.Types.StaticRegistrationOptions
module DeclarationRegistrationOptions = Lsp.Types.DeclarationRegistrationOptions
module DefinitionOptions = Lsp.Types.DefinitionOptions
module DefinitionParams = Lsp.Types.DefinitionParams
module DefinitionRegistrationOptions = Lsp.Types.DefinitionRegistrationOptions
module DidChangeConfigurationParams = Lsp.Types.DidChangeConfigurationParams
module TextDocumentContentChangeEvent = Lsp.Types.TextDocumentContentChangeEvent
module DidChangeTextDocumentParams = Lsp.Types.DidChangeTextDocumentParams
module FileEvent = Lsp.Types.FileEvent
module DidChangeWatchedFilesParams = Lsp.Types.DidChangeWatchedFilesParams
module FileSystemWatcher = Lsp.Types.FileSystemWatcher
module DidChangeWatchedFilesRegistrationOptions = Lsp.Types.DidChangeWatchedFilesRegistrationOptions
module WorkspaceFolder = Lsp.Types.WorkspaceFolder
module WorkspaceFoldersChangeEvent = Lsp.Types.WorkspaceFoldersChangeEvent
module DidChangeWorkspaceFoldersParams = Lsp.Types.DidChangeWorkspaceFoldersParams
module DidCloseTextDocumentParams = Lsp.Types.DidCloseTextDocumentParams
module TextDocumentItem = Lsp.Types.TextDocumentItem
module DidOpenTextDocumentParams = Lsp.Types.DidOpenTextDocumentParams
module DidSaveTextDocumentParams = Lsp.Types.DidSaveTextDocumentParams
module DocumentColorOptions = Lsp.Types.DocumentColorOptions
module DocumentColorParams = Lsp.Types.DocumentColorParams
module DocumentColorRegistrationOptions = Lsp.Types.DocumentColorRegistrationOptions
module DocumentFormattingOptions = Lsp.Types.DocumentFormattingOptions
module FormattingOptions = Lsp.Types.FormattingOptions
module DocumentFormattingParams = Lsp.Types.DocumentFormattingParams
module DocumentFormattingRegistrationOptions = Lsp.Types.DocumentFormattingRegistrationOptions
module DocumentHighlightKind = Lsp.Types.DocumentHighlightKind
module DocumentHighlight = Lsp.Types.DocumentHighlight
module DocumentHighlightOptions = Lsp.Types.DocumentHighlightOptions
module DocumentHighlightParams = Lsp.Types.DocumentHighlightParams
module DocumentHighlightRegistrationOptions = Lsp.Types.DocumentHighlightRegistrationOptions
module DocumentLinkOptions = Lsp.Types.DocumentLinkOptions
module DocumentLinkParams = Lsp.Types.DocumentLinkParams
module DocumentLinkRegistrationOptions = Lsp.Types.DocumentLinkRegistrationOptions
module DocumentOnTypeFormattingOptions = Lsp.Types.DocumentOnTypeFormattingOptions
module DocumentOnTypeFormattingParams = Lsp.Types.DocumentOnTypeFormattingParams
module DocumentOnTypeFormattingRegistrationOptions = Lsp.Types.DocumentOnTypeFormattingRegistrationOptions
module DocumentRangeFormattingOptions = Lsp.Types.DocumentRangeFormattingOptions
module DocumentRangeFormattingParams = Lsp.Types.DocumentRangeFormattingParams
module DocumentRangeFormattingRegistrationOptions = Lsp.Types.DocumentRangeFormattingRegistrationOptions
module DocumentSymbol = Lsp.Types.DocumentSymbol
module DocumentSymbolOptions = Lsp.Types.DocumentSymbolOptions
module DocumentSymbolParams = Lsp.Types.DocumentSymbolParams
module DocumentSymbolRegistrationOptions = Lsp.Types.DocumentSymbolRegistrationOptions
module ErrorCodes = Lsp.Types.ErrorCodes
module ExecuteCommandOptions = Lsp.Types.ExecuteCommandOptions
module ExecuteCommandParams = Lsp.Types.ExecuteCommandParams
module ExecuteCommandRegistrationOptions = Lsp.Types.ExecuteCommandRegistrationOptions
module FileChangeType = Lsp.Types.FileChangeType
module FoldingRangeKind = Lsp.Types.FoldingRangeKind
module FoldingRange = Lsp.Types.FoldingRange
module FoldingRangeOptions = Lsp.Types.FoldingRangeOptions
module FoldingRangeParams = Lsp.Types.FoldingRangeParams
module FoldingRangeRegistrationOptions = Lsp.Types.FoldingRangeRegistrationOptions
module Hover = Lsp.Types.Hover
module HoverOptions = Lsp.Types.HoverOptions
module HoverParams = Lsp.Types.HoverParams
module HoverRegistrationOptions = Lsp.Types.HoverRegistrationOptions
module ImplementationOptions = Lsp.Types.ImplementationOptions
module ImplementationParams = Lsp.Types.ImplementationParams
module ImplementationRegistrationOptions = Lsp.Types.ImplementationRegistrationOptions
module InitializeError = Lsp.Types.InitializeError
module InitializeParams = Lsp.Types.InitializeParams
module WorkspaceFoldersServerCapabilities = Lsp.Types.WorkspaceFoldersServerCapabilities
module SelectionRangeOptions = Lsp.Types.SelectionRangeOptions
module SelectionRangeRegistrationOptions = Lsp.Types.SelectionRangeRegistrationOptions
module RenameOptions = Lsp.Types.RenameOptions
module ReferenceOptions = Lsp.Types.ReferenceOptions
module TypeDefinitionOptions = Lsp.Types.TypeDefinitionOptions
module TypeDefinitionRegistrationOptions = Lsp.Types.TypeDefinitionRegistrationOptions
module SignatureHelpOptions = Lsp.Types.SignatureHelpOptions
module SaveOptions = Lsp.Types.SaveOptions
module TextDocumentSyncKind = Lsp.Types.TextDocumentSyncKind
module TextDocumentSyncOptions = Lsp.Types.TextDocumentSyncOptions
module ServerCapabilities = Lsp.Types.ServerCapabilities
module InitializeResult = Lsp.Types.InitializeResult
module LogMessageParams = Lsp.Types.LogMessageParams
module MessageActionItem = Lsp.Types.MessageActionItem
module MessageType = Lsp.Types.MessageType
module ParameterInformation = Lsp.Types.ParameterInformation
module PrepareRenameParams = Lsp.Types.PrepareRenameParams
module ProgressParams = Lsp.Types.ProgressParams
module PublishDiagnosticsParams = Lsp.Types.PublishDiagnosticsParams
module ReferenceContext = Lsp.Types.ReferenceContext
module ReferenceParams = Lsp.Types.ReferenceParams
module ReferenceRegistrationOptions = Lsp.Types.ReferenceRegistrationOptions
module Registration = Lsp.Types.Registration
module RegistrationParams = Lsp.Types.RegistrationParams
module RenameParams = Lsp.Types.RenameParams
module RenameRegistrationOptions = Lsp.Types.RenameRegistrationOptions
module SelectionRange = Lsp.Types.SelectionRange
module SelectionRangeParams = Lsp.Types.SelectionRangeParams
module ShowMessageParams = Lsp.Types.ShowMessageParams
module ShowMessageRequestParams = Lsp.Types.ShowMessageRequestParams
module SignatureInformation = Lsp.Types.SignatureInformation
module SignatureHelp = Lsp.Types.SignatureHelp
module SignatureHelpTriggerKind = Lsp.Types.SignatureHelpTriggerKind
module SignatureHelpContext = Lsp.Types.SignatureHelpContext
module SignatureHelpParams = Lsp.Types.SignatureHelpParams
module SignatureHelpRegistrationOptions = Lsp.Types.SignatureHelpRegistrationOptions
module SymbolInformation = Lsp.Types.SymbolInformation
module TextDocumentChangeRegistrationOptions = Lsp.Types.TextDocumentChangeRegistrationOptions
module TextDocumentSaveReason = Lsp.Types.TextDocumentSaveReason
module TextDocumentSaveRegistrationOptions = Lsp.Types.TextDocumentSaveRegistrationOptions
module TypeDefinitionParams = Lsp.Types.TypeDefinitionParams
module Unregistration = Lsp.Types.Unregistration
module UnregistrationParams = Lsp.Types.UnregistrationParams
module WatchKind = Lsp.Types.WatchKind
module WillSaveTextDocumentParams = Lsp.Types.WillSaveTextDocumentParams
module WorkDoneProgressBegin = Lsp.Types.WorkDoneProgressBegin
module WorkDoneProgressCancelParams = Lsp.Types.WorkDoneProgressCancelParams
module WorkDoneProgressCreateParams = Lsp.Types.WorkDoneProgressCreateParams
module WorkDoneProgressEnd = Lsp.Types.WorkDoneProgressEnd
module WorkDoneProgressReport = Lsp.Types.WorkDoneProgressReport
module WorkspaceSymbolOptions = Lsp.Types.WorkspaceSymbolOptions
module WorkspaceSymbolParams = Lsp.Types.WorkspaceSymbolParams
module WorkspaceSymbolRegistrationOptions = Lsp.Types.WorkspaceSymbolRegistrationOptions
module CodeActionResult = Lsp.Types.CodeActionResult
module Locations = Lsp.Types.Locations
include module type of struct include IO_lwt end
type 'a t = 'a Lwt.t
val return : 'a -> 'a t
val failwith : string -> 'a t
val let+ : 'a t -> ('a -> 'b) -> 'b t
val let* : 'a t -> ('a -> 'b t) -> 'b t
val and+ : 'a t -> 'b t -> ('a * 'b) t
type in_channel = Lwt_io.input Lwt_io.channel
type out_channel = Lwt_io.output Lwt_io.channel
val stdin : in_channel
val stdout : out_channel
val read : in_channel -> bytes -> int -> int -> unit t
val read_line : in_channel -> string t
val write : out_channel -> bytes -> int -> int -> unit t
val write_string : out_channel -> string -> unit t
val spawn : (unit -> unit t) -> unit

Spawn a new task that executes concurrently.

val fail : exn -> unit t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
type doc_state = Linol.Server.doc_state
module Jsonrpc2 : sig ... end
val run : 'a Lwt.t -> 'a
OCaml

Innovation. Community. Security.