Lines Matching defs:PropertyDescriptor

59 class PropertyDescriptor final {
61 PropertyDescriptor() = delete;
63 ~PropertyDescriptor() = default;
64 DEFAULT_NOEXCEPT_MOVE_SEMANTIC(PropertyDescriptor);
65 DEFAULT_COPY_SEMANTIC(PropertyDescriptor);
67 explicit PropertyDescriptor(const JSThread *thread) : thread_(thread) {}
69 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v) : thread_(thread), value_(v) {}
71 PropertyDescriptor(const JSThread *thread, JSHandle<JSTaggedValue> v, bool w, bool e, bool c)
83 PropertyDescriptor(const JSThread *thread, bool w, bool e, bool c)
84 : PropertyDescriptor(thread, JSHandle<JSTaggedValue>(), w, e, c)
237 static void CompletePropertyDescriptor(const JSThread *thread, PropertyDescriptor &desc);
420 static JSHandle<JSTaggedValue> FromPropertyDescriptor(JSThread *thread, const PropertyDescriptor &desc);
423 static void ToPropertyDescriptor(JSThread *thread, const JSHandle<JSTaggedValue> &obj, PropertyDescriptor &desc);
425 PropertyDescriptor &desc);
498 PropertyDescriptor &desc);
500 static bool GlobalGetOwnProperty(JSThread *thread, const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc);
503 const JSHandle<JSTaggedValue> &key, PropertyDescriptor &desc);
507 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK);
510 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK);
513 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK);
516 const PropertyDescriptor &desc, SCheckMode sCheckMode = SCheckMode::CHECK);
519 const JSHandle<JSTaggedValue> &key, const PropertyDescriptor &desc,
523 const PropertyDescriptor &desc,
526 static bool IsCompatiblePropertyDescriptor(bool extensible, const PropertyDescriptor &desc,
527 const PropertyDescriptor &current);
529 static bool ValidateAndApplyPropertyDescriptor(ObjectOperator *op, bool extensible, const PropertyDescriptor &desc,
530 const PropertyDescriptor &current,
767 static void SetSProperties(JSThread *thread, JSHandle<JSObject> obj, const std::vector<PropertyDescriptor> &descs);
813 static bool ValidateDataDescriptorWhenConfigurable(ObjectOperator *op, const PropertyDescriptor &desc,
814 const PropertyDescriptor &current, SCheckMode sCheckMode);