Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
RoseTree | |
|
toRoseTree :: StructuralTraversable n => n inf -> RoseTree inf Source #
Transforms the heterogeneous AST into a homogeneous representation for pretty printing