JsFunctionDeclaration

class JsFunctionDeclaration(val name: String, val parameters: List<JsParameter>, val body: JsTree) : JsStatement(source)

Constructors

Link copied to clipboard
constructor(name: String, parameters: List<JsParameter>, body: JsTree)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val needsSemicolon: Boolean
Link copied to clipboard

Functions

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