这篇教程C++ ASSERT_GC_OBJECT_INHERITS函数代码示例写得很实用,希望能帮到您。
本文整理汇总了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_INHERITSvoid 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,
示例2: ASSERT_GC_OBJECT_INHERITSbool 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,
示例3: ASSERT_GC_OBJECT_INHERITSbool 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,
示例4: ASSERT_GC_OBJECT_INHERITSbool 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,
示例5: ASSERT_GC_OBJECT_INHERITSvoid 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,
示例6: ASSERT_GC_OBJECT_INHERITSbool 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,
示例7: ASSERT_GC_OBJECT_INHERITSbool 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,
示例8: ASSERT_GC_OBJECT_INHERITSbool 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,
示例9: ASSERT_GC_OBJECT_INHERITSJSValue 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,
示例10: ASSERT_GC_OBJECT_INHERITSEncodedJSValue 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,
示例11: ASSERT_GC_OBJECT_INHERITSbool 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,
示例12: ASSERT_GC_OBJECT_INHERITSvoid 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,
示例13: ASSERT_GC_OBJECT_INHERITSvoid 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,
示例14: ASSERT_GC_OBJECT_INHERITSbool 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,
示例15: ASSERT_GC_OBJECT_INHERITSbool 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,
注:本文中的ASSERT_GC_OBJECT_INHERITS函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ ASSERT_GE函数代码示例 C++ ASSERT_FLOAT_EQ函数代码示例 |