| ||||||||||||
| ||||||||||||
| ||||||||||||
Description | ||||||||||||
This module provides a pretty printer for the parse tree (Language.C.Syntax.AST). | ||||||||||||
Synopsis | ||||||||||||
| ||||||||||||
Pretty Printing | ||||||||||||
class Pretty p where | ||||||||||||
| ||||||||||||
Testing | ||||||||||||
prettyUsingInclude :: CTranslUnit -> Doc | ||||||||||||
Pretty print the given tranlation unit, but replace declarations from header files with #include directives. The resulting file may not compile (because of missing #define directives and similar things), but is very usefull for testing, as otherwise the pretty printed file will be cluttered with declarations from system headers. | ||||||||||||
Produced by Haddock version 2.1.0 |