License | BSD-3-Clause |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Swarm.Language.LSP.Hover
Description
Synopsis
- showHoverInfo :: NormalizedUri -> TextDocumentVersion -> Position -> VirtualFile -> Maybe (Text, Maybe Range)
- renderDoc :: Int -> Text -> Text
- treeToMarkdown :: Int -> Tree Text -> Text
- narrowToPosition :: ExplainableType ty => Syntax' ty -> Int -> Syntax' ty
- explain :: ExplainableType ty => Syntax' ty -> Tree Text
Documentation
showHoverInfo :: NormalizedUri -> TextDocumentVersion -> Position -> VirtualFile -> Maybe (Text, Maybe Range) Source #
Documentation rendering
Finding source location
Arguments
:: ExplainableType ty | |
=> Syntax' ty | parent term |
-> Int | absolute offset within the file |
-> Syntax' ty |
Find the most specific term for a given position within the code.