toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsFor
Js
For
class
JsFor
(
val
init
:
JsStatement
,
val
condition
:
JsValue
,
val
update
:
JsStatement
,
val
body
:
JsTree
)
:
JsStatement
(
source
)
Members
Constructors
Js
For
Link copied to clipboard
constructor
(
init
:
JsStatement
,
condition
:
JsValue
,
update
:
JsStatement
,
body
:
JsTree
)
Properties
body
Link copied to clipboard
val
body
:
JsTree
condition
Link copied to clipboard
val
condition
:
JsValue
init
Link copied to clipboard
val
init
:
JsStatement
needs
Semicolon
Link copied to clipboard
open
override
val
needsSemicolon
:
Boolean
update
Link copied to clipboard
val
update
:
JsStatement
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
indentAmount
:
Int
,
indent
:
String
)
:
String
to
Statement
Link copied to clipboard
open
fun
toStatement
(
)
:
JsStatement
?
to
Value
Link copied to clipboard
open
fun
toValue
(
)
:
JsValue