Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data RzkCachedModule = RzkCachedModule {}
- type RzkTypecheckCache = [(FilePath, RzkCachedModule)]
- newtype RzkEnv = RzkEnv {}
- defaultRzkEnv :: IO RzkEnv
- type LSP = LspT ServerConfig (ReaderT RzkEnv IO)
- cacheTypecheckedModules :: RzkTypecheckCache -> LSP ()
- resetCacheForAllFiles :: LSP ()
- resetCacheForFiles :: [FilePath] -> LSP ()
- getCachedTypecheckedModules :: LSP RzkTypecheckCache
Documentation
data RzkCachedModule Source #
type RzkTypecheckCache = [(FilePath, RzkCachedModule)] Source #
defaultRzkEnv :: IO RzkEnv Source #
cacheTypecheckedModules :: RzkTypecheckCache -> LSP () Source #
Override the cache with given typechecked modules.
resetCacheForAllFiles :: LSP () Source #
Completely invalidate the cache of typechecked files.
resetCacheForFiles :: [FilePath] -> LSP () Source #
Invalidate the cache for a list of file paths.
getCachedTypecheckedModules :: LSP RzkTypecheckCache Source #
Get the current state of the cache.