Safe Haskell | None |
---|---|
Language | Haskell98 |
ShellCheck.Interface
Documentation
data SystemInterface m Source #
Constructors
SystemInterface | |
Fields
|
data CheckResult Source #
Instances
Eq CheckResult Source # | |
Defined in ShellCheck.Interface | |
Show CheckResult Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> CheckResult -> ShowS show :: CheckResult -> String showList :: [CheckResult] -> ShowS |
data ParseResult Source #
Instances
Eq ParseResult Source # | |
Defined in ShellCheck.Interface | |
Show ParseResult Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ParseResult -> ShowS show :: ParseResult -> String showList :: [ParseResult] -> ShowS |
data AnalysisSpec Source #
data AnalysisResult Source #
data FormatterOptions Source #
data ExecutionMode Source #
Instances
Eq ExecutionMode Source # | |
Defined in ShellCheck.Interface | |
Show ExecutionMode Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ExecutionMode -> ShowS show :: ExecutionMode -> String showList :: [ExecutionMode] -> ShowS |
type ErrorMessage = String Source #
Instances
Eq Severity Source # | |
Ord Severity Source # | |
Defined in ShellCheck.Interface | |
Show Severity Source # | |
Generic Severity Source # | |
NFData Severity Source # | |
Defined in ShellCheck.Interface | |
type Rep Severity Source # | |
Defined in ShellCheck.Interface type Rep Severity = D1 (MetaData "Severity" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" 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
Eq Position Source # | |
Ord Position Source # | |
Defined in ShellCheck.Interface | |
Show Position Source # | |
Generic Position Source # | |
NFData Position Source # | |
Defined in ShellCheck.Interface | |
type Rep Position Source # | |
Defined in ShellCheck.Interface type Rep Position = D1 (MetaData "Position" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" 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
Eq Comment Source # | |
Show Comment Source # | |
Generic Comment Source # | |
NFData Comment Source # | |
Defined in ShellCheck.Interface | |
type Rep Comment Source # | |
Defined in ShellCheck.Interface type Rep Comment = D1 (MetaData "Comment" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" 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 Source #
Instances
Eq PositionedComment Source # | |
Defined in ShellCheck.Interface Methods (==) :: PositionedComment -> PositionedComment -> Bool (/=) :: PositionedComment -> PositionedComment -> Bool | |
Show PositionedComment Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> PositionedComment -> ShowS show :: PositionedComment -> String showList :: [PositionedComment] -> ShowS | |
Generic PositionedComment Source # | |
Defined in ShellCheck.Interface Associated Types type Rep PositionedComment :: Type -> Type Methods from :: PositionedComment -> Rep PositionedComment x to :: Rep PositionedComment x -> PositionedComment | |
NFData PositionedComment Source # | |
Defined in ShellCheck.Interface Methods rnf :: PositionedComment -> () | |
Ranged PositionedComment Source # | |
Defined in ShellCheck.Fixer Methods start :: PositionedComment -> Position Source # end :: PositionedComment -> Position Source # overlap :: PositionedComment -> PositionedComment -> Bool Source # setRange :: (Position, Position) -> PositionedComment -> PositionedComment Source # | |
ToJSON PositionedComment | |
Defined in ShellCheck.Formatter.JSON1 Methods toJSON :: PositionedComment -> Value toEncoding :: PositionedComment -> Encoding toJSONList :: [PositionedComment] -> Value toEncodingList :: [PositionedComment] -> Encoding | |
ToJSON PositionedComment | |
Defined in ShellCheck.Formatter.JSON Methods toJSON :: PositionedComment -> Value toEncoding :: PositionedComment -> Encoding toJSONList :: [PositionedComment] -> Value toEncodingList :: [PositionedComment] -> Encoding | |
type Rep PositionedComment Source # | |
Defined in ShellCheck.Interface type Rep PositionedComment = D1 (MetaData "PositionedComment" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" False) (C1 (MetaCons "PositionedComment" PrefixI True) ((S1 (MetaSel (Just "pcStartPos") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position) :*: S1 (MetaSel (Just "pcEndPos") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position)) :*: (S1 (MetaSel (Just "pcComment") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Comment) :*: S1 (MetaSel (Just "pcFix") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Fix))))) |
data ColorOption Source #
Constructors
ColorAuto | |
ColorAlways | |
ColorNever |
Instances
Eq ColorOption Source # | |
Defined in ShellCheck.Interface | |
Ord ColorOption Source # | |
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 | |
Show ColorOption Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ColorOption -> ShowS show :: ColorOption -> String showList :: [ColorOption] -> ShowS |
data TokenComment Source #
Instances
Eq TokenComment Source # | |
Defined in ShellCheck.Interface | |
Show TokenComment Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> TokenComment -> ShowS show :: TokenComment -> String showList :: [TokenComment] -> ShowS | |
Generic TokenComment Source # | |
Defined in ShellCheck.Interface Associated Types type Rep TokenComment :: Type -> Type | |
NFData TokenComment Source # | |
Defined in ShellCheck.Interface Methods rnf :: TokenComment -> () | |
type Rep TokenComment Source # | |
Defined in ShellCheck.Interface type Rep TokenComment = D1 (MetaData "TokenComment" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" 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 Source #
mockedSystemInterface :: [(String, String)] -> SystemInterface Identity Source #
mockRcFile :: Monad m => String -> SystemInterface m -> SystemInterface m Source #
newComment :: Comment Source #
Instances
Eq Fix Source # | |
Show Fix Source # | |
Generic Fix Source # | |
Semigroup Fix | |
Monoid Fix | |
NFData Fix Source # | |
Defined in ShellCheck.Interface | |
ToJSON Fix | |
Defined in ShellCheck.Formatter.JSON1 | |
ToJSON Fix | |
Defined in ShellCheck.Formatter.JSON | |
type Rep Fix Source # | |
Defined in ShellCheck.Interface type Rep Fix = D1 (MetaData "Fix" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" False) (C1 (MetaCons "Fix" PrefixI True) (S1 (MetaSel (Just "fixReplacements") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Replacement]))) |
data InsertionPoint Source #
Constructors
InsertBefore | |
InsertAfter |
Instances
Eq InsertionPoint Source # | |
Defined in ShellCheck.Interface Methods (==) :: InsertionPoint -> InsertionPoint -> Bool (/=) :: InsertionPoint -> InsertionPoint -> Bool | |
Show InsertionPoint Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> InsertionPoint -> ShowS show :: InsertionPoint -> String showList :: [InsertionPoint] -> ShowS | |
Generic InsertionPoint Source # | |
Defined in ShellCheck.Interface Associated Types type Rep InsertionPoint :: Type -> Type | |
NFData InsertionPoint Source # | |
Defined in ShellCheck.Interface Methods rnf :: InsertionPoint -> () | |
type Rep InsertionPoint Source # | |
Defined in ShellCheck.Interface type Rep InsertionPoint = D1 (MetaData "InsertionPoint" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" False) (C1 (MetaCons "InsertBefore" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "InsertAfter" PrefixI False) (U1 :: Type -> Type)) |
data Replacement Source #
Instances
Eq Replacement Source # | |
Defined in ShellCheck.Interface | |
Ord Replacement Source # | |
Defined in ShellCheck.Interface Methods compare :: Replacement -> Replacement -> Ordering (<) :: Replacement -> Replacement -> Bool (<=) :: Replacement -> Replacement -> Bool (>) :: Replacement -> Replacement -> Bool (>=) :: Replacement -> Replacement -> Bool max :: Replacement -> Replacement -> Replacement min :: Replacement -> Replacement -> Replacement | |
Show Replacement Source # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> Replacement -> ShowS show :: Replacement -> String showList :: [Replacement] -> ShowS | |
Generic Replacement Source # | |
Defined in ShellCheck.Interface Associated Types type Rep Replacement :: Type -> Type | |
NFData Replacement Source # | |
Defined in ShellCheck.Interface Methods rnf :: Replacement -> () | |
Ranged Replacement Source # | |
Defined in ShellCheck.Fixer Methods start :: Replacement -> Position Source # end :: Replacement -> Position Source # overlap :: Replacement -> Replacement -> Bool Source # setRange :: (Position, Position) -> Replacement -> Replacement Source # | |
ToJSON Replacement | |
Defined in ShellCheck.Formatter.JSON1 Methods toJSON :: Replacement -> Value toEncoding :: Replacement -> Encoding toJSONList :: [Replacement] -> Value toEncodingList :: [Replacement] -> Encoding | |
ToJSON Replacement | |
Defined in ShellCheck.Formatter.JSON Methods toJSON :: Replacement -> Value toEncoding :: Replacement -> Encoding toJSONList :: [Replacement] -> Value toEncodingList :: [Replacement] -> Encoding | |
type Rep Replacement Source # | |
Defined in ShellCheck.Interface type Rep Replacement = D1 (MetaData "Replacement" "ShellCheck.Interface" "ShellCheck-0.7.0-Hm2fexqoGfQ3ekoBYXe0OX" 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 Source #