Safe Haskell | None |
---|---|
Language | Haskell98 |
Pretty printer for the Javascript AST
- prettyPrintJS :: [JS] -> String
- prettyPrintJSWithSourceMaps :: [JS] -> (String, [SMap])
Documentation
prettyPrintJS :: [JS] -> String Source
prettyPrintJSWithSourceMaps :: [JS] -> (String, [SMap]) Source
Generate a pretty-printed string representing a collection of Javascript expressions at the same indentation level