classStaticPrivateFieldSpecSet.js 672 B

123456789101112131415
  1. var classApplyDescriptorSet = require("./classApplyDescriptorSet.js");
  2. var classCheckPrivateStaticAccess = require("./classCheckPrivateStaticAccess.js");
  3. var classCheckPrivateStaticFieldDescriptor = require("./classCheckPrivateStaticFieldDescriptor.js");
  4. function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
  5. classCheckPrivateStaticAccess(receiver, classConstructor);
  6. classCheckPrivateStaticFieldDescriptor(descriptor, "set");
  7. classApplyDescriptorSet(receiver, descriptor, value);
  8. return value;
  9. }
  10. module.exports = _classStaticPrivateFieldSpecSet;
  11. module.exports["default"] = module.exports, module.exports.__esModule = true;