#include "src/objects/property.h"
#include "src/handles/handles-inl.h"
#include "src/objects/field-type.h"
#include "src/objects/name-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/smi.h"
#include "src/utils/ostreams.h"
namespace v8 {
namespace internal {
std::ostream& operator<<(std::ostream& os,
const Representation& representation) { … }
std::ostream& operator<<(std::ostream& os,
const PropertyAttributes& attributes) { … }
std::ostream& operator<<(std::ostream& os, PropertyConstness constness) { … }
Descriptor::Descriptor() : … { … }
Descriptor::Descriptor(Handle<Name> key, const MaybeObjectHandle& value,
PropertyKind kind, PropertyAttributes attributes,
PropertyLocation location, PropertyConstness constness,
Representation representation, int field_index)
: … { … }
Descriptor::Descriptor(Handle<Name> key, const MaybeObjectHandle& value,
PropertyDetails details)
: … { … }
Descriptor Descriptor::DataField(Isolate* isolate, Handle<Name> key,
int field_index, PropertyAttributes attributes,
Representation representation) { … }
Descriptor Descriptor::DataField(Handle<Name> key, int field_index,
PropertyAttributes attributes,
PropertyConstness constness,
Representation representation,
const MaybeObjectHandle& wrapped_field_type) { … }
Descriptor Descriptor::DataConstant(Handle<Name> key, Handle<Object> value,
PropertyAttributes attributes) { … }
Descriptor Descriptor::DataConstant(Isolate* isolate, Handle<Name> key,
int field_index, DirectHandle<Object> value,
PropertyAttributes attributes) { … }
Descriptor Descriptor::AccessorConstant(Handle<Name> key,
Handle<Object> foreign,
PropertyAttributes attributes) { … }
void PropertyDetails::PrintAsSlowTo(std::ostream& os, bool print_dict_index) { … }
void PropertyDetails::PrintAsFastTo(std::ostream& os, PrintMode mode) { … }
#ifdef OBJECT_PRINT
void PropertyDetails::Print(bool dictionary_mode) { … }
#endif
}
}