MCPcopy Index your code
hub / github.com/microsoft/SandDance / Encode

Function Encode

docs/app/js/sanddance-app.js:129601–129603  ·  view source on GitHub ↗

* Invokes encoding functions for visual items. * @constructor * @param {object} params - The parameters to the encoding functions. This * parameter object will be passed through to all invoked encoding functions. * @param {object} [params.mod=false] - Flag indicating if tuples in the input *

(params)

Source from the content-addressed store, hash-verified

129599 * @param {function(object, object): boolean} [param.encoders.enter] - Enter encoding set
129600 * @param {function(object, object): boolean} [param.encoders.exit] - Exit encoding set
129601 */ function Encode(params) {
129602 (0, _vegaDataflow.Transform).call(this, null, params);
129603}
129604(0, _vegaUtil.inherits)(Encode, (0, _vegaDataflow.Transform), {
129605 transform (_, pulse) {
129606 var out = pulse.fork(pulse.ADD_REM), fmod = _.mod || false, encoders = _.encoders, encode = pulse.encode; // if an array, the encode directive includes additional sets

Callers 2

parseMarkFunction · 0.70
parseViewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected