ClassElement

class ClassElement(val kind: Int, val isStatic: Boolean, val key: AstNode?, val value: FunctionNode?)(source)

One element of a class body. A method, accessor or static block carries its function in value; a field carries the function that computes its initial value, or null when it has no initializer. key is a Name, StringLiteral, NumberLiteral or ComputedPropertyKey, and null for a static block.

Constructors

Link copied to clipboard
constructor(kind: Int, isStatic: Boolean, key: AstNode?, value: FunctionNode?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val key: AstNode?
Link copied to clipboard
val kind: Int
Link copied to clipboard