org
.
hyperscala
.
javascript
dsl
package
dsl
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
dsl
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Type Members
sealed abstract
class
Command
extends
EnumEntry
case class
ConstantStatement
[
T
]
(
value:
T
,
sideEffects:
Boolean
=
false
)
extends
Statement
[
T
] with
Product
with
Serializable
trait
DelayedStatement
[
T
]
extends
AnyRef
case class
ExistingStatement
[
T
]
(
content:
String
,
sideEffects:
Boolean
=
false
)
extends
Statement
[
T
] with
Product
with
Serializable
case class
FunctionName
[
R
]
(
f:
JSFunction
[
R
]
)
extends
Statement
[
String
] with
Product
with
Serializable
trait
JSFunction
[
R
]
extends
JavaScriptContext
abstract
class
JSFunction0
[
R
]
extends
JavaScriptContext
with
JSFunction
[
R
]
abstract
class
JSFunction1
[
P1
,
R
]
extends
JavaScriptContext
with
JSFunction
[
R
]
abstract
class
JSFunction2
[
P1
,
P2
,
R
]
extends
JavaScriptContext
with
JSFunction
[
R
]
class
JSHTMLTag
[
T <:
HTMLTag
]
extends
AnyRef
trait
JSON
extends
AnyRef
implicit
class
JSONStatement
extends
AnyRef
abstract
class
JavaScriptContext
extends
Statement
[
JavaScriptContent
]
case class
MultiStatement
[
T
]
(
sideEffects:
Boolean
,
parts:
Any
*
)
extends
Statement
[
T
] with
Product
with
Serializable
case class
OperatorStatement
[
T
]
(
left:
Statement
[_]
,
operator:
String
,
right:
Statement
[_]
,
enclose:
Boolean
=
true
,
sideEffects:
Boolean
=
false
)
extends
Statement
[
T
] with
Product
with
Serializable
trait
Statement
[
T
]
extends
AnyRef
class
Try
[
T
]
extends
JavaScriptContext
class
Variable
[
T
]
extends
Statement
[
T
]
case class
VariableName
[
T
]
(
v:
Variable
[
T
]
)
extends
Statement
[
T
] with
Product
with
Serializable
case class
WrappedStatement
[
T
]
(
pre:
String
,
statement:
Statement
[_]
,
post:
String
,
sideEffects:
Boolean
)
extends
Statement
[
T
] with
Product
with
Serializable
class
document
extends
DelayedStatement
[
HTMLTag
] with
Selector
Value Members
object
Command
extends
Enumerated
[
Command
] with
Serializable
object
JSFunction0
object
JSFunction1
object
JSFunction2
object
JSON
object
JavaScriptContext
object
Math
object
Test
object
Try
object
body
extends
DelayedStatement
[
HTMLTag
] with
Selector
implicit
def
boolean2Statement
(
b:
Boolean
)
:
Statement
[
Boolean
]
implicit
def
delayed2Statement
[
T
]
(
d:
DelayedStatement
[
T
]
)
:
Statement
[
T
]
object
document
extends
document
object
documentParent
extends
ExistingStatement
[
HTMLTag
]
implicit
def
double2Statement
(
d:
Double
)
:
Statement
[
Double
]
implicit
def
int2Statement
(
i:
Int
)
:
Statement
[
Int
]
def
isNaN
(
s:
Statement
[
String
]
)
:
WrappedStatement
[
Boolean
]
implicit
def
js2Statement
[
T
]
(
js:
JavaScriptContent
)
:
Statement
[
T
]
implicit
def
length2Statement
(
l:
Length
)
:
Statement
[
Length
]
def
onAttribute
[
T
]
(
selector:
Selector
,
attribute:
PropertyAttribute
[
T
]
)
:
JSFunction0
[
T
]
def
onCSS
[
T
]
(
selector:
Selector
,
attribute:
StyleSheetAttribute
[
T
]
)
:
JSFunction0
[
T
]
def
onKey
(
key:
Key
,
altKey:
Option
[
Boolean
] =
None
,
ctrlKey:
Option
[
Boolean
] =
None
,
metaKey:
Option
[
Boolean
] =
None
,
shiftKey:
Option
[
Boolean
] =
None
,
stopPropagation:
Boolean
=
false
)
(
statement:
Statement
[
Unit
]
)
:
JSFunction1
[
KeyboardEvent
,
Boolean
]
object
parent
extends
ExistingStatement
[
HTMLTag
]
def
parseInt
[
T
]
(
s:
Statement
[
T
]
)
:
WrappedStatement
[
Double
]
def
s
[
T
]
(
t:
T
)
:
ConstantStatement
[
T
]
implicit
def
s2js
(
s:
String
)
:
JavaScriptContent
implicit
def
s2ss
(
s:
Statement
[_]
)
:
Statement
[
String
]
implicit
def
statement2Function0
[
T
]
(
s:
Statement
[
T
]
)
(
implicit
manifest:
Manifest
[
T
]
)
:
JSFunction0
[
T
]
implicit
def
statement2JSHTMLTag
[
T <:
HTMLTag
]
(
s:
Statement
[
T
]
)
:
JSHTMLTag
[
T
]
implicit
def
statement2JavaScriptContent
(
s:
Statement
[_]
)
:
JavaScriptContent
implicit
def
string2Statement
(
s:
String
)
:
Statement
[
String
]
def
v
[
T
]
(
initialValue:
Statement
[
T
] =
null
)
:
Variable
[
T
]
object
window
extends
DelayedStatement
[
HTMLTag
] with
Selector
object
windowLocation
extends
DelayedStatement
[
URL
]
object
windowLocationHref
extends
DelayedStatement
[
String
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped