Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- licenseErrorSuggestion :: Int -> Text -> [(Text, Text)]
- licenseErrorAction :: Int -> Uri -> Diagnostic -> [CodeAction]
- licenseNames :: [Text]
- data Text
- data Diagnostic = Diagnostic {}
Documentation
licenseErrorSuggestion Source #
:: Int | Maximum number of suggestions to return |
-> Text | Output of |
-> [(Text, Text)] | (Original (incorrect) license identifier, suggested replacement) |
Given a diagnostic returned by errorDiagnostic
,
provide possible corrections for SPDX license identifiers
based on the list specified in Cabal.
Results are sorted by best fit, and prefer solutions that have smaller
length distance to the original word.
>>>
licenseErrorSuggestion 2 (T.pack "Unknown SPDX license identifier: 'BSD3'")
[("BSD3","BSD-3-Clause"),("BSD3","BSD-3-Clause-LBNL")]
:: Int | Maximum number of suggestions to return |
-> Uri | File for which the diagnostic was generated |
-> Diagnostic | Output of |
-> [CodeAction] |
Given a diagnostic returned by errorDiagnostic
,
if it represents an "Unknown SPDX license identifier"-error along
with a suggestion, then return a CodeAction
for replacing the
the incorrect license identifier with the suggestion.
licenseNames :: [Text] Source #
License name of every license supported by cabal
Re-exports
A space efficient, packed, unboxed Unicode text type.
Instances
Structured Text | |
Defined in Distribution.Utils.Structured | |
Chunk Text | |
Defined in Data.Attoparsec.Internal.Types | |
Hashable Text | |
Defined in Data.Hashable.Class | |
Ixed Text | |
Defined in Control.Lens.At | |
AsJSON Text | |
AsNumber Text | |
AsValue Text | |
IsKey Text | |
Stream Text | |
Defined in Text.Megaparsec.Stream tokenToChunk :: Proxy Text -> Token Text -> Tokens Text # tokensToChunk :: Proxy Text -> [Token Text] -> Tokens Text # chunkToTokens :: Proxy Text -> Tokens Text -> [Token Text] # chunkLength :: Proxy Text -> Tokens Text -> Int # chunkEmpty :: Proxy Text -> Tokens Text -> Bool # take1_ :: Text -> Maybe (Token Text, Text) # takeN_ :: Int -> Text -> Maybe (Tokens Text, Text) # takeWhile_ :: (Token Text -> Bool) -> Text -> (Tokens Text, Text) # | |
TraversableStream Text | |
VisualStream Text | |
Pretty Text | Automatically converts all newlines to
Note that
Manually use |
Defined in Prettyprinter.Internal | |
Extract Text | Since: regex-base-0.94.0.0 |
HasJsonrpc NotificationMessage Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
HasJsonrpc RequestMessage Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
HasJsonrpc ResponseMessage Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
HasCh DocumentOnTypeFormattingParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasCommand Command Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasCommand ExecuteCommandParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text | |
Defined in Language.LSP.Protocol.Types.Lens firstTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions Text | |
HasFirstTriggerCharacter DocumentOnTypeFormattingRegistrationOptions Text | |
Defined in Language.LSP.Protocol.Types.Lens firstTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions Text | |
HasGlob FileOperationPattern Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId Registration Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId Unregistration Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasIdentifier Moniker Text | |
Defined in Language.LSP.Protocol.Types.Lens identifier :: Lens' Moniker Text | |
HasKind ResourceOperation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel ChangeAnnotation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel ColorPresentation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel CompletionItem Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel SignatureInformation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage MarkedStringWithLanguage Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage NotebookCellLanguage Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage TextDocumentFilterLanguage Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage Diagnostic Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage DiagnosticRelatedInformation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage LogMessageParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage LogTraceParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage ShowMessageParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage ShowMessageRequestParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMethod Registration Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMethod Unregistration Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName BaseSymbolInformation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName CallHierarchyItem Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName ClientInfo Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName DocumentSymbol Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName ServerInfo Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName SymbolInformation Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName TypeHierarchyItem Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName WorkspaceFolder Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasName WorkspaceSymbol Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNewName RenameParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNewText AnnotatedTextEdit Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNewText InsertReplaceEdit Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNewText TextEdit Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNewUri FileRename Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNotebookType NotebookDocument Text | |
Defined in Language.LSP.Protocol.Types.Lens notebookType :: Lens' NotebookDocument Text | |
HasNotebookType NotebookDocumentFilterNotebookType Text | |
Defined in Language.LSP.Protocol.Types.Lens notebookType :: Lens' NotebookDocumentFilterNotebookType Text | |
HasOldUri FileRename Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasParser MarkdownClientCapabilities Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPattern NotebookDocumentFilterPattern Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPattern TextDocumentFilterPattern Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPlaceholder PrepareRenamePlaceholder Text | |
Defined in Language.LSP.Protocol.Types.Lens placeholder :: Lens' PrepareRenamePlaceholder Text | |
HasPreviousResultId SemanticTokensDeltaParams Text | |
Defined in Language.LSP.Protocol.Types.Lens previousResultId :: Lens' SemanticTokensDeltaParams Text | |
HasQuery WorkspaceSymbolParams Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasReason CodeActionDisabled Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId RelatedUnchangedDocumentDiagnosticReport Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId UnchangedDocumentDiagnosticReport Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId WorkspaceUnchangedDocumentDiagnosticReport Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme Moniker Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme NotebookDocumentFilterScheme Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme TextDocumentFilterScheme Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasText InlineValueText Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasText TextDocumentContentChangePartial Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasText TextDocumentContentChangeWholeDocument Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasText TextDocumentItem Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTitle CodeAction Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTitle Command Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTitle MessageActionItem Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTitle WorkDoneProgressBegin Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasUri FileCreate Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasUri FileDelete Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasValue InlayHintLabelPart Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasValue MarkedStringWithLanguage Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasValue MarkupContent Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasValue PreviousResultId Text | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasAllCommitCharacters CompletionOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens allCommitCharacters :: Lens' CompletionOptions (Maybe [Text]) | |
HasAllCommitCharacters CompletionRegistrationOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens allCommitCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text]) | |
HasAllowedTags MarkdownClientCapabilities (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens allowedTags :: Lens' MarkdownClientCapabilities (Maybe [Text]) | |
HasChangeNotifications WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) | |
Defined in Language.LSP.Protocol.Types.Lens changeNotifications :: Lens' WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) | |
HasCode Diagnostic (Maybe (Int32 |? Text)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasCollapsedText FoldingRange (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens collapsedText :: Lens' FoldingRange (Maybe Text) | |
HasCommands ExecuteCommandOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasCommands ExecuteCommandRegistrationOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasCommitCharacters CompletionItem (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens commitCharacters :: Lens' CompletionItem (Maybe [Text]) | |
HasCommitCharacters CompletionItemDefaults (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens commitCharacters :: Lens' CompletionItemDefaults (Maybe [Text]) | |
HasContainerName BaseSymbolInformation (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens containerName :: Lens' BaseSymbolInformation (Maybe Text) | |
HasContainerName SymbolInformation (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens containerName :: Lens' SymbolInformation (Maybe Text) | |
HasContainerName WorkspaceSymbol (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens containerName :: Lens' WorkspaceSymbol (Maybe Text) | |
HasDescription ChangeAnnotation (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens description :: Lens' ChangeAnnotation (Maybe Text) | |
HasDescription CompletionItemLabelDetails (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens description :: Lens' CompletionItemLabelDetails (Maybe Text) | |
HasDetail CallHierarchyItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasDetail CompletionItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasDetail CompletionItemLabelDetails (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasDetail DocumentSymbol (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasDetail TypeHierarchyItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasDocumentation CompletionItem (Maybe (Text |? MarkupContent)) | |
Defined in Language.LSP.Protocol.Types.Lens documentation :: Lens' CompletionItem (Maybe (Text |? MarkupContent)) | |
HasDocumentation ParameterInformation (Maybe (Text |? MarkupContent)) | |
Defined in Language.LSP.Protocol.Types.Lens documentation :: Lens' ParameterInformation (Maybe (Text |? MarkupContent)) | |
HasDocumentation SignatureInformation (Maybe (Text |? MarkupContent)) | |
Defined in Language.LSP.Protocol.Types.Lens documentation :: Lens' SignatureInformation (Maybe (Text |? MarkupContent)) | |
HasExpression InlineValueEvaluatableExpression (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens expression :: Lens' InlineValueEvaluatableExpression (Maybe Text) | |
HasFailureReason ApplyWorkspaceEditResult (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens failureReason :: Lens' ApplyWorkspaceEditResult (Maybe Text) | |
HasFilterText CompletionItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens filterText :: Lens' CompletionItem (Maybe Text) | |
HasId CallHierarchyRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId DeclarationRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId DiagnosticRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId DocumentColorRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId FoldingRangeRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId ImplementationRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId InlayHintRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId InlineValueRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId LinkedEditingRangeRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId NotebookDocumentSyncRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId SelectionRangeRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId SemanticTokensRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId StaticRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId TypeDefinitionRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasId TypeHierarchyRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasIdentifier DiagnosticOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens identifier :: Lens' DiagnosticOptions (Maybe Text) | |
HasIdentifier DiagnosticRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens identifier :: Lens' DiagnosticRegistrationOptions (Maybe Text) | |
HasIdentifier DocumentDiagnosticParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens identifier :: Lens' DocumentDiagnosticParams (Maybe Text) | |
HasIdentifier WorkspaceDiagnosticParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens identifier :: Lens' WorkspaceDiagnosticParams (Maybe Text) | |
HasInsertText CompletionItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens insertText :: Lens' CompletionItem (Maybe Text) | |
HasItemDefaults CompletionListCapabilities (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens itemDefaults :: Lens' CompletionListCapabilities (Maybe [Text]) | |
HasLabel ApplyWorkspaceEditParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel DocumentSymbolOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel DocumentSymbolRegistrationOptions (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage NotebookCellTextDocumentFilter (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage TextDocumentFilterPattern (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLanguage TextDocumentFilterScheme (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLocale InitializeParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLocale UInitializeParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage WorkDoneProgressBegin (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage WorkDoneProgressEnd (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMessage WorkDoneProgressReport (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasMoreTriggerCharacter DocumentOnTypeFormattingOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens moreTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions (Maybe [Text]) | |
HasMoreTriggerCharacter DocumentOnTypeFormattingRegistrationOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens moreTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions (Maybe [Text]) | |
HasNotebook NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNotebookType NotebookDocumentFilterPattern (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens notebookType :: Lens' NotebookDocumentFilterPattern (Maybe Text) | |
HasNotebookType NotebookDocumentFilterScheme (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens notebookType :: Lens' NotebookDocumentFilterScheme (Maybe Text) | |
HasPattern NotebookDocumentFilterNotebookType (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPattern NotebookDocumentFilterScheme (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPattern TextDocumentFilterLanguage (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPattern TextDocumentFilterScheme (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasPreviousResultId DocumentDiagnosticParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens previousResultId :: Lens' DocumentDiagnosticParams (Maybe Text) | |
HasProperties ClientCodeActionResolveOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens properties :: Lens' ClientCodeActionResolveOptions [Text] | |
HasProperties ClientCompletionItemResolveOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens properties :: Lens' ClientCompletionItemResolveOptions [Text] | |
HasProperties ClientInlayHintResolveOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens properties :: Lens' ClientInlayHintResolveOptions [Text] | |
HasProperties ClientSymbolResolveOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens properties :: Lens' ClientSymbolResolveOptions [Text] | |
HasResultId FullDocumentDiagnosticReport (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId RelatedFullDocumentDiagnosticReport (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId SemanticTokens (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId SemanticTokensDelta (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasResultId WorkspaceFullDocumentDiagnosticReport (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasRetriggerCharacters SignatureHelpOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens retriggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text]) | |
HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens retriggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text]) | |
HasRetryOnContentModified StaleRequestSupportOptions [Text] | |
Defined in Language.LSP.Protocol.Types.Lens retryOnContentModified :: Lens' StaleRequestSupportOptions [Text] | |
HasRootPath InitializeParams (Maybe (Text |? Null)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasRootPath UInitializeParams (Maybe (Text |? Null)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme FileOperationFilter (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme NotebookDocumentFilterNotebookType (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme NotebookDocumentFilterPattern (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme TextDocumentFilterLanguage (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasScheme TextDocumentFilterPattern (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasSection ConfigurationItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasSection DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) | |
HasSortText CompletionItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasSource Diagnostic (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens source :: Lens' Diagnostic (Maybe Text) | |
HasText DidSaveTextDocumentParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTextEditText CompletionItem (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens textEditText :: Lens' CompletionItem (Maybe Text) | |
HasTokenModifiers SemanticTokensClientCapabilities [Text] | |
Defined in Language.LSP.Protocol.Types.Lens tokenModifiers :: Lens' SemanticTokensClientCapabilities [Text] | |
HasTokenModifiers SemanticTokensLegend [Text] | |
Defined in Language.LSP.Protocol.Types.Lens tokenModifiers :: Lens' SemanticTokensLegend [Text] | |
HasTokenTypes SemanticTokensClientCapabilities [Text] | |
Defined in Language.LSP.Protocol.Types.Lens tokenTypes :: Lens' SemanticTokensClientCapabilities [Text] | |
HasTokenTypes SemanticTokensLegend [Text] | |
Defined in Language.LSP.Protocol.Types.Lens tokenTypes :: Lens' SemanticTokensLegend [Text] | |
HasTooltip DocumentLink (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTooltip InlayHint (Maybe (Text |? MarkupContent)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTooltip InlayHintLabelPart (Maybe (Text |? MarkupContent)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasTriggerCharacter CompletionContext (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacter :: Lens' CompletionContext (Maybe Text) | |
HasTriggerCharacter SignatureHelpContext (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacter :: Lens' SignatureHelpContext (Maybe Text) | |
HasTriggerCharacters CompletionOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacters :: Lens' CompletionOptions (Maybe [Text]) | |
HasTriggerCharacters CompletionRegistrationOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text]) | |
HasTriggerCharacters SignatureHelpOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text]) | |
HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) | |
Defined in Language.LSP.Protocol.Types.Lens triggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text]) | |
HasVariableName InlineValueVariableLookup (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens variableName :: Lens' InlineValueVariableLookup (Maybe Text) | |
HasVerbose LogTraceParams (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasVersion ClientInfo (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasVersion MarkdownClientCapabilities (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasVersion RegularExpressionsClientCapabilities (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasVersion ServerInfo (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasWordPattern LinkedEditingRanges (Maybe Text) | |
Defined in Language.LSP.Protocol.Types.Lens wordPattern :: Lens' LinkedEditingRanges (Maybe Text) | |
HasId CancelParams (Int32 |? Text) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel InlayHint (Text |? [InlayHintLabelPart]) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasLabel ParameterInformation (Text |? (UInt, UInt)) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNotebook NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) | |
Defined in Language.LSP.Protocol.Types.Lens | |
HasNotebook NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) | |
Defined in Language.LSP.Protocol.Types.Lens | |
Stream (NoShareInput Text) | |
Defined in Text.Megaparsec.Stream type Token (NoShareInput Text) # type Tokens (NoShareInput Text) # tokenToChunk :: Proxy (NoShareInput Text) -> Token (NoShareInput Text) -> Tokens (NoShareInput Text) # tokensToChunk :: Proxy (NoShareInput Text) -> [Token (NoShareInput Text)] -> Tokens (NoShareInput Text) # chunkToTokens :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> [Token (NoShareInput Text)] # chunkLength :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> Int # chunkEmpty :: Proxy (NoShareInput Text) -> Tokens (NoShareInput Text) -> Bool # take1_ :: NoShareInput Text -> Maybe (Token (NoShareInput Text), NoShareInput Text) # takeN_ :: Int -> NoShareInput Text -> Maybe (Tokens (NoShareInput Text), NoShareInput Text) # takeWhile_ :: (Token (NoShareInput Text) -> Bool) -> NoShareInput Text -> (Tokens (NoShareInput Text), NoShareInput Text) # | |
Stream (ShareInput Text) | |
Defined in Text.Megaparsec.Stream type Token (ShareInput Text) # type Tokens (ShareInput Text) # tokenToChunk :: Proxy (ShareInput Text) -> Token (ShareInput Text) -> Tokens (ShareInput Text) # tokensToChunk :: Proxy (ShareInput Text) -> [Token (ShareInput Text)] -> Tokens (ShareInput Text) # chunkToTokens :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> [Token (ShareInput Text)] # chunkLength :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> Int # chunkEmpty :: Proxy (ShareInput Text) -> Tokens (ShareInput Text) -> Bool # take1_ :: ShareInput Text -> Maybe (Token (ShareInput Text), ShareInput Text) # takeN_ :: Int -> ShareInput Text -> Maybe (Tokens (ShareInput Text), ShareInput Text) # takeWhile_ :: (Token (ShareInput Text) -> Bool) -> ShareInput Text -> (Tokens (ShareInput Text), ShareInput Text) # | |
HasJsonrpc (TNotificationMessage m) Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
HasJsonrpc (TRequestMessage m) Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
HasJsonrpc (TResponseMessage m) Text | |
Defined in Language.LSP.Protocol.Message.Lens | |
type ChunkElem Text | |
Defined in Data.Attoparsec.Internal.Types | |
type State Text | |
Defined in Data.Attoparsec.Internal.Types | |
type Item Text | |
type Index Text | |
Defined in Control.Lens.At | |
type IxValue Text | |
Defined in Control.Lens.At | |
type Token Text | |
Defined in Text.Megaparsec.Stream | |
type Tokens Text | |
Defined in Text.Megaparsec.Stream | |
type Token (NoShareInput Text) | |
Defined in Text.Megaparsec.Stream | |
type Token (ShareInput Text) | |
Defined in Text.Megaparsec.Stream | |
type Tokens (NoShareInput Text) | |
Defined in Text.Megaparsec.Stream | |
type Tokens (ShareInput Text) | |
Defined in Text.Megaparsec.Stream |
data Diagnostic #