 | haskell-src-exts-1.3.5: Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer | Source code | Contents | Index |
|
Language.Haskell.Exts.Annotated.Simplify | Portability | portable
| Stability | experimental
| Maintainer | Niklas Broberg, [email protected]
|
|
|
|
Description |
This module contains code for translating from the annotated
complex AST in Language.Haskell.Exts.Annotated.Syntax
to the simpler, sparsely annotated AST in Language.Haskell.Exts.Syntax.
|
|
Synopsis |
|
|
|
Documentation |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a Haskell module, into
a simpler version that retains (almost) only abstract information.
In particular, XML and hybrid XML pages enabled by the XmlSyntax extension
are translated into standard Haskell modules with a page function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a Haskell declaration
into a simpler version. Note that in the simpler version, all declaration
nodes are still annotated by SrcLocs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a Haskell type into a simpler
unannotated form.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a Haskell expression
into a simpler unannotated form.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a top-level Options pragma
into a simpler unannotated form.
|
|
|
|
|
|
|
|
|
|
|
Translate an annotated AST node representing a Haskell pattern
into a simpler unannotated form.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Produced by Haddock version 2.6.0 |