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