Language.Haskell.Exts.Parser

# General parsing

class Parseable ast

data ParseMode

defaultParseMode

data ParseResult a

fromParseResult

# Parsing of specific AST elements

## Modules

parseModule

parseModuleWithMode

parseModuleWithComments

## Expressions

parseExp

parseExpWithMode

parseExpWithComments

## Statements

parseStmt

parseStmtWithMode

parseStmtWithComments

## Patterns

parsePat

parsePatWithMode

parsePatWithComments

## Declarations

parseDecl

parseDeclWithMode

parseDeclWithComments

## Types

parseType

parseTypeWithMode

parseTypeWithComments

## Import declarations

parseImportDecl

parseImportDeclWithMode

parseImportDeclWithComments

# Non-greedy parsers

data NonGreedy a

## Module head parsers

getTopPragmas

data PragmasAndModuleName

data PragmasAndModuleHead

data ModuleHeadAndImports