Safe Haskell | Safe-Inferred |
---|
Pretty printer for Boogie 2
- programDoc :: Program -> Doc
- renderWithTabs :: Doc -> String
- typeDoc :: Type -> Doc
- exprDoc :: Expression -> Doc
- statementDoc :: Statement -> Doc
- declDoc :: Decl -> Doc
- newline :: Doc
- vsep :: [Doc] -> Doc
- commaSep :: [Doc] -> Doc
- angles :: Doc -> Doc
- spaces :: Doc -> Doc
- option :: Bool -> Doc -> Doc
- optionMaybe :: Maybe t -> (t -> Doc) -> Doc
- unOpDoc :: UnOp -> Doc
- binOpDoc :: BinOp -> Doc
- sigDoc :: [Type] -> [Type] -> Doc
Pretty-printing programs
programDoc :: Program -> DocSource
Pretty-printed program
renderWithTabs :: Doc -> StringSource
Render document with tabs instead of spaces
exprDoc :: Expression -> DocSource
Pretty-printed expression
statementDoc :: Statement -> DocSource
Pretty-printed statement