| Copyright | 2006 Malcolm Wallace |
|---|---|
| License | LGPL |
| Maintainer | Malcolm Wallace <Malcolm.Wallace@cs.york.ac.uk> |
| Stability | experimental |
| Portability | All |
| Safe Haskell | Safe-Inferred |
| Language | Haskell98 |
Language.Preprocessor.Cpphs.Options
Description
This module deals with Cpphs options and parsing them
Synopsis
- data CpphsOptions = CpphsOptions {
- infiles :: [FilePath]
- outfiles :: [FilePath]
- defines :: [(String, String)]
- includes :: [String]
- preInclude :: [FilePath]
- boolopts :: BoolOptions
- data BoolOptions = BoolOptions {}
- parseOptions :: [String] -> Either String CpphsOptions
- defaultCpphsOptions :: CpphsOptions
- defaultBoolOptions :: BoolOptions
- trailing :: Eq a => [a] -> [a] -> [a]
Documentation
data CpphsOptions #
Cpphs options structure.
Constructors
| CpphsOptions | |
Fields
| |
Instances
| Show CpphsOptions # | |
Defined in Language.Preprocessor.Cpphs.Options Methods showsPrec :: Int -> CpphsOptions -> ShowS show :: CpphsOptions -> String showList :: [CpphsOptions] -> ShowS | |
data BoolOptions #
Options representable as Booleans.
Constructors
| BoolOptions | |
Fields
| |
Instances
| Show BoolOptions # | |
Defined in Language.Preprocessor.Cpphs.Options Methods showsPrec :: Int -> BoolOptions -> ShowS show :: BoolOptions -> String showList :: [BoolOptions] -> ShowS | |
parseOptions :: [String] -> Either String CpphsOptions #
Parse all command-line options.
defaultCpphsOptions :: CpphsOptions #
Default options.
defaultBoolOptions :: BoolOptions #
Default settings of boolean options.