hsdev-0.1.8.1: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.

Safe HaskellNone
LanguageHaskell98

HsDev.Inspect

Synopsis

Documentation

analyzeModule :: [String] -> Maybe FilePath -> String -> Either String Module Source

Analize source contents

inspectDocsChunk :: [String] -> [Module] -> IO [Module] Source

Extract files docs and set them to declarations

inspectDocs :: [String] -> Module -> IO Module Source

Extract file docs and set them to module declarations

inspectDocsGhc :: [String] -> Module -> Ghc Module Source

Like inspectDocs, but in Ghc monad

fileInspection :: FilePath -> [String] -> IO Inspection Source

File inspection data

projectDirs :: Project -> IO [Extensions FilePath] Source

Enumerate project dirs

projectSources :: Project -> IO [Extensions FilePath] Source

Enumerate project source files

inspectProject :: [(String, String)] -> [String] -> Project -> IO (Project, [InspectedModule]) Source

Inspect project

getDefines :: IO [(String, String)] Source

Get actual defines