function parseParameters(def, spec, scope) {
    const params = {},
      n = def.params.length;
    for (let i = 0; i < n; ++i) {
      const pdef = def.params[i];
      params[pdef.name] = parseParameter(pdef, spec, scope);
    }
    return params;
  }
Parse all parameters of a data transform.