language-docker-10.4.0: Dockerfile parser, pretty-printer and embedded DSL
Safe HaskellNone
LanguageHaskell2010

Language.Docker.PrettyPrint

Synopsis

Documentation

data EscapeAccum Source #

Constructors

EscapeAccum 

Fields

prettyPrint :: Dockerfile -> Text Source #

Pretty print a Dockerfile to a Text

prettyPrintInstructionPos :: (?esc :: Char) => InstructionPos Text -> Doc ann Source #

Pretty print a InstructionPos to a Doc

prettyPrintPairs :: (?esc :: Char) => Pairs -> Doc ann Source #

prettyPrintPair :: (?esc :: Char) => (Text, Text) -> Doc ann Source #

prettyPrintJSON :: (?esc :: Char) => [Text] -> Doc ann Source #

doubleQoute :: (?esc :: Char) => Text -> Doc ann Source #

escapeQuotes :: (?esc :: Char) => Text -> Text Source #

spaceCat :: Doc ann -> Doc ann -> Doc ann Source #