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


C++ createRawTemplate函数代码示例

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


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

示例1: rawTemplateMap

v8::Persistent<v8::FunctionTemplate> V8PerIsolateData::rawTemplate(WrapperTypeInfo* info, WrapperWorldType currentWorldType)
{
    TemplateMap& templates = rawTemplateMap(currentWorldType);
    TemplateMap::iterator result = templates.find(info);
    if (result != templates.end())
        return result->value;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate(m_isolate);
    templates.add(info, templ);
    return templ;
}
开发者ID:fmalita,项目名称:webkit,代码行数:12,代码来源:V8PerIsolateData.cpp

示例2: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8TestException::GetRawTemplate()
{
    V8PerIsolateData* data = V8PerIsolateData::current();
    V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
    if (result != data->rawTemplateMap().end())
        return result->value;

    v8::HandleScope handleScope;
    v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate();
    data->rawTemplateMap().add(&info, templ);
    return templ;
}
开发者ID:kcomkar,项目名称:webkit,代码行数:12,代码来源:V8TestException.cpp

示例3: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElementRawCache = createRawTemplate();
    return V8HTMLTableCaptionElementRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8HTMLTableCaptionElement.cpp

示例4: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8Float32Array::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8Float32ArrayRawCache = createRawTemplate();
    return V8Float32ArrayRawCache;
}
开发者ID:sinoory,项目名称:webv8,代码行数:5,代码来源:V8Float32Array.cpp

示例5: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbuffer::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbufferRawCache = createRawTemplate();
    return V8WebGLRenderbufferRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8WebGLRenderbuffer.cpp

示例6: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8SQLError::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SQLErrorRawCache = createRawTemplate();
    return V8SQLErrorRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8SQLError.cpp

示例7: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8DOMStringMap::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8DOMStringMapRawCache = createRawTemplate();
    return V8DOMStringMapRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8DOMStringMap.cpp

示例8: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8VoidCallback::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8VoidCallbackRawCache = createRawTemplate();
    return V8VoidCallbackRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8VoidCallback.cpp

示例9: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElementRawCache = createRawTemplate();
    return V8HTMLDataGridColElementRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8HTMLDataGridColElement.cpp

示例10: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8IDBIndex::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8IDBIndexRawCache = createRawTemplate();
    return V8IDBIndexRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8IDBIndex.cpp

示例11: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8Geolocation::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8GeolocationRawCache = createRawTemplate();
    return V8GeolocationRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8Geolocation.cpp

示例12: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElement::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElementRawCache = createRawTemplate();
    return V8HTMLBlockquoteElementRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8HTMLBlockquoteElement.cpp

示例13: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocation::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocationRawCache = createRawTemplate();
    return V8WebGLUniformLocationRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8WebGLUniformLocation.cpp

示例14: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBoolean::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBooleanRawCache = createRawTemplate();
    return V8SVGAnimatedBooleanRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8SVGAnimatedBoolean.cpp

示例15: createRawTemplate

v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbs::GetRawTemplate()
{
    static v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache = createRawTemplate();
    return V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache;
}
开发者ID:Treeeater,项目名称:chrome_bindings,代码行数:5,代码来源:V8SVGPathSegCurvetoQuadraticSmoothAbs.cpp


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