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