Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type DiagnosticStore = HashMap NormalizedUri StoreItem
- type DiagnosticsBySource = Map (Maybe DiagnosticSource) (SortedList Diagnostic)
- data StoreItem = StoreItem TextDocumentVersion DiagnosticsBySource
- partitionBySource :: [Diagnostic] -> DiagnosticsBySource
- flushBySource :: DiagnosticStore -> Maybe DiagnosticSource -> DiagnosticStore
- updateDiagnostics :: DiagnosticStore -> NormalizedUri -> TextDocumentVersion -> DiagnosticsBySource -> DiagnosticStore
- getDiagnosticParamsFor :: Int -> DiagnosticStore -> NormalizedUri -> Maybe PublishDiagnosticsParams
Documentation
type DiagnosticsBySource = Map (Maybe DiagnosticSource) (SortedList Diagnostic) Source #
updateDiagnostics :: DiagnosticStore -> NormalizedUri -> TextDocumentVersion -> DiagnosticsBySource -> DiagnosticStore Source #
getDiagnosticParamsFor :: Int -> DiagnosticStore -> NormalizedUri -> Maybe PublishDiagnosticsParams Source #