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

## Imports

parseImportDecl

parseImportDeclWithMode

parseImportDeclWithComments

# Non-greedy parsers

data NonGreedy a

data ListOf a

unListOf

## Module head parsers

getTopPragmas

data PragmasAndModuleName l

data PragmasAndModuleHead l

data ModuleHeadAndImports l