hindent-6.0.0: Extensible Haskell pretty printer
Safe HaskellSafe-Inferred
LanguageHaskell2010

HIndent.Parse

Description

Parsing and lexical analysis functions.

Synopsis

Documentation

parseModule :: Maybe FilePath -> [Extension] -> String -> ParseResult HsModule Source #

This function parses the given Haskell source code with the given file path (if any) and parse options.

lexCode :: HasCallStack => String -> [Token] Source #

Lexically analyze the given code.