JsVariableDeclaration

class JsVariableDeclaration(val name: String, val value: JsValue? = null) : JsDeclaration(source)

Constructors

Link copied to clipboard
constructor(name: String, value: JsValue? = null)

Properties

Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val value: JsValue? = null

Functions

Link copied to clipboard
open override fun generate(indentAmount: Int, indent: String): String
Link copied to clipboard
Link copied to clipboard
open fun toValue(): JsValue