toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.shake.compiler.jsgenerator
/
com.shakelang.shake.js.output
/
JsConstantDeclaration
Js
Constant
Declaration
class
JsConstantDeclaration
(
val
name
:
String
,
val
value
:
JsValue
)
:
JsDeclaration
(
source
)
Members
Constructors
Js
Constant
Declaration
Link copied to clipboard
constructor
(
name
:
String
,
value
:
JsValue
)
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
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