Safe Haskell | None |
---|
This module generates code in the simplified Javascript intermediate representation from Purescript code
- declToJs :: Options -> ModuleName -> Declaration -> Environment -> Maybe [JS]
- moduleToJs :: Options -> Module -> Environment -> Maybe JS
- wrapExportsContainer :: Options -> [JS] -> JS
Documentation
declToJs :: Options -> ModuleName -> Declaration -> Environment -> Maybe [JS]Source
Generate code in the simplified Javascript intermediate representation for a declaration
moduleToJs :: Options -> Module -> Environment -> Maybe JSSource
Generate code in the simplified Javascript intermediate representation for all declarations in a module.
wrapExportsContainer :: Options -> [JS] -> JSSource