Safe Haskell | None |
---|
Pretty printer for Bash.
Documentation
bytes :: PP t => t -> ByteStringSource
bytes_state :: State PPState () -> ByteStringSource
class Annotation t whereSource
Annotation () | |
Annotation Lines | |
(PP t, PP t') => Annotation (t, t') | |
(Annotation a, Annotation b) => Annotation (Statements a b) |
PP FileDescriptor | |
PP SpecialVar | |
PP Identifier | |
Annotation t => PP (Expression t) | |
Annotation t => PP (Statement t) | |
Annotation t => PP (Annotated t) |
hangcat :: [ByteString] -> State PPState ()Source
render_redirect :: (PP t, PP t1, PP t2) => Redirection -> t -> Either t1 t2 -> ByteStringSource
quote :: ByteString -> ByteStringSource
braces :: ByteString -> ByteStringSource
identpart :: VarName -> ByteStringSource
trimPrinter :: Trim -> ByteStringSource
redirectGrp :: Annotation t => Annotated t -> StateT PPState Identity ()Source
maxLineLength :: Num c => ByteString -> cSource
finalLineLength :: Num a => ByteString -> aSource
inlineEvalPrinter :: PP t => ByteString -> ByteString -> t -> StateT PPState Identity ()Source