Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
parseModule :: String -> DynFlags -> ParseResult (Located (HsModule GhcPs)) Source #
parseSignature :: String -> DynFlags -> ParseResult (Located (HsModule GhcPs)) Source #
parseImport :: String -> DynFlags -> ParseResult (LImportDecl GhcPs) Source #
parseStatement :: String -> DynFlags -> ParseResult (LStmt GhcPs (LHsExpr GhcPs)) Source #
parseBackpack :: String -> DynFlags -> ParseResult [LHsUnit PackageName] Source #
parseDeclaration :: String -> DynFlags -> ParseResult (LHsDecl GhcPs) Source #
parseExpression :: String -> DynFlags -> ParseResult (LHsExpr GhcPs) Source #
parsePattern :: String -> DynFlags -> ParseResult (LPat GhcPs) Source #
parseTypeSignature :: String -> DynFlags -> ParseResult (LHsDecl GhcPs) Source #
parseIdentifier :: String -> DynFlags -> ParseResult (Located RdrName) Source #
parseHeader :: String -> DynFlags -> ParseResult (Located (HsModule GhcPs)) Source #