Safe Haskell | None |
---|---|
Language | Haskell2010 |
Gives information about symbols at a given point in DAML files. These are all pure functions that should execute quickly.
Synopsis
- atPoint :: IdeOptions -> HieASTs Type -> DocAndKindMap -> Position -> Maybe (Maybe Range, [Text])
- gotoDefinition :: MonadIO m => (Module -> MaybeT m (HieFile, FilePath)) -> IdeOptions -> Map ModuleName NormalizedFilePath -> HieASTs Type -> Position -> MaybeT m Location
- gotoTypeDefinition :: MonadIO m => (Module -> MaybeT m (HieFile, FilePath)) -> IdeOptions -> HieASTs Type -> Position -> MaybeT m [Location]
- documentHighlight :: Monad m => HieASTs Type -> RefMap -> Position -> MaybeT m [DocumentHighlight]
- pointCommand :: HieASTs Type -> Position -> (HieAST Type -> a) -> [a]
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.
gotoTypeDefinition :: MonadIO m => (Module -> MaybeT m (HieFile, FilePath)) -> IdeOptions -> HieASTs Type -> Position -> MaybeT m [Location] Source #
documentHighlight :: Monad m => HieASTs Type -> RefMap -> Position -> MaybeT m [DocumentHighlight] Source #