Cabal revisions of lsp-types-2.2.0.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-cabal-version: 3.0-name: lsp-types-version: 2.2.0.0-synopsis:- Haskell library for the Microsoft Language Server Protocol, data types--description:- An implementation of the types to allow language implementors to- support the Language Server Protocol for their specific language.--homepage: https://github.com/haskell/lsp-license: MIT-license-file: LICENSE-author: Alan Zimmerman-maintainer: alan.zimm@gmail.com-copyright: Alan Zimmerman, 2016-2021-category: Development-build-type: Simple-extra-source-files:- ChangeLog.md- metaModel.json- README.md--source-repository head- type: git- location: https://github.com/haskell/lsp--flag force-ospath- default: False- manual: False- description:- Force a version bound on filepath library, to enable 'OsPath'.--common warnings- ghc-options: -Wunused-packages--library- import: warnings- hs-source-dirs: src generated- default-language: GHC2021-- -- Various things we want on by default- -- * syntactic niceties, QOL- -- * we always want more deriving options- -- * we want all data strict by default- -- * we have lots of duplicte record fields- -- * extended type class stuff particularly for the- -- lens classes- -- * fancy types for singletons etc.- default-extensions:- DataKinds- DeriveAnyClass- DerivingStrategies- DerivingVia- DuplicateRecordFields- FunctionalDependencies- GADTs- NegativeLiterals- OverloadedStrings- StrictData- TypeFamilies- UndecidableInstances-- build-depends:- , aeson >=2 && <2.3- , base >=4.11 && <5- , binary ^>=0.8- , containers ^>=0.6- , data-default ^>=0.7- , deepseq >=1.4 && <1.6- , Diff >=0.4 && <0.6- , dlist ^>=1.0- , hashable ^>=1.4- , indexed-traversable ^>=0.1- , indexed-traversable-instances ^>=0.1- , lens >=5.1 && <5.3- , mod ^>=0.2- , mtl >=2.2 && <2.4- , network-uri ^>=2.6- , prettyprinter ^>=1.7- , row-types ^>=1.0- , safe ^>=0.3- , some ^>=1.0- , template-haskell >=2.7 && <2.22- , text >=1 && <2.2-- -- This version of filepath comes with GHC 9.6, so- -- we should be able to drop this flag once we only- -- support 9.6 or higher- if flag(force-ospath)- build-depends: filepath >=1.4.100.0 && < 1.6-- else- build-depends: filepath >=1.4 && < 1.6-- if impl(ghc >= 9.6)- build-depends: exceptions ^>=0.10-- ghc-options:- -Wall -Wmissing-deriving-strategies- -Wno-unticked-promoted-constructors-- exposed-modules:- Data.IxMap- Data.Row.Aeson- Data.Row.Hashable- Language.LSP.Protocol.Capabilities- Language.LSP.Protocol.Lens- Language.LSP.Protocol.Message- Language.LSP.Protocol.Types- Language.LSP.Protocol.Meta- Language.LSP.Protocol.Utils.Misc- Language.LSP.Protocol.Utils.SMethodMap-- other-modules:- Language.LSP.Protocol.Message.Lens- Language.LSP.Protocol.Message.LspId- Language.LSP.Protocol.Message.Meta- Language.LSP.Protocol.Message.Method- Language.LSP.Protocol.Message.Parsing- Language.LSP.Protocol.Message.Registration- Language.LSP.Protocol.Message.Types- Language.LSP.Protocol.Types.CodeAction- Language.LSP.Protocol.Types.Common- Language.LSP.Protocol.Types.Edit- Language.LSP.Protocol.Types.Lens- Language.LSP.Protocol.Types.Location- Language.LSP.Protocol.Types.LspEnum- Language.LSP.Protocol.Types.MarkupContent- Language.LSP.Protocol.Types.Orphans- Language.LSP.Protocol.Types.Progress- Language.LSP.Protocol.Types.SemanticTokens- Language.LSP.Protocol.Types.Singletons- Language.LSP.Protocol.Types.Uri- Language.LSP.Protocol.Types.Uri.OsPath- Language.LSP.Protocol.Types.WatchKinds--- -- The generated modules- -- In principle these could be in a separate component,- -- but a) the generated modules depend on some of the common code- -- and b) some of the helper code depends on the generated modules- -- It's simpler to just have everything in together, otherwise we'd- -- actually need three layers!- other-modules:- Language.LSP.Protocol.Internal.Meta- Language.LSP.Protocol.Internal.Method- Language.LSP.Protocol.Internal.Types- Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit- Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams- Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult- Language.LSP.Protocol.Internal.Types.BaseSymbolInformation- Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities- Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall- Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams- Language.LSP.Protocol.Internal.Types.CallHierarchyItem- Language.LSP.Protocol.Internal.Types.CallHierarchyOptions- Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall- Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams- Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams- Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions- Language.LSP.Protocol.Internal.Types.CancelParams- Language.LSP.Protocol.Internal.Types.ChangeAnnotation- Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier- Language.LSP.Protocol.Internal.Types.ClientCapabilities- Language.LSP.Protocol.Internal.Types.CodeAction- Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities- Language.LSP.Protocol.Internal.Types.CodeActionContext- Language.LSP.Protocol.Internal.Types.CodeActionKind- Language.LSP.Protocol.Internal.Types.CodeActionOptions- Language.LSP.Protocol.Internal.Types.CodeActionParams- Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions- Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind- Language.LSP.Protocol.Internal.Types.CodeDescription- Language.LSP.Protocol.Internal.Types.CodeLens- Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities- Language.LSP.Protocol.Internal.Types.CodeLensOptions- Language.LSP.Protocol.Internal.Types.CodeLensParams- Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions- Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.Color- Language.LSP.Protocol.Internal.Types.ColorInformation- Language.LSP.Protocol.Internal.Types.ColorPresentation- Language.LSP.Protocol.Internal.Types.ColorPresentationParams- Language.LSP.Protocol.Internal.Types.Command- Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities- Language.LSP.Protocol.Internal.Types.CompletionContext- Language.LSP.Protocol.Internal.Types.CompletionItem- Language.LSP.Protocol.Internal.Types.CompletionItemKind- Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails- Language.LSP.Protocol.Internal.Types.CompletionItemTag- Language.LSP.Protocol.Internal.Types.CompletionList- Language.LSP.Protocol.Internal.Types.CompletionOptions- Language.LSP.Protocol.Internal.Types.CompletionParams- Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions- Language.LSP.Protocol.Internal.Types.CompletionTriggerKind- Language.LSP.Protocol.Internal.Types.ConfigurationItem- Language.LSP.Protocol.Internal.Types.ConfigurationParams- Language.LSP.Protocol.Internal.Types.CreateFile- Language.LSP.Protocol.Internal.Types.CreateFileOptions- Language.LSP.Protocol.Internal.Types.CreateFilesParams- Language.LSP.Protocol.Internal.Types.Declaration- Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities- Language.LSP.Protocol.Internal.Types.DeclarationLink- Language.LSP.Protocol.Internal.Types.DeclarationOptions- Language.LSP.Protocol.Internal.Types.DeclarationParams- Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions- Language.LSP.Protocol.Internal.Types.Definition- Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities- Language.LSP.Protocol.Internal.Types.DefinitionLink- Language.LSP.Protocol.Internal.Types.DefinitionOptions- Language.LSP.Protocol.Internal.Types.DefinitionParams- Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions- Language.LSP.Protocol.Internal.Types.DeleteFile- Language.LSP.Protocol.Internal.Types.DeleteFileOptions- Language.LSP.Protocol.Internal.Types.DeleteFilesParams- Language.LSP.Protocol.Internal.Types.Diagnostic- Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities- Language.LSP.Protocol.Internal.Types.DiagnosticOptions- Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions- Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation- Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData- Language.LSP.Protocol.Internal.Types.DiagnosticSeverity- Language.LSP.Protocol.Internal.Types.DiagnosticTag- Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities- Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams- Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions- Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams- Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams- Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities- Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams- Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions- Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams- Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams- Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams- Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams- Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams- Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams- Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams- Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentColorOptions- Language.LSP.Protocol.Internal.Types.DocumentColorParams- Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams- Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind- Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult- Language.LSP.Protocol.Internal.Types.DocumentFilter- Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions- Language.LSP.Protocol.Internal.Types.DocumentFormattingParams- Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentHighlight- Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentHighlightKind- Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions- Language.LSP.Protocol.Internal.Types.DocumentHighlightParams- Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentLink- Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentLinkOptions- Language.LSP.Protocol.Internal.Types.DocumentLinkParams- Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions- Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams- Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions- Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams- Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions- Language.LSP.Protocol.Internal.Types.DocumentSelector- Language.LSP.Protocol.Internal.Types.DocumentSymbol- Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities- Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions- Language.LSP.Protocol.Internal.Types.DocumentSymbolParams- Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions- Language.LSP.Protocol.Internal.Types.ErrorCodes- Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace- Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities- Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions- Language.LSP.Protocol.Internal.Types.ExecuteCommandParams- Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions- Language.LSP.Protocol.Internal.Types.ExecutionSummary- Language.LSP.Protocol.Internal.Types.FailureHandlingKind- Language.LSP.Protocol.Internal.Types.FileChangeType- Language.LSP.Protocol.Internal.Types.FileCreate- Language.LSP.Protocol.Internal.Types.FileDelete- Language.LSP.Protocol.Internal.Types.FileEvent- Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities- Language.LSP.Protocol.Internal.Types.FileOperationFilter- Language.LSP.Protocol.Internal.Types.FileOperationOptions- Language.LSP.Protocol.Internal.Types.FileOperationPattern- Language.LSP.Protocol.Internal.Types.FileOperationPatternKind- Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions- Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions- Language.LSP.Protocol.Internal.Types.FileRename- Language.LSP.Protocol.Internal.Types.FileSystemWatcher- Language.LSP.Protocol.Internal.Types.FoldingRange- Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities- Language.LSP.Protocol.Internal.Types.FoldingRangeKind- Language.LSP.Protocol.Internal.Types.FoldingRangeOptions- Language.LSP.Protocol.Internal.Types.FoldingRangeParams- Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions- Language.LSP.Protocol.Internal.Types.FormattingOptions- Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities- Language.LSP.Protocol.Internal.Types.GlobPattern- Language.LSP.Protocol.Internal.Types.Hover- Language.LSP.Protocol.Internal.Types.HoverClientCapabilities- Language.LSP.Protocol.Internal.Types.HoverOptions- Language.LSP.Protocol.Internal.Types.HoverParams- Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions- Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities- Language.LSP.Protocol.Internal.Types.ImplementationOptions- Language.LSP.Protocol.Internal.Types.ImplementationParams- Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions- Language.LSP.Protocol.Internal.Types.InitializedParams- Language.LSP.Protocol.Internal.Types.InitializeError- Language.LSP.Protocol.Internal.Types.InitializeParams- Language.LSP.Protocol.Internal.Types.InitializeResult- Language.LSP.Protocol.Internal.Types.InlayHint- Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities- Language.LSP.Protocol.Internal.Types.InlayHintKind- Language.LSP.Protocol.Internal.Types.InlayHintLabelPart- Language.LSP.Protocol.Internal.Types.InlayHintOptions- Language.LSP.Protocol.Internal.Types.InlayHintParams- Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions- Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.InlineValue- Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities- Language.LSP.Protocol.Internal.Types.InlineValueContext- Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression- Language.LSP.Protocol.Internal.Types.InlineValueOptions- Language.LSP.Protocol.Internal.Types.InlineValueParams- Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions- Language.LSP.Protocol.Internal.Types.InlineValueText- Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup- Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.InsertReplaceEdit- Language.LSP.Protocol.Internal.Types.InsertTextFormat- Language.LSP.Protocol.Internal.Types.InsertTextMode- Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities- Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions- Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams- Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions- Language.LSP.Protocol.Internal.Types.LinkedEditingRanges- Language.LSP.Protocol.Internal.Types.Location- Language.LSP.Protocol.Internal.Types.LocationLink- Language.LSP.Protocol.Internal.Types.LogMessageParams- Language.LSP.Protocol.Internal.Types.LogTraceParams- Language.LSP.Protocol.Internal.Types.LSPErrorCodes- Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities- Language.LSP.Protocol.Internal.Types.MarkedString- Language.LSP.Protocol.Internal.Types.MarkupContent- Language.LSP.Protocol.Internal.Types.MarkupKind- Language.LSP.Protocol.Internal.Types.MessageActionItem- Language.LSP.Protocol.Internal.Types.MessageType- Language.LSP.Protocol.Internal.Types.Moniker- Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities- Language.LSP.Protocol.Internal.Types.MonikerKind- Language.LSP.Protocol.Internal.Types.MonikerOptions- Language.LSP.Protocol.Internal.Types.MonikerParams- Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions- Language.LSP.Protocol.Internal.Types.NotebookCell- Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange- Language.LSP.Protocol.Internal.Types.NotebookCellKind- Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter- Language.LSP.Protocol.Internal.Types.NotebookDocument- Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent- Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter- Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier- Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities- Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions- Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions- Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier- Language.LSP.Protocol.Internal.Types.ParameterInformation- Language.LSP.Protocol.Internal.Types.PartialResultParams- Language.LSP.Protocol.Internal.Types.Pattern- Language.LSP.Protocol.Internal.Types.Position- Language.LSP.Protocol.Internal.Types.PositionEncodingKind- Language.LSP.Protocol.Internal.Types.PrepareRenameParams- Language.LSP.Protocol.Internal.Types.PrepareRenameResult- Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior- Language.LSP.Protocol.Internal.Types.PreviousResultId- Language.LSP.Protocol.Internal.Types.ProgressParams- Language.LSP.Protocol.Internal.Types.ProgressToken- Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities- Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams- Language.LSP.Protocol.Internal.Types.Range- Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities- Language.LSP.Protocol.Internal.Types.ReferenceContext- Language.LSP.Protocol.Internal.Types.ReferenceOptions- Language.LSP.Protocol.Internal.Types.ReferenceParams- Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions- Language.LSP.Protocol.Internal.Types.Registration- Language.LSP.Protocol.Internal.Types.RegistrationParams- Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities- Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.RelativePattern- Language.LSP.Protocol.Internal.Types.RenameClientCapabilities- Language.LSP.Protocol.Internal.Types.RenameFile- Language.LSP.Protocol.Internal.Types.RenameFileOptions- Language.LSP.Protocol.Internal.Types.RenameFilesParams- Language.LSP.Protocol.Internal.Types.RenameOptions- Language.LSP.Protocol.Internal.Types.RenameParams- Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions- Language.LSP.Protocol.Internal.Types.ResourceOperation- Language.LSP.Protocol.Internal.Types.ResourceOperationKind- Language.LSP.Protocol.Internal.Types.SaveOptions- Language.LSP.Protocol.Internal.Types.SelectionRange- Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities- Language.LSP.Protocol.Internal.Types.SelectionRangeOptions- Language.LSP.Protocol.Internal.Types.SelectionRangeParams- Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions- Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers- Language.LSP.Protocol.Internal.Types.SemanticTokens- Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities- Language.LSP.Protocol.Internal.Types.SemanticTokensDelta- Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams- Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult- Language.LSP.Protocol.Internal.Types.SemanticTokensEdit- Language.LSP.Protocol.Internal.Types.SemanticTokensLegend- Language.LSP.Protocol.Internal.Types.SemanticTokensOptions- Language.LSP.Protocol.Internal.Types.SemanticTokensParams- Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult- Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams- Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions- Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.SemanticTokenTypes- Language.LSP.Protocol.Internal.Types.ServerCapabilities- Language.LSP.Protocol.Internal.Types.SetTraceParams- Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities- Language.LSP.Protocol.Internal.Types.ShowDocumentParams- Language.LSP.Protocol.Internal.Types.ShowDocumentResult- Language.LSP.Protocol.Internal.Types.ShowMessageParams- Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities- Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams- Language.LSP.Protocol.Internal.Types.SignatureHelp- Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities- Language.LSP.Protocol.Internal.Types.SignatureHelpContext- Language.LSP.Protocol.Internal.Types.SignatureHelpOptions- Language.LSP.Protocol.Internal.Types.SignatureHelpParams- Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions- Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind- Language.LSP.Protocol.Internal.Types.SignatureInformation- Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions- Language.LSP.Protocol.Internal.Types.SymbolInformation- Language.LSP.Protocol.Internal.Types.SymbolKind- Language.LSP.Protocol.Internal.Types.SymbolTag- Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions- Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities- Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent- Language.LSP.Protocol.Internal.Types.TextDocumentEdit- Language.LSP.Protocol.Internal.Types.TextDocumentFilter- Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier- Language.LSP.Protocol.Internal.Types.TextDocumentItem- Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams- Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions- Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason- Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions- Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities- Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind- Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions- Language.LSP.Protocol.Internal.Types.TextEdit- Language.LSP.Protocol.Internal.Types.TokenFormat- Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities- Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions- Language.LSP.Protocol.Internal.Types.TypeDefinitionParams- Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions- Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities- Language.LSP.Protocol.Internal.Types.TypeHierarchyItem- Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions- Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams- Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions- Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams- Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams- Language.LSP.Protocol.Internal.Types.UInitializeParams- Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.UniquenessLevel- Language.LSP.Protocol.Internal.Types.Unregistration- Language.LSP.Protocol.Internal.Types.UnregistrationParams- Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier- Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier- Language.LSP.Protocol.Internal.Types.WatchKind- Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams- Language.LSP.Protocol.Internal.Types.WindowClientCapabilities- Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin- Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams- Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams- Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd- Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions- Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams- Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport- Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities- Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams- Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport- Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult- Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.WorkspaceEdit- Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities- Language.LSP.Protocol.Internal.Types.WorkspaceFolder- Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent- Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams- Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities- Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.WorkspaceSymbol- Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities- Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions- Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams- Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions- Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport- Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions- Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions- Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions- Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions- Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions- Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions- Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind- Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions- Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions- Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions- Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions- Language.LSP.Protocol.Internal.Types.ClientInfo- Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions- Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta- Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions- Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions- Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions- Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions- Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions- Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions- Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions- Language.LSP.Protocol.Internal.Types.CodeActionDisabled- Language.LSP.Protocol.Internal.Types.CompletionItemDefaults- Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions- Language.LSP.Protocol.Internal.Types.CompletionListCapabilities- Language.LSP.Protocol.Internal.Types.LanguageKind- Language.LSP.Protocol.Internal.Types.LocationUriOnly- Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage- Language.LSP.Protocol.Internal.Types.NotebookCellLanguage- Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure- Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges- Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells- Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook- Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior- Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder- Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind- Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta- Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions- Language.LSP.Protocol.Internal.Types.ServerInfo- Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions- Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial- Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument- Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage- Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern- Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme- Language.LSP.Protocol.Internal.Types.TraceValue- Language.LSP.Protocol.Internal.Types.WorkspaceOptions--library metamodel- import: warnings- -- We don't currently re-export this from the main- -- library, but it's here if people want it- visibility: public- hs-source-dirs: metamodel- default-language: GHC2021- default-extensions:- StrictData-- exposed-modules:- Language.LSP.MetaModel- Language.LSP.MetaModel.Types-- build-depends:- , aeson >=2- , base >=4.11 && <5- , file-embed ^>=0.0.15- , lens >=5.1 && <5.3- , template-haskell >=2.7 && <2.22- , text >=1 && <2.2--library lsp-types-quickcheck- import: warnings- visibility: public- hs-source-dirs: quickcheck generated- default-language: GHC2021- default-extensions:- StrictData- DerivingVia- DerivingStrategies-- exposed-modules:- Language.LSP.Protocol.QuickCheck-- other-modules:- Language.LSP.Protocol.QuickCheck.Common- Language.LSP.Protocol.QuickCheck.Message- Language.LSP.Protocol.QuickCheck.Types-- build-depends:- , base >=4.11 && <5- , lsp-types- , row-types- , QuickCheck- , quickcheck-instances- , generic-arbitrary- , template-haskell--executable generator- hs-source-dirs: generator- default-language: GHC2021- default-extensions:- StrictData-- main-is: Main.hs- other-modules: CodeGen- build-depends:- , base- , containers- , directory- , filepath- , lsp-types:metamodel- , mtl- , prettyprinter- , regex- , text- , witherable--test-suite lsp-types-test- import: warnings- type: exitcode-stdio-1.0- hs-source-dirs: test- default-language: GHC2021- main-is: Main.hs- other-modules:- CapabilitiesSpec- JsonSpec- LocationSpec- MethodSpec- SemanticTokensSpec- ServerCapabilitiesSpec- Spec- TypesSpec- URIFilePathSpec- WorkspaceEditSpec-- ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall- build-depends:- , aeson- , base- , filepath- , hspec- , lens- , lsp-types- , lsp-types-quickcheck- , network-uri- , QuickCheck- , quickcheck-instances- , text-- build-tool-depends: hspec-discover:hspec-discover+cabal-version: 3.0 +name: lsp-types +version: 2.2.0.0 +x-revision: 1 +synopsis: + Haskell library for the Microsoft Language Server Protocol, data types + +description: + An implementation of the types to allow language implementors to + support the Language Server Protocol for their specific language. + +homepage: https://github.com/haskell/lsp +license: MIT +license-file: LICENSE +author: Alan Zimmerman +maintainer: alan.zimm@gmail.com +copyright: Alan Zimmerman, 2016-2021 +category: Development +build-type: Simple +extra-source-files: + ChangeLog.md + metaModel.json + README.md + +source-repository head + type: git + location: https://github.com/haskell/lsp + +flag force-ospath + default: False + manual: False + description: + Force a version bound on filepath library, to enable 'OsPath'. + +common warnings + ghc-options: -Wunused-packages + +library + import: warnings + hs-source-dirs: src generated + default-language: GHC2021 + + -- Various things we want on by default + -- * syntactic niceties, QOL + -- * we always want more deriving options + -- * we want all data strict by default + -- * we have lots of duplicte record fields + -- * extended type class stuff particularly for the + -- lens classes + -- * fancy types for singletons etc. + default-extensions: + DataKinds + DeriveAnyClass + DerivingStrategies + DerivingVia + DuplicateRecordFields + FunctionalDependencies + GADTs + NegativeLiterals + OverloadedStrings + StrictData + TypeFamilies + UndecidableInstances + + build-depends: + , aeson >=2 && <2.3 + , base >=4.11 && <5 + , binary ^>=0.8 + , containers >=0.6 && < 0.8 + , data-default ^>=0.7 + , deepseq >=1.4 && <1.6 + , Diff >=0.4 && <0.6 + , dlist ^>=1.0 + , hashable ^>=1.4 + , indexed-traversable ^>=0.1 + , indexed-traversable-instances ^>=0.1 + , lens >=5.1 && <5.4 + , mod ^>=0.2 + , mtl >=2.2 && <2.4 + , network-uri ^>=2.6 + , prettyprinter ^>=1.7 + , row-types ^>=1.0 + , safe ^>=0.3 + , some ^>=1.0 + , template-haskell >=2.7 && <2.23 + , text >=1 && <2.2 + + -- This version of filepath comes with GHC 9.6, so + -- we should be able to drop this flag once we only + -- support 9.6 or higher + if flag(force-ospath) + build-depends: filepath >=1.4.100.0 && < 1.6 + + else + build-depends: filepath >=1.4 && < 1.6 + + if impl(ghc >= 9.6) + build-depends: exceptions ^>=0.10 + + ghc-options: + -Wall -Wmissing-deriving-strategies + -Wno-unticked-promoted-constructors + + exposed-modules: + Data.IxMap + Data.Row.Aeson + Data.Row.Hashable + Language.LSP.Protocol.Capabilities + Language.LSP.Protocol.Lens + Language.LSP.Protocol.Message + Language.LSP.Protocol.Types + Language.LSP.Protocol.Meta + Language.LSP.Protocol.Utils.Misc + Language.LSP.Protocol.Utils.SMethodMap + + other-modules: + Language.LSP.Protocol.Message.Lens + Language.LSP.Protocol.Message.LspId + Language.LSP.Protocol.Message.Meta + Language.LSP.Protocol.Message.Method + Language.LSP.Protocol.Message.Parsing + Language.LSP.Protocol.Message.Registration + Language.LSP.Protocol.Message.Types + Language.LSP.Protocol.Types.CodeAction + Language.LSP.Protocol.Types.Common + Language.LSP.Protocol.Types.Edit + Language.LSP.Protocol.Types.Lens + Language.LSP.Protocol.Types.Location + Language.LSP.Protocol.Types.LspEnum + Language.LSP.Protocol.Types.MarkupContent + Language.LSP.Protocol.Types.Orphans + Language.LSP.Protocol.Types.Progress + Language.LSP.Protocol.Types.SemanticTokens + Language.LSP.Protocol.Types.Singletons + Language.LSP.Protocol.Types.Uri + Language.LSP.Protocol.Types.Uri.OsPath + Language.LSP.Protocol.Types.WatchKinds + + + -- The generated modules + -- In principle these could be in a separate component, + -- but a) the generated modules depend on some of the common code + -- and b) some of the helper code depends on the generated modules + -- It's simpler to just have everything in together, otherwise we'd + -- actually need three layers! + other-modules: + Language.LSP.Protocol.Internal.Meta + Language.LSP.Protocol.Internal.Method + Language.LSP.Protocol.Internal.Types + Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit + Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams + Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult + Language.LSP.Protocol.Internal.Types.BaseSymbolInformation + Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities + Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall + Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams + Language.LSP.Protocol.Internal.Types.CallHierarchyItem + Language.LSP.Protocol.Internal.Types.CallHierarchyOptions + Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall + Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams + Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams + Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions + Language.LSP.Protocol.Internal.Types.CancelParams + Language.LSP.Protocol.Internal.Types.ChangeAnnotation + Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier + Language.LSP.Protocol.Internal.Types.ClientCapabilities + Language.LSP.Protocol.Internal.Types.CodeAction + Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities + Language.LSP.Protocol.Internal.Types.CodeActionContext + Language.LSP.Protocol.Internal.Types.CodeActionKind + Language.LSP.Protocol.Internal.Types.CodeActionOptions + Language.LSP.Protocol.Internal.Types.CodeActionParams + Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions + Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind + Language.LSP.Protocol.Internal.Types.CodeDescription + Language.LSP.Protocol.Internal.Types.CodeLens + Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities + Language.LSP.Protocol.Internal.Types.CodeLensOptions + Language.LSP.Protocol.Internal.Types.CodeLensParams + Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions + Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.Color + Language.LSP.Protocol.Internal.Types.ColorInformation + Language.LSP.Protocol.Internal.Types.ColorPresentation + Language.LSP.Protocol.Internal.Types.ColorPresentationParams + Language.LSP.Protocol.Internal.Types.Command + Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities + Language.LSP.Protocol.Internal.Types.CompletionContext + Language.LSP.Protocol.Internal.Types.CompletionItem + Language.LSP.Protocol.Internal.Types.CompletionItemKind + Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails + Language.LSP.Protocol.Internal.Types.CompletionItemTag + Language.LSP.Protocol.Internal.Types.CompletionList + Language.LSP.Protocol.Internal.Types.CompletionOptions + Language.LSP.Protocol.Internal.Types.CompletionParams + Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions + Language.LSP.Protocol.Internal.Types.CompletionTriggerKind + Language.LSP.Protocol.Internal.Types.ConfigurationItem + Language.LSP.Protocol.Internal.Types.ConfigurationParams + Language.LSP.Protocol.Internal.Types.CreateFile + Language.LSP.Protocol.Internal.Types.CreateFileOptions + Language.LSP.Protocol.Internal.Types.CreateFilesParams + Language.LSP.Protocol.Internal.Types.Declaration + Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities + Language.LSP.Protocol.Internal.Types.DeclarationLink + Language.LSP.Protocol.Internal.Types.DeclarationOptions + Language.LSP.Protocol.Internal.Types.DeclarationParams + Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions + Language.LSP.Protocol.Internal.Types.Definition + Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities + Language.LSP.Protocol.Internal.Types.DefinitionLink + Language.LSP.Protocol.Internal.Types.DefinitionOptions + Language.LSP.Protocol.Internal.Types.DefinitionParams + Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions + Language.LSP.Protocol.Internal.Types.DeleteFile + Language.LSP.Protocol.Internal.Types.DeleteFileOptions + Language.LSP.Protocol.Internal.Types.DeleteFilesParams + Language.LSP.Protocol.Internal.Types.Diagnostic + Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities + Language.LSP.Protocol.Internal.Types.DiagnosticOptions + Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions + Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation + Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData + Language.LSP.Protocol.Internal.Types.DiagnosticSeverity + Language.LSP.Protocol.Internal.Types.DiagnosticTag + Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities + Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams + Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions + Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams + Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams + Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities + Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams + Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions + Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams + Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams + Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams + Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams + Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams + Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams + Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams + Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentColorOptions + Language.LSP.Protocol.Internal.Types.DocumentColorParams + Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams + Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind + Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult + Language.LSP.Protocol.Internal.Types.DocumentFilter + Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions + Language.LSP.Protocol.Internal.Types.DocumentFormattingParams + Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentHighlight + Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentHighlightKind + Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions + Language.LSP.Protocol.Internal.Types.DocumentHighlightParams + Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentLink + Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentLinkOptions + Language.LSP.Protocol.Internal.Types.DocumentLinkParams + Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions + Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams + Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions + Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams + Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions + Language.LSP.Protocol.Internal.Types.DocumentSelector + Language.LSP.Protocol.Internal.Types.DocumentSymbol + Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities + Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions + Language.LSP.Protocol.Internal.Types.DocumentSymbolParams + Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions + Language.LSP.Protocol.Internal.Types.ErrorCodes + Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace + Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities + Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions + Language.LSP.Protocol.Internal.Types.ExecuteCommandParams + Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions + Language.LSP.Protocol.Internal.Types.ExecutionSummary + Language.LSP.Protocol.Internal.Types.FailureHandlingKind + Language.LSP.Protocol.Internal.Types.FileChangeType + Language.LSP.Protocol.Internal.Types.FileCreate + Language.LSP.Protocol.Internal.Types.FileDelete + Language.LSP.Protocol.Internal.Types.FileEvent + Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities + Language.LSP.Protocol.Internal.Types.FileOperationFilter + Language.LSP.Protocol.Internal.Types.FileOperationOptions + Language.LSP.Protocol.Internal.Types.FileOperationPattern + Language.LSP.Protocol.Internal.Types.FileOperationPatternKind + Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions + Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions + Language.LSP.Protocol.Internal.Types.FileRename + Language.LSP.Protocol.Internal.Types.FileSystemWatcher + Language.LSP.Protocol.Internal.Types.FoldingRange + Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities + Language.LSP.Protocol.Internal.Types.FoldingRangeKind + Language.LSP.Protocol.Internal.Types.FoldingRangeOptions + Language.LSP.Protocol.Internal.Types.FoldingRangeParams + Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions + Language.LSP.Protocol.Internal.Types.FormattingOptions + Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities + Language.LSP.Protocol.Internal.Types.GlobPattern + Language.LSP.Protocol.Internal.Types.Hover + Language.LSP.Protocol.Internal.Types.HoverClientCapabilities + Language.LSP.Protocol.Internal.Types.HoverOptions + Language.LSP.Protocol.Internal.Types.HoverParams + Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions + Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities + Language.LSP.Protocol.Internal.Types.ImplementationOptions + Language.LSP.Protocol.Internal.Types.ImplementationParams + Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions + Language.LSP.Protocol.Internal.Types.InitializedParams + Language.LSP.Protocol.Internal.Types.InitializeError + Language.LSP.Protocol.Internal.Types.InitializeParams + Language.LSP.Protocol.Internal.Types.InitializeResult + Language.LSP.Protocol.Internal.Types.InlayHint + Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities + Language.LSP.Protocol.Internal.Types.InlayHintKind + Language.LSP.Protocol.Internal.Types.InlayHintLabelPart + Language.LSP.Protocol.Internal.Types.InlayHintOptions + Language.LSP.Protocol.Internal.Types.InlayHintParams + Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions + Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.InlineValue + Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities + Language.LSP.Protocol.Internal.Types.InlineValueContext + Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression + Language.LSP.Protocol.Internal.Types.InlineValueOptions + Language.LSP.Protocol.Internal.Types.InlineValueParams + Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions + Language.LSP.Protocol.Internal.Types.InlineValueText + Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup + Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.InsertReplaceEdit + Language.LSP.Protocol.Internal.Types.InsertTextFormat + Language.LSP.Protocol.Internal.Types.InsertTextMode + Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities + Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions + Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams + Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions + Language.LSP.Protocol.Internal.Types.LinkedEditingRanges + Language.LSP.Protocol.Internal.Types.Location + Language.LSP.Protocol.Internal.Types.LocationLink + Language.LSP.Protocol.Internal.Types.LogMessageParams + Language.LSP.Protocol.Internal.Types.LogTraceParams + Language.LSP.Protocol.Internal.Types.LSPErrorCodes + Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities + Language.LSP.Protocol.Internal.Types.MarkedString + Language.LSP.Protocol.Internal.Types.MarkupContent + Language.LSP.Protocol.Internal.Types.MarkupKind + Language.LSP.Protocol.Internal.Types.MessageActionItem + Language.LSP.Protocol.Internal.Types.MessageType + Language.LSP.Protocol.Internal.Types.Moniker + Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities + Language.LSP.Protocol.Internal.Types.MonikerKind + Language.LSP.Protocol.Internal.Types.MonikerOptions + Language.LSP.Protocol.Internal.Types.MonikerParams + Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions + Language.LSP.Protocol.Internal.Types.NotebookCell + Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange + Language.LSP.Protocol.Internal.Types.NotebookCellKind + Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter + Language.LSP.Protocol.Internal.Types.NotebookDocument + Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent + Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter + Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier + Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities + Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions + Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions + Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier + Language.LSP.Protocol.Internal.Types.ParameterInformation + Language.LSP.Protocol.Internal.Types.PartialResultParams + Language.LSP.Protocol.Internal.Types.Pattern + Language.LSP.Protocol.Internal.Types.Position + Language.LSP.Protocol.Internal.Types.PositionEncodingKind + Language.LSP.Protocol.Internal.Types.PrepareRenameParams + Language.LSP.Protocol.Internal.Types.PrepareRenameResult + Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior + Language.LSP.Protocol.Internal.Types.PreviousResultId + Language.LSP.Protocol.Internal.Types.ProgressParams + Language.LSP.Protocol.Internal.Types.ProgressToken + Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities + Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams + Language.LSP.Protocol.Internal.Types.Range + Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities + Language.LSP.Protocol.Internal.Types.ReferenceContext + Language.LSP.Protocol.Internal.Types.ReferenceOptions + Language.LSP.Protocol.Internal.Types.ReferenceParams + Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions + Language.LSP.Protocol.Internal.Types.Registration + Language.LSP.Protocol.Internal.Types.RegistrationParams + Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities + Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.RelativePattern + Language.LSP.Protocol.Internal.Types.RenameClientCapabilities + Language.LSP.Protocol.Internal.Types.RenameFile + Language.LSP.Protocol.Internal.Types.RenameFileOptions + Language.LSP.Protocol.Internal.Types.RenameFilesParams + Language.LSP.Protocol.Internal.Types.RenameOptions + Language.LSP.Protocol.Internal.Types.RenameParams + Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions + Language.LSP.Protocol.Internal.Types.ResourceOperation + Language.LSP.Protocol.Internal.Types.ResourceOperationKind + Language.LSP.Protocol.Internal.Types.SaveOptions + Language.LSP.Protocol.Internal.Types.SelectionRange + Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities + Language.LSP.Protocol.Internal.Types.SelectionRangeOptions + Language.LSP.Protocol.Internal.Types.SelectionRangeParams + Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions + Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers + Language.LSP.Protocol.Internal.Types.SemanticTokens + Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities + Language.LSP.Protocol.Internal.Types.SemanticTokensDelta + Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams + Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult + Language.LSP.Protocol.Internal.Types.SemanticTokensEdit + Language.LSP.Protocol.Internal.Types.SemanticTokensLegend + Language.LSP.Protocol.Internal.Types.SemanticTokensOptions + Language.LSP.Protocol.Internal.Types.SemanticTokensParams + Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult + Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams + Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions + Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.SemanticTokenTypes + Language.LSP.Protocol.Internal.Types.ServerCapabilities + Language.LSP.Protocol.Internal.Types.SetTraceParams + Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities + Language.LSP.Protocol.Internal.Types.ShowDocumentParams + Language.LSP.Protocol.Internal.Types.ShowDocumentResult + Language.LSP.Protocol.Internal.Types.ShowMessageParams + Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities + Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams + Language.LSP.Protocol.Internal.Types.SignatureHelp + Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities + Language.LSP.Protocol.Internal.Types.SignatureHelpContext + Language.LSP.Protocol.Internal.Types.SignatureHelpOptions + Language.LSP.Protocol.Internal.Types.SignatureHelpParams + Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions + Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind + Language.LSP.Protocol.Internal.Types.SignatureInformation + Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions + Language.LSP.Protocol.Internal.Types.SymbolInformation + Language.LSP.Protocol.Internal.Types.SymbolKind + Language.LSP.Protocol.Internal.Types.SymbolTag + Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions + Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities + Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent + Language.LSP.Protocol.Internal.Types.TextDocumentEdit + Language.LSP.Protocol.Internal.Types.TextDocumentFilter + Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier + Language.LSP.Protocol.Internal.Types.TextDocumentItem + Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams + Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions + Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason + Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions + Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities + Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind + Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions + Language.LSP.Protocol.Internal.Types.TextEdit + Language.LSP.Protocol.Internal.Types.TokenFormat + Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities + Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions + Language.LSP.Protocol.Internal.Types.TypeDefinitionParams + Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions + Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities + Language.LSP.Protocol.Internal.Types.TypeHierarchyItem + Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions + Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams + Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions + Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams + Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams + Language.LSP.Protocol.Internal.Types.UInitializeParams + Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.UniquenessLevel + Language.LSP.Protocol.Internal.Types.Unregistration + Language.LSP.Protocol.Internal.Types.UnregistrationParams + Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier + Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier + Language.LSP.Protocol.Internal.Types.WatchKind + Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams + Language.LSP.Protocol.Internal.Types.WindowClientCapabilities + Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin + Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams + Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams + Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd + Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions + Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams + Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport + Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities + Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams + Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport + Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult + Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.WorkspaceEdit + Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities + Language.LSP.Protocol.Internal.Types.WorkspaceFolder + Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent + Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams + Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities + Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.WorkspaceSymbol + Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities + Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions + Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams + Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions + Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport + Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions + Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions + Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions + Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions + Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions + Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions + Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind + Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions + Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions + Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions + Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions + Language.LSP.Protocol.Internal.Types.ClientInfo + Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions + Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta + Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions + Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions + Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions + Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions + Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions + Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions + Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions + Language.LSP.Protocol.Internal.Types.CodeActionDisabled + Language.LSP.Protocol.Internal.Types.CompletionItemDefaults + Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions + Language.LSP.Protocol.Internal.Types.CompletionListCapabilities + Language.LSP.Protocol.Internal.Types.LanguageKind + Language.LSP.Protocol.Internal.Types.LocationUriOnly + Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage + Language.LSP.Protocol.Internal.Types.NotebookCellLanguage + Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure + Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges + Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells + Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook + Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior + Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder + Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind + Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta + Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions + Language.LSP.Protocol.Internal.Types.ServerInfo + Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions + Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial + Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument + Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage + Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern + Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme + Language.LSP.Protocol.Internal.Types.TraceValue + Language.LSP.Protocol.Internal.Types.WorkspaceOptions + +library metamodel + import: warnings + -- We don't currently re-export this from the main + -- library, but it's here if people want it + visibility: public + hs-source-dirs: metamodel + default-language: GHC2021 + default-extensions: + StrictData + + exposed-modules: + Language.LSP.MetaModel + Language.LSP.MetaModel.Types + + build-depends: + , aeson >=2 + , base >=4.11 && <5 + , file-embed ^>=0.0.15 + , lens >=5.1 && <5.4 + , template-haskell >=2.7 && <2.23 + , text >=1 && <2.2 + +library lsp-types-quickcheck + import: warnings + visibility: public + hs-source-dirs: quickcheck generated + default-language: GHC2021 + default-extensions: + StrictData + DerivingVia + DerivingStrategies + + exposed-modules: + Language.LSP.Protocol.QuickCheck + + other-modules: + Language.LSP.Protocol.QuickCheck.Common + Language.LSP.Protocol.QuickCheck.Message + Language.LSP.Protocol.QuickCheck.Types + + build-depends: + , base >=4.11 && <5 + , lsp-types + , row-types + , QuickCheck + , quickcheck-instances + , generic-arbitrary + , template-haskell + +executable generator + hs-source-dirs: generator + default-language: GHC2021 + default-extensions: + StrictData + + main-is: Main.hs + other-modules: CodeGen + build-depends: + , base + , containers + , directory + , filepath + , lsp-types:metamodel + , mtl + , prettyprinter + , regex + , text + , witherable + +test-suite lsp-types-test + import: warnings + type: exitcode-stdio-1.0 + hs-source-dirs: test + default-language: GHC2021 + main-is: Main.hs + other-modules: + CapabilitiesSpec + JsonSpec + LocationSpec + MethodSpec + SemanticTokensSpec + ServerCapabilitiesSpec + Spec + TypesSpec + URIFilePathSpec + WorkspaceEditSpec + + ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall + build-depends: + , aeson + , base + , filepath + , hspec + , lens + , lsp-types + , lsp-types-quickcheck + , network-uri + , QuickCheck + , quickcheck-instances + , text + + build-tool-depends: hspec-discover:hspec-discover