Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Haskell.Brittany.Internal.Config.Types
Documentation
data ExactPrintFallbackMode Source #
Instances
Constructors
CPPModeAbort | |
CPPModeWarn | |
CPPModeNowarn |
Instances
Data CPPMode Source # | |
Defined in Language.Haskell.Brittany.Internal.Config.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CPPMode -> c CPPMode # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CPPMode # toConstr :: CPPMode -> Constr # dataTypeOf :: CPPMode -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CPPMode) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CPPMode) # gmapT :: (forall b. Data b => b -> b) -> CPPMode -> CPPMode # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CPPMode -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CPPMode -> r # gmapQ :: (forall d. Data d => d -> u) -> CPPMode -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CPPMode -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CPPMode -> m CPPMode # | |
Show CPPMode Source # | |
Generic CPPMode Source # | |
ToJSON CPPMode Source # | |
FromJSON CPPMode Source # | |
type Rep CPPMode Source # | |
Defined in Language.Haskell.Brittany.Internal.Config.Types type Rep CPPMode = D1 (MetaData "CPPMode" "Language.Haskell.Brittany.Internal.Config.Types" "brittany-0.12.1.0-ImBEDphDotd84xWtvjQCK1" False) (C1 (MetaCons "CPPModeAbort" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "CPPModeWarn" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CPPModeNowarn" PrefixI False) (U1 :: Type -> Type))) |
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
data AltChooser Source #
Instances
data IndentPolicy Source #
Constructors
IndentPolicyLeft | |
IndentPolicyFree | |
IndentPolicyMultiple |
Instances
type ForwardOptions = CForwardOptions Identity Source #
type LayoutConfig = CLayoutConfig Identity Source #
type DebugConfig = CDebugConfig Identity Source #
Constructors
Config | |
Fields
|
Instances
data CPreProcessorConfig f Source #
Constructors
PreProcessorConfig | |
Fields
|
Instances
data CErrorHandlingConfig f Source #
Constructors
ErrorHandlingConfig | |
Fields
|
Instances
data CForwardOptions f Source #
Constructors
ForwardOptions | |
Fields
|
Instances
data CLayoutConfig f Source #
Constructors
Instances
data CDebugConfig f Source #
Constructors
DebugConfig | |
Fields
|
Instances
confUnpack :: Coercible a b => Identity a -> b Source #