classStaticPrivateFieldSpecGet.js 523 B

12345678
  1. import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
  2. import classCheckPrivateStaticAccess from "./classCheckPrivateStaticAccess.js";
  3. import classCheckPrivateStaticFieldDescriptor from "./classCheckPrivateStaticFieldDescriptor.js";
  4. export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
  5. classCheckPrivateStaticAccess(receiver, classConstructor);
  6. classCheckPrivateStaticFieldDescriptor(descriptor, "get");
  7. return classApplyDescriptorGet(receiver, descriptor);
  8. }