CaptureSpec

struct CaptureSpec

One explicitly declared closure capture.

Properties

let mode: CaptureMode

How the closure obtains the captured binding.

let name: String

The captured local binding name.

let start: Int

The inclusive starting byte offset in the source.

let end: Int

The exclusive ending byte offset in the source.