Sha256: c21fda8ed8c7b7157cf2eb3521fcea41206a27de1abf9881a13deee73b5151ea

Contents?: true

Size: 404 Bytes

Versions: 13

Compression:

Stored size: 404 Bytes

Contents

function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
  if (receiver !== classConstructor) {
    throw new TypeError("Private static access of wrong provenance");
  }

  if (!descriptor.writable) {
    throw new TypeError("attempted to set read only private field");
  }

  descriptor.value = value;
  return value;
}

module.exports = _classStaticPrivateFieldSpecSet;

Version data entries

13 entries across 10 versions & 3 rubygems

Version Path
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/classStaticPrivateFieldSpecSet.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
jester-data-8.0.0 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-5.2.1 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-2.0.1 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-1.1.0 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-1.0.0 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-0.0.0.1.0 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
ezii-os-0.0.0.0.1 node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime-corejs2/helpers/classStaticPrivateFieldSpecSet.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js