| Copyright | (c) Antoine Latter 2008 |
|---|---|
| License | BSD3 |
| Maintainer | Antoine Latter <aslatter@gmail.com> |
| Stability | provisional |
| Portability | portable - requires TypeSynonymInstances |
| Safe Haskell | Safe |
| Language | Haskell98 |
Data.XCB.Pretty
Description
Pretty-printers for the tyes declared in this package. This does NOT ouput XML - it produces human-readable information intended to aid in debugging.
- class Pretty a where
- bitCaseHeader :: Pretty a => Maybe Name -> Expression a -> Doc
Documentation
Instances
| Pretty Bool Source # | |
| Pretty Int Source # | |
| Pretty String Source # | |
| Pretty AllowedEvent Source # | |
| Pretty Alignment Source # | |
| Pretty Unop Source # | |
| Pretty Binop Source # | |
| Pretty Type Source # | |
| Pretty a => Pretty (Maybe a) Source # | |
| Pretty a => Pretty (Expression a) Source # | |
| Pretty a => Pretty (EnumElem a) Source # | |
| Pretty a => Pretty (GenXidUnionElem a) Source # | |
| Pretty a => Pretty (GenBitCase a) Source # | |
| Pretty a => Pretty (GenStructElem a) Source # | |
| Pretty a => Pretty (GenXDecl a) Source # | |
| Pretty a => Pretty (GenXHeader a) Source # | |
bitCaseHeader :: Pretty a => Maybe Name -> Expression a -> Doc Source #