Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 DiagnosticsBySource = Map (Maybe Text) (SortedList Diagnostic) Source #
flushBySource :: DiagnosticStore -> Maybe Text -> DiagnosticStore Source #
updateDiagnostics :: DiagnosticStore -> NormalizedUri -> Maybe Int32 -> DiagnosticsBySource -> DiagnosticStore Source #
getDiagnosticParamsFor :: Int -> DiagnosticStore -> NormalizedUri -> Maybe PublishDiagnosticsParams Source #