Portability | ghc |
---|---|
Stability | experimental |
Maintainer | jwlato@gmail.com |
Safe Haskell | None |
Library for analysing and generating Objective-C code.
- parseCFile :: Preprocessor cpp => cpp -> Maybe FilePath -> [String] -> FilePath -> IO (Either ParseError CTranslUnit)
- parseCFilePre :: FilePath -> IO (Either ParseError CTranslUnit)
- module Language.ObjC.Data
- module Language.ObjC.Syntax
- module Language.ObjC.Pretty
- module Language.ObjC.Parser
Documentation
parseCFile :: Preprocessor cpp => cpp -> Maybe FilePath -> [String] -> FilePath -> IO (Either ParseError CTranslUnit)Source
preprocess (if necessary) and parse a C source file
Synopsis: parseCFile preprocesssor tmp-dir? cpp-opts file Example: parseCFile (newGCC "gcc") Nothing ["-I/usr/include/gtk-2.0"] my-gtk-exts.c
parseCFilePre :: FilePath -> IO (Either ParseError CTranslUnit)Source
parse an already preprocessed C file
Synopsis: parseCFilePre file.i
module Language.ObjC.Data
module Language.ObjC.Syntax
module Language.ObjC.Pretty
module Language.ObjC.Parser