Lines Matching refs:Pretty
27 import Language.C.Pretty
33 prettyAssocs :: (Pretty k, Pretty v) => String -> [(k,v)] -> Doc
41 instance Pretty DefTable where
51 instance Pretty GlobalDecls where
57 prettyMap :: (Pretty t, Pretty k) => String -> Map k t -> Doc
77 instance (Pretty a, Pretty b) => Pretty (Either a b) where
79 instance Pretty TagFwdDecl where
82 instance Pretty CompTyKind where
85 instance Pretty CompTypeRef where
87 instance Pretty EnumTypeRef where
89 instance Pretty Ident where
91 instance Pretty SUERef where
94 instance Pretty TagDef where
97 instance Pretty IdentDecl where
102 instance Pretty Decl where
106 instance Pretty TypeDef where
110 instance Pretty ObjDef where
114 instance Pretty FunDef where
118 instance Pretty VarDecl where
121 instance Pretty ParamDecl where
127 instance Pretty DeclAttrs where
131 instance Pretty Type where
133 instance Pretty TypeQuals where
138 instance Pretty CompType where
144 instance Pretty MemberDecl where
151 instance Pretty EnumType where
157 instance Pretty Enumerator where
161 instance Pretty FunctionAttrs where
166 instance Pretty Storage where
173 instance Pretty Linkage where
177 instance Pretty VarName where
181 instance Pretty Attributes where
183 instance Pretty Attr where
186 joinComma :: (Pretty a) => [a] -> Doc
188 terminateSemi :: (Pretty a) => [a] -> Doc