ghc-9.6.3: The GHC API

Copyright | (c) The University of Glasgow 2001
License | BSD-style (see the file LICENSE)
Maintainer | Jeffrey Young <jeffrey.young@iohk.io> Luite Stegeman <luite.stegeman@iohk.io> Sylvain Henry <sylvain.henry@iohk.io>
Stability | experimental
Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.StgToJS.Printer

Description

Custom prettyprinter for JS AST uses the JS PPr module for most of the work

# Documentation

pretty :: JStat -> Doc Source #

ghcjsRenderJs :: RenderJs Source #

prettyBlock :: RenderJs -> [JStat] -> Doc Source #