| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Tools.PrettyPrint.RoseTree
Description
A simpler representation of the original AST.
- data RoseTree a = RoseTree {
- roseInfo :: a
- roseChildren :: [RoseTree a]
- toRoseTree :: StructuralTraversable n => n inf -> RoseTree inf
Documentation
A rose tree containing additional node information
Constructors
| RoseTree | |
Fields
| |
toRoseTree :: StructuralTraversable n => n inf -> RoseTree inf Source #
Transforms the heterogeneous AST into a homogeneous representation for pretty printing