MCPcopy Create free account
hub / github.com/alignoth/alignoth / eval

Function eval

resources/vega.min.js:26550–26564  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

26548 return ((s.mask = (1 << d) - 1), n);
26549 },
26550 eval(t, e) {
26551 const n = e.materialize().fork(),
26552 r = this._dims.length;
26553 let i = 0;
26554 return (
26555 e.rem.length && (this.remove(t, e, n), (i |= (1 << r) - 1)),
26556 t.modified("query") &&
26557 !t.modified("fields") &&
26558 (i |= this.update(t, e, n)),
26559 e.add.length && (this.insert(t, e, n), (i |= (1 << r) - 1)),
26560 e.mod.length && (this.modify(e, n), (i |= (1 << r) - 1)),
26561 (this.value.mask = i),
26562 n
26563 );
26564 },
26565 insert(t, e, n) {
26566 const r = e.add,
26567 i = this.value,

Callers

nothing calls this directly

Calls 2

removeMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected