Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
ShellCheck.Interface
Documentation
data SystemInterface m #
Constructors
SystemInterface | |
Fields
|
data CheckResult #
Instances
Show CheckResult # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> CheckResult -> ShowS show :: CheckResult -> String showList :: [CheckResult] -> ShowS | |
Eq CheckResult # | |
Defined in ShellCheck.Interface |
data ParseResult #
Instances
Show ParseResult # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ParseResult -> ShowS show :: ParseResult -> String showList :: [ParseResult] -> ShowS | |
Eq ParseResult # | |
Defined in ShellCheck.Interface |
data AnalysisSpec #
data AnalysisResult #
data FormatterOptions #
data ExecutionMode #
Instances
Show ExecutionMode # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ExecutionMode -> ShowS show :: ExecutionMode -> String showList :: [ExecutionMode] -> ShowS | |
Eq ExecutionMode # | |
Defined in ShellCheck.Interface |
type ErrorMessage = String #
Instances
Generic Severity # | |
Show Severity # | |
NFData Severity # | |
Defined in ShellCheck.Interface | |
Eq Severity # | |
Ord Severity # | |
Defined in ShellCheck.Interface | |
type Rep Severity # | |
Defined in ShellCheck.Interface type Rep Severity = D1 ('MetaData "Severity" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) ((C1 ('MetaCons "ErrorC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WarningC" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "InfoC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StyleC" 'PrefixI 'False) (U1 :: Type -> Type))) |
Instances
Generic Position # | |
Show Position # | |
NFData Position # | |
Defined in ShellCheck.Interface | |
Eq Position # | |
Ord Position # | |
Defined in ShellCheck.Interface | |
type Rep Position # | |
Defined in ShellCheck.Interface type Rep Position = D1 ('MetaData "Position" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "Position" 'PrefixI 'True) (S1 ('MetaSel ('Just "posFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "posLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "posColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))) |
Instances
Generic Comment # | |
Show Comment # | |
NFData Comment # | |
Defined in ShellCheck.Interface | |
Eq Comment # | |
type Rep Comment # | |
Defined in ShellCheck.Interface type Rep Comment = D1 ('MetaData "Comment" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "Comment" 'PrefixI 'True) (S1 ('MetaSel ('Just "cSeverity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Severity) :*: (S1 ('MetaSel ('Just "cCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Code) :*: S1 ('MetaSel ('Just "cMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) |
data PositionedComment #
Instances
data ColorOption #
Constructors
ColorAuto | |
ColorAlways | |
ColorNever |
Instances
Show ColorOption # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ColorOption -> ShowS show :: ColorOption -> String showList :: [ColorOption] -> ShowS | |
Eq ColorOption # | |
Defined in ShellCheck.Interface | |
Ord ColorOption # | |
Defined in ShellCheck.Interface Methods compare :: ColorOption -> ColorOption -> Ordering (<) :: ColorOption -> ColorOption -> Bool (<=) :: ColorOption -> ColorOption -> Bool (>) :: ColorOption -> ColorOption -> Bool (>=) :: ColorOption -> ColorOption -> Bool max :: ColorOption -> ColorOption -> ColorOption min :: ColorOption -> ColorOption -> ColorOption |
data TokenComment #
Instances
Generic TokenComment # | |
Defined in ShellCheck.Interface Associated Types type Rep TokenComment :: Type -> Type | |
Show TokenComment # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> TokenComment -> ShowS show :: TokenComment -> String showList :: [TokenComment] -> ShowS | |
NFData TokenComment # | |
Defined in ShellCheck.Interface Methods rnf :: TokenComment -> () | |
Eq TokenComment # | |
Defined in ShellCheck.Interface | |
type Rep TokenComment # | |
Defined in ShellCheck.Interface type Rep TokenComment = D1 ('MetaData "TokenComment" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "TokenComment" 'PrefixI 'True) (S1 ('MetaSel ('Just "tcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Id) :*: (S1 ('MetaSel ('Just "tcComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comment) :*: S1 ('MetaSel ('Just "tcFix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Fix))))) |
newAnalysisSpec :: Token -> AnalysisSpec #
newPosition :: Position #
mockedSystemInterface :: [(String, String)] -> SystemInterface Identity #
mockRcFile :: forall {m :: Type -> Type}. Monad m => String -> SystemInterface m -> SystemInterface m #
newComment :: Comment #
Instances
ToJSON Fix # | |
Defined in ShellCheck.Formatter.JSON1 | |
ToJSON Fix # | |
Defined in ShellCheck.Formatter.JSON | |
Monoid Fix | |
Semigroup Fix | |
Generic Fix # | |
Show Fix # | |
NFData Fix # | |
Defined in ShellCheck.Interface | |
Eq Fix # | |
type Rep Fix # | |
Defined in ShellCheck.Interface type Rep Fix = D1 ('MetaData "Fix" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "Fix" 'PrefixI 'True) (S1 ('MetaSel ('Just "fixReplacements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Replacement]))) |
data InsertionPoint #
Constructors
InsertBefore | |
InsertAfter |
Instances
Generic InsertionPoint # | |
Defined in ShellCheck.Interface Associated Types type Rep InsertionPoint :: Type -> Type | |
Show InsertionPoint # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> InsertionPoint -> ShowS show :: InsertionPoint -> String showList :: [InsertionPoint] -> ShowS | |
NFData InsertionPoint # | |
Defined in ShellCheck.Interface Methods rnf :: InsertionPoint -> () | |
Eq InsertionPoint # | |
Defined in ShellCheck.Interface Methods (==) :: InsertionPoint -> InsertionPoint -> Bool (/=) :: InsertionPoint -> InsertionPoint -> Bool | |
type Rep InsertionPoint # | |
Defined in ShellCheck.Interface type Rep InsertionPoint = D1 ('MetaData "InsertionPoint" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "InsertBefore" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertAfter" 'PrefixI 'False) (U1 :: Type -> Type)) |
data Replacement #
Instances
Ranged Replacement # | |
Defined in ShellCheck.Fixer Methods start :: Replacement -> Position # end :: Replacement -> Position # overlap :: Replacement -> Replacement -> Bool # setRange :: (Position, Position) -> Replacement -> Replacement # | |
ToJSON Replacement # | |
Defined in ShellCheck.Formatter.JSON1 Methods toJSON :: Replacement -> Value # toEncoding :: Replacement -> Encoding # toJSONList :: [Replacement] -> Value # toEncodingList :: [Replacement] -> Encoding # omitField :: Replacement -> Bool # | |
ToJSON Replacement # | |
Defined in ShellCheck.Formatter.JSON Methods toJSON :: Replacement -> Value # toEncoding :: Replacement -> Encoding # toJSONList :: [Replacement] -> Value # toEncodingList :: [Replacement] -> Encoding # omitField :: Replacement -> Bool # | |
Generic Replacement # | |
Defined in ShellCheck.Interface Associated Types type Rep Replacement :: Type -> Type | |
Show Replacement # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> Replacement -> ShowS show :: Replacement -> String showList :: [Replacement] -> ShowS | |
NFData Replacement # | |
Defined in ShellCheck.Interface Methods rnf :: Replacement -> () | |
Eq Replacement # | |
Defined in ShellCheck.Interface | |
type Rep Replacement # | |
Defined in ShellCheck.Interface type Rep Replacement = D1 ('MetaData "Replacement" "ShellCheck.Interface" "ShellCheck-0.9.0-6uCWLhcMZkq1cyTXpXjNXm" 'False) (C1 ('MetaCons "Replacement" 'PrefixI 'True) ((S1 ('MetaSel ('Just "repStartPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Position) :*: S1 ('MetaSel ('Just "repEndPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "repString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "repPrecedence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "repInsertionPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InsertionPoint))))) |
data CheckDescription #