toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsStatement
Js
Statement
interface
JsStatement
:
JsOutput
(
source
)
Inheritors
JsValuedStatement
JsDeclaration
JsIf
JsWhile
JsDoWhile
JsFor
JsParameter
JsFunctionDeclaration
JsClassDeclaration
JsReturn
Members
Properties
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
to
Statement
Link copied to clipboard
open
fun
toStatement
(
)
:
JsStatement
?
to
Value
Link copied to clipboard
open
fun
toValue
(
)
:
JsValue