Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Haskell.GHC.ExactPrint.Dump
Contents
Synopsis
- showAstData :: Data a => BlankSrcSpan -> BlankEpAnnotations -> a -> SDoc
- data BlankSrcSpan
- data BlankEpAnnotations
Dumping ASTs
showAstData :: Data a => BlankSrcSpan -> BlankEpAnnotations -> a -> SDoc Source #
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 Source #
Constructors
BlankSrcSpan | |
BlankSrcSpanFile | |
NoBlankSrcSpan |
Instances
Show BlankSrcSpan Source # | |
Defined in Language.Haskell.GHC.ExactPrint.Dump Methods showsPrec :: Int -> BlankSrcSpan -> ShowS # show :: BlankSrcSpan -> String # showList :: [BlankSrcSpan] -> ShowS # | |
Eq BlankSrcSpan Source # | |
Defined in Language.Haskell.GHC.ExactPrint.Dump |
data BlankEpAnnotations Source #
Constructors
BlankEpAnnotations | |
NoBlankEpAnnotations |
Instances
Show BlankEpAnnotations Source # | |
Defined in Language.Haskell.GHC.ExactPrint.Dump Methods showsPrec :: Int -> BlankEpAnnotations -> ShowS # show :: BlankEpAnnotations -> String # showList :: [BlankEpAnnotations] -> ShowS # | |
Eq BlankEpAnnotations Source # | |
Defined in Language.Haskell.GHC.ExactPrint.Dump Methods (==) :: BlankEpAnnotations -> BlankEpAnnotations -> Bool # (/=) :: BlankEpAnnotations -> BlankEpAnnotations -> Bool # |