ShellCheck-0.3.0: Shell script analysis tool

Safe HaskellNone
LanguageHaskell98

ShellCheck.Analytics

Documentation

data Shell Source

Constructors

Ksh 
Zsh 
Sh 
Bash 

Instances

checksFor :: Shell -> [Token -> [(Id, Note)]] Source

checkList :: [t -> [b]] -> t -> [b] Source

addToMap :: Ord k => [(k, Note)] -> Map k Metadata -> Map k Metadata Source

addNoteFor :: MonadState [(t, t1)] m => t -> t1 -> m () Source

warn :: MonadState [(t, Note)] m => t -> Code -> String -> m () Source

err :: MonadState [(t, Note)] m => t -> Code -> String -> m () Source

info :: MonadState [(t, Note)] m => t -> Code -> String -> m () Source

style :: MonadState [(t, Note)] m => t -> Code -> String -> m () Source

headOrDefault :: t -> [t] -> t Source

(!!!) :: [a] -> Int -> Maybe a Source

verifyFull :: (Token -> [a]) -> String -> Bool Source

checkEchoWc :: MonadState [(Id, Note)] m => Token -> m () Source

checkEchoSed :: MonadState [(Id, Note)] m => Token -> m () Source

checkUuoc :: MonadState [(Id, Note)] m => Token -> m () Source

indexOfSublists :: Num t => [[Char]] -> [[Char]] -> [t] Source

checkForInLs :: MonadState [(Id, Note)] m => Token -> m () Source

lt :: Show a => a -> a Source

ltt :: Show a1 => a1 -> a -> a Source

checkOrNeq :: MonadState [(Id, Note)] m => Token -> m () Source

checkCommand :: Monad m => [Char] -> ([Token] -> m ()) -> Token -> m () Source

checkUnqualifiedCommand :: Monad m => [Char] -> ([Token] -> m ()) -> Token -> m () Source

data Scope Source

Instances

doVariableFlowAnalysis :: (Token -> Token -> String -> StateT b Identity [a]) -> (Token -> Token -> String -> DataSource -> StateT b Identity [a]) -> b -> Token -> [a] Source