Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Haskell.Brittany.Internal.Config.Types
Documentation
confUnpack :: Coercible a b => Identity a -> b Source #
data CDebugConfig f Source #
Constructors
DebugConfig | |
Fields
|
Instances
data CLayoutConfig f Source #
Constructors
LayoutConfig | |
Fields
|
Instances
data CForwardOptions f Source #
Constructors
ForwardOptions | |
Fields
|
Instances
data CErrorHandlingConfig f Source #
Constructors
ErrorHandlingConfig | |
Fields
|
Instances
data CPreProcessorConfig f Source #
Constructors
PreProcessorConfig | |
Fields
|
Instances
Constructors
Config | |
Fields
|
type DebugConfig = CDebugConfig Identity Source #
type LayoutConfig = CLayoutConfig Identity Source #
type ForwardOptions = CForwardOptions Identity Source #
data IndentPolicy Source #
Constructors
IndentPolicyLeft | |
IndentPolicyFree | |
IndentPolicyMultiple |
Instances
data AltChooser Source #
Instances
data ColumnAlignMode Source #
Constructors
ColumnAlignModeDisabled | Make no column alignments whatsoever |
ColumnAlignModeUnanimously | Make column alignments only if it does not cause overflow for any of the affected lines. |
ColumnAlignModeMajority Float | If at least (ratio::Float) of the aligned elements have sufficient space for the alignment, act like ColumnAlignModeAnimously; otherwise act like ColumnAlignModeDisabled. |
ColumnAlignModeAnimouslyScale Int | Scale back columns to some degree if their sum leads to overflow. This is done in a linear fashion. The Int specifies additional columns to be added to column maximum for scaling calculation purposes. |
ColumnAlignModeAnimously | Decide on a case-by-case basis if alignment would cause overflow. If it does, cancel all alignments for this (nested) column description. ColumnAlignModeAnimouslySome -- potentially to implement |
ColumnAlignModeAlways | Always respect column alignments, even if it makes stuff overflow. |
Instances
Constructors
CPPModeAbort | |
CPPModeWarn | |
CPPModeNowarn |