An index for mapping bindings to values.

interface IBindingsIndex<V> {
    get: (bindings: Bindings) => V[];
    getFirst: (
        bindings: Bindings,
        matchUndefsAsWildcard: boolean,
    ) => undefined | V;
    put: (bindings: Bindings, value: V) => V;
    values: () => V[];
}

Type Parameters

  • V

Implemented by

Properties

Properties

get: (bindings: Bindings) => V[]
getFirst: (bindings: Bindings, matchUndefsAsWildcard: boolean) => undefined | V
put: (bindings: Bindings, value: V) => V
values: () => V[]