jmacro-0.6.18: QuasiQuotation library for programmatic generation of Javascript code.

Safe Haskell | None
Language | Haskell2010

Language.Javascript.JMacro.Util

# Documentation

(.) :: JExpr -> String -> JExpr Source #

(<>) :: ToJExpr a => JExpr -> a -> JExpr Source #

(=:) :: ToJExpr a => JExpr -> a -> JStat infixl 2 Source #

($) :: (ToJExpr a, ToJExpr b) => a -> b -> JExpr Source #

($$) :: (ToJExpr a, ToJExpr b) => a -> b -> JStat Source #

(==) :: JExpr -> JExpr -> JExpr Source #

(!=) :: JExpr -> JExpr -> JExpr Source #

(<) :: JExpr -> JExpr -> JExpr infix 4 Source #

(&&) :: JExpr -> JExpr -> JExpr infixr 3 Source #

null :: JExpr Source #

new :: ToJExpr a => a -> JExpr Source #

if' :: (ToJExpr a, ToStat b) => a -> b -> JStat Source #

ifElse :: (ToJExpr a, ToStat b, ToStat c) => a -> b -> c -> JStat Source #

while :: ToJExpr a => a -> JStat -> JStat Source #

return :: ToJExpr a => a -> JStat Source #

toJExprList :: ToJExpr a => a -> [JExpr] Source #

jstr :: String -> JExpr Source #