Copyright | (c) 2008 Benedikt Huber |
---|---|
License | BSD-style |
Maintainer | benedikt.huber@gmail.com |
Stability | prototype |
Portability | ghc |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Language.C.Analysis.Debug
Contents
Description
Pretty printing the semantic analysis representation. This is currently only intended for debugging purposes.
Documentation
globalDeclStats :: (FilePath -> Bool) -> GlobalDecls -> [(String, Int)] Source #
prettyAssocs :: (Pretty k, Pretty v) => String -> [(k, v)] -> Doc Source #
prettyAssocsWith :: String -> (k -> Doc) -> (v -> Doc) -> [(k, v)] -> Doc Source #