language-c-0.9: 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.Export

Description

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

Export SemRep entities to AST nodes.

Synopsis

Documentation

exportDeclr :: [CDeclSpec] -> Type -> Attributes -> VarName -> ([CDeclSpec], CDeclr) Source #

Export Declarator

Synopsis: exportDeclr other_specs type attributes variable-name

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

Export a type to syntax

export :: GlobalDecls -> CTranslUnit Source #

Export global declarations TODO: This does not export tags and type defs yet