Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- showAstData :: Data a => BlankSrcSpan -> BlankEpAnnotations -> a -> SDoc
- data BlankSrcSpan
- data BlankEpAnnotations
Documentation
showAstData :: Data a => BlankSrcSpan -> BlankEpAnnotations -> a -> SDoc #
Show a GHC syntax tree. This parameterised because it is also used for comparing ASTs in ppr roundtripping tests, where the SrcSpan's are blanked out, to avoid comparing locations, only structure
data BlankSrcSpan #
Should source spans be removed from output.
Instances
Show BlankSrcSpan | |
Defined in GHC.Hs.Dump showsPrec :: Int -> BlankSrcSpan -> ShowS # show :: BlankSrcSpan -> String # showList :: [BlankSrcSpan] -> ShowS # | |
Eq BlankSrcSpan | |
Defined in GHC.Hs.Dump (==) :: BlankSrcSpan -> BlankSrcSpan -> Bool # (/=) :: BlankSrcSpan -> BlankSrcSpan -> Bool # |
data BlankEpAnnotations #
Should EpAnnotations be removed from output.
Instances
Show BlankEpAnnotations | |
Defined in GHC.Hs.Dump showsPrec :: Int -> BlankEpAnnotations -> ShowS # show :: BlankEpAnnotations -> String # showList :: [BlankEpAnnotations] -> ShowS # | |
Eq BlankEpAnnotations | |
Defined in GHC.Hs.Dump (==) :: BlankEpAnnotations -> BlankEpAnnotations -> Bool # (/=) :: BlankEpAnnotations -> BlankEpAnnotations -> Bool # |