Upvalue

data class Upvalue(val name: String, val index: Int, val function: UUID)

An upvalue. Used in the implementation of closures.

Constructors

Link copied to clipboard
constructor(name: String, index: Int, function: UUID)

Types

Link copied to clipboard
inner class Instance

An instance of the upvalue.

Properties

Link copied to clipboard

The UUID of the function that owns the upvalue.

Link copied to clipboard
val index: Int

The index of the upvalue's local variable.

Link copied to clipboard

The name of the upvalue.

Functions

Link copied to clipboard

Creates a new instance of the upvalue.