Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
HieDb.Run
Documentation
Constructors
Init | |
Index [FilePath] | |
NameRefs String (Maybe ModuleName) (Maybe Unit) | |
TypeRefs String (Maybe ModuleName) (Maybe Unit) | |
NameDef String (Maybe ModuleName) (Maybe Unit) | |
TypeDef String (Maybe ModuleName) (Maybe Unit) | |
Cat HieTarget | |
Ls | |
LsExports (Maybe ModuleName) | |
Rm [HieTarget] | |
ModuleUIDs ModuleName | |
LookupHieFile ModuleName (Maybe Unit) | |
RefsAtPoint HieTarget (Int, Int) (Maybe (Int, Int)) | |
TypesAtPoint HieTarget (Int, Int) (Maybe (Int, Int)) | |
DefsAtPoint HieTarget (Int, Int) (Maybe (Int, Int)) | |
InfoAtPoint HieTarget (Int, Int) (Maybe (Int, Int)) | |
RefGraph | |
Dump FilePath | |
Reachable [Symbol] | |
Unreachable [Symbol] | |
Html [Symbol] | |
GCTypeNames |
progParseInfo :: FilePath -> Bool -> ParserInfo (Options, Command) #
progParser :: FilePath -> Bool -> Parser (Options, Command) #
maybeUnitId :: Parser (Maybe Unit) #
runCommand :: LibDir -> Options -> Command -> IO () #
printInfo :: DynFlags -> NodeInfo IfaceType -> RealSrcSpan -> IO () #
hieFileCommand :: HieDb -> Options -> HieTarget -> (HieFile -> IO a) -> IO a #
reportAmbiguousErr :: Options -> Either HieDbErr a -> IO a #
showHieDbErr :: Options -> HieDbErr -> String #
reportRefSpans :: Options -> [(Module, (Int, Int), (Int, Int), Maybe (Either FilePath ByteString))] -> IO () #
reportRefs :: Options -> [Res RefRow] -> IO () #
colouredPP :: Color -> (a -> String) -> Options -> a -> String #
ppMod :: Options -> ModuleName -> String #