toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsValuedStatement
Js
Valued
Statement
interface
JsValuedStatement
:
JsStatement
,
JsValue
(
source
)
Inheritors
JsFunctionCall
JsAssignment
JsAddAssignment
JsSubtractAssignment
JsMultiplyAssignment
JsDivideAssignment
JsModuloAssignment
JsAfterIncrement
JsBeforeIncrement
JsAfterDecrement
JsBeforeDecrement
JsNew
Members
Properties
needs
Parens
Link copied to clipboard
abstract
val
needsParens
:
Boolean
needs
Semicolon
Link copied to clipboard
open
val
needsSemicolon
:
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