Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.PureScript.CodeGen.JS.Printer
Description
Pretty printer for the JavaScript AST
- prettyPrintJS :: [AST] -> Text
- prettyPrintJSWithSourceMaps :: [AST] -> (Text, [SMap])
Documentation
prettyPrintJS :: [AST] -> Text #
prettyPrintJSWithSourceMaps :: [AST] -> (Text, [SMap]) #
Generate a pretty-printed string representing a collection of JavaScript expressions at the same indentation level