language-c99-0.2.0: An implementation of the C99 AST that strictly follows the standard.

Safe Haskell | Safe-Inferred
Language | Haskell2010

Language.C99.Pretty

# Documentation

bin :: (Pretty a, Pretty b) => a -> String -> b -> Doc Source #

class Pretty a where Source #

Methods

pretty :: a -> Doc Source #

#### Instances

Instances details

Pretty AbstractDeclr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: AbstractDeclr -> Doc Source #
Pretty AddExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: AddExpr -> Doc Source #
Pretty AndExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: AndExpr -> Doc Source #
Pretty ArgExprList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ArgExprList -> Doc Source #
Pretty AssignExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: AssignExpr -> Doc Source #
Pretty AssignOp Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: AssignOp -> Doc Source #
Pretty BinExpPart Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: BinExpPart -> Doc Source #
Pretty BlockItem Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: BlockItem -> Doc Source #
Pretty BlockItemList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: BlockItemList -> Doc Source #
Pretty CChar Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CChar -> Doc Source #
Pretty CCharSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CCharSeq -> Doc Source #
Pretty CastExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CastExpr -> Doc Source #
Pretty CharConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CharConst -> Doc Source #
Pretty CompoundStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CompoundStmt -> Doc Source #
Pretty CondExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: CondExpr -> Doc Source #
Pretty Const Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Const -> Doc Source #
Pretty ConstExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ConstExpr -> Doc Source #
Pretty DecConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DecConst -> Doc Source #
Pretty DecFloatConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DecFloatConst -> Doc Source #
Pretty Decln Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Decln -> Doc Source #
Pretty DeclnList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DeclnList -> Doc Source #
Pretty DeclnSpecs Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DeclnSpecs -> Doc Source #
Pretty Declr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Declr -> Doc Source #
Pretty Design Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Design -> Doc Source #
Pretty Desigr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Desigr -> Doc Source #
Pretty DesigrList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DesigrList -> Doc Source #
Pretty Digit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Digit -> Doc Source #
Pretty DigitSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DigitSeq -> Doc Source #
Pretty DirectAbstractDeclr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DirectAbstractDeclr -> Doc Source #
Pretty DirectDeclr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: DirectDeclr -> Doc Source #
Pretty EnumConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: EnumConst -> Doc Source #
Pretty EnumSpec Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: EnumSpec -> Doc Source #
Pretty Enumr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Enumr -> Doc Source #
Pretty EnumrList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: EnumrList -> Doc Source #
Pretty EqExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: EqExpr -> Doc Source #
Pretty EscSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: EscSeq -> Doc Source #
Pretty ExpPart Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ExpPart -> Doc Source #
Pretty Expr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Expr -> Doc Source #
Pretty ExprStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ExprStmt -> Doc Source #
Pretty ExtDecln Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ExtDecln -> Doc Source #
Pretty FloatConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: FloatConst -> Doc Source #
Pretty FloatSuffix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: FloatSuffix -> Doc Source #
Pretty FracConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: FracConst -> Doc Source #
Pretty FunDef Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: FunDef -> Doc Source #
Pretty FunSpec Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: FunSpec -> Doc Source #
Pretty HexConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexConst -> Doc Source #
Pretty HexDigit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexDigit -> Doc Source #
Pretty HexDigitSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexDigitSeq -> Doc Source #
Pretty HexEscSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexEscSeq -> Doc Source #
Pretty HexFloatConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexFloatConst -> Doc Source #
Pretty HexFracConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexFracConst -> Doc Source #
Pretty HexPrefix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexPrefix -> Doc Source #
Pretty HexQuad Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: HexQuad -> Doc Source #
Pretty Ident Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Ident -> Doc Source #
Pretty IdentList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: IdentList -> Doc Source #
Pretty IdentNonDigit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: IdentNonDigit -> Doc Source #
Pretty Init Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Init -> Doc Source #
Pretty InitDeclr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: InitDeclr -> Doc Source #
Pretty InitDeclrList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: InitDeclrList -> Doc Source #
Pretty InitList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: InitList -> Doc Source #
Pretty IntConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: IntConst -> Doc Source #
Pretty IntSuffix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: IntSuffix -> Doc Source #
Pretty IterStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: IterStmt -> Doc Source #
Pretty JumpStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: JumpStmt -> Doc Source #
Pretty LAndExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: LAndExpr -> Doc Source #
Pretty LOrExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: LOrExpr -> Doc Source #
Pretty LabeledStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: LabeledStmt -> Doc Source #
Pretty LongLongSuffix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: LongLongSuffix -> Doc Source #
Pretty LongSuffix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: LongSuffix -> Doc Source #
Pretty MultExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: MultExpr -> Doc Source #
Pretty NonDigit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: NonDigit -> Doc Source #
Pretty NonZeroDigit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: NonZeroDigit -> Doc Source #
Pretty OcConst Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: OcConst -> Doc Source #
Pretty OcDigit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: OcDigit -> Doc Source #
Pretty OcEscSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: OcEscSeq -> Doc Source #
Pretty OrExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: OrExpr -> Doc Source #
Pretty ParamDecln Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ParamDecln -> Doc Source #
Pretty ParamList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ParamList -> Doc Source #
Pretty ParamTypeList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ParamTypeList -> Doc Source #
Pretty PostfixExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: PostfixExpr -> Doc Source #
Pretty PrimExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: PrimExpr -> Doc Source #
Pretty Ptr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Ptr -> Doc Source #
Pretty RelExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: RelExpr -> Doc Source #
Pretty SChar Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: SChar -> Doc Source #
Pretty SCharSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: SCharSeq -> Doc Source #
Pretty SelectStmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: SelectStmt -> Doc Source #
Pretty ShiftExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: ShiftExpr -> Doc Source #
Pretty Sign Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Sign -> Doc Source #
Pretty SimpleEscSeq Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: SimpleEscSeq -> Doc Source #
Pretty SpecQualList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: SpecQualList -> Doc Source #
Pretty Stmt Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Stmt -> Doc Source #
Pretty StorageClassSpec Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StorageClassSpec -> Doc Source #
Pretty StringLit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StringLit -> Doc Source #
Pretty StructDecln Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructDecln -> Doc Source #
Pretty StructDeclnList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructDeclnList -> Doc Source #
Pretty StructDeclr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructDeclr -> Doc Source #
Pretty StructDeclrList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructDeclrList -> Doc Source #
Pretty StructOrUnion Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructOrUnion -> Doc Source #
Pretty StructOrUnionSpec Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: StructOrUnionSpec -> Doc Source #
Pretty TransUnit Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TransUnit -> Doc Source #
Pretty TypeName Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TypeName -> Doc Source #
Pretty TypeQual Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TypeQual -> Doc Source #
Pretty TypeQualList Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TypeQualList -> Doc Source #
Pretty TypeSpec Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TypeSpec -> Doc Source #
Pretty TypedefName Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: TypedefName -> Doc Source #
Pretty UnaryExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: UnaryExpr -> Doc Source #
Pretty UnaryOp Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: UnaryOp -> Doc Source #
Pretty UnivCharName Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: UnivCharName -> Doc Source #
Pretty UnsignedSuffix Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: UnsignedSuffix -> Doc Source #
Pretty XOrExpr Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: XOrExpr -> Doc Source #
Pretty a => Pretty (Maybe a) Source # |
Instance details Defined in Language.C99.Pretty Methods pretty :: Maybe a -> Doc Source #

fheader :: DeclnSpecs -> Declr -> Maybe DeclnList -> Doc Source #