toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsValue
Js
Value
interface
JsValue
:
JsOutput
(
source
)
Inheritors
JsValuedStatement
JsDouble
JsInteger
JsAdd
JsSubtract
JsMultiply
JsDivide
JsModulo
JsField
JsEquals
JsNotEquals
JsLessThan
JsLessThanOrEqual
JsGreaterThan
JsGreaterThanOrEqual
JsAnd
JsOr
JsXor
JsNot
JsNegate
JsInlineFunction
JsObject
JsStringLiteral
JsLiteral
Members
Properties
needs
Parens
Link copied to clipboard
abstract
val
needsParens
:
Boolean
Functions
generate
Link copied to clipboard
abstract
fun
generate
(
indentAmount
:
Int
=
0
,
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