toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsObject
Js
Object
class
JsObject
(
val
fields
:
Map
<
JsValue
,
JsValue
>
=
emptyMap()
)
:
JsValue
(
source
)
Members
Constructors
Js
Object
Link copied to clipboard
constructor
(
fields
:
Map
<
JsValue
,
JsValue
>
=
emptyMap()
)
Properties
fields
Link copied to clipboard
val
fields
:
Map
<
JsValue
,
JsValue
>
needs
Parens
Link copied to clipboard
open
override
val
needsParens
:
Boolean
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
indentAmount
:
Int
,
indent
:
String
)
:
String
generate
Value
Link copied to clipboard
open
fun
generateValue
(
indentAmount
:
Int
=
0
,
indent
:
String
=
" "
)
:
String
to
Statement
Link copied to clipboard
open
fun
toStatement
(
)
:
JsStatement
?
to
Value
Link copied to clipboard
open
fun
toValue
(
)
:
JsValue