toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsVariableDeclaration
Js
Variable
Declaration
class
JsVariableDeclaration
(
val
name
:
String
,
val
value
:
JsValue
?
=
null
)
:
JsDeclaration
(
source
)
Members
Constructors
Js
Variable
Declaration
Link copied to clipboard
constructor
(
name
:
String
,
value
:
JsValue
?
=
null
)
Properties
name
Link copied to clipboard
open
override
val
name
:
String
needs
Semicolon
Link copied to clipboard
open
val
needsSemicolon
:
Boolean
value
Link copied to clipboard
open
override
val
value
:
JsValue
?
=
null
Functions
generate
Link copied to clipboard
open
override
fun
generate
(
indentAmount
:
Int
,
indent
:
String
)
:
String
to
Statement
Link copied to clipboard
open
fun
toStatement
(
)
:
JsStatement
?
to
Value
Link copied to clipboard
open
fun
toValue
(
)
:
JsValue