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

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

Language.C.Analysis.Export

Description

WARNING : This is just an implementation sketch and not very well tested.

Export `SemRep` entities to `AST` nodes.

# Documentation

exportType :: Type -> ([CDeclSpec], [CDerivedDeclr])

exportTypeDecl :: Type -> CDecl

exportTypeSpec :: TypeName -> [CTypeSpec]

exportTypeDef :: TypeDef -> CDecl

exportCompType :: CompType -> [CTypeSpec]

exportCompTypeDecl :: CompTypeRef -> [CTypeSpec]

exportCompTypeRef :: CompType -> [CTypeSpec]

exportEnumType :: EnumType -> [CTypeSpec]

exportEnumTypeDecl :: EnumTypeRef -> [CTypeSpec]

exportEnumTypeRef :: EnumType -> [CTypeSpec]