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

Copyright(c) 2008 Benedikt Huber
LicenseBSD-style
Maintainerbenedikt.huber@gmail.com
Stabilityprototype
Portabilityghc
Safe HaskellNone
LanguageHaskell98

Language.C.Analysis.Debug

Contents

Description

Pretty printing the semantic analysis representation. This is currently only intended for debugging purposes.

Documentation

prettyAssocs :: (Pretty k, Pretty v) => String -> [(k, v)] -> Doc Source #

prettyAssocsWith :: String -> (k -> Doc) -> (v -> Doc) -> [(k, v)] -> Doc Source #

Orphan instances

Pretty Ident Source # 
Pretty SUERef Source # 
Pretty Attributes Source # 
Pretty Attr Source # 
Pretty VarName Source # 
Pretty TypeQuals Source # 
Pretty Enumerator Source # 
Pretty EnumType Source # 
Pretty CompTyKind Source # 
Pretty CompType Source # 
Pretty EnumTypeRef Source # 
Pretty CompTypeRef Source # 
Pretty Type Source # 
Pretty Linkage Source # 
Pretty Storage Source # 
Pretty FunctionAttrs Source # 
Pretty DeclAttrs Source # 
Pretty VarDecl Source # 
Pretty TypeDef Source # 
Pretty MemberDecl Source # 
Pretty ParamDecl Source # 
Pretty FunDef Source # 
Pretty ObjDef Source # 
Pretty Decl Source # 
Pretty GlobalDecls Source # 
Pretty IdentDecl Source # 
Pretty TagDef Source # 
Pretty DefTable Source # 
Pretty TagFwdDecl Source # 
(Pretty a, Pretty b) => Pretty (Either a b) Source # 

Methods

pretty :: Either a b -> Doc Source #

prettyPrec :: Int -> Either a b -> Doc Source #