Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ParsedShell Source #
ParsedShell | |
|
shellcheck :: ShellOpts -> ParsedShell -> [Comment] Source #
parseShell :: Text -> ParsedShell Source #
extractTokensWith :: (Token -> Maybe Token) -> ParsedShell -> [Token] Source #
findPipes :: ParsedShell -> [Token] Source #
hasPipes :: ParsedShell -> Bool Source #
findCommands :: ParsedShell -> [Token] Source #
allCommands :: (Token -> Bool) -> ParsedShell -> Bool Source #
noCommands :: (Token -> Bool) -> ParsedShell -> Bool Source #
findCommandNames :: ParsedShell -> [String] Source #
getAllArgs :: Token -> [String] Source #
getArgsNoFlags :: Token -> [String] Source #