3#ifndef QV4ARGUMENTSOBJECTS_H
4#define QV4ARGUMENTSOBJECTS_H
25#define ArgumentsObjectMembers(class, Member)
26 Member(class, Pointer, CallContext *, context)
27 Member(class, NoMark, bool, fullyCreated)
28 Member(class, NoMark, uint, argCount)
29 Member(class, NoMark, quint64, mapped)
32 DECLARE_MARKOBJECTS(ArgumentsObject)
34 LengthPropertyIndex = 0,
35 SymbolIteratorPropertyIndex = 1,
36 CalleePropertyIndex = 2
38 void init(CppStackFrame *frame);
41#define StrictArgumentsObjectMembers(class, Member)
45 LengthPropertyIndex = 0,
46 SymbolIteratorPropertyIndex = 1,
47 CalleePropertyIndex = 2,
48 CalleeSetterPropertyIndex = 3
50 void init(JSTypesStackFrame *frame);
63 return m->vtable() == staticVTable();
79 return arg < 64 && (d()->mapped & (1ull << arg));
84 (d()->mapped &= ~(1ull << arg));
Combined button and popup list for selecting options.
DECLARE_HEAP_OBJECT(StrictArgumentsObject, Object)
DECLARE_HEAP_OBJECT(ArgumentsObject, Object)
DEFINE_OBJECT_VTABLE(StrictArgumentsObject)
DEFINE_OBJECT_VTABLE(ArgumentsObject)
#define Q_MANAGED_TYPE(type)
static qint64 virtualGetLength(const Managed *m)
static bool virtualDefineOwnProperty(Managed *m, PropertyKey id, const Property *desc, PropertyAttributes attrs)
Heap::CallContext * context() const
static ReturnedValue virtualGet(const Managed *m, PropertyKey id, const Value *receiver, bool *hasProperty)
static OwnPropertyKeyIterator * virtualOwnPropertyKeys(const Object *m, Value *target)
static bool isNonStrictArgumentsObject(Managed *m)
static bool virtualDeleteProperty(Managed *m, PropertyKey id)
bool fullyCreated() const
void removeMapping(uint arg)
static PropertyAttributes virtualGetOwnProperty(const Managed *m, PropertyKey id, Property *p)
bool isMapped(uint arg) const
static bool virtualPut(Managed *m, PropertyKey id, const Value &value, Value *receiver)