haskell-lsp-types-0.8.0.1: Haskell library for the Microsoft Language Server Protocol, data types

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.LSP.Types

Synopsis

Documentation

data InitializeParams Source #

Constructors

InitializeParams 

Fields

Instances
Eq InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeParams ClientCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTrace InitializeParams (Maybe Trace) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootPath InitializeParams (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasProcessId InitializeParams (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInitializationOptions InitializeParams (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeError Source #

Constructors

InitializeError 

Fields

Instances
Eq InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeError Source #

Note: Omitting this parameter from the capabilities is effectively a fourth state, where DidSave events are generated without sending document contents.

Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRetry InitializeError Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentSyncKind Source #

Instances
Eq TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionOptions Source #

Instances
Eq CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters CompletionOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResolveProvider CompletionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCompletionProvider InitializeResponseCapabilitiesInner (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelpOptions Source #

Instances
Eq SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters SignatureHelpOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatureHelpProvider InitializeResponseCapabilitiesInner (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLensOptions Source #

Constructors

CodeLensOptions 
Instances
Eq CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider CodeLensOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeLensProvider InitializeResponseCapabilitiesInner (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingOptions Source #

Instances
Eq DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMoreTriggerCharacter DocumentOnTypeFormattingOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider InitializeResponseCapabilitiesInner (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentLinkOptions Source #

Constructors

DocumentLinkOptions 

Fields

Instances
Eq DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider DocumentLinkOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentLinkProvider InitializeResponseCapabilitiesInner (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ExecuteCommandOptions Source #

Constructors

ExecuteCommandOptions 

Fields

Instances
Eq ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExecuteCommandProvider InitializeResponseCapabilitiesInner (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SaveOptions Source #

Constructors

SaveOptions 

Fields

data TextDocumentSyncOptions Source #

Constructors

TextDocumentSyncOptions 

Fields

Instances
Eq TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWillSaveWaitUntil TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWillSave TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSave TextDocumentSyncOptions (Maybe SaveOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOpenClose TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data GotoOptions Source #

Constructors

GotoOptionsStatic Bool 
GotoOptionsDynamic 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

Instances
Eq GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTypeDefinitionProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasImplementationProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorOptions Source #

Constructors

ColorOptionsStatic Bool 
ColorOptionsDynamic 
ColorOptionsDynamicDocument 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

data FoldingRangeOptions Source #

Constructors

FoldingRangeOptionsStatic Bool 
FoldingRangeOptionsDynamic 
FoldingRangeOptionsDynamicDocument 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

Instances
Eq FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasFoldingRangeProvider InitializeResponseCapabilitiesInner (Maybe FoldingRangeOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFolderChangeNotifications Source #

Instances
Eq WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasChangeNotifications WorkspaceFolderOptions (Maybe WorkspaceFolderChangeNotifications) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFolderOptions Source #

Constructors

WorkspaceFolderOptions 

Fields

  • _supported :: Maybe Bool

    The server has support for workspace folders

  • _changeNotifications :: Maybe WorkspaceFolderChangeNotifications

    Whether the server wants to receive workspace folder change notifications. If a strings is provided the string is treated as a ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the `client/unregisterCapability` request.

Instances
Eq WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFolderOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSupported WorkspaceFolderOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChangeNotifications WorkspaceFolderOptions (Maybe WorkspaceFolderChangeNotifications) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceOptions Source #

Constructors

WorkspaceOptions 

Fields

Instances
Eq WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFolderOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspace InitializeResponseCapabilitiesInner (Maybe WorkspaceOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeResponseCapabilitiesInner Source #

Constructors

InitializeResponseCapabilitiesInner 

Fields

Instances
Eq InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeResponseCapabilities InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColorProvider InitializeResponseCapabilitiesInner (Maybe ColorOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspace InitializeResponseCapabilitiesInner (Maybe WorkspaceOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExperimental InitializeResponseCapabilitiesInner (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceSymbolProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTypeDefinitionProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocumentSync InitializeResponseCapabilitiesInner (Maybe TDS) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatureHelpProvider InitializeResponseCapabilitiesInner (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRenameProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasReferencesProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasImplementationProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasHoverProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasFoldingRangeProvider InitializeResponseCapabilitiesInner (Maybe FoldingRangeOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExecuteCommandProvider InitializeResponseCapabilitiesInner (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSymbolProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentRangeFormattingProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider InitializeResponseCapabilitiesInner (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentLinkProvider InitializeResponseCapabilitiesInner (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentHighlightProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentFormattingProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDefinitionProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCompletionProvider InitializeResponseCapabilitiesInner (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeLensProvider InitializeResponseCapabilitiesInner (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeActionProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeResponseCapabilities Source #

Information about the capabilities of a language server

Instances
Eq InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeResponseCapabilities InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MessageType Source #

Constructors

MtError

Error = 1,

MtWarning

Warning = 2,

MtInfo

Info = 3,

MtLog

Log = 4

Instances
Enum MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Eq MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Ord MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXtype LogMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ShowMessageParams Source #

Constructors

ShowMessageParams 
Instances
Eq ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage ShowMessageParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MessageActionItem Source #

Constructors

MessageActionItem 

Fields

Instances
Eq MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTitle MessageActionItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ShowMessageRequestParams Source #

Instances
Eq ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage ShowMessageRequestParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data LogMessageParams Source #

Constructors

LogMessageParams 
Instances
Eq LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype LogMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage LogMessageParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Registration Source #

Constructors

Registration 

Fields

Instances
Eq Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasMethod Registration ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId Registration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegisterOptions Registration (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegistrations RegistrationParams (List Registration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data RegistrationParams Source #

data TextDocumentRegistrationOptions Source #

Instances
Eq TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Unregistration Source #

Constructors

Unregistration 

Fields

  • _id :: Text

    The id used to unregister the request or notification. Usually an id provided during the register request.

  • _method :: Text

    The method / capability to unregister for.

Instances
Eq Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasMethod Unregistration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId Unregistration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data UnregistrationParams Source #

Instances
Eq UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeConfigurationParams Source #

Instances
Eq DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSettings DidChangeConfigurationParams Value Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ConfigurationItem Source #

Constructors

ConfigurationItem 

Fields

Instances
Eq ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSection ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasScopeUri ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ConfigurationParams Source #

data DidOpenTextDocumentParams Source #

Instances
Eq DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentContentChangeEvent Source #

Instances
Eq TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasText TextDocumentContentChangeEvent Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRangeLength TextDocumentContentChangeEvent (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeTextDocumentParams Source #

Instances
Eq DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentChangeRegistrationOptions Source #

Instances
Eq TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentSaveReason Source #

Constructors

SaveManual

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

SaveAfterDelay

Automatic after a delay

SaveFocusOut

When the editor lost focus

Instances
Eq TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WillSaveTextDocumentParams Source #

Instances
Eq WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidSaveTextDocumentParams Source #

Instances
Eq DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidCloseTextDocumentParams Source #

Instances
Eq DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data FileEvent Source #

Constructors

FileEvent 

Fields

Instances
Eq FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype FileEvent FileChangeType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeWatchedFilesParams Source #

Instances
Eq DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data PublishDiagnosticsParams Source #

Instances
Eq PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data LanguageString Source #

Constructors

LanguageString 

Fields

data ParameterInformation Source #

Instances
Eq ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasLabel ParameterInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation ParameterInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParameters SignatureInformation (Maybe [ParameterInformation]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureInformation Source #

Instances
Eq SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasLabel SignatureInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation SignatureInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParameters SignatureInformation (Maybe [ParameterInformation]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelp Source #

Constructors

SignatureHelp 

Fields

Instances
Eq SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActiveSignature SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActiveParameter SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelpRegistrationOptions Source #

Instances
Eq SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ReferenceContext Source #

Constructors

ReferenceContext 
Instances
Eq ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasIncludeDeclaration ReferenceContext Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ReferenceParams Source #

Instances
Eq ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentHighlightKind Source #

Constructors

HkText 
HkRead 
HkWrite 
Instances
Eq DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentHighlight Source #

Instances
Eq DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceSymbolParams Source #

Constructors

WorkspaceSymbolParams 

Fields

data CodeLens Source #

Constructors

CodeLens 
Instances
Eq CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRange CodeLens Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata CodeLens (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeLens (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLensRegistrationOptions Source #

Instances
Eq CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider CodeLensRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentLinkParams Source #

data DocumentLink Source #

Constructors

DocumentLink 

Fields

data FormattingOptions Source #

Constructors

FormattingOptions 

Fields

Instances
Eq FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTabSize FormattingOptions Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertSpaces FormattingOptions Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentFormattingParams Source #

Instances
Eq DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentRangeFormattingParams Source #

Instances
Eq DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingParams Source #

Instances
Eq DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCh DocumentOnTypeFormattingParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingRegistrationOptions Source #

Instances
Eq DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

data RenameParams Source #

Instances
Eq RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasNewName RenameParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ExecuteCommandParams Source #

Instances
Eq ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommand ExecuteCommandParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments ExecuteCommandParams (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ExecuteCommandRegistrationOptions Source #

Instances
Eq ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ApplyWorkspaceEditParams Source #

Instances
Eq ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ApplyWorkspaceEditResponseBody Source #

Instances
Eq ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasApplied ApplyWorkspaceEditResponseBody Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TraceParams Source #

Constructors

TraceParams 

Fields

data TraceNotification Source #

Constructors

TraceNotification 

Fields

data CodeActionKind Source #

Instances
Eq CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeActionContext Source #

Instances
Eq CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeActionParams Source #

Instances
Eq CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeAction Source #

Constructors

CodeAction

A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.

A CodeAction must set either $sel:_edit:CodeAction and/or a $sel:_command:CodeAction. If both are supplied, the $sel:_edit:CodeAction is applied first, then the $sel:_command:CodeAction is executed.

Fields

Instances
Eq CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasTitle CodeAction Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Color Source #

Represents a color in RGBA space.

Constructors

Color 

Fields

  • _red :: Int

    The red component of this color in the range [0-1].

  • _green :: Int

    The green component of this color in the range [0-1].

  • _blue :: Int

    The blue component of this color in the range [0-1].

  • _alpha :: Int

    The alpha component of this color in the range [0-1].

Instances
Eq Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Read Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

ToJSON Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasRed Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasGreen Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasBlue Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAlpha Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorInformation Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorInformation Source #

Constructors

ColorInformation 

Fields

  • _range :: Range

    The range in the document where this color appears.

  • _color :: Color

    The actual color value for this color range.

data DocumentColorParams Source #

Constructors

DocumentColorParams 

Fields

data ColorPresentationParams Source #

Constructors

ColorPresentationParams 

Fields

Instances
Eq ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Read ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

ToJSON ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorPresentation Source #

Constructors

ColorPresentation 

Fields

Instances
Eq ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Read ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

ToJSON ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasLabel ColorPresentation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Command Source #

Constructors

Command 
Instances
Eq Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Read Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

Show Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

ToJSON Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

FromJSON Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

HasTitle Command Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand Command Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeLens (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments Command (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionItemKind Source #

Instances
Eq CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Ord CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasValueSet CompletionItemKindClientCapabilities (Maybe (List CompletionItemKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InsertTextFormat Source #

Constructors

PlainText

The primary text to be inserted is treated as a plain string.

Snippet

The primary text to be inserted is treated as a snippet.

A snippet can define tab stops and placeholders with `$1`, `$2` and `${3:foo}`. `$0` defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

See also: https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/snippet/common/snippet.md

data CompletionItem Source #

Constructors

CompletionItem 

Fields

  • _label :: Text

    The label of this completion item. By default also the text that is inserted when selecting this completion.

  • _kind :: Maybe CompletionItemKind
     
  • _detail :: Maybe Text

    A human-readable string with additional information about this item, like type or symbol information.

  • _documentation :: Maybe CompletionDoc

    A human-readable string that represents a doc-comment.

  • _deprecated :: Maybe Bool

    Indicates if this item is deprecated.

  • _preselect :: Maybe Bool

    Select this item when showing. *Note* that only one completion item can be selected and that the tool / client decides which item that is. The rule is that the *first* item of those that match best is selected.

  • _sortText :: Maybe Text

    A string that should be used when filtering a set of completion items. When falsy the label is used.

  • _filterText :: Maybe Text

    A string that should be used when filtering a set of completion items. When falsy the label is used.

  • _insertText :: Maybe Text

    A string that should be inserted a document when selecting this completion. When falsy the label is used.

  • _insertTextFormat :: Maybe InsertTextFormat

    The format of the insert text. The format applies to both the insertText property and the newText property of a provided textEdit.

  • _textEdit :: Maybe TextEdit

    An edit which is applied to a document when selecting this completion. When an edit is provided the value of insertText is ignored.

    • Note:* The range of the edit must be a single line range and it must contain the position at which completion has been requested.
  • _additionalTextEdits :: Maybe (List TextEdit)

    An optional array of additional text edits that are applied when selecting this completion. Edits must not overlap with the main edit nor with themselves.

  • _commitCharacters :: Maybe (List Text)

    An optional set of characters that when pressed while this completion is active will accept it first and then type that character. *Note* that all commit characters should have `length=1` and that superfluous characters will be ignored.

  • _command :: Maybe Command

    An optional command that is executed *after* inserting this completion. *Note* that additional modifications to the current document should be described with the additionalTextEdits-property.

  • _xdata :: Maybe Value

    An data entry field that is preserved on a completion item between a completion and a completion resolve request.

Instances
Eq CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasLabel CompletionItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation CompletionItem (Maybe CompletionDoc) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata CompletionItem (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSortText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPreselect CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertTextFormat CompletionItem (Maybe InsertTextFormat) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasFilterText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDetail CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommitCharacters CompletionItem (Maybe (List Text)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionListType Source #

Instances
Eq CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasIsIncomplete CompletionListType Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionResponseResult Source #

data CompletionTriggerKind Source #

How a completion was triggered

Constructors

CtInvoked

Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.

CtTriggerCharacter

Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions.

CtTriggerForIncompleteCompletions

Completion was re-triggered as the current completion list is incomplete.

CtUnknown Scientific

An unknown CompletionTriggerKind not yet supported in haskell-lsp.

Instances
Eq CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerKind CompletionContext CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionContext Source #

Constructors

CompletionContext 

Fields

Instances
Eq CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerKind CompletionContext CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacter CompletionContext (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionParams Source #

Constructors

CompletionParams 

Fields

Instances
Eq CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionRegistrationOptions Source #

Instances
Eq CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerCharacters CompletionRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResolveProvider CompletionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DiagnosticSeverity Source #

Constructors

DsError

Error = 1,

DsWarning

Warning = 2,

DsInfo

Info = 3,

DsHint

Hint = 4

Instances
Eq DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

ToJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DiagnosticRelatedInformation Source #

Instances
Eq DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

ToJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

HasMessage DiagnosticRelatedInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Diagnostic Source #

Instances
Eq Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

ToJSON Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

HasMessage Diagnostic Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCode Diagnostic (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSource Diagnostic (Maybe DiagnosticSource) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentFilter Source #

Instances
Eq DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

Read DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

Show DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

ToJSON DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

FromJSON DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLanguage DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasScheme DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPattern DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data FoldingRangeParams Source #

Constructors

FoldingRangeParams 

Fields

data FoldingRangeKind Source #

Enum of known range kinds

Constructors

FoldingRangeComment

Folding range for a comment

FoldingRangeImports

Folding range for a imports or includes

FoldingRangeRegion

Folding range for a region (e.g. #region)

FoldingRangeUnknown Text

Folding range that haskell-lsp-types does not yet support

data FoldingRange Source #

Represents a folding range.

Constructors

FoldingRange 

Fields

  • _startLine :: Int

    The zero-based line number from where the folded range starts.

  • _startCharacter :: Maybe Int

    The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line.

  • _endLine :: Int

    The zero-based line number where the folded range ends.

  • _endCharacter :: Maybe Int

    The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line.

  • _kind :: Maybe FoldingRangeKind

    Describes the kind of the folding range such as comment or region. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See FoldingRangeKind for an enumeration of standardized kinds.

Instances
Eq FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Read FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Show FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

ToJSON FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

FromJSON FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

HasStartLine FoldingRange Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEndLine FoldingRange Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind FoldingRange (Maybe FoldingRangeKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStartCharacter FoldingRange (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEndCharacter FoldingRange (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

newtype List a Source #

This data type is used to host a FromJSON instance for the encoding used by elisp, where an empty list shows up as "null"

Constructors

List [a] 
Instances
Functor List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

fmap :: (a -> b) -> List a -> List b #

(<$) :: a -> List b -> List a #

Foldable List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

fold :: Monoid m => List m -> m #

foldMap :: Monoid m => (a -> m) -> List a -> m #

foldr :: (a -> b -> b) -> b -> List a -> b #

foldr' :: (a -> b -> b) -> b -> List a -> b #

foldl :: (b -> a -> b) -> b -> List a -> b #

foldl' :: (b -> a -> b) -> b -> List a -> b #

foldr1 :: (a -> a -> a) -> List a -> a #

foldl1 :: (a -> a -> a) -> List a -> a #

toList :: List a -> [a] #

null :: List a -> Bool #

length :: List a -> Int #

elem :: Eq a => a -> List a -> Bool #

maximum :: Ord a => List a -> a #

minimum :: Ord a => List a -> a #

sum :: Num a => List a -> a #

product :: Num a => List a -> a #

Traversable List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

traverse :: Applicative f => (a -> f b) -> List a -> f (List b) #

sequenceA :: Applicative f => List (f a) -> f (List a) #

mapM :: Monad m => (a -> m b) -> List a -> m (List b) #

sequence :: Monad m => List (m a) -> m (List a) #

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet SymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet CompletionItemKindClientCapabilities (Maybe (List CompletionItemKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet DocumentSymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentationFormat CompletionItemClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentFormat HoverClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacters CompletionRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegistrations RegistrationParams (List Registration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContents Hover (List MarkedString) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments Command (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments ExecuteCommandParams (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommitCharacters CompletionItem (Maybe (List Text)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChildren DocumentSymbol (Maybe (List DocumentSymbol)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Eq a => Eq (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

(==) :: List a -> List a -> Bool #

(/=) :: List a -> List a -> Bool #

Ord a => Ord (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

compare :: List a -> List a -> Ordering #

(<) :: List a -> List a -> Bool #

(<=) :: List a -> List a -> Bool #

(>) :: List a -> List a -> Bool #

(>=) :: List a -> List a -> Bool #

max :: List a -> List a -> List a #

min :: List a -> List a -> List a #

Read a => Read (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Show a => Show (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

showsPrec :: Int -> List a -> ShowS #

show :: List a -> String #

showList :: [List a] -> ShowS #

Semigroup (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

(<>) :: List a -> List a -> List a #

sconcat :: NonEmpty (List a) -> List a #

stimes :: Integral b => b -> List a -> List a #

Monoid (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

mempty :: List a #

mappend :: List a -> List a -> List a #

mconcat :: [List a] -> List a #

ToJSON a => ToJSON (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

FromJSON a => FromJSON (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

data Position Source #

Constructors

Position 

Fields

Instances
Eq Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Ord Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Read Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

ToJSON Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLine Position Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCharacter Position Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStart Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Range Source #

Constructors

Range 

Fields

Instances
Eq Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

(==) :: Range -> Range -> Bool #

(/=) :: Range -> Range -> Bool #

Ord Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

compare :: Range -> Range -> Ordering #

(<) :: Range -> Range -> Bool #

(<=) :: Range -> Range -> Bool #

(>) :: Range -> Range -> Bool #

(>=) :: Range -> Range -> Bool #

max :: Range -> Range -> Range #

min :: Range -> Range -> Range #

Read Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

ToJSON Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

HasRange Location Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextEdit Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorInformation Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeLens Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentLink Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStart Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange Hover (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Location Source #

Constructors

Location 

Fields

Instances
Eq Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Ord Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Read Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

ToJSON Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

HasRange Location Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri Location Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MarkupKind Source #

Describes the content type that a client supports in various result literals like Hover, ParameterInfo or CompletionItem.

Constructors

MkPlainText

Plain text is supported as a content format

MkMarkdown

Markdown is supported as a content format

Instances
Eq MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Read MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Show MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

ToJSON MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

FromJSON MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

HasDocumentationFormat CompletionItemClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentFormat HoverClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MarkupContent Source #

A MarkupContent literal represents a string value which content is interpreted base on its | kind flag. Currently the protocol supports plaintext and markdown as markup kinds. | | If the kind is markdown then the value can contain fenced code blocks like in GitHub issues. | See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting | | Here is an example how such a string can be constructed using JavaScript / TypeScript: | ```ts | let markdown: MarkdownContent = { | kind: MarkupKind.Markdown, | value: [ | '# Header', | 'Some text', | '``typescript, | 'someCode();', | '```' | ].join('\n') | }; | ``` | | *Please Note* that clients might sanitize the return markdown. A client could decide to | remove HTML from the markdown to avoid script execution.

Constructors

MarkupContent 

Fields

data LspId Source #

Id used for a request, Can be either a String or an Int

Constructors

IdInt Int 
IdString Text 
Instances
Eq LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

(==) :: LspId -> LspId -> Bool #

(/=) :: LspId -> LspId -> Bool #

Ord LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

compare :: LspId -> LspId -> Ordering #

(<) :: LspId -> LspId -> Bool #

(<=) :: LspId -> LspId -> Bool #

(>) :: LspId -> LspId -> Bool #

(>=) :: LspId -> LspId -> Bool #

max :: LspId -> LspId -> LspId #

min :: LspId -> LspId -> LspId #

Read LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

showsPrec :: Int -> LspId -> ShowS #

show :: LspId -> String #

showList :: [LspId] -> ShowS #

Hashable LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

hashWithSalt :: Int -> LspId -> Int #

hash :: LspId -> Int #

ToJSON LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasId CancelParams LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId (RequestMessage m req resp) LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

id :: Lens' (RequestMessage m req resp) LspId Source #

data LspIdRsp Source #

Id used for a response, Can be either a String or an Int, or Null. If a request doesn't provide a result value the receiver of a request still needs to return a response message to conform to the JSON RPC specification. The result property of the ResponseMessage should be set to null in this case to signal a successful request.

responseId :: LspId -> LspIdRsp Source #

Converts an LspId to its LspIdRsp counterpart.

requestId :: LspIdRsp -> LspId Source #

Converts an LspIdRsp to its LspId counterpart.

data ClientMethod Source #

Instances
Eq ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Ord ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMethod Registration ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ServerMethod Source #

Instances
Eq ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Ord ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

data RequestMessage m req resp Source #

Constructors

RequestMessage 

Fields

Instances
(Eq m, Eq req) => Eq (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

(==) :: RequestMessage m req resp -> RequestMessage m req resp -> Bool #

(/=) :: RequestMessage m req resp -> RequestMessage m req resp -> Bool #

(Read m, Read req) => Read (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

readsPrec :: Int -> ReadS (RequestMessage m req resp) #

readList :: ReadS [RequestMessage m req resp] #

readPrec :: ReadPrec (RequestMessage m req resp) #

readListPrec :: ReadPrec [RequestMessage m req resp] #

(Show m, Show req) => Show (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

showsPrec :: Int -> RequestMessage m req resp -> ShowS #

show :: RequestMessage m req resp -> String #

showList :: [RequestMessage m req resp] -> ShowS #

(ToJSON m, ToJSON req, ToJSON resp) => ToJSON (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

toJSON :: RequestMessage m req resp -> Value #

toEncoding :: RequestMessage m req resp -> Encoding #

toJSONList :: [RequestMessage m req resp] -> Value #

toEncodingList :: [RequestMessage m req resp] -> Encoding #

(FromJSON m, FromJSON req, FromJSON resp) => FromJSON (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

parseJSON :: Value -> Parser (RequestMessage m req resp) #

parseJSONList :: Value -> Parser [RequestMessage m req resp] #

HasMethod (RequestMessage m req resp) m Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

method :: Lens' (RequestMessage m req resp) m Source #

HasId (RequestMessage m req resp) LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

id :: Lens' (RequestMessage m req resp) LspId Source #

HasParams (RequestMessage m req resp) req Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

params :: Lens' (RequestMessage m req resp) req Source #

HasJsonrpc (RequestMessage m req resp) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

jsonrpc :: Lens' (RequestMessage m req resp) Text Source #

data ResponseError Source #

Constructors

ResponseError 
Instances
Eq ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMessage ResponseError Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCode ResponseError ErrorCode Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata ResponseError (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasError (ResponseMessage a) (Maybe ResponseError) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ResponseMessage a Source #

Instances
Eq a => Eq (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read a => Read (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show a => Show (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON a => ToJSON (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON a => FromJSON (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasId (ResponseMessage a) LspIdRsp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasJsonrpc (ResponseMessage a) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResult (ResponseMessage a) (Maybe a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasError (ResponseMessage a) (Maybe ResponseError) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data NotificationMessage m a Source #

Constructors

NotificationMessage 

Fields

Instances
(Eq m, Eq a) => Eq (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(Read m, Read a) => Read (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(Show m, Show a) => Show (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(ToJSON m, ToJSON a) => ToJSON (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(FromJSON m, FromJSON a) => FromJSON (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMethod (NotificationMessage m a) m Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParams (NotificationMessage m a) a Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasJsonrpc (NotificationMessage m a) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentSymbolParams Source #

data SymbolKind Source #

Instances
Eq SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet SymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet DocumentSymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentSymbol Source #

Represents programming constructs like variables, classes, interfaces etc. that appear in a document. Document symbols can be hierarchical and they have two ranges: one that encloses its definition and one that points to its most interesting range, e.g. the range of an identifier.

Constructors

DocumentSymbol 

Fields

  • _name :: Text

    The name of this symbol. | More detail for this symbol, e.g the signature of a function. If not provided the name is used.

  • _detail :: Maybe Text
     
  • _kind :: SymbolKind

    The kind of this symbol.

  • _deprecated :: Maybe Bool

    Indicates if this symbol is deprecated. | The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the the clients cursor is inside the symbol to reveal in the symbol in the UI.

  • _range :: Range
     
  • _selectionRange :: Range

    The range that should be selected and revealed when this symbol is being picked, e.g the name of a function. Must be contained by the the $sel:_range:DocumentSymbol.

  • _children :: Maybe (List DocumentSymbol)

    Children of this symbol, e.g. properties of a class.

Instances
Eq DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName DocumentSymbol Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDetail DocumentSymbol (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated DocumentSymbol (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChildren DocumentSymbol (Maybe (List DocumentSymbol)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SymbolInformation Source #

Represents information about programming constructs like variables, classes, interfaces etc.

Constructors

SymbolInformation 

Fields

  • _name :: Text

    The name of this symbol.

  • _kind :: SymbolKind

    The kind of this symbol.

  • _deprecated :: Maybe Bool

    Indicates if this symbol is deprecated. | The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers.

    The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.

  • _location :: Location
     
  • _containerName :: Maybe Text

    The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols.

Instances
Eq SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName SymbolInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated SymbolInformation (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContainerName SymbolInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentIdentifier Source #

Constructors

TextDocumentIdentifier 

Fields

Instances
Eq TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument FoldingRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentSymbolParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentColorParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CodeLensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentLinkParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentItem Source #

Constructors

TextDocumentItem 

Fields

Instances
Eq TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasText TextDocumentItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasVersion TextDocumentItem Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLanguageId TextDocumentItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentPositionParams Source #

Instances
Eq TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

newtype Uri Source #

Constructors

Uri 

Fields

Instances
Eq Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

(==) :: Uri -> Uri -> Bool #

(/=) :: Uri -> Uri -> Bool #

Ord Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

compare :: Uri -> Uri -> Ordering #

(<) :: Uri -> Uri -> Bool #

(<=) :: Uri -> Uri -> Bool #

(>) :: Uri -> Uri -> Bool #

(>=) :: Uri -> Uri -> Bool #

max :: Uri -> Uri -> Uri #

min :: Uri -> Uri -> Uri #

Read Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Show Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

showsPrec :: Int -> Uri -> ShowS #

show :: Uri -> String #

showList :: [Uri] -> ShowS #

Hashable Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

hashWithSalt :: Int -> Uri -> Int #

hash :: Uri -> Int #

ToJSON Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

ToJSONKey Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

FromJSON Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

FromJSONKey Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

HasUri Location Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextEdit Source #

Constructors

TextEdit 

Fields

Instances
Eq TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasRange TextEdit Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasNewText TextEdit Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data VersionedTextDocumentIdentifier Source #

Instances
Eq VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasVersion VersionedTextDocumentIdentifier TextDocumentVersion Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentEdit Source #

Instances
Eq TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceEdit Source #

Instances
Eq WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Semigroup WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Monoid WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFolder Source #

Constructors

WorkspaceFolder 

Fields

  • _uri :: Text

    The name of the workspace folder. Defaults to the uri's basename.

  • _name :: Text

    The name of the workspace folder. Defaults to the uri's basename.

Instances
Eq WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasUri WorkspaceFolder Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName WorkspaceFolder Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFoldersChangeEvent Source #

The workspace folder change event.

Constructors

WorkspaceFoldersChangeEvent 

Fields

Instances
Eq WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeWorkspaceFoldersParams Source #

Constructors

DidChangeWorkspaceFoldersParams 

Fields

Instances
Eq DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens