Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ParsedShell Source #
ParsedShell | |
|
shellcheck :: ShellOpts -> ParsedShell -> [PositionedComment] Source #
parseShell :: Text -> ParsedShell Source #
findCommandsInResult :: ParseResult -> [Token] Source #
extractTokensWith :: forall a. (Token -> Maybe a) -> ParseResult -> [a] Source #
findPipes :: ParsedShell -> [Token] Source #
hasPipes :: ParsedShell -> Bool Source #
allCommands :: (Command -> Bool) -> ParsedShell -> Bool Source #
noCommands :: (Command -> Bool) -> ParsedShell -> Bool Source #
anyCommands :: (Command -> Bool) -> ParsedShell -> Bool Source #
findCommandNames :: ParsedShell -> [Text] Source #
extractAllArgs :: Token -> [CmdPart] Source #
getAllFlags :: [CmdPart] -> [CmdPart] Source #
getArgsNoFlags :: Command -> [Text] Source #