当前位置: 首页>>代码示例>>C++>>正文


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_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;未经允许,请勿转载。