Class: Bound

lib/compiler/codegen/expression~Bound(parent, names)

A lexical scope of names bound by enclosing arrow parameters.

Constructor

new Bound(parent, names)

Parameters:
Name Type Description
parent Bound | null

The enclosing binding set.

names Array:.<string:>

Names this level binds.

Source:

Methods

has(name) → {boolean}

Parameters:
Name Type Description
name string

The name to test.

Source:
Returns:

Whether any enclosing level binds it.

Type
boolean