bindings property
What it binds, in order.
Implementation
late final List<KernelBinding> bindings =
List<KernelBinding>.unmodifiable(<KernelBinding>[
for (final b in _tree.bindings)
KernelBinding._(
name: b.name,
// The parser's kinds and the public ones are one set, by name.
kind: KernelBindingKind.byName(b.kind.name)!,
element: b.kind == KBindingKind.buffer ? b.element.name : 'rgba8',
writable: b.writable,
index: b.index,
),
]);