toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsTree
Js
Tree
class
JsTree
(
val
children
:
List
<
JsStatement
>
=
emptyList()
)
:
JsOutput
(
source
)
Members
Constructors
Js
Tree
Link copied to clipboard
constructor
(
children
:
List
<
JsStatement
>
=
emptyList()
)
Properties
children
Link copied to clipboard
val
children
:
List
<
JsStatement
>
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
indentAmount
:
Int
,
indent
:
String
)
:
String
generate
Block
Link copied to clipboard
fun
generateBlock
(
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