haskell-tools-prettyprint-0.8.0.0: Pretty printing of Haskell-Tools AST

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.PrettyPrint

Description

Pretty printing the AST

Synopsis

Documentation

prettyPrint :: SourceInfoTraversal node => node dom SrcTemplateStage -> String Source #

Pretty prints an AST by using source templates stored as node info

toRoseTree :: SourceInfoTraversal n => n dom st -> RoseTree st Source #

Transforms the heterogeneous AST into a homogeneous representation for pretty printing