package
jscala
Type Members
-
-
-
-
-
-
case class
JArray[A](args: A*) extends Product with Serializable
-
-
case class
JsAccess(qualifier: JsExpr, key: JsExpr) extends JsExpr with Product with Serializable
-
case class
JsAnonFunDecl(params: List[String], body: JsStmt) extends JsExpr with Product with Serializable
-
case class
JsAnonObjDecl(fields: List[(String, JsExpr)]) extends JsExpr with Product with Serializable
-
-
case class
JsArray(values: List[JsExpr]) extends JsLit with Product with Serializable
-
-
-
-
case class
JsBinOp(operator: String, lhs: JsExpr, rhs: JsExpr) extends JsExpr with Product with Serializable
-
case class
JsBlock(stmts: List[JsStmt]) extends JsStmt with Product with Serializable
-
case class
JsBool(value: Boolean) extends JsLit with Product with Serializable
-
case class
JsCall(callee: JsExpr, params: List[JsExpr]) extends JsExpr with Product with Serializable
-
case class
JsCase(const: List[JsExpr], body: JsStmt) extends JsSwitchable with Product with Serializable
-
case class
JsCatch(ident: JsIdent, body: JsStmt) extends JsStmt with Product with Serializable
-
case class
JsDefault(body: JsStmt) extends JsSwitchable with Product with Serializable
-
trait
JsDynamic extends Dynamic
-
-
case class
JsExprStmt(jsExpr: JsExpr) extends JsStmt with Product with Serializable
-
case class
JsFor(init: List[JsStmt], check: JsExpr, update: List[JsStmt], body: JsStmt) extends JsStmt with Product with Serializable
-
case class
JsForIn(ident: JsIdent, coll: JsExpr, body: JsStmt) extends JsStmt with Product with Serializable
-
case class
JsFunDecl(ident: String, params: List[String], body: JsStmt) extends JsStmt with Product with Serializable
-
case class
JsIdent(ident: String) extends JsExpr with Product with Serializable
-
case class
JsIf(cond: JsExpr, then: JsStmt, else: Option[JsStmt]) extends JsStmt with Product with Serializable
-
case class
JsLazy[A <: JsAst](ast: () ⇒ A) extends JsExpr with Product with Serializable
-
-
case class
JsNew(ctor: JsCall) extends JsExpr with Product with Serializable
-
case class
JsNum(value: Double, isFloat: Boolean) extends JsLit with Product with Serializable
-
case class
JsObjDecl(name: String, constructor: JsFunDecl, fields: List[(String, JsExpr)]) extends JsStmt with Product with Serializable
-
case class
JsRaw(js: String) extends JsExpr with Product with Serializable
-
case class
JsReturn(jsExpr: JsExpr) extends JsStmt with Product with Serializable
-
case class
JsSelect(qualifier: JsExpr, name: String) extends JsExpr with Product with Serializable
-
-
-
case class
JsStmts(stmts: List[JsStmt]) extends JsStmt with Product with Serializable
-
case class
JsString(value: String) extends JsLit with Product with Serializable
-
case class
JsSwitch(expr: JsExpr, cases: List[JsCase], default: Option[JsDefault]) extends JsStmt with Product with Serializable
-
-
case class
JsTernary(cond: JsExpr, then: JsExpr, else: JsExpr) extends JsExpr with Product with Serializable
-
case class
JsThrow(expr: JsExpr) extends JsExpr with Product with Serializable
-
case class
JsTry(body: JsStmt, cat: Option[JsCatch], fin: Option[JsStmt]) extends JsStmt with Product with Serializable
-
case class
JsUnOp(operator: String, operand: JsExpr) extends JsExpr with Product with Serializable
-
case class
JsVarDef(idents: List[(String, JsExpr)]) extends JsStmt with Product with Serializable
-
case class
JsWhile(cond: JsExpr, body: JsStmt) extends JsStmt with Product with Serializable
-
-
-
-
-
-
-
-
-
Value Members
-
val
Infinity: Double
-
-
object
JsNull extends JsLit with Product with Serializable
-
object
JsUnit extends JsLit with Product with Serializable
-
-
-
val
NaN: Double
-
def
ajax[A, B](input: A)(server: (A) ⇒ B)(callback: (B) ⇒ Unit): JsAst
-
implicit
def
arrJsSerializer[A](implicit ev: JsSerializer[A]): JsSerializer[Array[A]]
-
-
-
-
def
decodeURI(uri: String): JString
-
def
decodeURIComponent(uri: String): JString
-
-
-
def
encodeURI(uri: String): JString
-
def
encodeURIComponent(uri: String): JString
-
def
escape(str: String): JString
-
def
eval(str: String): AnyRef
-
-
def
forIn[A, B](obj: AnyRef)(f: (String) ⇒ Unit): Nothing
-
def
forIn[A, B](map: Map[A, B])(f: (A) ⇒ Unit): Unit
-
def
forIn[A](coll: Seq[A])(f: (Int) ⇒ Unit): Unit
-
def
fromJson[A](s: String): A
-
implicit
def
funcJsSerializer[A](implicit ev: JsSerializer[A]): JsSerializer[() ⇒ A]
-
-
implicit
def
implicitArray2JArray[A](s: Array[A]): JArray[A]
-
implicit
def
implicitJArray2Array[A](s: JArray[A]): Array[A]
-
implicit
def
implicitJArray2Seq[A](s: JArray[A]): Seq[A]
-
implicit
def
implicitJString2String(s: JString): String
-
implicit
def
implicitSeq2JArray[A](s: Seq[A]): JArray[A]
-
implicit
def
implicitString2JString(s: String): JString
-
def
include(js: String): String
-
def
inject[A](a: A)(implicit jss: JsSerializer[A]): A
-
def
inject(a: JsAst): Nothing
-
-
def
isFinite(x: Any): Boolean
-
def
isNaN(x: Any): Boolean
-
def
javascript(expr: Any): JsAst
-
def
javascriptDebug(expr: Any): JsAst
-
def
javascriptString(expr: Any): String
-
-
-
-
-
def
parseFloat(str: String): Double
-
def
parseInt(str: String, base: Int = 10): Int
-
def
print(x: Any): Unit
-
-
-
-
-
def
toJson[A](ref: A): JsExpr
-
def
typeof(x: Any): String
-
val
undefined: AnyRef
-
def
unescape(str: String): JString
-
-