Portability | ghc |
---|---|
Stability | prototype |
Maintainer | jwlato@gmail.com |
Safe Haskell | None |
WARNING : This is just an implementation sketch and not very well tested.
Export SemRep
entities to AST
nodes.
- exportDeclr :: [CDeclSpec] -> Type -> Attributes -> VarName -> ([CDeclSpec], CDeclr)
- 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]
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
exportTypeDecl :: Type -> CDeclSource
exportTypeSpec :: TypeName -> [CTypeSpec]Source
exportTypeDef :: TypeDef -> CDeclSource
exportCompType :: CompType -> [CTypeSpec]Source
exportCompTypeRef :: CompType -> [CTypeSpec]Source
exportEnumType :: EnumType -> [CTypeSpec]Source
exportEnumTypeRef :: EnumType -> [CTypeSpec]Source