Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. pattern PreInc :: JStgExpr -> JStgExpr

    ghc GHC.JS.JStg.Syntax

    pattern synonym for prefix increment ++x

  2. PreIncOp :: UOp

    ghc GHC.JS.JStg.Syntax

    Prefix Increment: ++x

  3. module GHC.JS.Ppr

    • Domain and PurposeGHC.JS.Ppr defines the code generation facilities for the JavaScript backend. That is, this module exports a function from the JS backend IR to JavaScript compliant concrete syntax that can readily be executed by nodejs or called in a browser.
    • DesignThis module follows the architecture and style of the other backends in GHC: it intances Outputable for the relevant types, creates a class that describes a morphism from the IR domain to JavaScript concrete Syntax and then generates that syntax on a case by case basis.
    • How to useThe key functions are renderJS, jsToDoc, and the RenderJS record. Use the RenderJS record and jsToDoc to define a custom renderers for specific parts of the backend, for example in Opt a custom renderer ensures all Ident generated by the linker optimization pass are prefixed differently than the default. Use renderJS to generate JavaScript concrete syntax in the general case, suitable for human consumption.

  4. PlusOp :: UOp

    ghc GHC.JS.Syntax

    Unary Plus: +x

  5. pattern PostDec :: JExpr -> JExpr

    ghc GHC.JS.Syntax

    pattern synonym for postfix decrement --x

  6. PostDecOp :: UOp

    ghc GHC.JS.Syntax

    Postfix Decrement: x--

  7. pattern PostInc :: JExpr -> JExpr

    ghc GHC.JS.Syntax

    pattern synonym for postfix increment x++

  8. PostIncOp :: UOp

    ghc GHC.JS.Syntax

    Postfix Increment: x++

  9. pattern PreDec :: JExpr -> JExpr

    ghc GHC.JS.Syntax

    pattern synonym for prefix decrement --x

  10. PreDecOp :: UOp

    ghc GHC.JS.Syntax

    Prefix Decrement: --x

Page 134 of many | Previous | Next