MCPcopy Create free account
hub / github.com/microsoft/SandDance / visitInputs

Function visitInputs

docs/app/js/sanddance-app.js:118834–118836  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

118832 const ops = (0, _vegaUtil.array)(_3.ops), fields = (0, _vegaUtil.array)(_3.fields), params = (0, _vegaUtil.array)(_3.params), as = (0, _vegaUtil.array)(_3.as), outputs = this.outputs = [], windows = this.windows = [], inputs = {}, map = {}, counts = [], measures = [];
118833 let countOnly = true;
118834 function visitInputs(f) {
118835 (0, _vegaUtil.array)((0, _vegaUtil.accessorFields)(f)).forEach((_)=>inputs[_] = 1);
118836 }
118837 visitInputs(_3.sort);
118838 ops.forEach((op, i)=>{
118839 const field = fields[i], mname = (0, _vegaUtil.accessorName)(field), name = measureName(op, mname, as[i]);

Callers 1

WindowStateFunction · 0.70

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected