ShellCheck-0.10.0: Shell script analysis tool

Safe Haskell | None
Language | Haskell98

ShellCheck.Fixer

Contents

- Orphan instances

# Documentation

applyFix :: Fix -> Array Int String -> [String] #

removeTabStops :: Ranged a => a -> Array Int String -> a #

mapPositions :: (Position -> Position) -> Fix -> Fix #

class Ranged a where #

Minimal complete definition

start, end, setRange

Methods

start :: a -> Position #

end :: a -> Position #

overlap :: a -> a -> Bool #

setRange :: (Position, Position) -> a -> a #

#### Instances

Instances details

Ranged PositionedComment # |
Instance details Defined in ShellCheck.Fixer Methods start :: PositionedComment -> Position # end :: PositionedComment -> Position # overlap :: PositionedComment -> PositionedComment -> Bool # setRange :: (Position, Position) -> PositionedComment -> PositionedComment #
Ranged Replacement # |
Instance details Defined in ShellCheck.Fixer Methods start :: Replacement -> Position # end :: Replacement -> Position # overlap :: Replacement -> Replacement -> Bool # setRange :: (Position, Position) -> Replacement -> Replacement #

runTests :: IO Bool #

# Orphan instances

Monoid Fix # |
Instance details Methods mempty :: Fix # mappend :: Fix -> Fix -> Fix # mconcat :: [Fix] -> Fix #
Semigroup Fix # |
Instance details Methods (<>) :: Fix -> Fix -> Fix # sconcat :: NonEmpty Fix -> Fix # stimes :: Integral b => b -> Fix -> Fix #