toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsDeclaration
Js
Declaration
abstract
class
JsDeclaration
:
JsStatement
(
source
)
Inheritors
JsVariableDeclaration
JsConstantDeclaration
Members
Constructors
Js
Declaration
Link copied to clipboard
constructor
(
)
Properties
name
Link copied to clipboard
abstract
val
name
:
String
needs
Semicolon
Link copied to clipboard
open
val
needsSemicolon
:
Boolean
value
Link copied to clipboard
abstract
val
value
:
JsValue
?
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