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

Function inputVisit

docs/app/js/sanddance-app.js:116194–116201  ·  view source on GitHub ↗
(get15)

Source from the content-addressed store, hash-verified

116192 // initialize input and output fields
116193 const inputs = this._inputs = [], outputs = this._outputs = [], inputMap = {};
116194 function inputVisit(get15) {
116195 const fields = (0, _vegaUtil.array)((0, _vegaUtil.accessorFields)(get15)), n = fields.length;
116196 let i = 0, f;
116197 for(; i < n; ++i)if (!inputMap[f = fields[i]]) {
116198 inputMap[f] = 1;
116199 inputs.push(f);
116200 }
116201 } // initialize group-by dimensions
116202 this._dims = (0, _vegaUtil.array)(_.groupby);
116203 this._dnames = this._dims.map((d)=>{
116204 const dname = (0, _vegaUtil.accessorName)(d);

Callers 1

initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected