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