Lines Matching refs:FunctionTemplate
126 class FunctionTemplate;
1235 Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl);
1447 friend class FunctionTemplate;
1649 * A FunctionTemplate is used to create functions at runtime. There
1650 * can only be one function created from a FunctionTemplate in a
1656 * A FunctionTemplate can have properties, these properties are added to the
1659 * A FunctionTemplate has a corresponding instance template which is
1664 * A FunctionTemplate can have a prototype template. The prototype template
1667 * The following example shows how to use a FunctionTemplate:
1670 * v8::Local<v8::FunctionTemplate> t = v8::FunctionTemplate::New();
1674 * proto_t->Set("proto_method", v8::FunctionTemplate::New(InvokeCallback));
1702 * A FunctionTemplate can inherit from another one by calling the
1703 * FunctionTemplate::Inherit method. The following graph illustrates
1707 * FunctionTemplate Parent -> Parent() . prototype -> { }
1711 * FunctionTemplate Child -> Child() . prototype -> { }
1714 * A FunctionTemplate 'Child' inherits from 'Parent', the prototype
1719 * Let Parent be the FunctionTemplate initialized in the previous
1720 * section and create a Child FunctionTemplate by:
1723 * Local<FunctionTemplate> parent = t;
1724 * Local<FunctionTemplate> child = FunctionTemplate::New();
1740 class V8EXPORT FunctionTemplate : public Template {
1743 static Local<FunctionTemplate> New(
1751 * Set the call-handler callback for a FunctionTemplate. This
1753 * FunctionTemplate is called.
1762 void Inherit(Handle<FunctionTemplate> parent);
1772 * Set the class name of the FunctionTemplate. This is used for
1774 * FunctionTemplate as its constructor.
1799 FunctionTemplate();
1965 static Local<ObjectTemplate> New(Handle<FunctionTemplate> constructor);
1966 friend class FunctionTemplate;
1976 static Local<Signature> New(Handle<FunctionTemplate> receiver =
1977 Handle<FunctionTemplate>(),
1979 FunctionTemplate> argv[] = 0);
1991 static Local<TypeSwitch> New(Handle<FunctionTemplate> type);
1992 static Local<TypeSwitch> New(int argc, Handle<FunctionTemplate> types[]);
2012 virtual v8::Handle<v8::FunctionTemplate>
2014 return v8::Handle<v8::FunctionTemplate>();