Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Generally useful definition used in various places in the language server implementation.
Documentation
getHoverInfoFromState :: State -> Maybe FilePath -> Int -> Int -> Maybe Hover Source #
Retrieve hover info for the definition referenced at the given
file at the given line and column number (the two Int
s).
findDefinitionRange :: State -> Maybe FilePath -> Int -> Int -> Maybe Location Source #
Find the location of the definition referenced at the given file
at the given line and column number (the two Int
s).
computeMapping :: State -> Maybe FilePath -> LspM () (Maybe PositionMapping) Source #
Entry point for computing PositionMapping.