| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Homplexity.Parse
Description
Parsing of Haskell source files, and error reporting for unparsable files.
- parseSource :: FilePath -> IO (Either Log (Module SrcLoc, [CommentLink]))
Documentation
parseSource :: FilePath -> IO (Either Log (Module SrcLoc, [CommentLink]))
Parse Haskell source file, using CppHs for preprocessing, and haskell-src-exts for parsing.
Catches all exceptions and wraps them as Critical log messages.