Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
prettyPrint :: Pretty a => a -> String Source #
Orphan instances
Pretty JSAST Source # | |
pretty :: JSAST -> Doc prettyList :: [JSAST] -> Doc | |
Pretty JSAccessor Source # | |
pretty :: JSAccessor -> Doc prettyList :: [JSAccessor] -> Doc | |
Pretty JSArrayElement Source # | |
pretty :: JSArrayElement -> Doc prettyList :: [JSArrayElement] -> Doc | |
Pretty JSAssignOp Source # | |
pretty :: JSAssignOp -> Doc prettyList :: [JSAssignOp] -> Doc | |
Pretty JSBinOp Source # | |
pretty :: JSBinOp -> Doc prettyList :: [JSBinOp] -> Doc | |
Pretty JSBlock Source # | |
pretty :: JSBlock -> Doc prettyList :: [JSBlock] -> Doc | |
Pretty JSExpression Source # | |
pretty :: JSExpression -> Doc prettyList :: [JSExpression] -> Doc | |
Pretty JSIdent Source # | |
pretty :: JSIdent -> Doc prettyList :: [JSIdent] -> Doc | |
Pretty JSObjectProperty Source # | |
pretty :: JSObjectProperty -> Doc prettyList :: [JSObjectProperty] -> Doc | |
Pretty JSPropertyName Source # | |
pretty :: JSPropertyName -> Doc prettyList :: [JSPropertyName] -> Doc | |
Pretty JSSemi Source # | |
pretty :: JSSemi -> Doc prettyList :: [JSSemi] -> Doc | |
Pretty JSStatement Source # | |
pretty :: JSStatement -> Doc prettyList :: [JSStatement] -> Doc | |
Pretty JSSwitchParts Source # | |
pretty :: JSSwitchParts -> Doc prettyList :: [JSSwitchParts] -> Doc | |
Pretty JSTryCatch Source # | |
pretty :: JSTryCatch -> Doc prettyList :: [JSTryCatch] -> Doc | |
Pretty JSTryFinally Source # | |
pretty :: JSTryFinally -> Doc prettyList :: [JSTryFinally] -> Doc | |
Pretty JSUnaryOp Source # | |
pretty :: JSUnaryOp -> Doc prettyList :: [JSUnaryOp] -> Doc | |
Pretty JSVarInitializer Source # | |
pretty :: JSVarInitializer -> Doc prettyList :: [JSVarInitializer] -> Doc | |
Pretty a => Pretty (JSCommaList a) Source # | |
pretty :: JSCommaList a -> Doc prettyList :: [JSCommaList a] -> Doc | |
Pretty a => Pretty (JSCommaTrailingList a) Source # | |
pretty :: JSCommaTrailingList a -> Doc prettyList :: [JSCommaTrailingList a] -> Doc |