language-c-0.9.4: Analysis and generation of C code
Copyright(c) 2008 Benedikt Huber
LicenseBSD-style
Maintainerbenedikt.huber@gmail.com
Stabilityprototype
Portabilityghc
Safe HaskellSafe-Inferred
LanguageHaskell2010

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