Lines Matching refs:FunctionTemplate
88 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::toStringTemplate()
91 m_toStringTemplate.set(m_isolate, v8::FunctionTemplate::New(constructorOfToString));
95 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::privateTemplate(WrapperWorldType currentWorldType, void* privatePointer, v8::FunctionCallback callback, v8::Handle<v8::Value> data, v8::Handle<v8::Signature> signature, int length)
101 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(callback, data, signature, length);
102 templates.add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
106 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::privateTemplateIfExists(WrapperWorldType currentWorldType, void* privatePointer)
112 return v8::Local<v8::FunctionTemplate>();
115 void V8PerIsolateData::setPrivateTemplate(WrapperWorldType currentWorldType, void* privatePointer, v8::Handle<v8::FunctionTemplate> templ)
117 templateMap(currentWorldType).add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));
120 v8::Handle<v8::FunctionTemplate> V8PerIsolateData::rawTemplate(WrapperTypeInfo* info, WrapperWorldType currentWorldType)
128 v8::Handle<v8::FunctionTemplate> templ = createRawTemplate(m_isolate);
129 templates.add(info, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ));