Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type Symbol = String
- data SymbolDb
- loadSymbolDb :: IOish m => FilePath -> GhcModT m SymbolDb
- lookupSymbol :: IOish m => Symbol -> SymbolDb -> GhcModT m String
- dumpSymbol :: IOish m => FilePath -> GhcModT m String
- findSymbol :: IOish m => Symbol -> GhcModT m String
- lookupSym :: Symbol -> SymbolDb -> [ModuleString]
- isOutdated :: IOish m => SymbolDb -> GhcModT m Bool
Documentation
loadSymbolDb :: IOish m => FilePath -> GhcModT m SymbolDb Source
Loading a file and creates SymbolDb
.
lookupSymbol :: IOish m => Symbol -> SymbolDb -> GhcModT m String Source
Looking up SymbolDb
with Symbol
to [ModuleString
]
which will be concatenated.
dumpSymbol :: IOish m => FilePath -> GhcModT m String Source
Dumping a set of (Symbol
,[ModuleString
]) to a file
if the file does not exist or is invalid.
The file name is printed.
findSymbol :: IOish m => Symbol -> GhcModT m String Source
Looking up SymbolDb
with Symbol
to [ModuleString
]
which will be concatenated. loadSymbolDb
is called internally.
lookupSym :: Symbol -> SymbolDb -> [ModuleString] Source