blob: 726769f29a523072fc02254435b99a85959a7254 [file] [log] [blame]
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include 'src/objects/property-descriptor-object.h'
bitfield struct PropertyDescriptorObjectFlags extends uint31 {
is_enumerable: bool: 1 bit;
has_enumerable: bool: 1 bit;
is_configurable: bool: 1 bit;
has_configurable: bool: 1 bit;
is_writable: bool: 1 bit;
has_writable: bool: 1 bit;
has_value: bool: 1 bit;
has_get: bool: 1 bit;
has_set: bool: 1 bit;
extern class PropertyDescriptorObject extends Struct {
flags: SmiTagged<PropertyDescriptorObjectFlags>;
value: JSAny|TheHole;
get: JSAny|TheHole;
set: JSAny|TheHole;