• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ ASSERT_GC_OBJECT_INHERITS函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中ASSERT_GC_OBJECT_INHERITS函数的典型用法代码示例。如果您正苦于以下问题:C++ ASSERT_GC_OBJECT_INHERITS函数的具体用法?C++ ASSERT_GC_OBJECT_INHERITS怎么用?C++ ASSERT_GC_OBJECT_INHERITS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了ASSERT_GC_OBJECT_INHERITS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: ASSERT_GC_OBJECT_INHERITS

void JSHTMLOptionsCollection::put(ExecState* exec, unsigned propertyName, JSValue value)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    indexSetter(exec, propertyName, value);
    return;
}
开发者ID:mulriple,项目名称:Webkit-Projects,代码行数:6,代码来源:JSHTMLOptionsCollection.cpp


示例2: ASSERT_GC_OBJECT_INHERITS

bool JSHTMLKeygenElement::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueDescriptor<JSHTMLKeygenElement, Base>(exec, &JSHTMLKeygenElementTable, this, propertyName, descriptor);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSHTMLKeygenElement.cpp


示例3: ASSERT_GC_OBJECT_INHERITS

bool JSSVGException::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
    JSSVGException* thisObject = jsCast<JSSVGException*>(object);
    ASSERT_GC_OBJECT_INHERITS(thisObject, info());
    return getStaticValueSlot<JSSVGException, Base>(exec, JSSVGExceptionTable, thisObject, propertyName, slot);
}
开发者ID:Happy-Ferret,项目名称:webkit.js,代码行数:6,代码来源:JSSVGException.cpp


示例4: ASSERT_GC_OBJECT_INHERITS

bool JSCSSCharsetRule::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
    JSCSSCharsetRule* thisObject = jsCast<JSCSSCharsetRule*>(object);
    ASSERT_GC_OBJECT_INHERITS(thisObject, info());
    return getStaticValueSlot<JSCSSCharsetRule, Base>(exec, JSCSSCharsetRuleTable, thisObject, propertyName, slot);
}
开发者ID:Happy-Ferret,项目名称:webkit.js,代码行数:6,代码来源:JSCSSCharsetRule.cpp


示例5: ASSERT_GC_OBJECT_INHERITS

void JSTestJSBuiltinConstructor::visitChildren(JSCell* cell, SlotVisitor& visitor)
{
    auto* thisObject = jsCast<JSTestJSBuiltinConstructor*>(cell);
    ASSERT_GC_OBJECT_INHERITS(thisObject, info());
    Base::visitChildren(thisObject, visitor);
}
开发者ID:robdharris,项目名称:webkit,代码行数:6,代码来源:JSTestJSBuiltinConstructor.cpp


示例6: ASSERT_GC_OBJECT_INHERITS

bool JSAudioSourceNode::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueSlot<JSAudioSourceNode, Base>(exec, &JSAudioSourceNodeTable, this, propertyName, slot);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSAudioSourceNode.cpp


示例7: ASSERT_GC_OBJECT_INHERITS

bool JSDirectoryEntry::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueSlot<JSDirectoryEntry, Base>(exec, getJSDirectoryEntryTable(exec), this, propertyName, slot);
}
开发者ID:mulriple,项目名称:Webkit-Projects,代码行数:5,代码来源:JSDirectoryEntry.cpp


示例8: ASSERT_GC_OBJECT_INHERITS

bool JSSVGPathSegClosePath::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueDescriptor<JSSVGPathSegClosePath, Base>(exec, &JSSVGPathSegClosePathTable, this, propertyName, descriptor);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSSVGPathSegClosePath.cpp


示例9: ASSERT_GC_OBJECT_INHERITS

JSValue JSDOMPluginArray::indexGetter(ExecState* exec, JSValue slotBase, unsigned index)
{
    JSDOMPluginArray* thisObj = static_cast<JSDOMPluginArray*>(asObject(slotBase));
    ASSERT_GC_OBJECT_INHERITS(thisObj, &s_info);
    return toJS(exec, thisObj->globalObject(), static_cast<DOMPluginArray*>(thisObj->impl())->item(index));
}
开发者ID:mulriple,项目名称:Webkit-Projects,代码行数:6,代码来源:JSDOMPluginArray.cpp


示例10: ASSERT_GC_OBJECT_INHERITS

EncodedJSValue JSDOMSettableTokenList::indexGetter(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue, unsigned index)
{
    JSDOMSettableTokenList* thisObj = jsCast<JSDOMSettableTokenList*>(JSValue::decode(slotBase));
    ASSERT_GC_OBJECT_INHERITS(thisObj, info());
    return JSValue::encode(jsStringOrUndefined(exec, thisObj->impl().item(index)));
}
开发者ID:Happy-Ferret,项目名称:webkit.js,代码行数:6,代码来源:JSDOMSettableTokenList.cpp


示例11: ASSERT_GC_OBJECT_INHERITS

bool JSHTMLHeadingElement::getOwnPropertySlot(JSObject* object, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
{
    JSHTMLHeadingElement* thisObject = jsCast<JSHTMLHeadingElement*>(object);
    ASSERT_GC_OBJECT_INHERITS(thisObject, info());
    return getStaticValueSlot<JSHTMLHeadingElement, Base>(exec, JSHTMLHeadingElementTable, thisObject, propertyName, slot);
}
开发者ID:Happy-Ferret,项目名称:webkit.js,代码行数:6,代码来源:JSHTMLHeadingElement.cpp


示例12: ASSERT_GC_OBJECT_INHERITS

void JSMessagePort::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    lookupPut<JSMessagePort, Base>(exec, propertyName, value, getJSMessagePortTable(exec), this, slot);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSMessagePort.cpp


示例13: ASSERT_GC_OBJECT_INHERITS

void JSDOMApplicationCache::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    lookupPut<JSDOMApplicationCache, Base>(exec, propertyName, value, &JSDOMApplicationCacheTable, this, slot);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSDOMApplicationCache.cpp


示例14: ASSERT_GC_OBJECT_INHERITS

bool JSWebKitCSSKeyframeRule::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueSlot<JSWebKitCSSKeyframeRule, Base>(exec, &JSWebKitCSSKeyframeRuleTable, this, propertyName, slot);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSWebKitCSSKeyframeRule.cpp


示例15: ASSERT_GC_OBJECT_INHERITS

bool JSSharedWorkerContext::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor)
{
    ASSERT_GC_OBJECT_INHERITS(this, &s_info);
    return getStaticValueDescriptor<JSSharedWorkerContext, Base>(exec, getJSSharedWorkerContextTable(exec), this, propertyName, descriptor);
}
开发者ID:Xertz,项目名称:EAWebKit,代码行数:5,代码来源:JSSharedWorkerContext.cpp



注:本文中的ASSERT_GC_OBJECT_INHERITS函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ ASSERT_GE函数代码示例发布时间:2022-05-30
下一篇:
C++ ASSERT_FLOAT_EQ函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap