本文整理汇总了C++中JSProxy::target方法的典型用法代码示例。如果您正苦于以下问题:C++ JSProxy::target方法的具体用法?C++ JSProxy::target怎么用?C++ JSProxy::target使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类JSProxy
的用法示例。
在下文中一共展示了JSProxy::target方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: getGenericPropertyNames
void JSProxy::getGenericPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
// Get *all* of the property names, not just the generic ones, since we skipped the structure
// ones above.
thisObject->target()->methodTable(exec->vm())->getPropertyNames(thisObject->target(), exec, propertyNames, mode);
}
示例2: deleteProperty
bool JSProxy::deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName)
{
JSProxy* thisObject = jsCast<JSProxy*>(cell);
return thisObject->target()->methodTable(exec->vm())->deleteProperty(thisObject->target(), exec, propertyName);
}
示例3: defineOwnProperty
bool JSProxy::defineOwnProperty(JSObject* object, ExecState* exec, PropertyName propertyName, const PropertyDescriptor& descriptor, bool shouldThrow)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable(exec->vm())->defineOwnProperty(thisObject->target(), exec, propertyName, descriptor, shouldThrow);
}
示例4: putByIndex
bool JSProxy::putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue value, bool shouldThrow)
{
JSProxy* thisObject = jsCast<JSProxy*>(cell);
return thisObject->target()->methodTable(exec->vm())->putByIndex(thisObject->target(), exec, propertyName, value, shouldThrow);
}
示例5: put
bool JSProxy::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot& slot)
{
JSProxy* thisObject = jsCast<JSProxy*>(cell);
return thisObject->target()->methodTable(exec->vm())->put(thisObject->target(), exec, propertyName, value, slot);
}
示例6: getOwnPropertySlotByIndex
bool JSProxy::getOwnPropertySlotByIndex(JSObject* object, ExecState* exec, unsigned propertyName, PropertySlot& slot)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable(exec->vm())->getOwnPropertySlotByIndex(thisObject->target(), exec, propertyName, slot);
}
示例7: getPrototype
JSValue JSProxy::getPrototype(JSObject* object, ExecState* exec)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable(exec->vm())->getPrototype(thisObject->target(), exec);
}
示例8: getOwnPropertyNames
void JSProxy::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
thisObject->target()->methodTable(exec->vm())->getOwnPropertyNames(thisObject->target(), exec, propertyNames, mode);
}
示例9: getEnumerableLength
uint32_t JSProxy::getEnumerableLength(ExecState* exec, JSObject* object)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable(exec->vm())->getEnumerableLength(exec, thisObject->target());
}
示例10: preventExtensions
bool JSProxy::preventExtensions(JSObject* object, ExecState* exec)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable(exec->vm())->preventExtensions(thisObject->target(), exec);
}
示例11: putDirectVirtual
void JSProxy::putDirectVirtual(JSObject* object, ExecState* exec, PropertyName propertyName, JSValue value, unsigned attributes)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
thisObject->target()->putDirectVirtual(thisObject->target(), exec, propertyName, value, attributes);
}
示例12: getOwnPropertyDescriptor
bool JSProxy::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
{
JSProxy* thisObject = jsCast<JSProxy*>(object);
return thisObject->target()->methodTable()->getOwnPropertyDescriptor(thisObject->target(), exec, propertyName, descriptor);
}
示例13: getOwnPropertySlot
bool JSProxy::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
JSProxy* thisObject = jsCast<JSProxy*>(cell);
return thisObject->target()->methodTable()->getOwnPropertySlot(thisObject->target(), exec, propertyName, slot);
}
示例14: deletePropertyByIndex
bool JSProxy::deletePropertyByIndex(JSCell* cell, ExecState* exec, unsigned propertyName)
{
JSProxy* thisObject = jsCast<JSProxy*>(cell);
return thisObject->target()->methodTable()->deletePropertyByIndex(thisObject->target(), exec, propertyName);
}