toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsWhile
Js
While
class
JsWhile
(
val
condition
:
JsValue
,
val
body
:
JsTree
)
:
JsStatement
(
source
)
Members
Constructors
Js
While
Link copied to clipboard
constructor
(
condition
:
JsValue
,
body
:
JsTree
)
Properties
body
Link copied to clipboard
val
body
:
JsTree
condition
Link copied to clipboard
val
condition
:
JsValue
needs
Semicolon
Link copied to clipboard
open
override
val
needsSemicolon
:
Boolean
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