Language.C.Analysis.Debug

language-c-0.3.2.1: Analysis and generation of C code

Portability | ghc
Stability | prototype
Maintainer | benedikt.huber@gmail.com
Safe Haskell | None

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