| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Prolog.Programming.CodeAnalysis.Types
Contents
Synopsis
- newtype Problem = Problem {}
- type Context = [ProgramClause]
- type ClauseRule = ProgramClause -> [Problem]
- type ProgramRule = [ProgramClause] -> [Problem]
- data CodeAnalysisConfig = CodeAnalysisConfig {
- singletonVariables :: SingletonVariablesConfig
- cutUsage :: CutUsageConfig
- inconsistentArities :: InconsistentAritiesConfig
- ungroupedDefinitions :: UngroupedDefinitionsConfig
- recursion :: RecursionConfig
- forbiddenPredicates :: ForbiddenPredicatesConfig
- earlyRecursion :: EarlyRecursionConfig
- inlining :: InliningConfig
- symbolOverload :: SymbolOverloadConfig
- redundantCode :: RedundantCodeConfig
- type CodeAnalysisRuleConfig a = Maybe (WithSeverity a, CheckStage)
- newtype InliningConfig = InliningConfig (CodeAnalysisRuleConfig ())
- newtype SingletonVariablesConfig = SingletonVariablesConfig (CodeAnalysisRuleConfig ())
- newtype AdditionalMessage = AdditionalMessage {}
- newtype CutUsageConfig = CutUsageConfig (CodeAnalysisRuleConfig AdditionalMessage)
- newtype IgnoredPredicates = IgnoredPredicates {
- ignorePredicates :: [String]
- newtype InconsistentAritiesConfig = InconsistentAritiesConfig (CodeAnalysisRuleConfig IgnoredPredicates)
- newtype RecursionConfig = RecursionConfig (CodeAnalysisRuleConfig AdditionalMessage)
- newtype UngroupedDefinitionsConfig = UngroupedDefinitionsConfig (CodeAnalysisRuleConfig ())
- data Severity
- data WithSeverity a = WithSeverity {}
- newtype ForbiddenPredicatesConfig = ForbiddenPredicatesConfig {}
- newtype EarlyRecursionConfig = EarlyRecursionConfig (CodeAnalysisRuleConfig AdditionalMessage)
- newtype SymbolOverloadConfig = SymbolOverloadConfig (CodeAnalysisRuleConfig ())
- newtype RedundantCodeConfig = RedundantCodeConfig (CodeAnalysisRuleConfig TimeoutDivisor)
- data CheckStage
- newtype TimeoutDivisor = TimeoutDivisor {}
Documentation
Violation found in code
Constructors
| Problem | |
Fields
| |
type Context = [ProgramClause] Source #
type ClauseRule = ProgramClause -> [Problem] Source #
Definition for a code analysis checker that looks for violations in a given clause
type ProgramRule = [ProgramClause] -> [Problem] Source #
Definition for a code analysis checker that looks for violations in a given program
data CodeAnalysisConfig Source #
Configuration for code analysis checks
Constructors
| CodeAnalysisConfig | |
Fields
| |
Instances
type CodeAnalysisRuleConfig a = Maybe (WithSeverity a, CheckStage) Source #
newtype InliningConfig Source #
Constructors
| InliningConfig (CodeAnalysisRuleConfig ()) |
Instances
| FromJSON InliningConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser InliningConfig # parseJSONList :: Value -> Parser [InliningConfig] # | |||||
| Reader InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser InliningConfig # atomic_readerPrec :: Int -> Parser InliningConfig # reader :: Parser InliningConfig # readerPrec :: Int -> Parser InliningConfig # readerList :: Parser [InliningConfig] # | |||||
| ToDoc InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InliningConfig -> c InliningConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InliningConfig # toConstr :: InliningConfig -> Constr # dataTypeOf :: InliningConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InliningConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InliningConfig) # gmapT :: (forall b. Data b => b -> b) -> InliningConfig -> InliningConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InliningConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InliningConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> InliningConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InliningConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InliningConfig -> m InliningConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InliningConfig -> m InliningConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InliningConfig -> m InliningConfig # | |||||
| Generic InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: InliningConfig -> Rep InliningConfig x # to :: Rep InliningConfig x -> InliningConfig # | |||||
| Show InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> InliningConfig -> ShowS # show :: InliningConfig -> String # showList :: [InliningConfig] -> ShowS # | |||||
| type Rep InliningConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep InliningConfig = D1 ('MetaData "InliningConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "InliningConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig ())))) | |||||
newtype SingletonVariablesConfig Source #
Constructors
| SingletonVariablesConfig (CodeAnalysisRuleConfig ()) |
Instances
| FromJSON SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser SingletonVariablesConfig # parseJSONList :: Value -> Parser [SingletonVariablesConfig] # | |||||
| Reader SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> SingletonVariablesConfig -> Doc # toDocList :: [SingletonVariablesConfig] -> Doc # | |||||
| Data SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SingletonVariablesConfig -> c SingletonVariablesConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SingletonVariablesConfig # toConstr :: SingletonVariablesConfig -> Constr # dataTypeOf :: SingletonVariablesConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SingletonVariablesConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SingletonVariablesConfig) # gmapT :: (forall b. Data b => b -> b) -> SingletonVariablesConfig -> SingletonVariablesConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SingletonVariablesConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SingletonVariablesConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> SingletonVariablesConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SingletonVariablesConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SingletonVariablesConfig -> m SingletonVariablesConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SingletonVariablesConfig -> m SingletonVariablesConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SingletonVariablesConfig -> m SingletonVariablesConfig # | |||||
| Generic SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: SingletonVariablesConfig -> Rep SingletonVariablesConfig x # to :: Rep SingletonVariablesConfig x -> SingletonVariablesConfig # | |||||
| Show SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> SingletonVariablesConfig -> ShowS # show :: SingletonVariablesConfig -> String # showList :: [SingletonVariablesConfig] -> ShowS # | |||||
| type Rep SingletonVariablesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep SingletonVariablesConfig = D1 ('MetaData "SingletonVariablesConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "SingletonVariablesConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig ())))) | |||||
newtype AdditionalMessage Source #
Constructors
| AdditionalMessage | |
Fields | |
Instances
| FromJSON AdditionalMessage Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser AdditionalMessage # parseJSONList :: Value -> Parser [AdditionalMessage] # | |||||
| Reader AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser AdditionalMessage # atomic_readerPrec :: Int -> Parser AdditionalMessage # reader :: Parser AdditionalMessage # readerPrec :: Int -> Parser AdditionalMessage # | |||||
| ToDoc AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdditionalMessage -> c AdditionalMessage # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdditionalMessage # toConstr :: AdditionalMessage -> Constr # dataTypeOf :: AdditionalMessage -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdditionalMessage) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdditionalMessage) # gmapT :: (forall b. Data b => b -> b) -> AdditionalMessage -> AdditionalMessage # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdditionalMessage -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdditionalMessage -> r # gmapQ :: (forall d. Data d => d -> u) -> AdditionalMessage -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> AdditionalMessage -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdditionalMessage -> m AdditionalMessage # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdditionalMessage -> m AdditionalMessage # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdditionalMessage -> m AdditionalMessage # | |||||
| Generic AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: AdditionalMessage -> Rep AdditionalMessage x # to :: Rep AdditionalMessage x -> AdditionalMessage # | |||||
| Show AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> AdditionalMessage -> ShowS # show :: AdditionalMessage -> String # showList :: [AdditionalMessage] -> ShowS # | |||||
| type Rep AdditionalMessage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep AdditionalMessage = D1 ('MetaData "AdditionalMessage" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "AdditionalMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "additionalMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) | |||||
newtype CutUsageConfig Source #
Constructors
| CutUsageConfig (CodeAnalysisRuleConfig AdditionalMessage) |
Instances
| FromJSON CutUsageConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser CutUsageConfig # parseJSONList :: Value -> Parser [CutUsageConfig] # | |||||
| Reader CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser CutUsageConfig # atomic_readerPrec :: Int -> Parser CutUsageConfig # reader :: Parser CutUsageConfig # readerPrec :: Int -> Parser CutUsageConfig # readerList :: Parser [CutUsageConfig] # | |||||
| ToDoc CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CutUsageConfig -> c CutUsageConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CutUsageConfig # toConstr :: CutUsageConfig -> Constr # dataTypeOf :: CutUsageConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CutUsageConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CutUsageConfig) # gmapT :: (forall b. Data b => b -> b) -> CutUsageConfig -> CutUsageConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CutUsageConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CutUsageConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> CutUsageConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CutUsageConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CutUsageConfig -> m CutUsageConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CutUsageConfig -> m CutUsageConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CutUsageConfig -> m CutUsageConfig # | |||||
| Generic CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: CutUsageConfig -> Rep CutUsageConfig x # to :: Rep CutUsageConfig x -> CutUsageConfig # | |||||
| Show CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> CutUsageConfig -> ShowS # show :: CutUsageConfig -> String # showList :: [CutUsageConfig] -> ShowS # | |||||
| type Rep CutUsageConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep CutUsageConfig = D1 ('MetaData "CutUsageConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "CutUsageConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig AdditionalMessage)))) | |||||
newtype IgnoredPredicates Source #
Constructors
| IgnoredPredicates | |
Fields
| |
Instances
| FromJSON IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser IgnoredPredicates # parseJSONList :: Value -> Parser [IgnoredPredicates] # | |||||
| Reader IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser IgnoredPredicates # atomic_readerPrec :: Int -> Parser IgnoredPredicates # reader :: Parser IgnoredPredicates # readerPrec :: Int -> Parser IgnoredPredicates # | |||||
| ToDoc IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IgnoredPredicates -> c IgnoredPredicates # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IgnoredPredicates # toConstr :: IgnoredPredicates -> Constr # dataTypeOf :: IgnoredPredicates -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IgnoredPredicates) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IgnoredPredicates) # gmapT :: (forall b. Data b => b -> b) -> IgnoredPredicates -> IgnoredPredicates # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IgnoredPredicates -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IgnoredPredicates -> r # gmapQ :: (forall d. Data d => d -> u) -> IgnoredPredicates -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IgnoredPredicates -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IgnoredPredicates -> m IgnoredPredicates # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IgnoredPredicates -> m IgnoredPredicates # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IgnoredPredicates -> m IgnoredPredicates # | |||||
| Generic IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: IgnoredPredicates -> Rep IgnoredPredicates x # to :: Rep IgnoredPredicates x -> IgnoredPredicates # | |||||
| Show IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> IgnoredPredicates -> ShowS # show :: IgnoredPredicates -> String # showList :: [IgnoredPredicates] -> ShowS # | |||||
| type Rep IgnoredPredicates Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep IgnoredPredicates = D1 ('MetaData "IgnoredPredicates" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "IgnoredPredicates" 'PrefixI 'True) (S1 ('MetaSel ('Just "ignorePredicates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) | |||||
newtype InconsistentAritiesConfig Source #
Constructors
| InconsistentAritiesConfig (CodeAnalysisRuleConfig IgnoredPredicates) |
Instances
| FromJSON InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser InconsistentAritiesConfig # parseJSONList :: Value -> Parser [InconsistentAritiesConfig] # | |||||
| Reader InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> InconsistentAritiesConfig -> Doc # toDocList :: [InconsistentAritiesConfig] -> Doc # | |||||
| Data InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InconsistentAritiesConfig -> c InconsistentAritiesConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InconsistentAritiesConfig # toConstr :: InconsistentAritiesConfig -> Constr # dataTypeOf :: InconsistentAritiesConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c InconsistentAritiesConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InconsistentAritiesConfig) # gmapT :: (forall b. Data b => b -> b) -> InconsistentAritiesConfig -> InconsistentAritiesConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InconsistentAritiesConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InconsistentAritiesConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> InconsistentAritiesConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> InconsistentAritiesConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> InconsistentAritiesConfig -> m InconsistentAritiesConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InconsistentAritiesConfig -> m InconsistentAritiesConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InconsistentAritiesConfig -> m InconsistentAritiesConfig # | |||||
| Generic InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: InconsistentAritiesConfig -> Rep InconsistentAritiesConfig x # to :: Rep InconsistentAritiesConfig x -> InconsistentAritiesConfig # | |||||
| Show InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> InconsistentAritiesConfig -> ShowS # show :: InconsistentAritiesConfig -> String # showList :: [InconsistentAritiesConfig] -> ShowS # | |||||
| type Rep InconsistentAritiesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep InconsistentAritiesConfig = D1 ('MetaData "InconsistentAritiesConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "InconsistentAritiesConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig IgnoredPredicates)))) | |||||
newtype RecursionConfig Source #
Constructors
| RecursionConfig (CodeAnalysisRuleConfig AdditionalMessage) |
Instances
| FromJSON RecursionConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser RecursionConfig # parseJSONList :: Value -> Parser [RecursionConfig] # | |||||
| Reader RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser RecursionConfig # atomic_readerPrec :: Int -> Parser RecursionConfig # reader :: Parser RecursionConfig # readerPrec :: Int -> Parser RecursionConfig # readerList :: Parser [RecursionConfig] # | |||||
| ToDoc RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RecursionConfig -> c RecursionConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RecursionConfig # toConstr :: RecursionConfig -> Constr # dataTypeOf :: RecursionConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RecursionConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RecursionConfig) # gmapT :: (forall b. Data b => b -> b) -> RecursionConfig -> RecursionConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RecursionConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RecursionConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> RecursionConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RecursionConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RecursionConfig -> m RecursionConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RecursionConfig -> m RecursionConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RecursionConfig -> m RecursionConfig # | |||||
| Generic RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: RecursionConfig -> Rep RecursionConfig x # to :: Rep RecursionConfig x -> RecursionConfig # | |||||
| Show RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> RecursionConfig -> ShowS # show :: RecursionConfig -> String # showList :: [RecursionConfig] -> ShowS # | |||||
| type Rep RecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep RecursionConfig = D1 ('MetaData "RecursionConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "RecursionConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig AdditionalMessage)))) | |||||
newtype UngroupedDefinitionsConfig Source #
Constructors
| UngroupedDefinitionsConfig (CodeAnalysisRuleConfig ()) |
Instances
| FromJSON UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.Parser | |||||
| Reader UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> UngroupedDefinitionsConfig -> Doc # toDocList :: [UngroupedDefinitionsConfig] -> Doc # | |||||
| Data UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UngroupedDefinitionsConfig -> c UngroupedDefinitionsConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UngroupedDefinitionsConfig # toConstr :: UngroupedDefinitionsConfig -> Constr # dataTypeOf :: UngroupedDefinitionsConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UngroupedDefinitionsConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UngroupedDefinitionsConfig) # gmapT :: (forall b. Data b => b -> b) -> UngroupedDefinitionsConfig -> UngroupedDefinitionsConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UngroupedDefinitionsConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UngroupedDefinitionsConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> UngroupedDefinitionsConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> UngroupedDefinitionsConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> UngroupedDefinitionsConfig -> m UngroupedDefinitionsConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UngroupedDefinitionsConfig -> m UngroupedDefinitionsConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UngroupedDefinitionsConfig -> m UngroupedDefinitionsConfig # | |||||
| Generic UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: UngroupedDefinitionsConfig -> Rep UngroupedDefinitionsConfig x # to :: Rep UngroupedDefinitionsConfig x -> UngroupedDefinitionsConfig # | |||||
| Show UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> UngroupedDefinitionsConfig -> ShowS # show :: UngroupedDefinitionsConfig -> String # showList :: [UngroupedDefinitionsConfig] -> ShowS # | |||||
| type Rep UngroupedDefinitionsConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep UngroupedDefinitionsConfig = D1 ('MetaData "UngroupedDefinitionsConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "UngroupedDefinitionsConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig ())))) | |||||
Classification for seriousness of violation
The differentiation between Hint and Warn is of personal taste.
Constructors
| Hint | Minor violation of standard code conventions Example violation: redundant braces |
| Warn | Moderate violation of standard code conventions Example violation: working at the end of a list even though it is not necessary |
| Error | Severe violation of standard code conventions or task restrictions Example violation: cut operator was used even though the use of it was forbidden |
Instances
| Reader Severity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc Severity Source # | |||||
| Data Severity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Severity -> c Severity # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Severity # toConstr :: Severity -> Constr # dataTypeOf :: Severity -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Severity) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Severity) # gmapT :: (forall b. Data b => b -> b) -> Severity -> Severity # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Severity -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Severity -> r # gmapQ :: (forall d. Data d => d -> u) -> Severity -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Severity -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Severity -> m Severity # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Severity -> m Severity # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Severity -> m Severity # | |||||
| Generic Severity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
| |||||
| Show Severity Source # | |||||
| Eq Severity Source # | |||||
| type Rep Severity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep Severity = D1 ('MetaData "Severity" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "Hint" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Warn" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data WithSeverity a Source #
Container for values with attached severity
Constructors
| WithSeverity | |
Instances
| Functor WithSeverity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods fmap :: (a -> b) -> WithSeverity a -> WithSeverity b # (<$) :: a -> WithSeverity b -> WithSeverity a # | |||||
| Foldable WithSeverity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods fold :: Monoid m => WithSeverity m -> m # foldMap :: Monoid m => (a -> m) -> WithSeverity a -> m # foldMap' :: Monoid m => (a -> m) -> WithSeverity a -> m # foldr :: (a -> b -> b) -> b -> WithSeverity a -> b # foldr' :: (a -> b -> b) -> b -> WithSeverity a -> b # foldl :: (b -> a -> b) -> b -> WithSeverity a -> b # foldl' :: (b -> a -> b) -> b -> WithSeverity a -> b # foldr1 :: (a -> a -> a) -> WithSeverity a -> a # foldl1 :: (a -> a -> a) -> WithSeverity a -> a # toList :: WithSeverity a -> [a] # null :: WithSeverity a -> Bool # length :: WithSeverity a -> Int # elem :: Eq a => a -> WithSeverity a -> Bool # maximum :: Ord a => WithSeverity a -> a # minimum :: Ord a => WithSeverity a -> a # sum :: Num a => WithSeverity a -> a # product :: Num a => WithSeverity a -> a # | |||||
| Traversable WithSeverity Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods traverse :: Applicative f => (a -> f b) -> WithSeverity a -> f (WithSeverity b) # sequenceA :: Applicative f => WithSeverity (f a) -> f (WithSeverity a) # mapM :: Monad m => (a -> m b) -> WithSeverity a -> m (WithSeverity b) # sequence :: Monad m => WithSeverity (m a) -> m (WithSeverity a) # | |||||
| Reader a => Reader (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser (WithSeverity a) # atomic_readerPrec :: Int -> Parser (WithSeverity a) # reader :: Parser (WithSeverity a) # readerPrec :: Int -> Parser (WithSeverity a) # readerList :: Parser [WithSeverity a] # | |||||
| ToDoc a => ToDoc (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data a => Data (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WithSeverity a -> c (WithSeverity a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (WithSeverity a) # toConstr :: WithSeverity a -> Constr # dataTypeOf :: WithSeverity a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (WithSeverity a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (WithSeverity a)) # gmapT :: (forall b. Data b => b -> b) -> WithSeverity a -> WithSeverity a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WithSeverity a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WithSeverity a -> r # gmapQ :: (forall d. Data d => d -> u) -> WithSeverity a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> WithSeverity a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> WithSeverity a -> m (WithSeverity a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WithSeverity a -> m (WithSeverity a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WithSeverity a -> m (WithSeverity a) # | |||||
| Generic (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: WithSeverity a -> Rep (WithSeverity a) x # to :: Rep (WithSeverity a) x -> WithSeverity a # | |||||
| Show a => Show (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> WithSeverity a -> ShowS # show :: WithSeverity a -> String # showList :: [WithSeverity a] -> ShowS # | |||||
| Eq a => Eq (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods (==) :: WithSeverity a -> WithSeverity a -> Bool # (/=) :: WithSeverity a -> WithSeverity a -> Bool # | |||||
| type Rep (WithSeverity a) Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep (WithSeverity a) = D1 ('MetaData "WithSeverity" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'False) (C1 ('MetaCons "WithSeverity" 'PrefixI 'True) (S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Severity) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))) | |||||
newtype ForbiddenPredicatesConfig Source #
Constructors
| ForbiddenPredicatesConfig | |
Fields | |
Instances
| FromJSON ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser ForbiddenPredicatesConfig # parseJSONList :: Value -> Parser [ForbiddenPredicatesConfig] # | |||||
| Reader ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> ForbiddenPredicatesConfig -> Doc # toDocList :: [ForbiddenPredicatesConfig] -> Doc # | |||||
| Data ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForbiddenPredicatesConfig -> c ForbiddenPredicatesConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForbiddenPredicatesConfig # toConstr :: ForbiddenPredicatesConfig -> Constr # dataTypeOf :: ForbiddenPredicatesConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ForbiddenPredicatesConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForbiddenPredicatesConfig) # gmapT :: (forall b. Data b => b -> b) -> ForbiddenPredicatesConfig -> ForbiddenPredicatesConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForbiddenPredicatesConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForbiddenPredicatesConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> ForbiddenPredicatesConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ForbiddenPredicatesConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForbiddenPredicatesConfig -> m ForbiddenPredicatesConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForbiddenPredicatesConfig -> m ForbiddenPredicatesConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForbiddenPredicatesConfig -> m ForbiddenPredicatesConfig # | |||||
| Generic ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: ForbiddenPredicatesConfig -> Rep ForbiddenPredicatesConfig x # to :: Rep ForbiddenPredicatesConfig x -> ForbiddenPredicatesConfig # | |||||
| Show ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> ForbiddenPredicatesConfig -> ShowS # show :: ForbiddenPredicatesConfig -> String # showList :: [ForbiddenPredicatesConfig] -> ShowS # | |||||
| type Rep ForbiddenPredicatesConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep ForbiddenPredicatesConfig = D1 ('MetaData "ForbiddenPredicatesConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "ForbiddenPredicatesConfig" 'PrefixI 'True) (S1 ('MetaSel ('Just "forbiddenPredicateSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Signature)))) | |||||
newtype EarlyRecursionConfig Source #
Constructors
| EarlyRecursionConfig (CodeAnalysisRuleConfig AdditionalMessage) |
Instances
| FromJSON EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser EarlyRecursionConfig # parseJSONList :: Value -> Parser [EarlyRecursionConfig] # | |||||
| Reader EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> EarlyRecursionConfig -> Doc # toDocList :: [EarlyRecursionConfig] -> Doc # | |||||
| Data EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EarlyRecursionConfig -> c EarlyRecursionConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EarlyRecursionConfig # toConstr :: EarlyRecursionConfig -> Constr # dataTypeOf :: EarlyRecursionConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EarlyRecursionConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EarlyRecursionConfig) # gmapT :: (forall b. Data b => b -> b) -> EarlyRecursionConfig -> EarlyRecursionConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EarlyRecursionConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EarlyRecursionConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> EarlyRecursionConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> EarlyRecursionConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EarlyRecursionConfig -> m EarlyRecursionConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EarlyRecursionConfig -> m EarlyRecursionConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EarlyRecursionConfig -> m EarlyRecursionConfig # | |||||
| Generic EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: EarlyRecursionConfig -> Rep EarlyRecursionConfig x # to :: Rep EarlyRecursionConfig x -> EarlyRecursionConfig # | |||||
| Show EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> EarlyRecursionConfig -> ShowS # show :: EarlyRecursionConfig -> String # showList :: [EarlyRecursionConfig] -> ShowS # | |||||
| type Rep EarlyRecursionConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep EarlyRecursionConfig = D1 ('MetaData "EarlyRecursionConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "EarlyRecursionConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig AdditionalMessage)))) | |||||
newtype SymbolOverloadConfig Source #
Constructors
| SymbolOverloadConfig (CodeAnalysisRuleConfig ()) |
Instances
| FromJSON SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser SymbolOverloadConfig # parseJSONList :: Value -> Parser [SymbolOverloadConfig] # | |||||
| Reader SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods toDocPrec :: Int -> SymbolOverloadConfig -> Doc # toDocList :: [SymbolOverloadConfig] -> Doc # | |||||
| Data SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SymbolOverloadConfig -> c SymbolOverloadConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SymbolOverloadConfig # toConstr :: SymbolOverloadConfig -> Constr # dataTypeOf :: SymbolOverloadConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SymbolOverloadConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SymbolOverloadConfig) # gmapT :: (forall b. Data b => b -> b) -> SymbolOverloadConfig -> SymbolOverloadConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SymbolOverloadConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SymbolOverloadConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> SymbolOverloadConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SymbolOverloadConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SymbolOverloadConfig -> m SymbolOverloadConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolOverloadConfig -> m SymbolOverloadConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SymbolOverloadConfig -> m SymbolOverloadConfig # | |||||
| Generic SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: SymbolOverloadConfig -> Rep SymbolOverloadConfig x # to :: Rep SymbolOverloadConfig x -> SymbolOverloadConfig # | |||||
| Show SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> SymbolOverloadConfig -> ShowS # show :: SymbolOverloadConfig -> String # showList :: [SymbolOverloadConfig] -> ShowS # | |||||
| type Rep SymbolOverloadConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep SymbolOverloadConfig = D1 ('MetaData "SymbolOverloadConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "SymbolOverloadConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig ())))) | |||||
newtype RedundantCodeConfig Source #
Constructors
| RedundantCodeConfig (CodeAnalysisRuleConfig TimeoutDivisor) |
Instances
| FromJSON RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser RedundantCodeConfig # parseJSONList :: Value -> Parser [RedundantCodeConfig] # | |||||
| Reader RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| ToDoc RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RedundantCodeConfig -> c RedundantCodeConfig # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RedundantCodeConfig # toConstr :: RedundantCodeConfig -> Constr # dataTypeOf :: RedundantCodeConfig -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RedundantCodeConfig) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RedundantCodeConfig) # gmapT :: (forall b. Data b => b -> b) -> RedundantCodeConfig -> RedundantCodeConfig # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RedundantCodeConfig -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RedundantCodeConfig -> r # gmapQ :: (forall d. Data d => d -> u) -> RedundantCodeConfig -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RedundantCodeConfig -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RedundantCodeConfig -> m RedundantCodeConfig # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RedundantCodeConfig -> m RedundantCodeConfig # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RedundantCodeConfig -> m RedundantCodeConfig # | |||||
| Generic RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: RedundantCodeConfig -> Rep RedundantCodeConfig x # to :: Rep RedundantCodeConfig x -> RedundantCodeConfig # | |||||
| Show RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> RedundantCodeConfig -> ShowS # show :: RedundantCodeConfig -> String # showList :: [RedundantCodeConfig] -> ShowS # | |||||
| type Rep RedundantCodeConfig Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep RedundantCodeConfig = D1 ('MetaData "RedundantCodeConfig" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "RedundantCodeConfig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (CodeAnalysisRuleConfig TimeoutDivisor)))) | |||||
data CheckStage Source #
Constructors
| BeforeTests | |
| AfterTests |
Instances
| Reader CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser CheckStage # atomic_readerPrec :: Int -> Parser CheckStage # reader :: Parser CheckStage # readerPrec :: Int -> Parser CheckStage # readerList :: Parser [CheckStage] # | |||||
| ToDoc CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CheckStage -> c CheckStage # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CheckStage # toConstr :: CheckStage -> Constr # dataTypeOf :: CheckStage -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CheckStage) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CheckStage) # gmapT :: (forall b. Data b => b -> b) -> CheckStage -> CheckStage # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CheckStage -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CheckStage -> r # gmapQ :: (forall d. Data d => d -> u) -> CheckStage -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CheckStage -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CheckStage -> m CheckStage # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckStage -> m CheckStage # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CheckStage -> m CheckStage # | |||||
| Generic CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
| |||||
| Show CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> CheckStage -> ShowS # show :: CheckStage -> String # showList :: [CheckStage] -> ShowS # | |||||
| Eq CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| type Rep CheckStage Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
newtype TimeoutDivisor Source #
Constructors
| TimeoutDivisor | |
Fields | |
Instances
| FromJSON TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.Parser Methods parseJSON :: Value -> Parser TimeoutDivisor # parseJSONList :: Value -> Parser [TimeoutDivisor] # | |||||
| Reader TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods atomic_reader :: Parser TimeoutDivisor # atomic_readerPrec :: Int -> Parser TimeoutDivisor # reader :: Parser TimeoutDivisor # readerPrec :: Int -> Parser TimeoutDivisor # readerList :: Parser [TimeoutDivisor] # | |||||
| ToDoc TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types | |||||
| Data TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeoutDivisor -> c TimeoutDivisor # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeoutDivisor # toConstr :: TimeoutDivisor -> Constr # dataTypeOf :: TimeoutDivisor -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeoutDivisor) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeoutDivisor) # gmapT :: (forall b. Data b => b -> b) -> TimeoutDivisor -> TimeoutDivisor # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeoutDivisor -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeoutDivisor -> r # gmapQ :: (forall d. Data d => d -> u) -> TimeoutDivisor -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeoutDivisor -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeoutDivisor -> m TimeoutDivisor # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeoutDivisor -> m TimeoutDivisor # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeoutDivisor -> m TimeoutDivisor # | |||||
| Generic TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Associated Types
Methods from :: TimeoutDivisor -> Rep TimeoutDivisor x # to :: Rep TimeoutDivisor x -> TimeoutDivisor # | |||||
| Show TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types Methods showsPrec :: Int -> TimeoutDivisor -> ShowS # show :: TimeoutDivisor -> String # showList :: [TimeoutDivisor] -> ShowS # | |||||
| type Rep TimeoutDivisor Source # | |||||
Defined in Prolog.Programming.CodeAnalysis.Types type Rep TimeoutDivisor = D1 ('MetaData "TimeoutDivisor" "Prolog.Programming.CodeAnalysis.Types" "prolog-programming-task-0.1.0.0-7IUtSVNNcc2AE96f0GC5ls" 'True) (C1 ('MetaCons "TimeoutDivisor" 'PrefixI 'True) (S1 ('MetaSel ('Just "timeoutDivisor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) | |||||