Safe Haskell | None |
---|
- loadFile :: FilePath -> IO (ParseResult (Module SrcSpanInfo, [Loc TuToken]))
- loadFileWithMode :: ParseMode -> FilePath -> IO (ParseResult (Module SrcSpanInfo, [Loc TuToken]))
- templateHaskellMode :: ParseMode
- data TuToken
- s2ss :: SimpSpan -> SrcSpan
- ss2s :: SrcSpan -> SimpSpan
Documentation
loadFile :: FilePath -> IO (ParseResult (Module SrcSpanInfo, [Loc TuToken]))Source
Load a file using 'haskell-src-exts' to provide both the AST and tokens
loadFileWithMode :: ParseMode -> FilePath -> IO (ParseResult (Module SrcSpanInfo, [Loc TuToken]))Source
Load a file using 'haskell-src-exts' to provide both the AST and tokens, using a custom loading mode allowing extensions to be enabled