| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
ShellCheck.Interface
Documentation
data SystemInterface m #
Constructors
| SystemInterface | |
Fields
| |
Instances
data CheckResult #
Instances
| Eq CheckResult # | |
Defined in ShellCheck.Interface | |
| Show CheckResult # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> CheckResult -> ShowS # show :: CheckResult -> String # showList :: [CheckResult] -> ShowS # | |
Instances
data ParseResult #
Instances
| Eq ParseResult # | |
Defined in ShellCheck.Interface | |
| Show ParseResult # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ParseResult -> ShowS # show :: ParseResult -> String # showList :: [ParseResult] -> ShowS # | |
data AnalysisSpec #
data AnalysisResult #
data FormatterOptions #
data ExecutionMode #
Instances
| Eq ExecutionMode # | |
Defined in ShellCheck.Interface Methods (==) :: ExecutionMode -> ExecutionMode -> Bool # (/=) :: ExecutionMode -> ExecutionMode -> Bool # | |
| Show ExecutionMode # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ExecutionMode -> ShowS # show :: ExecutionMode -> String # showList :: [ExecutionMode] -> ShowS # | |
type ErrorMessage = String #
Instances
| Eq Severity # | |
| Ord Severity # | |
Defined in ShellCheck.Interface | |
| Show Severity # | |
| Generic Severity # | |
| NFData Severity # | |
Defined in ShellCheck.Interface | |
| type Rep Severity # | |
Defined in ShellCheck.Interface type Rep Severity = D1 ('MetaData "Severity" "ShellCheck.Interface" "ShellCheck-0.11.0-Dy6m6fjjH0rDZfn8PWazNc" '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 # | |
| Ord Position # | |
Defined in ShellCheck.Interface | |
| Show Position # | |
| Generic Position # | |
| NFData Position # | |
Defined in ShellCheck.Interface | |
| type Rep Position # | |
Defined in ShellCheck.Interface type Rep Position = D1 ('MetaData "Position" "ShellCheck.Interface" "ShellCheck-0.11.0-Dy6m6fjjH0rDZfn8PWazNc" '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 # | |
| Show Comment # | |
| Generic Comment # | |
| NFData Comment # | |
Defined in ShellCheck.Interface | |
| type Rep Comment # | |
Defined in ShellCheck.Interface type Rep Comment = D1 ('MetaData "Comment" "ShellCheck.Interface" "ShellCheck-0.11.0-Dy6m6fjjH0rDZfn8PWazNc" '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
| 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 # | |
| Show ColorOption # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> ColorOption -> ShowS # show :: ColorOption -> String # showList :: [ColorOption] -> ShowS # | |
data TokenComment #
Instances
| Eq TokenComment # | |
Defined in ShellCheck.Interface | |
| Show TokenComment # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> TokenComment -> ShowS # show :: TokenComment -> String # showList :: [TokenComment] -> ShowS # | |
| Generic TokenComment # | |
Defined in ShellCheck.Interface Associated Types type Rep TokenComment :: Type -> Type # | |
| NFData TokenComment # | |
Defined in ShellCheck.Interface Methods rnf :: TokenComment -> () # | |
| type Rep TokenComment # | |
Defined in ShellCheck.Interface type Rep TokenComment = D1 ('MetaData "TokenComment" "ShellCheck.Interface" "ShellCheck-0.11.0-Dy6m6fjjH0rDZfn8PWazNc" '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 #
newSystemInterface :: Monad m => SystemInterface m #
mockedSystemInterface :: [(String, String)] -> SystemInterface Identity #
mockRcFile :: forall (m :: Type -> Type). Monad m => String -> SystemInterface m -> SystemInterface m #
newComment :: Comment #
Instances
| Eq Fix # | |
| Show Fix # | |
| Generic Fix # | |
| Semigroup Fix # | |
| Monoid Fix # | |
| ToJSON Fix # | |
Defined in ShellCheck.Formatter.JSON1 | |
| ToJSON Fix # | |
Defined in ShellCheck.Formatter.JSON | |
| NFData Fix # | |
Defined in ShellCheck.Interface | |
| type Rep Fix # | |
Defined in ShellCheck.Interface type Rep Fix = D1 ('MetaData "Fix" "ShellCheck.Interface" "ShellCheck-0.11.0-Dy6m6fjjH0rDZfn8PWazNc" 'False) (C1 ('MetaCons "Fix" 'PrefixI 'True) (S1 ('MetaSel ('Just "fixReplacements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Replacement]))) | |
data InsertionPoint #
Constructors
| InsertBefore | |
| InsertAfter |
Instances
| Eq InsertionPoint # | |
Defined in ShellCheck.Interface Methods (==) :: InsertionPoint -> InsertionPoint -> Bool # (/=) :: InsertionPoint -> InsertionPoint -> Bool # | |
| Show InsertionPoint # | |
Defined in ShellCheck.Interface Methods showsPrec :: Int -> InsertionPoint -> ShowS # show :: InsertionPoint -> String # showList :: [InsertionPoint] -> ShowS # | |
| Generic InsertionPoint # | |
Defined in ShellCheck.Interface Associated Types type Rep InsertionPoint :: Type -> Type # Methods from :: InsertionPoint -> Rep InsertionPoint x # to :: Rep InsertionPoint x -> InsertionPoint # | |
| NFData InsertionPoint # | |
Defined in ShellCheck.Interface Methods rnf :: InsertionPoint -> () # | |
| type Rep InsertionPoint # | |
Defined in ShellCheck.Interface | |
data Replacement #
Instances
data CheckDescription #