Moduleghc-9.10.3GHC2021
GHC.Driver.CmdLine
Command-line parser
This is an abstract command-line parser used by DynFlags.
(c) The University of Glasgow 2005
- 6 types
- 16 values
- Packageghc-9.10.3
- Exports22
- LanguageGHC2021
- LicenceBSD-3-Clause
- SourceCmdLine.hs
Parse a response file into arguments.
Constructors
NoArg (EwM m ())HasArg (String -> EwM m ())SepArg (String -> EwM m ())Prefix (String -> EwM m ())OptPrefix (String -> EwM m ())OptIntSuffix (Maybe Int -> EwM m ())IntSuffix (Int -> EwM m ())Word64Suffix (Word64 -> EwM m ())FloatSuffix (Float -> EwM m ())PassFlag (String -> EwM m ())AnySuffix (String -> EwM m ())
GHC flag modes describing when a flag has an effect.
Constructors
OnlyGhcThe flag only affects the non-interactive GHC
OnlyGhciThe flag only affects the interactive GHC
AllModesThe flag affects multiple ghc modes
HiddenFlagThis flag should not be seen in cli completion
Constructors
A command-line warning message and the reason it arose
This used to be own type, but now it's just MsgEnvelope DriverMessage.