Portability | portable |
---|---|
Stability | stable |
Maintainer | Niklas Broberg, d00nibro@chalmers.se |
Exact-printer for Haskell abstract syntax. The input is a (semi-concrete) abstract syntax tree, annotated with exact source information to enable printing the tree exactly as it was parsed.
- exactPrint :: ExactP ast => ast SrcSpanInfo -> [Comment] -> String
- class ExactP ast
Documentation
exactPrint :: ExactP ast => ast SrcSpanInfo -> [Comment] -> StringSource
Print an AST exactly as specified by the annotations on the nodes in the tree.