Skip to main content

Module closure

Module closure 

Source
Expand description

Closure type definition (implementations in shape-runtime)

This module contains only the DATA STRUCTURE for Closure. All method implementations live in shape-runtime to avoid circular dependencies.

Structsยง

CapturedBinding
A captured variable binding
CapturedEnvironment
Captured environment for a closure
Closure
A closure captures a function definition along with its environment