bind<A extends Accessor> method

A bind<A extends Accessor>(
  1. A accessor,
  2. A ctor(
    1. Recorder,
    2. Selection,
    3. List<Object>
    )
)

Rebinds accessor (an accessor handed out by the parent or by another row of it) to this scope, via its generated constructor ctor.

Implementation

A bind<A extends Accessor>(
  A accessor,
  A Function(Recorder, Selection, List<Object>) ctor,
) {
  _bound.add(accessor.selection);
  return ctor(this, accessor.selection, accessor.path);
}