Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QV4::Property Struct Reference

#include <qv4property_p.h>

+ Collaboration diagram for QV4::Property:

Public Member Functions

void fullyPopulated (PropertyAttributes *attrs)
 
void completed (PropertyAttributes *attrs)
 
bool isSubset (const PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs) const
 
void merge (PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs)
 
Heap::FunctionObject * getter () const
 
Heap::FunctionObject * setter () const
 
void setGetter (FunctionObject *g)
 
void setSetter (FunctionObject *s)
 
void copy (const Property *other, PropertyAttributes attrs)
 
bool isCompatible (PropertyAttributes &attrs, const Property *other, PropertyAttributes otherAttrs) const
 
 Property ()
 
 Property (Heap::FunctionObject *getter, Heap::FunctionObject *setter)
 

Public Attributes

Value value
 
Value set
 

Detailed Description

Definition at line 26 of file qv4property_p.h.

Constructor & Destructor Documentation

◆ Property() [1/2]

QV4::Property::Property ( )
inlineexplicit

Definition at line 111 of file qv4property_p.h.

References QV4::Value::fromHeapObject(), set, and QV4::Encode::undefined().

+ Here is the call graph for this function:

◆ Property() [2/2]

QV4::Property::Property ( Heap::FunctionObject * getter,
Heap::FunctionObject * setter )
inline

Definition at line 112 of file qv4property_p.h.

References getter(), set, and setter().

+ Here is the call graph for this function:

Member Function Documentation

◆ completed()

void QV4::Property::completed ( PropertyAttributes * attrs)
inline

Definition at line 46 of file qv4property_p.h.

References attrs, QV4::PropertyAttributes::Data, QV4::StaticValue::isEmpty(), set, and QV4::Encode::undefined().

+ Here is the call graph for this function:

◆ copy()

void QV4::Property::copy ( const Property * other,
PropertyAttributes attrs )
inline

Definition at line 71 of file qv4property_p.h.

References attrs, other(), and set.

Referenced by QV4::ObjectOwnPropertyKeyIterator::next(), and QV4::Object::virtualDefineOwnProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fullyPopulated()

void QV4::Property::fullyPopulated ( PropertyAttributes * attrs)
inline

Definition at line 31 of file qv4property_p.h.

References QV4::PropertyAttributes::Accessor, attrs, QV4::StaticValue::isEmpty(), set, and QV4::Value::undefinedValue().

Referenced by QV4::Object::virtualDefineOwnProperty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getter()

Heap::FunctionObject * QV4::Property::getter ( ) const
inline

Definition at line 66 of file qv4property_p.h.

Referenced by Property().

+ Here is the caller graph for this function:

◆ isCompatible()

bool QV4::Property::isCompatible ( PropertyAttributes & attrs,
const Property * other,
PropertyAttributes otherAttrs ) const
inline

Definition at line 78 of file qv4property_p.h.

References attrs, other(), QV4::Value::sameValue(), and set.

+ Here is the call graph for this function:

◆ isSubset()

bool Property::isSubset ( const PropertyAttributes & attrs,
const Property * other,
PropertyAttributes otherAttrs ) const
inline

Definition at line 120 of file qv4property_p.h.

References QV4::PropertyAttributes::Accessor, attrs, QV4::PropertyAttributes::Data, QV4::PropertyAttributes::Generic, QV4::Value::heapObject(), other(), and set.

+ Here is the call graph for this function:

◆ merge()

void Property::merge ( PropertyAttributes & attrs,
const Property * other,
PropertyAttributes otherAttrs )
inline

Definition at line 141 of file qv4property_p.h.

References QV4::PropertyAttributes::Accessor, attrs, QV4::PropertyAttributes::Data, other(), and set.

+ Here is the call graph for this function:

◆ setGetter()

void QV4::Property::setGetter ( FunctionObject * g)
inline

Definition at line 68 of file qv4property_p.h.

◆ setSetter()

void QV4::Property::setSetter ( FunctionObject * s)
inline

Definition at line 69 of file qv4property_p.h.

References set.

◆ setter()

Heap::FunctionObject * QV4::Property::setter ( ) const
inline

Definition at line 67 of file qv4property_p.h.

References QV4::Value::heapObject(), and set.

Referenced by Property().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ set

◆ value


The documentation for this struct was generated from the following file: