| Copyright | (c) The University of Glasgow 2001 |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Jeffrey Young <[email protected]> Luite Stegeman <[email protected]> Sylvain Henry <[email protected]> Josh Meredith <[email protected]> |
| Stability | experimental Code generation of Expressions |
| Safe Haskell | None |
| Language | GHC2021 |
GHC.StgToJS.Expr
Description
Synopsis
- genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStgStat, ExprResult)
- genEntryType :: HasDebugCallStack => [Id] -> G CIType
- loadLiveFun :: [Id] -> G JStgStat
- genStaticRefsRhs :: CgStgRhs -> G CIStatic
- genStaticRefs :: LiveVars -> G CIStatic
- genBody :: HasDebugCallStack => ExprCtx -> StgReg -> [Id] -> CgStgExpr -> Type -> G JStgStat
Documentation
genExpr :: HasDebugCallStack => ExprCtx -> CgStgExpr -> G (JStgStat, ExprResult) Source #
Evaluate an expression in the given expression context (continuation)
genEntryType :: HasDebugCallStack => [Id] -> G CIType Source #