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

Portabilityghc
Stabilityprototype
Maintainerbenedikt.huber@gmail.com

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