ghcide-0.7.0.0: The core of an IDE
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Spans.AtPoint

Description

Gives information about symbols at a given point in DAML files. These are all pure functions that should execute quickly.

Synopsis

Documentation

atPoint :: IdeOptions -> HieASTs Type -> DocAndKindMap -> Position -> Maybe (Maybe Range, [Text]) Source #

Synopsis for the name at a given position.

gotoDefinition :: MonadIO m => (Module -> MaybeT m (HieFile, FilePath)) -> IdeOptions -> Map ModuleName NormalizedFilePath -> HieASTs Type -> Position -> MaybeT m Location Source #

Locate the definition of the name at a given position.